	.file	"947180.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"open file %s error:%s \n"
.LC1:
	.string	"select error %s\n"
	.align 8
.LC2:
	.string	"select timeout,continue circle"
.LC3:
	.string	"read error %s\n"
.LC4:
	.string	"end"
.LC5:
	.string	"recv end."
.LC6:
	.string	"write error %s\n"
.LC7:
	.string	"The %d times write\n"
	.text
	.globl	recvUDP
	.type	recvUDP, @function
recvUDP:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -40960[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 208
	mov	QWORD PTR -41160[rbp], rdi
	mov	DWORD PTR -41164[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -41148[rbp], 420
	mov	edx, DWORD PTR -41148[rbp]
	mov	rax, QWORD PTR -41160[rbp]
	mov	esi, 1090
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -41144[rbp], eax
	cmp	DWORD PTR -41144[rbp], -1
	jne	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -41160[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L2:
	mov	DWORD PTR -41152[rbp], 0
.L10:
	mov	QWORD PTR -41120[rbp], 1
	mov	QWORD PTR -41112[rbp], 0
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -41104[rbp]
	mov	rdi, rdx
#APP
# 43 "the_stack_data/947180.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -41140[rbp], edx
	mov	DWORD PTR -41136[rbp], eax
	mov	eax, DWORD PTR -41164[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -41104[rbp+rax*8]
	mov	eax, DWORD PTR -41164[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 -41104[rbp+rax*8], rdx
	mov	eax, DWORD PTR -41164[rbp]
	lea	edi, 1[rax]
	lea	rdx, -41120[rbp]
	lea	rax, -41104[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	mov	DWORD PTR -41132[rbp], eax
	cmp	DWORD PTR -41132[rbp], -1
	jne	.L3
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L3:
	cmp	DWORD PTR -41132[rbp], 0
	jne	.L4
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -41164[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -41104[rbp+rax*8]
	mov	eax, DWORD PTR -41164[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	.L6
	lea	rax, -40976[rbp]
	mov	edx, 40960
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -40976[rbp]
	mov	eax, DWORD PTR -41164[rbp]
	mov	edx, 40960
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -41128[rbp], eax
	cmp	DWORD PTR -41128[rbp], 0
	jg	.L7
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L7:
	lea	rax, -40976[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	lea	rdi, .LC5[rip]
	call	puts@PLT
	nop
	mov	eax, DWORD PTR -41144[rbp]
	mov	edi, eax
	call	close@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	jmp	.L12
.L8:
	mov	eax, DWORD PTR -41128[rbp]
	movsx	rdx, eax
	lea	rcx, -40976[rbp]
	mov	eax, DWORD PTR -41144[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -41124[rbp], eax
	mov	eax, DWORD PTR -41124[rbp]
	cmp	eax, DWORD PTR -41128[rbp]
	je	.L6
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L6:
	mov	eax, DWORD PTR -41152[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	add	DWORD PTR -41152[rbp], 1
	jmp	.L10
.L12:
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	recvUDP, .-recvUDP
	.section	.rodata
.LC8:
	.string	"bind error"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -40[rbp], eax
	lea	rax, -32[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	WORD PTR -32[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	edi, 2500
	call	htons@PLT
	mov	WORD PTR -30[rbp], ax
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L14
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L14:
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, 0
	mov	esi, 3
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	and	ah, -9
	mov	edx, eax
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	recvUDP
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"947180.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"open file %s error:%s \012\000"
	.align	2
.LC1:
	.ascii	"select error %s\012\000"
	.align	2
.LC2:
	.ascii	"select timeout,continue circle\000"
	.align	2
.LC3:
	.ascii	"read error %s\012\000"
	.align	2
.LC4:
	.ascii	"end\000"
	.align	2
.LC5:
	.ascii	"recv end.\000"
	.align	2
.LC6:
	.ascii	"write error %s\012\000"
	.align	2
.LC7:
	.ascii	"The %d times write\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	recvUDP
	.syntax unified
	.arm
	.fpu softvfp
	.type	recvUDP, %function
recvUDP:
	@ args = 0, pretend = 0, frame = 41144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #40960
	sub	sp, sp, #196
	sub	r3, fp, #40960
	sub	r3, r3, #12
	str	r0, [r3, #-180]
	sub	r3, fp, #40960
	sub	r3, r3, #12
	str	r1, [r3, #-184]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #40960
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #420
	str	r3, [r2, #-164]
	sub	r3, fp, #40960
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #40960
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r2, [r2, #-164]
	ldr	r1, .L15+4
	ldr	r0, [r3, #-180]
	bl	open
	str	r0, [r4, #-160]
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r3, [r3, #-160]
	cmn	r3, #1
	bne	.L2
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	sub	r2, fp, #40960
	sub	r2, r2, #12
	mov	r1, r2
	mov	r2, r3
	ldr	r1, [r1, #-180]
	ldr	r0, .L15+8
	bl	printf
	mvn	r0, #0
	bl	exit
.L2:
	sub	r3, fp, #40960
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-172]
.L12:
	sub	r3, fp, #40960
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-140]
	sub	r3, fp, #40960
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-136]
	sub	r3, fp, #40960
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #40960
	sub	r3, r3, #12
	sub	r3, r3, #132
	str	r3, [r2, #-156]
	sub	r3, fp, #40960
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-168]
	b	.L3
.L4:
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r3, [r3, #-156]
	sub	r2, fp, #40960
	sub	r2, r2, #12
	ldr	r2, [r2, #-168]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #40960
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r3, [r3, #-168]
	add	r3, r3, #1
	str	r3, [r2, #-168]
.L3:
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r3, [r3, #-168]
	cmp	r3, #31
	bls	.L4
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	sub	r3, fp, #40960
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	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
	sub	r3, fp, #40960
	sub	r3, r3, #12
	mov	r0, r3
	lsl	r3, r2, #2
	add	r3, r0, r3
	str	r1, [r3, #-132]
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	add	r0, r3, #1
	sub	r3, fp, #40960
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #40960
	sub	r1, r1, #12
	sub	r1, r1, #132
	sub	r3, fp, #40960
	sub	r3, r3, #12
	sub	r3, r3, #140
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	str	r0, [r4, #-152]
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r3, [r3, #-152]
	cmn	r3, #1
	bne	.L5
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L15+12
	bl	printf
	mvn	r0, #0
	bl	exit
.L5:
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r3, [r3, #-152]
	cmp	r3, #0
	bne	.L6
	ldr	r0, .L15+16
	bl	puts
	b	.L7
.L6:
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	sub	r2, fp, #40960
	sub	r2, r2, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-132]
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	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	.L8
	sub	r3, fp, #40960
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #40960
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #40960
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #40960
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #40960
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #40960
	mov	r1, r3
	ldr	r0, [r0, #-184]
	bl	read
	str	r0, [r4, #-148]
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r3, [r3, #-148]
	cmp	r3, #0
	bgt	.L9
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L15+20
	bl	printf
	mvn	r0, #0
	bl	exit
.L9:
	sub	r3, fp, #40960
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L15+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L15+28
	bl	puts
	nop
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r0, [r3, #-160]
	bl	close
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L13
	b	.L14
.L10:
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r2, [r3, #-148]
	sub	r3, fp, #40960
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #40960
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r1, fp, #40960
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-160]
	bl	write
	str	r0, [r4, #-144]
	sub	r3, fp, #40960
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r2, [r2, #-144]
	ldr	r3, [r3, #-148]
	cmp	r2, r3
	beq	.L8
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L15+32
	bl	printf
	mvn	r0, #0
	bl	exit
.L8:
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r1, [r3, #-172]
	ldr	r0, .L15+36
	bl	printf
.L7:
	sub	r3, fp, #40960
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #40960
	sub	r3, r3, #12
	ldr	r3, [r3, #-172]
	add	r3, r3, #1
	str	r3, [r2, #-172]
	b	.L12
.L14:
	bl	__stack_chk_fail
.L13:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC8
	.word	1090
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	recvUDP, .-recvUDP
	.section	.rodata
	.align	2
.LC9:
	.ascii	"bind error\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-32]
	sub	r3, fp, #24
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	mov	r3, #2
	strh	r3, [fp, #-24]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r0, .L21+4
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-22]	@ movhi
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L18
	ldr	r0, .L21+8
	bl	perror
	mvn	r0, #0
	bl	exit
.L18:
	mov	r2, #0
	mov	r1, #3
	ldr	r0, [fp, #-32]
	bl	fcntl
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	bic	r3, r3, #2048
	mov	r2, r3
	mov	r1, #4
	ldr	r0, [fp, #-32]
	bl	fcntl
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	recvUDP
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC10
	.word	2500
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
