	.file	"866123.c"
	.intel_syntax noprefix
	.text
	.globl	lock
	.bss
	.align 32
	.type	lock, @object
	.size	lock, 40
lock:
	.zero	40
	.globl	thread_sp
	.data
	.align 4
	.type	thread_sp, @object
	.size	thread_sp, 4
thread_sp:
	.long	10
	.globl	threads
	.bss
	.align 32
	.type	threads, @object
	.size	threads, 40
threads:
	.zero	40
	.globl	process_thread
	.align 8
	.type	process_thread, @object
	.size	process_thread, 8
process_thread:
	.zero	8
	.text
	.globl	create_thread_pool
	.type	create_thread_pool, @function
create_thread_pool:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, threads[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 9
	jle	.L3
	mov	edi, 80
	call	malloc@PLT
	mov	QWORD PTR process_thread[rip], rax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	create_thread_pool, .-create_thread_pool
	.section	.rodata
.LC0:
	.string	"No_thread"
	.text
	.globl	get_thread
	.type	get_thread, @function
get_thread:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
.L7:
	mov	eax, DWORD PTR thread_sp[rip]
	test	eax, eax
	je	.L5
	lea	rdi, lock[rip]
	call	pthread_mutex_lock@PLT
	mov	eax, DWORD PTR thread_sp[rip]
	sub	eax, 1
	mov	DWORD PTR thread_sp[rip], eax
	lea	rdi, lock[rip]
	call	pthread_mutex_unlock@PLT
	mov	eax, DWORD PTR thread_sp[rip]
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, threads[rip]
	mov	eax, DWORD PTR [rdx+rax]
	jmp	.L8
.L5:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	sleep@PLT
	jmp	.L7
.L8:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get_thread, .-get_thread
	.globl	release_thread
	.type	release_thread, @function
release_thread:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, DWORD PTR thread_sp[rip]
	cmp	eax, 9
	ja	.L10
	lea	rdi, lock[rip]
	call	pthread_mutex_lock@PLT
	mov	edx, DWORD PTR thread_sp[rip]
	lea	eax, 1[rdx]
	mov	DWORD PTR thread_sp[rip], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, threads[rip]
	mov	DWORD PTR [rcx+rdx], eax
	lea	rdi, lock[rip]
	call	pthread_mutex_unlock@PLT
.L10:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	release_thread, .-release_thread
	.globl	handle_client
	.type	handle_client, @function
handle_client:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1072
	mov	QWORD PTR -1064[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	pthread_self@PLT
	mov	rdi, rax
	call	pthread_detach@PLT
	lea	rax, -1040[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -1064[rbp]
	mov	QWORD PTR -1048[rbp], rax
	mov	rax, QWORD PTR -1048[rbp]
	mov	eax, DWORD PTR [rax]
	mov	ecx, eax
	lea	rax, -1040[rbp]
	mov	edx, 1024
	mov	rsi, rax
	mov	edi, ecx
	call	read@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -1048[rbp]
	mov	eax, DWORD PTR [rax]
	mov	ecx, eax
	lea	rax, -1040[rbp]
	mov	rsi, rax
	mov	edi, ecx
	call	write@PLT
	mov	rax, QWORD PTR -1048[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -1048[rbp]
	mov	eax, DWORD PTR 4[rax]
	add	eax, eax
	mov	edi, eax
	call	sleep@PLT
	mov	rax, QWORD PTR -1048[rbp]
	mov	rdi, rax
	call	release_thread
	mov	rax, QWORD PTR -1048[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	handle_client, .-handle_client
	.section	.rodata
.LC1:
	.string	"socket"
.LC2:
	.string	"start listening on port: %d\n"
.LC3:
	.string	"bind"
.LC4:
	.string	"listen"
.LC5:
	.string	"accept"
.LC6:
	.string	"pthread"
	.text
	.globl	start_listen
	.type	start_listen, @function
start_listen:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -68[rbp], -1
	jne	.L16
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -48[rbp], 2
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	htonl@PLT
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -46[rbp], ax
	mov	eax, DWORD PTR -68[rbp]
	lea	rcx, -48[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L17
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	eax, DWORD PTR -68[rbp]
	mov	esi, 10
	mov	edi, eax
	call	listen@PLT
	cmp	eax, -1
	jne	.L18
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	mov	edi, 8
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -72[rbp], 16
	mov	eax, DWORD PTR -68[rbp]
	lea	rdx, -72[rbp]
	lea	rcx, -32[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L19
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR 4[rax], 0
	mov	eax, 0
	call	get_thread
	mov	rdx, QWORD PTR -56[rbp]
	mov	DWORD PTR 4[rdx], eax
	mov	rdx, QWORD PTR process_thread[rip]
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 4[rax]
	cdqe
	sal	rax, 3
	lea	rdi, [rdx+rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, rax
	lea	rdx, handle_client[rip]
	mov	esi, 0
	call	pthread_create@PLT
	test	eax, eax
	je	.L18
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE10:
	.size	start_listen, .-start_listen
	.section	.rodata
.LC7:
	.string	"TCPServer is running:"
	.text
	.globl	dummy_wait
	.type	dummy_wait, @function
dummy_wait:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
.L23:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigsuspend@PLT
	jmp	.L23
	.cfi_endproc
.LFE11:
	.size	dummy_wait, .-dummy_wait
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	create_thread_pool
	mov	DWORD PTR -72[rbp], 2000
	mov	DWORD PTR -68[rbp], 3000
	mov	DWORD PTR -64[rbp], 57000
	mov	DWORD PTR -60[rbp], 0
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -52[rbp], 2130706433
	mov	DWORD PTR -76[rbp], 0
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	edx, DWORD PTR -72[rbp+rax*4]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*8], edx
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	edx, DWORD PTR -60[rbp+rax*4]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	DWORD PTR -44[rbp+rax*8], edx
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	sal	rax, 3
	add	rdx, rax
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rcx, rdx
	lea	rdx, start_listen[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	add	DWORD PTR -76[rbp], 1
.L26:
	cmp	DWORD PTR -76[rbp], 2
	jle	.L27
	mov	eax, 0
	call	dummy_wait
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"866123.c"
	.text
	.global	lock
	.bss
	.align	2
	.type	lock, %object
	.size	lock, 24
lock:
	.space	24
	.global	thread_sp
	.data
	.align	2
	.type	thread_sp, %object
	.size	thread_sp, 4
thread_sp:
	.word	10
	.comm	threads,40,4
	.comm	process_thread,4,4
	.text
	.align	2
	.global	create_thread_pool
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_thread_pool, %function
create_thread_pool:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r1, .L4
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L3
	mov	r0, #40
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L4+4
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	threads
	.word	process_thread
	.size	create_thread_pool, .-create_thread_pool
	.section	.rodata
	.align	2
.LC1:
	.ascii	"No_thread\000"
	.text
	.align	2
	.global	get_thread
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_thread, %function
get_thread:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
.L9:
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L7
	ldr	r0, .L11+4
	bl	pthread_mutex_lock
	ldr	r3, .L11
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L11
	str	r3, [r2]
	ldr	r0, .L11+4
	bl	pthread_mutex_unlock
	ldr	r3, .L11
	ldr	r3, [r3]
	ldr	r2, .L11+8
	ldr	r3, [r2, r3, lsl #2]
	b	.L10
.L7:
	ldr	r0, .L11+12
	bl	puts
	mov	r0, #1
	bl	sleep
	b	.L9
.L10:
	mov	r0, r3
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	thread_sp
	.word	lock
	.word	threads
	.word	.LC1
	.size	get_thread, .-get_thread
	.align	2
	.global	release_thread
	.syntax unified
	.arm
	.fpu softvfp
	.type	release_thread, %function
release_thread:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L16
	ldr	r3, [r3]
	cmp	r3, #9
	bhi	.L14
	ldr	r0, .L16+4
	bl	pthread_mutex_lock
	ldr	r3, .L16
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L16
	str	r2, [r1]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #4]
	ldr	r1, .L16+8
	str	r2, [r1, r3, lsl #2]
	ldr	r0, .L16+4
	bl	pthread_mutex_unlock
.L14:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	thread_sp
	.word	lock
	.word	threads
	.size	release_thread, .-release_thread
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	handle_client
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_client, %function
handle_client:
	@ args = 0, pretend = 0, frame = 1040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1040
	sub	sp, sp, #4
	str	r0, [fp, #-1048]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	bl	pthread_self
	mov	r3, r0
	mov	r0, r3
	bl	pthread_detach
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-1048]
	str	r3, [fp, #-1044]
	ldr	r3, [fp, #-1044]
	ldr	r3, [r3]
	mov	r0, r3
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	bl	read
	ldr	r3, [fp, #-1044]
	ldr	r3, [r3]
	mov	r4, r3
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r4
	bl	write
	ldr	r3, [fp, #-1044]
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-1044]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	sleep
	ldr	r0, [fp, #-1044]
	bl	release_thread
	ldr	r0, [fp, #-1044]
	bl	free
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC2
	.size	handle_client, .-handle_client
	.section	.rodata
	.align	2
.LC3:
	.ascii	"socket\000"
	.align	2
.LC4:
	.ascii	"start listening on port: %d\012\000"
	.align	2
.LC5:
	.ascii	"bind\000"
	.align	2
.LC6:
	.ascii	"listen\000"
	.align	2
.LC7:
	.ascii	"accept\000"
	.align	2
.LC8:
	.ascii	"pthread\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	start_listen
	.syntax unified
	.arm
	.fpu softvfp
	.type	start_listen, %function
start_listen:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-52]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmn	r3, #1
	bne	.L24
	ldr	r0, .L30+4
	bl	perror
	mov	r0, #1
	bl	exit
.L24:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L30+8
	bl	printf
	sub	r3, fp, #40
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	strh	r3, [fp, #-40]	@ movhi
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-38]	@ movhi
	ldr	r3, [fp, #-48]
	sub	r1, fp, #40
	mov	r2, #16
	mov	r0, r3
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L25
	ldr	r0, .L30+12
	bl	perror
	mov	r0, #1
	bl	exit
.L25:
	ldr	r3, [fp, #-48]
	mov	r1, #10
	mov	r0, r3
	bl	listen
	mov	r3, r0
	cmn	r3, #1
	bne	.L26
	ldr	r0, .L30+16
	bl	perror
	mov	r0, #1
	bl	exit
.L26:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-44]
	mov	r3, #16
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-48]
	sub	r2, fp, #56
	sub	r1, fp, #24
	mov	r0, r3
	bl	accept
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-44]
	str	r2, [r3]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L27
	ldr	r0, .L30+20
	bl	perror
	mov	r0, #1
	bl	exit
.L27:
	ldr	r3, [fp, #-44]
	mov	r2, #0
	str	r2, [r3, #4]
	bl	get_thread
	mov	r2, r0
	ldr	r3, [fp, #-44]
	str	r2, [r3, #4]
	ldr	r3, .L30+24
	ldr	r2, [r3]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	add	r0, r2, r3
	ldr	r3, [fp, #-44]
	ldr	r2, .L30+28
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	ldr	r0, .L30+32
	bl	perror
	mov	r0, #1
	bl	exit
.L31:
	.align	2
.L30:
	.word	.LC9
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	process_thread
	.word	handle_client
	.word	.LC8
	.size	start_listen, .-start_listen
	.section	.rodata
	.align	2
.LC10:
	.ascii	"TCPServer is running:\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	dummy_wait
	.syntax unified
	.arm
	.fpu softvfp
	.type	dummy_wait, %function
dummy_wait:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #136
	mov	r0, r3
	bl	sigemptyset
.L33:
	ldr	r0, .L35+4
	bl	puts
	sub	r3, fp, #136
	mov	r0, r3
	bl	sigsuspend
	b	.L33
.L36:
	.align	2
.L35:
	.word	.LC11
	.word	.LC10
	.size	dummy_wait, .-dummy_wait
	.section	.rodata
	.align	2
.LC0:
	.word	2000
	.word	3000
	.word	57000
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	create_thread_pool
	ldr	r2, .L42+4
	sub	r3, fp, #48
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, .L42+8
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L38
.L39:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-20]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-32]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-16]
	sub	r2, fp, #60
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	add	r0, r2, r3
	sub	r2, fp, #24
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, .L42+12
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L38:
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	ble	.L39
	bl	dummy_wait
	mov	r3, #0
	ldr	r2, .L42
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC12
	.word	.LC0
	.word	2130706433
	.word	start_listen
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
