	.file	"37637970.c"
	.intel_syntax noprefix
	.text
	.local	mutex
	.comm	mutex,40,32
	.globl	total
	.bss
	.align 8
	.type	total, @object
	.size	total, 8
total:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"total size of uploaded files %llu\n"
	.text
	.globl	increase_and_print_total
	.type	increase_and_print_total, @function
increase_and_print_total:
.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	QWORD PTR -8[rbp], rdi
	lea	rdi, mutex[rip]
	call	pthread_mutex_lock@PLT
	mov	rdx, QWORD PTR total[rip]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	QWORD PTR total[rip], rax
	mov	rax, QWORD PTR total[rip]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, mutex[rip]
	call	pthread_mutex_unlock@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	increase_and_print_total, .-increase_and_print_total
	.section	.rodata
.LC1:
	.string	"getsockname"
.LC2:
	.string	"%s:%d"
.LC3:
	.string	"read"
.LC4:
	.string	"%ld:%s"
	.align 8
.LC5:
	.string	"new client %s size=%ld file=%s\n"
.LC6:
	.string	"w"
	.align 8
.LC7:
	.string	"client %s has sent its file of size=%ld\n"
	.text
	.globl	handle_connection
	.type	handle_connection, @function
handle_connection:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	add	rsp, -128
	mov	QWORD PTR -4216[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -4216[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4200[rbp], eax
	mov	rax, QWORD PTR -4216[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	DWORD PTR -4204[rbp], 16
	lea	rdx, -4204[rbp]
	lea	rcx, -4176[rbp]
	mov	eax, DWORD PTR -4200[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	getpeername@PLT
	cmp	eax, -1
	jne	.L3
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	syserr@PLT
.L3:
	lea	rax, -2080[rbp]
	lea	rdx, -4176[rbp]
	lea	rsi, 4[rdx]
	mov	ecx, 1024
	mov	rdx, rax
	mov	edi, 2
	call	inet_ntop@PLT
	movzx	eax, WORD PTR -4174[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	ecx, ax
	lea	rdx, -2080[rbp]
	lea	rax, -3120[rbp]
	mov	r8d, ecx
	mov	rcx, rdx
	lea	rdx, .LC2[rip]
	mov	esi, 2048
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -4160[rbp]
	mov	edx, 1025
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -4160[rbp]
	mov	eax, DWORD PTR -4200[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	cmp	rax, -1
	jne	.L4
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	syserr@PLT
.L4:
	lea	rax, -1040[rbp]
	mov	edx, 1025
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -1040[rbp]
	lea	rdx, -4192[rbp]
	lea	rax, -4160[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rdx, QWORD PTR -4192[rbp]
	lea	rcx, -1040[rbp]
	lea	rax, -3120[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1040[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4184[rbp], rax
.L8:
	lea	rax, -4160[rbp]
	mov	edx, 1025
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -4160[rbp]
	mov	eax, DWORD PTR -4200[rbp]
	mov	edx, 1025
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -4196[rbp], eax
	cmp	DWORD PTR -4196[rbp], -1
	jne	.L5
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	syserr@PLT
	jmp	.L6
.L5:
	cmp	DWORD PTR -4196[rbp], 0
	je	.L12
.L6:
	mov	rdx, QWORD PTR -4184[rbp]
	lea	rax, -4160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	jmp	.L8
.L12:
	nop
	mov	rax, QWORD PTR -4184[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rdx, QWORD PTR -4192[rbp]
	lea	rax, -3120[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4192[rbp]
	mov	rdi, rax
	call	increase_and_print_total
	mov	eax, DWORD PTR -4200[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	handle_connection, .-handle_connection
	.section	.rodata
.LC8:
	.string	"Usage: %s port"
.LC9:
	.string	"socket"
.LC10:
	.string	"bind"
.LC11:
	.string	"Listening at port %d\n"
.LC12:
	.string	"listen"
.LC13:
	.string	"accept"
.LC14:
	.string	"malloc"
.LC15:
	.string	"pthread_create"
.LC16:
	.string	"pthread_detach"
	.text
	.globl	main
	.type	main, @function
main:
.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -68[rbp], 2
	je	.L14
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	fatal@PLT
.L14:
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -60[rbp], -1
	jne	.L15
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	syserr@PLT
.L15:
	mov	WORD PTR -32[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -30[rbp], ax
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L16
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	syserr@PLT
.L16:
	mov	DWORD PTR -64[rbp], 16
	lea	rdx, -64[rbp]
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	getsockname@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], -1
	jne	.L17
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	syserr@PLT
.L17:
	movzx	eax, WORD PTR -30[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, 5
	mov	edi, eax
	call	listen@PLT
	cmp	eax, -1
	jne	.L23
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	syserr@PLT
.L23:
	mov	eax, DWORD PTR -60[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], -1
	jne	.L19
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	syserr@PLT
.L19:
	mov	edi, 4
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L20
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	syserr@PLT
.L20:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -52[rbp]
	mov	DWORD PTR [rax], edx
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -48[rbp]
	mov	rcx, rdx
	lea	rdx, handle_connection[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	cmp	eax, -1
	jne	.L21
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	syserr@PLT
.L21:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	pthread_detach@PLT
	cmp	eax, -1
	jne	.L23
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	syserr@PLT
	jmp	.L23
	.cfi_endproc
.LFE8:
	.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	"37637970.c"
	.text
	.local	mutex
	.comm	mutex,24,4
	.comm	total,8,8
	.section	.rodata
	.align	2
.LC0:
	.ascii	"total size of uploaded files %llu\012\000"
	.text
	.align	2
	.global	increase_and_print_total
	.syntax unified
	.arm
	.fpu softvfp
	.type	increase_and_print_total, %function
increase_and_print_total:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	str	r0, [fp, #-16]
	ldr	r0, .L2
	bl	pthread_mutex_lock
	ldr	r3, [fp, #-16]
	mov	r0, r3
	mov	r1, #0
	ldr	r3, .L2+4
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	ldr	r3, .L2+4
	stm	r3, {r4-r5}
	ldr	r3, .L2+4
	ldmia	r3, {r2-r3}
	ldr	r0, .L2+8
	bl	printf
	ldr	r0, .L2
	bl	pthread_mutex_unlock
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L3:
	.align	2
.L2:
	.word	mutex
	.word	total
	.word	.LC0
	.size	increase_and_print_total, .-increase_and_print_total
	.section	.rodata
	.align	2
.LC1:
	.ascii	"getsockname\000"
	.align	2
.LC2:
	.ascii	"%s:%d\000"
	.align	2
.LC3:
	.ascii	"read\000"
	.align	2
.LC4:
	.ascii	"%ld:%s\000"
	.align	2
.LC5:
	.ascii	"new client %s size=%ld file=%s\012\000"
	.align	2
.LC6:
	.ascii	"w\000"
	.align	2
.LC7:
	.ascii	"client %s has sent its file of size=%ld\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	handle_connection
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_connection, %function
handle_connection:
	@ args = 0, pretend = 0, frame = 4160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4160
	sub	sp, sp, #12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-60]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	ldr	r3, [r3]
	str	r3, [r2, #-48]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-60]
	bl	free
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #16
	str	r3, [r2, #-56]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r2, r2, #56
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #36
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-48]
	bl	getpeername
	mov	r3, r0
	cmn	r3, #1
	bne	.L5
	ldr	r0, .L15+4
	bl	syserr
.L5:
	sub	r2, fp, #2048
	sub	r2, r2, #12
	sub	r2, r2, #12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #36
	add	r1, r3, #4
	mov	r3, #1024
	mov	r0, #2
	bl	inet_ntop
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrh	r3, [r3, #-34]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #12
	sub	r0, fp, #3088
	sub	r0, r0, #12
	str	r2, [sp]
	ldr	r2, .L15+8
	mov	r1, #2048
	bl	snprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #20
	ldr	r2, .L15+12
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #20
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [r0, #-48]
	bl	read
	mov	r3, r0
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L15+16
	bl	syserr
.L6:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r2, .L15+12
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #8
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r2, r2, #52
	sub	r0, fp, #4096
	sub	r0, r0, #12
	sub	r0, r0, #20
	ldr	r1, .L15+20
	bl	__isoc99_sscanf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-52]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #8
	sub	r1, fp, #3088
	sub	r1, r1, #12
	ldr	r0, .L15+24
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r1, .L15+28
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-44]
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #20
	ldr	r2, .L15+12
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #20
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	ldr	r2, .L15+12
	mov	r1, r3
	ldr	r0, [r0, #-48]
	bl	read
	str	r0, [r4, #-40]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	cmn	r3, #1
	bne	.L7
	ldr	r0, .L15+16
	bl	syserr
	b	.L8
.L7:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	cmp	r3, #0
	beq	.L14
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #20
	ldr	r1, [r2, #-44]
	mov	r0, r3
	bl	fputs
	b	.L10
.L14:
	nop
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-44]
	bl	fclose
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-52]
	sub	r3, fp, #3088
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L15+32
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	mov	r0, r3
	bl	increase_and_print_total
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-48]
	bl	close
	mov	r3, #0
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC8
	.word	.LC1
	.word	.LC2
	.word	1025
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	handle_connection, .-handle_connection
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Usage: %s port\000"
	.align	2
.LC10:
	.ascii	"socket\000"
	.align	2
.LC11:
	.ascii	"bind\000"
	.align	2
.LC12:
	.ascii	"Listening at port %d\012\000"
	.align	2
.LC13:
	.ascii	"listen\000"
	.align	2
.LC14:
	.ascii	"accept\000"
	.align	2
.LC15:
	.ascii	"malloc\000"
	.align	2
.LC16:
	.ascii	"pthread_create\000"
	.align	2
.LC17:
	.ascii	"pthread_detach\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	beq	.L18
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+4
	bl	fatal
.L18:
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmn	r3, #1
	bne	.L19
	ldr	r0, .L29+8
	bl	syserr
.L19:
	mov	r3, #2
	strh	r3, [fp, #-24]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-22]	@ movhi
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L20
	ldr	r0, .L29+12
	bl	syserr
.L20:
	mov	r3, #16
	str	r3, [fp, #-48]
	sub	r2, fp, #48
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	getsockname
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	bne	.L21
	ldr	r0, .L29+16
	bl	syserr
.L21:
	ldrh	r3, [fp, #-22]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L29+20
	bl	printf
	mov	r1, #5
	ldr	r0, [fp, #-40]
	bl	listen
	mov	r3, r0
	cmn	r3, #1
	bne	.L27
	ldr	r0, .L29+24
	bl	syserr
.L27:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-40]
	bl	accept
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmn	r3, #1
	bne	.L23
	ldr	r0, .L29+28
	bl	syserr
.L23:
	mov	r0, #4
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L24
	ldr	r0, .L29+32
	bl	syserr
.L24:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	sub	r0, fp, #44
	ldr	r3, [fp, #-28]
	ldr	r2, .L29+36
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmn	r3, #1
	bne	.L25
	ldr	r0, .L29+40
	bl	syserr
.L25:
	ldr	r3, [fp, #-44]
	mov	r0, r3
	bl	pthread_detach
	mov	r3, r0
	cmn	r3, #1
	bne	.L27
	ldr	r0, .L29+44
	bl	syserr
	b	.L27
.L30:
	.align	2
.L29:
	.word	.LC18
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC1
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	handle_connection
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
