	.file	"54470.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"client.c"
.LC2:
	.string	"open out.txt error...."
.LC3:
	.string	"socket() error"
.LC4:
	.string	"192.168.33.11"
.LC5:
	.string	"%s"
.LC6:
	.string	"recvfrom() error"
	.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
	push	rbx
	sub	rsp, 296
	.cfi_offset 3, -24
	mov	DWORD PTR -292[rbp], edi
	mov	QWORD PTR -304[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -264[rbp], rax
	cmp	QWORD PTR -264[rbp], 0
	jne	.L2
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L2:
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -272[rbp], eax
	cmp	DWORD PTR -272[rbp], -1
	jne	.L3
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	lea	rax, -256[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	WORD PTR -256[rbp], 2
	mov	edi, 1234
	call	htons@PLT
	mov	WORD PTR -254[rbp], ax
	lea	rdi, .LC4[rip]
	call	inet_addr@PLT
	mov	DWORD PTR -252[rbp], eax
	mov	DWORD PTR -276[rbp], 16
	jmp	.L4
.L7:
	lea	rax, -128[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	ebx, DWORD PTR -276[rbp]
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -256[rbp]
	lea	rsi, -128[rbp]
	mov	eax, DWORD PTR -272[rbp]
	mov	r9d, ebx
	mov	r8, rcx
	mov	ecx, 0
	mov	edi, eax
	call	sendto@PLT
	lea	rcx, -276[rbp]
	lea	rdx, -256[rbp]
	lea	rsi, -240[rbp]
	mov	eax, DWORD PTR -272[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 100
	mov	edi, eax
	call	recvfrom@PLT
	mov	DWORD PTR -268[rbp], eax
	cmp	DWORD PTR -268[rbp], -1
	jne	.L5
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -268[rbp]
	cdqe
	mov	BYTE PTR -240[rbp+rax], 0
.L4:
	mov	rdx, QWORD PTR -264[rbp]
	lea	rax, -128[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L7
.L6:
	mov	rax, QWORD PTR -264[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -272[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"54470.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"client.c\000"
	.align	2
.LC2:
	.ascii	"open out.txt error....\000"
	.align	2
.LC3:
	.ascii	"socket() error\000"
	.align	2
.LC4:
	.ascii	"192.168.33.11\000"
	.align	2
.LC5:
	.ascii	"%s\000"
	.align	2
.LC6:
	.ascii	"recvfrom() error\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 248
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #256
	str	r0, [fp, #-248]
	str	r1, [fp, #-252]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L10+4
	ldr	r0, .L10+8
	bl	fopen
	str	r0, [fp, #-236]
	ldr	r3, [fp, #-236]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L10+12
	bl	puts
	mvn	r0, #0
	bl	exit
.L2:
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-232]
	ldr	r3, [fp, #-232]
	cmn	r3, #1
	bne	.L3
	ldr	r0, .L10+16
	bl	puts
	mov	r0, #1
	bl	exit
.L3:
	sub	r3, fp, #224
	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, #-224]	@ movhi
	ldr	r0, .L10+20
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-222]	@ movhi
	ldr	r0, .L10+24
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-220]
	mov	r3, #16
	str	r3, [fp, #-240]
	b	.L4
.L7:
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L10+28
	bl	printf
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-240]
	sub	r1, fp, #108
	str	r3, [sp, #4]
	sub	r3, fp, #224
	str	r3, [sp]
	mov	r3, #0
	ldr	r0, [fp, #-232]
	bl	sendto
	sub	r1, fp, #208
	sub	r3, fp, #240
	str	r3, [sp, #4]
	sub	r3, fp, #224
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #100
	ldr	r0, [fp, #-232]
	bl	recvfrom
	str	r0, [fp, #-228]
	ldr	r3, [fp, #-228]
	cmn	r3, #1
	bne	.L5
	ldr	r0, .L10+32
	bl	puts
	b	.L6
.L5:
	sub	r2, fp, #208
	ldr	r3, [fp, #-228]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L4:
	sub	r3, fp, #108
	ldr	r2, [fp, #-236]
	mov	r1, #100
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
.L6:
	ldr	r0, [fp, #-236]
	bl	fclose
	ldr	r0, [fp, #-232]
	bl	close
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	1234
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
