	.file	"45450192.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
	.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
	sub	rsp, 1088
	mov	DWORD PTR -1076[rbp], edi
	mov	QWORD PTR -1088[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 -1052[rbp], eax
	lea	rax, -1040[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	WORD PTR -1040[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -1036[rbp], eax
	mov	edi, 13312
	call	htons@PLT
	mov	WORD PTR -1038[rbp], ax
	lea	rcx, -1040[rbp]
	mov	eax, DWORD PTR -1052[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
.L6:
	mov	DWORD PTR -1064[rbp], 16
	lea	rcx, -1064[rbp]
	lea	rdx, -1024[rbp]
	lea	rsi, -1008[rbp]
	mov	eax, DWORD PTR -1052[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 1000
	mov	edi, eax
	call	recvfrom@PLT
	mov	DWORD PTR -1048[rbp], eax
	mov	eax, DWORD PTR -1048[rbp]
	movsx	rdx, eax
	lea	rcx, -1024[rbp]
	lea	rsi, -1008[rbp]
	mov	eax, DWORD PTR -1052[rbp]
	mov	r9d, 16
	mov	r8, rcx
	mov	ecx, 0
	mov	edi, eax
	call	sendto@PLT
	mov	eax, DWORD PTR -1048[rbp]
	cdqe
	mov	BYTE PTR -1008[rbp+rax], 0
	mov	DWORD PTR -1060[rbp], 0
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -1060[rbp]
	cdqe
	movzx	eax, BYTE PTR -1008[rbp+rax]
	movsx	eax, al
	mov	DWORD PTR -1044[rbp], eax
	mov	DWORD PTR -1056[rbp], 128
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -1056[rbp]
	and	eax, DWORD PTR -1044[rbp]
	test	eax, eax
	setne	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	sar	DWORD PTR -1056[rbp]
.L3:
	cmp	DWORD PTR -1056[rbp], 0
	jne	.L4
	mov	edi, 32
	call	putchar@PLT
	add	DWORD PTR -1060[rbp], 1
.L2:
	mov	eax, DWORD PTR -1060[rbp]
	cmp	eax, DWORD PTR -1048[rbp]
	jl	.L5
	mov	edi, 10
	call	putchar@PLT
	jmp	.L6
	.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	"45450192.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1072
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1072
	sub	sp, sp, #8
	str	r0, [fp, #-1072]
	str	r1, [fp, #-1076]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-1052]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	sub	r3, fp, #4
	sub	r3, r3, #1024
	sub	r3, r3, #12
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-1036]
	mov	r0, #13312
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4
	sub	r3, r3, #1024
	sub	r3, r3, #12
	strh	r2, [r3, #2]	@ movhi
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-1052]
	bl	bind
.L6:
	mov	r3, #16
	str	r3, [fp, #-1064]
	sub	r1, fp, #1008
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp, #4]
	sub	r3, fp, #1024
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #1000
	ldr	r0, [fp, #-1052]
	bl	recvfrom
	str	r0, [fp, #-1048]
	ldr	r2, [fp, #-1048]
	sub	r1, fp, #1008
	mov	r3, #16
	str	r3, [sp, #4]
	sub	r3, fp, #1024
	str	r3, [sp]
	mov	r3, #0
	ldr	r0, [fp, #-1052]
	bl	sendto
	sub	r2, fp, #1008
	ldr	r3, [fp, #-1048]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-1060]
	b	.L2
.L5:
	sub	r2, fp, #1008
	ldr	r3, [fp, #-1060]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-1044]
	mov	r3, #128
	str	r3, [fp, #-1056]
	b	.L3
.L4:
	ldr	r2, [fp, #-1056]
	ldr	r3, [fp, #-1044]
	and	r3, r3, r2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L8+4
	bl	printf
	ldr	r3, [fp, #-1056]
	asr	r3, r3, #1
	str	r3, [fp, #-1056]
.L3:
	ldr	r3, [fp, #-1056]
	cmp	r3, #0
	bne	.L4
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-1060]
	add	r3, r3, #1
	str	r3, [fp, #-1060]
.L2:
	ldr	r2, [fp, #-1060]
	ldr	r3, [fp, #-1048]
	cmp	r2, r3
	blt	.L5
	mov	r0, #10
	bl	putchar
	b	.L6
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
