	.file	"660099.c"
	.intel_syntax noprefix
	.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
	add	rsp, -128
	mov	DWORD PTR -116[rbp], edi
	mov	QWORD PTR -128[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 -92[rbp], eax
	cmp	DWORD PTR -92[rbp], -1
	jne	.L2
	mov	eax, 1
	jmp	.L10
.L2:
	lea	rax, -48[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -48[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -44[rbp], eax
	mov	edi, 3800
	call	htons@PLT
	mov	WORD PTR -46[rbp], ax
	mov	DWORD PTR -100[rbp], 16
	mov	edx, DWORD PTR -100[rbp]
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -92[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L4
	mov	eax, 1
	jmp	.L10
.L4:
	mov	DWORD PTR -100[rbp], 16
	lea	rcx, -100[rbp]
	lea	rdx, -32[rbp]
	lea	rsi, -80[rbp]
	mov	eax, DWORD PTR -92[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 20
	mov	edi, eax
	call	recvfrom@PLT
	mov	eax, DWORD PTR -80[rbp]
	mov	edi, eax
	call	ntohl@PLT
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	mov	edi, eax
	call	ntohl@PLT
	mov	DWORD PTR -84[rbp], eax
	movzx	eax, BYTE PTR -72[rbp]
	movsx	eax, al
	cmp	eax, 47
	je	.L5
	cmp	eax, 47
	jg	.L6
	cmp	eax, 45
	je	.L7
	cmp	eax, 45
	jg	.L6
	cmp	eax, 42
	je	.L8
	cmp	eax, 43
	jne	.L6
	mov	edx, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -84[rbp]
	add	eax, edx
	mov	DWORD PTR -96[rbp], eax
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -88[rbp]
	sub	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -96[rbp], eax
	jmp	.L6
.L8:
	mov	eax, DWORD PTR -88[rbp]
	imul	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -96[rbp], eax
	jmp	.L6
.L5:
	cmp	DWORD PTR -84[rbp], 0
	jne	.L9
	mov	edi, 2
	call	htons@PLT
	mov	WORD PTR -64[rbp], ax
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -88[rbp]
	cdq
	idiv	DWORD PTR -84[rbp]
	mov	DWORD PTR -96[rbp], eax
	nop
.L6:
	mov	eax, DWORD PTR -96[rbp]
	mov	edi, eax
	call	htonl@PLT
	mov	DWORD PTR -68[rbp], eax
	mov	ecx, DWORD PTR -100[rbp]
	lea	rdx, -32[rbp]
	lea	rsi, -80[rbp]
	mov	eax, DWORD PTR -92[rbp]
	mov	r9d, ecx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 20
	mov	edi, eax
	call	sendto@PLT
	jmp	.L4
.L10:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	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	"660099.c"
	.text
	.global	__aeabi_idiv
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmn	r3, #1
	bne	.L2
	mov	r3, #1
	b	.L12
.L2:
	sub	r3, fp, #40
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	strh	r3, [fp, #-40]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r0, .L14+4
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-38]	@ movhi
	mov	r3, #16
	str	r3, [fp, #-80]
	ldr	r2, [fp, #-80]
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L4
	mov	r3, #1
	b	.L12
.L4:
	mov	r3, #16
	str	r3, [fp, #-80]
	sub	r1, fp, #60
	sub	r3, fp, #80
	str	r3, [sp, #4]
	sub	r3, fp, #24
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #20
	ldr	r0, [fp, #-72]
	bl	recvfrom
	ldr	r3, [fp, #-60]
	mov	r0, r3
	bl	ntohl
	mov	r3, r0
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-56]
	mov	r0, r3
	bl	ntohl
	mov	r3, r0
	str	r3, [fp, #-64]
	ldrb	r3, [fp, #-52]	@ zero_extendqisi2
	sub	r3, r3, #42
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L5
.L7:
	.word	.L10
	.word	.L9
	.word	.L5
	.word	.L8
	.word	.L5
	.word	.L6
.L9:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	str	r3, [fp, #-76]
	b	.L5
.L8:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-64]
	sub	r3, r2, r3
	str	r3, [fp, #-76]
	b	.L5
.L10:
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-64]
	mul	r3, r2, r3
	str	r3, [fp, #-76]
	b	.L5
.L6:
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L11
	mov	r0, #2
	bl	htons
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-44]	@ movhi
	b	.L5
.L11:
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-68]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-76]
	nop
.L5:
	ldr	r3, [fp, #-76]
	mov	r0, r3
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-80]
	sub	r1, fp, #60
	str	r3, [sp, #4]
	sub	r3, fp, #24
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #20
	ldr	r0, [fp, #-72]
	bl	sendto
	b	.L4
.L12:
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	3800
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
