	.file	"193893765.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"usage: %s <Port>\n"
	.align 8
.LC1:
	.string	"-------------------------------------------------------"
.LC2:
	.string	"Received the following:"
.LC3:
	.string	"%s"
	.align 8
.LC4:
	.string	"\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
	lea	r11, -65536[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 80
	mov	DWORD PTR -65604[rbp], edi
	mov	QWORD PTR -65616[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -65604[rbp], 2
	je	.L2
	mov	rax, QWORD PTR -65616[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	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -65592[rbp], eax
	mov	WORD PTR -65584[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -65580[rbp], eax
	mov	rax, QWORD PTR -65616[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -65582[rbp], ax
	lea	rcx, -65584[rbp]
	mov	eax, DWORD PTR -65592[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
.L3:
	mov	DWORD PTR -65596[rbp], 16
	lea	rcx, -65596[rbp]
	lea	rdx, -65568[rbp]
	lea	rsi, -65552[rbp]
	mov	eax, DWORD PTR -65592[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 65535
	mov	edi, eax
	call	recvfrom@PLT
	mov	DWORD PTR -65588[rbp], eax
	mov	eax, DWORD PTR -65588[rbp]
	movsx	rdx, eax
	lea	rcx, -65568[rbp]
	lea	rsi, -65552[rbp]
	mov	eax, DWORD PTR -65592[rbp]
	mov	r9d, 16
	mov	r8, rcx
	mov	ecx, 0
	mov	edi, eax
	call	sendto@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -65588[rbp]
	cdqe
	mov	BYTE PTR -65552[rbp+rax], 0
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -65552[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L3
	.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	"193893765.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: %s <Port>\012\000"
	.align	2
.LC1:
	.ascii	"---------------------------------------------------"
	.ascii	"----\000"
	.align	2
.LC2:
	.ascii	"Received the following:\000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.ascii	"\012-----------------------------------------------"
	.ascii	"--------\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 65592
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #65536
	sub	sp, sp, #68
	sub	r3, fp, #65536
	sub	r3, r3, #12
	str	r0, [r3, #-52]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	str	r1, [r3, #-56]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	cmp	r3, #2
	beq	.L2
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L5+4
	bl	printf
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r4, r3
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [r4, #-44]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r2, #2
	strh	r2, [r3, #-36]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	sub	r2, fp, #65536
	sub	r2, r2, #12
	str	r3, [r2, #-32]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #65536
	sub	r3, r3, #12
	strh	r2, [r3, #-34]	@ movhi
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #36
	sub	r2, fp, #65536
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [r0, #-44]
	bl	bind
.L3:
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #16
	str	r3, [r2, #-48]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #65536
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #48
	str	r3, [sp, #4]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #20
	str	r3, [sp]
	mov	r3, #0
	ldr	r2, .L5+8
	ldr	r0, [r0, #-44]
	bl	recvfrom
	str	r0, [r4, #-40]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r2, [r3, #-40]
	sub	r1, fp, #65536
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #16
	str	r3, [sp, #4]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #20
	str	r3, [sp]
	mov	r3, #0
	ldr	r0, [r0, #-44]
	bl	sendto
	ldr	r0, .L5+12
	bl	puts
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #65536
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	add	r3, r2, r3
	sub	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, .L5+16
	bl	puts
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L5+20
	bl	printf
	ldr	r0, .L5+24
	bl	puts
	b	.L3
.L6:
	.align	2
.L5:
	.word	.LC5
	.word	.LC0
	.word	65535
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
