	.file	"309422.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"42000"
.LC1:
	.string	"getaddrinfo"
.LC2:
	.string	"socket"
.LC3:
	.string	"setsockopt"
.LC4:
	.string	"bind"
.LC5:
	.string	"failed to bind\n"
.LC6:
	.string	"listen"
.LC7:
	.string	"select"
.LC8:
	.string	"accept"
.LC9:
	.string	"socket %d disconnected\n"
.LC10:
	.string	"recv"
.LC11:
	.string	"send"
	.text
	.globl	main
	.type	main, @function
main:
.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, 1408
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -1344[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -1340[rbp], 0
	mov	DWORD PTR -1336[rbp], 1
	mov	DWORD PTR -1344[rbp], 1
	lea	rdx, -1360[rbp]
	lea	rax, -1344[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC0[rip]
	mov	edi, 0
	call	getaddrinfo@PLT
	test	eax, eax
	je	.L2
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -1360[rbp]
	mov	QWORD PTR -1352[rbp], rax
	jmp	.L3
.L9:
	mov	rax, QWORD PTR -1352[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -1352[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -1352[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -1400[rbp], eax
	cmp	DWORD PTR -1400[rbp], -1
	jne	.L4
	lea	rdi, .LC2[rip]
	call	perror@PLT
	jmp	.L5
.L4:
	mov	DWORD PTR -1404[rbp], 1
	lea	rdx, -1404[rbp]
	mov	eax, DWORD PTR -1400[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	cmp	eax, -1
	jne	.L6
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	rax, QWORD PTR -1352[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -1352[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -1400[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L31
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	eax, DWORD PTR -1400[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	nop
.L5:
	mov	rax, QWORD PTR -1352[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -1352[rbp], rax
.L3:
	cmp	QWORD PTR -1352[rbp], 0
	jne	.L9
	jmp	.L8
.L31:
	nop
.L8:
	cmp	QWORD PTR -1352[rbp], 0
	jne	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	mov	rax, QWORD PTR -1360[rbp]
	mov	rdi, rax
	call	freeaddrinfo@PLT
	mov	eax, DWORD PTR -1400[rbp]
	mov	esi, 10
	mov	edi, eax
	call	listen@PLT
	cmp	eax, -1
	jne	.L11
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -1296[rbp]
	mov	rdi, rdx
#APP
# 82 "the_stack_data/309422.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -1384[rbp], edx
	mov	DWORD PTR -1380[rbp], eax
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -1168[rbp]
	mov	rdi, rdx
#APP
# 83 "the_stack_data/309422.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -1376[rbp], edx
	mov	DWORD PTR -1372[rbp], eax
	mov	eax, DWORD PTR -1400[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -1296[rbp+rax*8]
	mov	eax, DWORD PTR -1400[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -1296[rbp+rax*8], rdx
	mov	eax, DWORD PTR -1400[rbp]
	mov	DWORD PTR -1396[rbp], eax
.L29:
	mov	rax, QWORD PTR -1296[rbp]
	mov	rdx, QWORD PTR -1288[rbp]
	mov	QWORD PTR -1168[rbp], rax
	mov	QWORD PTR -1160[rbp], rdx
	mov	rax, QWORD PTR -1280[rbp]
	mov	rdx, QWORD PTR -1272[rbp]
	mov	QWORD PTR -1152[rbp], rax
	mov	QWORD PTR -1144[rbp], rdx
	mov	rax, QWORD PTR -1264[rbp]
	mov	rdx, QWORD PTR -1256[rbp]
	mov	QWORD PTR -1136[rbp], rax
	mov	QWORD PTR -1128[rbp], rdx
	mov	rax, QWORD PTR -1248[rbp]
	mov	rdx, QWORD PTR -1240[rbp]
	mov	QWORD PTR -1120[rbp], rax
	mov	QWORD PTR -1112[rbp], rdx
	mov	rax, QWORD PTR -1232[rbp]
	mov	rdx, QWORD PTR -1224[rbp]
	mov	QWORD PTR -1104[rbp], rax
	mov	QWORD PTR -1096[rbp], rdx
	mov	rax, QWORD PTR -1216[rbp]
	mov	rdx, QWORD PTR -1208[rbp]
	mov	QWORD PTR -1088[rbp], rax
	mov	QWORD PTR -1080[rbp], rdx
	mov	rax, QWORD PTR -1200[rbp]
	mov	rdx, QWORD PTR -1192[rbp]
	mov	QWORD PTR -1072[rbp], rax
	mov	QWORD PTR -1064[rbp], rdx
	mov	rax, QWORD PTR -1184[rbp]
	mov	rdx, QWORD PTR -1176[rbp]
	mov	QWORD PTR -1056[rbp], rax
	mov	QWORD PTR -1048[rbp], rdx
	mov	eax, DWORD PTR -1396[rbp]
	lea	edi, 1[rax]
	lea	rax, -1168[rbp]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	cmp	eax, -1
	jne	.L12
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	DWORD PTR -1392[rbp], 0
	jmp	.L13
.L28:
	mov	eax, DWORD PTR -1392[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -1168[rbp+rax*8]
	mov	eax, DWORD PTR -1392[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	rax, rsi
	test	rax, rax
	je	.L32
	mov	eax, DWORD PTR -1392[rbp]
	cmp	eax, DWORD PTR -1400[rbp]
	jne	.L16
	mov	eax, DWORD PTR -1400[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -1364[rbp], eax
	cmp	DWORD PTR -1364[rbp], -1
	jne	.L17
	lea	rdi, .LC8[rip]
	call	perror@PLT
	jmp	.L27
.L17:
	mov	eax, DWORD PTR -1364[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -1296[rbp+rax*8]
	mov	eax, DWORD PTR -1364[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -1296[rbp+rax*8], rdx
	mov	eax, DWORD PTR -1364[rbp]
	cmp	eax, DWORD PTR -1396[rbp]
	jle	.L33
	mov	eax, DWORD PTR -1364[rbp]
	mov	DWORD PTR -1396[rbp], eax
	jmp	.L33
.L16:
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1392[rbp]
	mov	ecx, 0
	mov	edx, 1024
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -1368[rbp], eax
	cmp	DWORD PTR -1368[rbp], 0
	jne	.L19
	mov	rax, QWORD PTR stdout[rip]
	mov	edx, DWORD PTR -1392[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -1392[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	eax, DWORD PTR -1392[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -1296[rbp+rax*8]
	mov	eax, DWORD PTR -1392[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	not	rax
	and	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -1296[rbp+rax*8], rdx
	jmp	.L27
.L19:
	cmp	DWORD PTR -1368[rbp], 0
	jns	.L20
	lea	rdi, .LC10[rip]
	call	perror@PLT
	mov	eax, DWORD PTR -1392[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	eax, DWORD PTR -1392[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -1296[rbp+rax*8]
	mov	eax, DWORD PTR -1392[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	not	rax
	and	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -1296[rbp+rax*8], rdx
	jmp	.L27
.L20:
	mov	DWORD PTR -1388[rbp], 0
	jmp	.L21
.L26:
	mov	eax, DWORD PTR -1388[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -1296[rbp+rax*8]
	mov	eax, DWORD PTR -1388[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	rax, rsi
	test	rax, rax
	je	.L34
	mov	eax, DWORD PTR -1388[rbp]
	cmp	eax, DWORD PTR -1400[rbp]
	je	.L35
	mov	eax, DWORD PTR -1388[rbp]
	cmp	eax, DWORD PTR -1392[rbp]
	je	.L35
	mov	eax, DWORD PTR -1368[rbp]
	movsx	rdx, eax
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1388[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	cmp	rax, -1
	jne	.L23
	lea	rdi, .LC11[rip]
	call	perror@PLT
	jmp	.L23
.L34:
	nop
	jmp	.L23
.L35:
	nop
.L23:
	add	DWORD PTR -1388[rbp], 1
.L21:
	mov	eax, DWORD PTR -1388[rbp]
	cmp	eax, DWORD PTR -1396[rbp]
	jle	.L26
	jmp	.L27
.L32:
	nop
	jmp	.L27
.L33:
	nop
.L27:
	add	DWORD PTR -1392[rbp], 1
.L13:
	mov	eax, DWORD PTR -1392[rbp]
	cmp	eax, DWORD PTR -1396[rbp]
	jle	.L28
	jmp	.L29
	.cfi_endproc
.LFE6:
	.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	"309422.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"42000\000"
	.align	2
.LC1:
	.ascii	"getaddrinfo\000"
	.align	2
.LC2:
	.ascii	"socket\000"
	.align	2
.LC3:
	.ascii	"setsockopt\000"
	.align	2
.LC4:
	.ascii	"bind\000"
	.align	2
.LC5:
	.ascii	"failed to bind\012\000"
	.align	2
.LC6:
	.ascii	"listen\000"
	.align	2
.LC7:
	.ascii	"select\000"
	.align	2
.LC8:
	.ascii	"accept\000"
	.align	2
.LC9:
	.ascii	"socket %d disconnected\012\000"
	.align	2
.LC10:
	.ascii	"recv\000"
	.align	2
.LC11:
	.ascii	"send\000"
	.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 = 1368
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1376
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1312
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-1316]
	mov	r3, #1
	str	r3, [fp, #-1312]
	mov	r3, #1
	str	r3, [fp, #-1320]
	sub	r3, fp, #1360
	sub	r3, r3, #4
	sub	r3, r3, #8
	sub	r2, fp, #1312
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, .L40+4
	mov	r0, #0
	bl	getaddrinfo
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r0, .L40+8
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-1372]
	str	r3, [fp, #-1360]
	b	.L3
.L9:
	ldr	r3, [fp, #-1360]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-1360]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-1360]
	ldr	r3, [r3, #12]
	mov	r2, r3
	bl	socket
	str	r0, [fp, #-1364]
	ldr	r3, [fp, #-1364]
	cmn	r3, #1
	bne	.L4
	ldr	r0, .L40+12
	bl	perror
	b	.L5
.L4:
	mov	r3, #1
	str	r3, [fp, #-1368]
	sub	r3, fp, #1360
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-1364]
	bl	setsockopt
	mov	r3, r0
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L40+16
	bl	perror
	mov	r0, #1
	bl	exit
.L6:
	ldr	r3, [fp, #-1360]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-1360]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r0, [fp, #-1364]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L35
	ldr	r0, .L40+20
	bl	perror
	ldr	r0, [fp, #-1364]
	bl	close
	nop
.L5:
	ldr	r3, [fp, #-1360]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-1360]
.L3:
	ldr	r3, [fp, #-1360]
	cmp	r3, #0
	bne	.L9
	b	.L8
.L35:
	nop
.L8:
	ldr	r3, [fp, #-1360]
	cmp	r3, #0
	bne	.L10
	ldr	r3, .L40+24
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L40+28
	bl	fwrite
	mov	r0, #1
	bl	exit
.L10:
	ldr	r3, [fp, #-1372]
	mov	r0, r3
	bl	freeaddrinfo
	mov	r1, #10
	ldr	r0, [fp, #-1364]
	bl	listen
	mov	r3, r0
	cmn	r3, #1
	bne	.L11
	ldr	r0, .L40+32
	bl	perror
	mov	r0, #1
	bl	exit
.L11:
	sub	r3, fp, #1280
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1336]
	mov	r3, #0
	str	r3, [fp, #-1356]
	b	.L12
.L13:
	ldr	r3, [fp, #-1336]
	ldr	r2, [fp, #-1356]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-1356]
	add	r3, r3, #1
	str	r3, [fp, #-1356]
.L12:
	ldr	r3, [fp, #-1356]
	cmp	r3, #31
	bls	.L13
	sub	r3, fp, #1152
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1332]
	mov	r3, #0
	str	r3, [fp, #-1352]
	b	.L14
.L15:
	ldr	r3, [fp, #-1332]
	ldr	r2, [fp, #-1352]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-1352]
	add	r3, r3, #1
	str	r3, [fp, #-1352]
.L14:
	ldr	r3, [fp, #-1352]
	cmp	r3, #31
	bls	.L15
	ldr	r3, [fp, #-1364]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-1284]
	ldr	r3, [fp, #-1364]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-1284]
	ldr	r3, [fp, #-1364]
	str	r3, [fp, #-1348]
.L33:
	sub	r3, fp, #1152
	sub	r3, r3, #4
	sub	r3, r3, #4
	sub	r1, fp, #1280
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r2, #128
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-1348]
	add	r0, r3, #1
	sub	r1, fp, #1152
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	mov	r3, r0
	cmn	r3, #1
	bne	.L16
	ldr	r0, .L40+36
	bl	perror
	mov	r0, #1
	bl	exit
.L16:
	mov	r3, #0
	str	r3, [fp, #-1344]
	b	.L17
.L32:
	ldr	r3, [fp, #-1344]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1156]
	ldr	r3, [fp, #-1344]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L36
	ldr	r2, [fp, #-1344]
	ldr	r3, [fp, #-1364]
	cmp	r2, r3
	bne	.L20
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-1364]
	bl	accept
	str	r0, [fp, #-1324]
	ldr	r3, [fp, #-1324]
	cmn	r3, #1
	bne	.L21
	ldr	r0, .L40+40
	bl	perror
	b	.L31
.L21:
	ldr	r3, [fp, #-1324]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-1284]
	ldr	r3, [fp, #-1324]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-1284]
	ldr	r2, [fp, #-1324]
	ldr	r3, [fp, #-1348]
	cmp	r2, r3
	ble	.L37
	ldr	r3, [fp, #-1324]
	str	r3, [fp, #-1348]
	b	.L37
.L20:
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #1024
	ldr	r0, [fp, #-1344]
	bl	recv
	str	r0, [fp, #-1328]
	ldr	r3, [fp, #-1328]
	cmp	r3, #0
	bne	.L23
	ldr	r3, .L40+44
	ldr	r3, [r3]
	ldr	r2, [fp, #-1344]
	ldr	r1, .L40+48
	mov	r0, r3
	bl	fprintf
	ldr	r0, [fp, #-1344]
	bl	close
	ldr	r3, [fp, #-1344]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-1284]
	ldr	r3, [fp, #-1344]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	mvn	r3, r3
	and	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-1284]
	b	.L31
.L23:
	ldr	r3, [fp, #-1328]
	cmp	r3, #0
	bge	.L24
	ldr	r0, .L40+52
	bl	perror
	ldr	r0, [fp, #-1344]
	bl	close
	ldr	r3, [fp, #-1344]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-1284]
	ldr	r3, [fp, #-1344]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	mvn	r3, r3
	and	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-1284]
	b	.L31
.L24:
	mov	r3, #0
	str	r3, [fp, #-1340]
	b	.L25
.L30:
	ldr	r3, [fp, #-1340]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1284]
	ldr	r3, [fp, #-1340]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L38
	ldr	r2, [fp, #-1340]
	ldr	r3, [fp, #-1364]
	cmp	r2, r3
	beq	.L39
	ldr	r2, [fp, #-1340]
	ldr	r3, [fp, #-1344]
	cmp	r2, r3
	beq	.L39
	ldr	r2, [fp, #-1328]
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-1340]
	bl	send
	mov	r3, r0
	cmn	r3, #1
	bne	.L27
	ldr	r0, .L40+56
	bl	perror
	b	.L27
.L38:
	nop
	b	.L27
.L39:
	nop
.L27:
	ldr	r3, [fp, #-1340]
	add	r3, r3, #1
	str	r3, [fp, #-1340]
.L25:
	ldr	r2, [fp, #-1340]
	ldr	r3, [fp, #-1348]
	cmp	r2, r3
	ble	.L30
	b	.L31
.L36:
	nop
	b	.L31
.L37:
	nop
.L31:
	ldr	r3, [fp, #-1344]
	add	r3, r3, #1
	str	r3, [fp, #-1344]
.L17:
	ldr	r2, [fp, #-1344]
	ldr	r3, [fp, #-1348]
	cmp	r2, r3
	ble	.L32
	b	.L33
.L41:
	.align	2
.L40:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	stderr
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	stdout
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
