	.file	"800650.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Hello!\n"
.LC1:
	.string	"error: udp_client: %s\n"
.LC2:
	.string	"echo: "
.LC3:
	.string	"sent by [%s:%s]\n"
	.text
	.globl	udp_client
	.type	udp_client, @function
udp_client:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 1216
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -9416[rbp], rdi
	mov	QWORD PTR -9424[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -9376[rbp], rax
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -9392[rbp], eax
	cmp	DWORD PTR -9392[rbp], 0
	jns	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	lea	rax, -9360[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -9356[rbp], 2
	mov	DWORD PTR -9352[rbp], 2
	lea	rcx, -9384[rbp]
	lea	rdx, -9360[rbp]
	mov	rsi, QWORD PTR -9424[rbp]
	mov	rax, QWORD PTR -9416[rbp]
	mov	rdi, rax
	call	getaddrinfo@PLT
	mov	DWORD PTR -9388[rbp], eax
	cmp	DWORD PTR -9388[rbp], 0
	je	.L3
	mov	eax, DWORD PTR -9388[rbp]
	mov	edi, eax
	call	gai_strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	rax, QWORD PTR -9384[rbp]
	mov	r12d, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -9384[rbp]
	mov	rbx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -9376[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rsi, QWORD PTR -9376[rbp]
	mov	eax, DWORD PTR -9392[rbp]
	mov	r9d, r12d
	mov	r8, rbx
	mov	ecx, 0
	mov	edi, eax
	call	sendto@PLT
	mov	QWORD PTR -9368[rbp], rax
	mov	rax, QWORD PTR -9384[rbp]
	mov	rdi, rax
	call	freeaddrinfo@PLT
	cmp	QWORD PTR -9368[rbp], 0
	jns	.L4
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	DWORD PTR -9396[rbp], 16
	lea	rcx, -9396[rbp]
	lea	rdx, -9312[rbp]
	lea	rsi, -8224[rbp]
	mov	eax, DWORD PTR -9392[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 8192
	mov	edi, eax
	call	recvfrom@PLT
	mov	QWORD PTR -9368[rbp], rax
	cmp	QWORD PTR -9368[rbp], 0
	jns	.L5
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	edx, 6
	lea	rsi, .LC2[rip]
	mov	edi, 1
	call	write@PLT
	mov	rdx, QWORD PTR -9368[rbp]
	lea	rax, -8224[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	mov	eax, DWORD PTR -9392[rbp]
	mov	edi, eax
	call	close@PLT
	mov	esi, DWORD PTR -9396[rbp]
	lea	rcx, -9296[rbp]
	lea	rdx, -9264[rbp]
	lea	rax, -9312[rbp]
	sub	rsp, 8
	push	0
	mov	r9d, 32
	mov	r8, rcx
	mov	ecx, 1025
	mov	rdi, rax
	call	getnameinfo@PLT
	add	rsp, 16
	mov	DWORD PTR -9388[rbp], eax
	cmp	DWORD PTR -9388[rbp], 0
	je	.L6
	mov	eax, DWORD PTR -9388[rbp]
	mov	edi, eax
	call	gai_strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	lea	rdx, -9296[rbp]
	lea	rax, -9264[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	lea	rsp, -16[rbp]
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	udp_client, .-udp_client
	.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	"800650.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Hello!\012\000"
	.align	2
.LC1:
	.ascii	"error: udp_client: %s\012\000"
	.align	2
.LC2:
	.ascii	"echo: \000"
	.align	2
.LC3:
	.ascii	"sent by [%s:%s]\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	udp_client
	.syntax unified
	.arm
	.fpu softvfp
	.type	udp_client, %function
udp_client:
	@ args = 0, pretend = 0, frame = 9336
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #9344
	sub	sp, sp, #12
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-1140]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r1, [r3, #-1144]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L8+4
	str	r3, [r2, #-1128]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [r4, #-1124]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1124]
	cmp	r3, #0
	bge	.L2
	ldr	r3, .L8+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L8+12
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #9280
	sub	r3, r3, #12
	sub	r3, r3, #24
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-1108]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-1104]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #9280
	sub	r3, r3, #12
	sub	r3, r3, #44
	sub	r2, fp, #9280
	sub	r2, r2, #12
	sub	r2, r2, #24
	sub	r1, fp, #8192
	sub	r1, r1, #12
	sub	r0, fp, #8192
	sub	r0, r0, #12
	ldr	r1, [r1, #-1144]
	ldr	r0, [r0, #-1140]
	bl	getaddrinfo
	str	r0, [r4, #-1120]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1120]
	cmp	r3, #0
	beq	.L3
	ldr	r3, .L8+8
	ldr	r4, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-1120]
	bl	gai_strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L8+12
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L3:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-1128]
	bl	strlen
	mov	r1, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1132]
	ldr	r3, [r3, #20]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-1132]
	ldr	r2, [r2, #16]
	sub	r0, fp, #8192
	sub	r0, r0, #12
	mov	r4, r0
	sub	r0, fp, #8192
	sub	r0, r0, #12
	mov	ip, r0
	sub	r0, fp, #8192
	sub	r0, r0, #12
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #0
	mov	r2, r1
	ldr	r1, [ip, #-1128]
	ldr	r0, [r0, #-1124]
	bl	sendto
	str	r0, [r4, #-1116]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1132]
	mov	r0, r3
	bl	freeaddrinfo
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1116]
	cmp	r3, #0
	bge	.L4
	ldr	r3, .L8+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L8+12
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L4:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #16
	str	r3, [r2, #-1136]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #8192
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #9280
	sub	r3, r3, #12
	sub	r3, r3, #48
	str	r3, [sp, #4]
	sub	r3, fp, #9216
	sub	r3, r3, #12
	sub	r3, r3, #56
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #8192
	ldr	r0, [r0, #-1124]
	bl	recvfrom
	str	r0, [r4, #-1116]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1116]
	cmp	r3, #0
	bge	.L5
	ldr	r3, .L8+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L8+12
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L5:
	mov	r2, #6
	ldr	r1, .L8+16
	mov	r0, #1
	bl	write
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-1116]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, #1
	bl	write
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-1124]
	bl	close
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, [r3, #-1136]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #9216
	sub	r2, r2, #12
	sub	r2, r2, #8
	sub	r0, fp, #9216
	sub	r0, r0, #12
	sub	r0, r0, #56
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #32
	str	r3, [sp, #4]
	sub	r3, fp, #9216
	sub	r3, r3, #12
	sub	r3, r3, #40
	str	r3, [sp]
	ldr	r3, .L8+20
	bl	getnameinfo
	str	r0, [r4, #-1120]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-1120]
	cmp	r3, #0
	beq	.L6
	ldr	r3, .L8+8
	ldr	r4, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-1120]
	bl	gai_strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L8+12
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L6:
	sub	r2, fp, #9216
	sub	r2, r2, #12
	sub	r2, r2, #40
	sub	r3, fp, #9216
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L8+24
	bl	printf
	nop
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC4
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	1025
	.word	.LC3
	.size	udp_client, .-udp_client
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
