	.file	"293507.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"[usage] %s <listening port> \n"
.LC1:
	.string	"[error] "
.LC2:
	.string	"[%s:%d => local:%s] %s \n"
	.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, 200
	.cfi_offset 3, -24
	mov	DWORD PTR -196[rbp], edi
	mov	QWORD PTR -208[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -184[rbp], 16
	cmp	DWORD PTR -196[rbp], 1
	jg	.L2
	mov	rax, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -168[rbp], rax
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -180[rbp], eax
	cmp	DWORD PTR -180[rbp], 0
	jns	.L3
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L3:
	lea	rax, -144[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -160[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -160[rbp], 2
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	atoi@PLT
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -158[rbp], ax
	lea	rcx, -160[rbp]
	mov	eax, DWORD PTR -180[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	DWORD PTR -176[rbp], eax
	cmp	DWORD PTR -176[rbp], 0
	jns	.L4
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L4:
	lea	rax, -128[rbp]
	mov	edx, 100
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -184[rbp]
	lea	rdx, -144[rbp]
	lea	rsi, -128[rbp]
	mov	eax, DWORD PTR -180[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 100
	mov	edi, eax
	call	recvfrom@PLT
	mov	DWORD PTR -172[rbp], eax
	movzx	eax, WORD PTR -142[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	ebx, ax
	mov	eax, DWORD PTR -140[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rsi, rax
	lea	rdx, -128[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	r8, rdx
	mov	rcx, rax
	mov	edx, ebx
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, DWORD PTR -184[rbp]
	mov	eax, DWORD PTR -172[rbp]
	movsx	rdx, eax
	lea	rcx, -144[rbp]
	lea	rsi, -128[rbp]
	mov	eax, DWORD PTR -180[rbp]
	mov	r9d, edi
	mov	r8, rcx
	mov	ecx, 0
	mov	edi, eax
	call	sendto@PLT
	jmp	.L4
	.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	"293507.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"[usage] %s <listening port> \012\000"
	.align	2
.LC1:
	.ascii	"[error] \000"
	.align	2
.LC2:
	.ascii	"[%s:%d => local:%s] %s \012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #180
	str	r0, [fp, #-176]
	str	r1, [fp, #-180]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #16
	str	r3, [fp, #-168]
	ldr	r3, [fp, #-176]
	cmp	r3, #1
	bgt	.L2
	ldr	r3, [fp, #-180]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L6+4
	bl	printf
	mvn	r0, #0
	bl	exit
.L2:
	ldr	r3, [fp, #-180]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-164]
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-160]
	ldr	r3, [fp, #-160]
	cmp	r3, #0
	bge	.L3
	ldr	r0, .L6+8
	bl	perror
	mvn	r0, #0
	bl	exit
.L3:
	sub	r3, fp, #132
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #148
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	strh	r3, [fp, #-148]	@ movhi
	ldr	r0, [fp, #-164]
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-146]	@ movhi
	sub	r3, fp, #148
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	bind
	str	r0, [fp, #-156]
	ldr	r3, [fp, #-156]
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L6+8
	bl	perror
	mvn	r0, #0
	bl	exit
.L4:
	sub	r3, fp, #116
	mov	r2, #100
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r1, fp, #116
	sub	r3, fp, #168
	str	r3, [sp, #4]
	sub	r3, fp, #132
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #100
	ldr	r0, [fp, #-160]
	bl	recvfrom
	str	r0, [fp, #-152]
	ldr	r0, [fp, #-128]
	bl	inet_ntoa
	mov	r4, r0
	ldrh	r3, [fp, #-130]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #116
	str	r3, [sp]
	ldr	r3, [fp, #-164]
	mov	r1, r4
	ldr	r0, .L6+12
	bl	printf
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-168]
	sub	r1, fp, #116
	str	r3, [sp, #4]
	sub	r3, fp, #132
	str	r3, [sp]
	mov	r3, #0
	ldr	r0, [fp, #-160]
	bl	sendto
	b	.L4
.L7:
	.align	2
.L6:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
