	.file	"117329004.c"
	.intel_syntax noprefix
	.text
	.globl	W
	.data
	.align 4
	.type	W, @object
	.size	W, 4
W:
	.long	5900
	.globl	PORT
	.bss
	.align 4
	.type	PORT, @object
	.size	PORT, 4
PORT:
	.zero	4
	.globl	IP
	.align 32
	.type	IP, @object
	.size	IP, 46
IP:
	.zero	46
	.globl	loss
	.align 4
	.type	loss, @object
	.size	loss, 4
loss:
	.zero	4
	.section	.rodata
.LC0:
	.string	"Usage: ./sender IP Port loss"
.LC1:
	.string	"Connecting to %s:%d\n"
.LC4:
	.string	"8888"
.LC5:
	.string	"getaddrinfo: %s\n"
.LC6:
	.string	"sender: socket"
.LC7:
	.string	"sender:bind"
	.align 8
.LC8:
	.string	"sender: failed to bind socket\n"
.LC10:
	.string	"sendto failed"
	.align 8
.LC11:
	.string	"Sent: W= %d,  t_sec= %d,  seq_num= %d\n"
.LC12:
	.string	"Sender queue full"
.LC13:
	.string	"recvfrom"
	.align 8
.LC14:
	.string	"ACK Received: W= %d,  t_sec= %d,  advt_seq_num= %d\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, -102400[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 496
	mov	DWORD PTR -102884[rbp], edi
	mov	QWORD PTR -102896[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -102884[rbp], 4
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L43
.L2:
	mov	rax, QWORD PTR -102896[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR PORT[rip], eax
	mov	edx, DWORD PTR PORT[rip]
	mov	rax, QWORD PTR -102896[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -102896[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atof@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR loss[rip], xmm0
	movss	xmm0, DWORD PTR loss[rip]
	movss	xmm1, DWORD PTR .LC2[rip]
	ucomiss	xmm0, xmm1
	jp	.L4
	movss	xmm1, DWORD PTR .LC2[rip]
	ucomiss	xmm0, xmm1
	jne	.L4
	movss	xmm0, DWORD PTR .LC3[rip]
	movss	DWORD PTR loss[rip], xmm0
.L4:
	mov	DWORD PTR -102872[rbp], 0
	mov	DWORD PTR -102872[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -102872[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1321528399
	shr	rdx, 32
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 26
	sub	eax, ecx
	mov	edx, eax
	mov	eax, edx
	add	eax, 97
	mov	edx, eax
	mov	eax, DWORD PTR -102872[rbp]
	cdqe
	mov	BYTE PTR -100016[rbp+rax], dl
	add	DWORD PTR -102872[rbp], 1
.L6:
	cmp	DWORD PTR -102872[rbp], 99999
	jle	.L7
	lea	rax, -102704[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -102700[rbp], 0
	mov	DWORD PTR -102696[rbp], 2
	mov	DWORD PTR -102704[rbp], 1
	lea	rdx, -102792[rbp]
	lea	rax, -102704[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	edi, 0
	call	getaddrinfo@PLT
	mov	DWORD PTR -102824[rbp], eax
	cmp	DWORD PTR -102824[rbp], 0
	je	.L8
	mov	eax, DWORD PTR -102824[rbp]
	mov	edi, eax
	call	gai_strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L8:
	mov	rax, QWORD PTR -102792[rbp]
	mov	QWORD PTR -102768[rbp], rax
	jmp	.L9
.L14:
	mov	rax, QWORD PTR -102768[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -102768[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -102768[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -102876[rbp], eax
	cmp	DWORD PTR -102876[rbp], -1
	jne	.L10
	lea	rdi, .LC6[rip]
	call	perror@PLT
	jmp	.L11
.L10:
	mov	rax, QWORD PTR -102768[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -102768[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -102876[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L48
	mov	eax, DWORD PTR -102876[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rdi, .LC7[rip]
	call	perror@PLT
	nop
.L11:
	mov	rax, QWORD PTR -102768[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -102768[rbp], rax
.L9:
	cmp	QWORD PTR -102768[rbp], 0
	jne	.L14
	jmp	.L13
.L48:
	nop
.L13:
	cmp	QWORD PTR -102768[rbp], 0
	jne	.L15
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 30
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	eax, 2
	jmp	.L43
.L15:
	lea	rax, -102656[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -102656[rbp], 2
	mov	rax, QWORD PTR -102896[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	inet_addr@PLT
	mov	DWORD PTR -102652[rbp], eax
	mov	eax, DWORD PTR PORT[rip]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -102654[rbp], ax
	mov	DWORD PTR -102868[rbp], -1
	mov	DWORD PTR -102864[rbp], -1
	mov	DWORD PTR -102860[rbp], -1
	mov	DWORD PTR -102856[rbp], -1
	mov	DWORD PTR -102852[rbp], 0
	mov	DWORD PTR -102848[rbp], 1000
	mov	DWORD PTR -102872[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -102872[rbp]
	cdqe
	mov	QWORD PTR -102512[rbp+rax*8], 0
	add	DWORD PTR -102872[rbp], 1
.L16:
	cmp	DWORD PTR -102872[rbp], 99
	jle	.L17
	mov	DWORD PTR -102844[rbp], 1
	mov	QWORD PTR -102736[rbp], 1
	mov	QWORD PTR -102728[rbp], 0
	mov	DWORD PTR -100024[rbp], 101
	mov	DWORD PTR -100032[rbp], 0
	mov	DWORD PTR -100028[rbp], 0
	mov	DWORD PTR -100020[rbp], 0
	lea	rax, -102784[rbp]
	mov	rdi, rax
	call	time@PLT
	jmp	.L18
.L42:
	lea	rax, -102776[rbp]
	mov	rdi, rax
	call	time@PLT
	mov	eax, DWORD PTR -100032[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 101704
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -102776[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	difftime@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -102820[rbp], eax
	mov	eax, DWORD PTR -100020[rbp]
	test	eax, eax
	jle	.L27
	cmp	DWORD PTR -102820[rbp], 0
	jle	.L27
	mov	edi, 1016
	call	malloc@PLT
	mov	QWORD PTR -102760[rbp], rax
	mov	eax, DWORD PTR -102868[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -102760[rbp]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -102848[rbp], 1000
	cmp	DWORD PTR -102868[rbp], 98998
	jle	.L20
	mov	eax, 99999
	sub	eax, DWORD PTR -102868[rbp]
	mov	DWORD PTR -102848[rbp], eax
.L20:
	mov	eax, DWORD PTR -102848[rbp]
	cdqe
	mov	edx, DWORD PTR -102868[rbp]
	add	edx, 1
	lea	rcx, -100016[rbp]
	movsx	rdx, edx
	lea	rsi, [rcx+rdx]
	mov	rdx, QWORD PTR -102760[rbp]
	lea	rcx, 12[rdx]
	mov	rdx, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -102760[rbp]
	mov	edx, DWORD PTR -102848[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rdx, QWORD PTR -102760[rbp]
	mov	eax, DWORD PTR -102848[rbp]
	cdqe
	mov	BYTE PTR 12[rdx+rax], 0
	call	rand@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -102816[rbp], xmm0
	movss	xmm1, DWORD PTR loss[rip]
	movss	xmm0, DWORD PTR -102816[rbp]
	comiss	xmm0, xmm1
	jb	.L21
	lea	rdx, -102656[rbp]
	mov	rsi, QWORD PTR -102760[rbp]
	mov	eax, DWORD PTR -102876[rbp]
	mov	r9d, 16
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 1016
	mov	edi, eax
	call	sendto@PLT
	shr	rax, 63
	movzx	eax, al
	mov	DWORD PTR -102812[rbp], eax
	cmp	DWORD PTR -102812[rbp], 0
	je	.L21
	lea	rdi, .LC10[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L43
.L21:
	mov	edx, DWORD PTR -100032[rbp]
	mov	rax, QWORD PTR -102760[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, edx
	sal	rdx, 4
	add	rdx, rbp
	sub	rdx, 101712
	mov	DWORD PTR [rdx], eax
	mov	edx, DWORD PTR -100032[rbp]
	mov	rax, QWORD PTR -102760[rbp]
	mov	eax, DWORD PTR 8[rax]
	movsx	rdx, edx
	sal	rdx, 4
	add	rdx, rbp
	sub	rdx, 101708
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -100032[rbp]
	lea	rdx, -101712[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	add	rax, 8
	mov	rdi, rax
	call	time@PLT
	mov	eax, DWORD PTR -102864[rbp]
	add	eax, 1
	cdq
	idiv	DWORD PTR -102844[rbp]
	mov	DWORD PTR -102840[rbp], edx
	jmp	.L23
.L25:
	mov	eax, DWORD PTR -102840[rbp]
	cdqe
	mov	rax, QWORD PTR -102512[rbp+rax*8]
	test	rax, rax
	je	.L24
	mov	eax, DWORD PTR -102840[rbp]
	cdqe
	mov	rax, QWORD PTR -102512[rbp+rax*8]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -102840[rbp]
	cdqe
	mov	QWORD PTR -102512[rbp+rax*8], 0
.L24:
	mov	eax, DWORD PTR -102840[rbp]
	add	eax, 1
	cdq
	idiv	DWORD PTR -102844[rbp]
	mov	DWORD PTR -102840[rbp], edx
.L23:
	mov	eax, DWORD PTR -102840[rbp]
	cmp	eax, DWORD PTR -102856[rbp]
	jne	.L25
	mov	eax, DWORD PTR -102840[rbp]
	cdqe
	mov	rax, QWORD PTR -102512[rbp+rax*8]
	test	rax, rax
	je	.L26
	mov	eax, DWORD PTR -102840[rbp]
	cdqe
	mov	rax, QWORD PTR -102512[rbp+rax*8]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -102840[rbp]
	cdqe
	mov	QWORD PTR -102512[rbp+rax*8], 0
.L26:
	mov	DWORD PTR W[rip], 1000
	mov	eax, DWORD PTR W[rip]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -102844[rbp], eax
	mov	rax, QWORD PTR -102760[rbp]
	mov	QWORD PTR -102512[rbp], rax
	mov	DWORD PTR -102852[rbp], 1
	mov	DWORD PTR -102864[rbp], -1
	mov	DWORD PTR -102856[rbp], 0
	lea	rax, -102776[rbp]
	mov	rdi, rax
	call	time@PLT
	mov	rdx, QWORD PTR -102784[rbp]
	mov	rax, QWORD PTR -102776[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	difftime@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -102820[rbp], eax
	mov	rax, QWORD PTR -102760[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR W[rip]
	mov	edx, DWORD PTR -102820[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L27
.L33:
	mov	edi, 1016
	call	malloc@PLT
	mov	QWORD PTR -102752[rbp], rax
	mov	eax, DWORD PTR -102860[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -102752[rbp]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -102848[rbp], 1000
	cmp	DWORD PTR -102860[rbp], 98998
	jle	.L28
	mov	eax, 99999
	sub	eax, DWORD PTR -102860[rbp]
	mov	DWORD PTR -102848[rbp], eax
.L28:
	mov	eax, DWORD PTR -102848[rbp]
	cdqe
	mov	edx, DWORD PTR -102860[rbp]
	add	edx, 1
	lea	rcx, -100016[rbp]
	movsx	rdx, edx
	lea	rsi, [rcx+rdx]
	mov	rdx, QWORD PTR -102752[rbp]
	lea	rcx, 12[rdx]
	mov	rdx, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -102752[rbp]
	mov	edx, DWORD PTR -102848[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rdx, QWORD PTR -102752[rbp]
	mov	eax, DWORD PTR -102848[rbp]
	cdqe
	mov	BYTE PTR 12[rdx+rax], 0
	call	rand@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -102808[rbp], xmm0
	movss	xmm1, DWORD PTR loss[rip]
	movss	xmm0, DWORD PTR -102808[rbp]
	comiss	xmm0, xmm1
	jb	.L29
	lea	rdx, -102656[rbp]
	mov	rsi, QWORD PTR -102752[rbp]
	mov	eax, DWORD PTR -102876[rbp]
	mov	r9d, 16
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 1016
	mov	edi, eax
	call	sendto@PLT
	shr	rax, 63
	movzx	eax, al
	mov	DWORD PTR -102812[rbp], eax
	cmp	DWORD PTR -102812[rbp], 0
	je	.L29
	lea	rdi, .LC10[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L43
.L29:
	mov	edx, DWORD PTR -100020[rbp]
	mov	eax, DWORD PTR -100024[rbp]
	cmp	edx, eax
	jl	.L31
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	DWORD PTR -100020[rbp], 0
	mov	DWORD PTR -100032[rbp], 0
	mov	DWORD PTR -100028[rbp], 0
.L31:
	mov	eax, DWORD PTR -100028[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 101712
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -102720[rbp], rax
	mov	QWORD PTR -102712[rbp], rdx
	mov	rax, QWORD PTR -102752[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -102720[rbp], eax
	mov	rax, QWORD PTR -102752[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -102716[rbp], eax
	lea	rax, -102720[rbp]
	add	rax, 8
	mov	rdi, rax
	call	time@PLT
	mov	eax, DWORD PTR -100028[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	lea	rcx, -101712[rax]
	mov	rax, QWORD PTR -102720[rbp]
	mov	rdx, QWORD PTR -102712[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	eax, DWORD PTR -100028[rbp]
	add	eax, 1
	mov	DWORD PTR -100028[rbp], eax
	mov	eax, DWORD PTR -100020[rbp]
	add	eax, 1
	mov	DWORD PTR -100020[rbp], eax
	lea	rax, -102776[rbp]
	mov	rdi, rax
	call	time@PLT
	mov	rdx, QWORD PTR -102784[rbp]
	mov	rax, QWORD PTR -102776[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	difftime@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -102820[rbp], eax
	mov	rax, QWORD PTR -102752[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR W[rip]
	mov	edx, DWORD PTR -102820[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -102848[rbp]
	add	DWORD PTR -102860[rbp], eax
	add	DWORD PTR -102852[rbp], 1
	mov	eax, DWORD PTR -102856[rbp]
	add	eax, 1
	cdq
	idiv	DWORD PTR -102844[rbp]
	mov	DWORD PTR -102856[rbp], edx
	mov	eax, DWORD PTR -102856[rbp]
	cdqe
	mov	rdx, QWORD PTR -102752[rbp]
	mov	QWORD PTR -102512[rbp+rax*8], rdx
.L27:
	mov	eax, DWORD PTR -102852[rbp]
	cmp	eax, DWORD PTR -102844[rbp]
	jge	.L32
	cmp	DWORD PTR -102868[rbp], 99998
	jle	.L33
.L32:
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -102640[rbp]
	mov	rdi, rdx
#APP
# 227 "the_stack_data/117329004.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -102804[rbp], edx
	mov	DWORD PTR -102800[rbp], eax
	mov	eax, DWORD PTR -102876[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -102640[rbp+rax*8]
	mov	eax, DWORD PTR -102876[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -102640[rbp+rax*8], rdx
	mov	eax, DWORD PTR -102876[rbp]
	lea	edi, 1[rax]
	lea	rdx, -102736[rbp]
	lea	rax, -102640[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	mov	eax, DWORD PTR -102876[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -102640[rbp+rax*8]
	mov	eax, DWORD PTR -102876[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	rax, rsi
	test	rax, rax
	je	.L18
	mov	edi, 1016
	call	malloc@PLT
	mov	QWORD PTR -102744[rbp], rax
	mov	rsi, QWORD PTR -102744[rbp]
	mov	eax, DWORD PTR -102876[rbp]
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 1016
	mov	edi, eax
	call	recvfrom@PLT
	mov	DWORD PTR -102812[rbp], eax
	cmp	DWORD PTR -102812[rbp], -1
	jne	.L34
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L34:
	lea	rax, -102776[rbp]
	mov	rdi, rax
	call	time@PLT
	mov	rdx, QWORD PTR -102784[rbp]
	mov	rax, QWORD PTR -102776[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	difftime@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -102820[rbp], eax
	mov	eax, DWORD PTR -102864[rbp]
	add	eax, 1
	cdq
	idiv	DWORD PTR -102844[rbp]
	mov	DWORD PTR -102836[rbp], edx
	mov	DWORD PTR -102832[rbp], 0
	jmp	.L35
.L38:
	mov	eax, DWORD PTR -102836[rbp]
	cdqe
	mov	rax, QWORD PTR -102512[rbp+rax*8]
	test	rax, rax
	je	.L36
	mov	eax, DWORD PTR -102836[rbp]
	cdqe
	mov	rax, QWORD PTR -102512[rbp+rax*8]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -102836[rbp]
	cdqe
	mov	QWORD PTR -102512[rbp+rax*8], 0
.L36:
	mov	eax, DWORD PTR -102864[rbp]
	add	eax, 1
	cdq
	idiv	DWORD PTR -102844[rbp]
	mov	DWORD PTR -102864[rbp], edx
	mov	eax, DWORD PTR -102864[rbp]
	add	eax, 1
	cdq
	idiv	DWORD PTR -102844[rbp]
	mov	DWORD PTR -102836[rbp], edx
	sub	DWORD PTR -102852[rbp], 1
	mov	rax, QWORD PTR -102744[rbp]
	mov	eax, DWORD PTR 4[rax]
	sub	eax, 1
	mov	DWORD PTR -102868[rbp], eax
	mov	DWORD PTR -102832[rbp], 1
.L35:
	mov	eax, DWORD PTR -102836[rbp]
	cdqe
	mov	rax, QWORD PTR -102512[rbp+rax*8]
	test	rax, rax
	je	.L37
	mov	eax, DWORD PTR -102836[rbp]
	cdqe
	mov	rax, QWORD PTR -102512[rbp+rax*8]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -102744[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jl	.L38
.L37:
	cmp	DWORD PTR -102832[rbp], 0
	je	.L39
	mov	esi, DWORD PTR W[rip]
	mov	eax, 1000000
	cdq
	idiv	esi
	mov	DWORD PTR -102796[rbp], eax
	mov	edx, DWORD PTR W[rip]
	mov	eax, DWORD PTR -102796[rbp]
	add	eax, edx
	mov	DWORD PTR W[rip], eax
	mov	eax, DWORD PTR W[rip]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -102844[rbp], eax
	mov	DWORD PTR -102832[rbp], 0
.L39:
	mov	rax, QWORD PTR -102744[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR W[rip]
	mov	edx, DWORD PTR -102820[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -102744[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -102744[rbp], 0
	mov	eax, DWORD PTR -100032[rbp]
	mov	DWORD PTR -102828[rbp], eax
	jmp	.L40
.L41:
	mov	eax, DWORD PTR -100020[rbp]
	sub	eax, 1
	mov	DWORD PTR -100020[rbp], eax
	mov	eax, DWORD PTR -100032[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR -100024[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	mov	DWORD PTR -100032[rbp], eax
	mov	eax, DWORD PTR -102828[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR -100024[rbp]
	cdq
	idiv	ecx
	mov	DWORD PTR -102828[rbp], edx
.L40:
	mov	eax, DWORD PTR -102828[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 101712
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -102868[rbp], eax
	jl	.L18
	mov	edx, DWORD PTR -100032[rbp]
	mov	eax, DWORD PTR -100028[rbp]
	cmp	edx, eax
	jne	.L41
.L18:
	cmp	DWORD PTR -102868[rbp], 99998
	jle	.L42
	mov	eax, 0
.L43:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC2:
	.long	1065353216
	.align 4
.LC3:
	.long	1028443341
	.align 8
.LC9:
	.long	-4194304
	.long	1105199103
	.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	"117329004.c"
	.text
	.global	W
	.data
	.align	2
	.type	W, %object
	.size	W, 4
W:
	.word	5900
	.comm	PORT,4,4
	.comm	IP,46,4
	.comm	loss,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: ./sender IP Port loss\000"
	.align	2
.LC1:
	.ascii	"Connecting to %s:%d\012\000"
	.global	__aeabi_d2f
	.global	__aeabi_fcmpeq
	.align	2
.LC2:
	.ascii	"8888\000"
	.align	2
.LC3:
	.ascii	"getaddrinfo: %s\012\000"
	.align	2
.LC4:
	.ascii	"sender: socket\000"
	.align	2
.LC5:
	.ascii	"sender:bind\000"
	.align	2
.LC6:
	.ascii	"sender: failed to bind socket\012\000"
	.global	__aeabi_d2iz
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_fcmpge
	.align	2
.LC7:
	.ascii	"sendto failed\000"
	.global	__aeabi_idivmod
	.align	2
.LC8:
	.ascii	"Sent: W= %d,  t_sec= %d,  seq_num= %d\012\000"
	.align	2
.LC9:
	.ascii	"Sender queue full\000"
	.align	2
.LC10:
	.ascii	"recvfrom\000"
	.global	__aeabi_idiv
	.align	2
.LC11:
	.ascii	"ACK Received: W= %d,  t_sec= %d,  advt_seq_num= %d\012"
	.ascii	"\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 102000
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #101376
	sub	sp, sp, #636
	sub	r3, fp, #98304
	sub	r3, r3, #12
	str	r0, [r3, #-3692]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	str	r1, [r3, #-3696]
	ldr	r3, .L51+104
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3692]
	cmp	r3, #4
	beq	.L2
	ldr	r0, .L51
	bl	puts
	mvn	r3, #0
	b	.L45
.L2:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3696]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L51+4
	str	r3, [r2]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3696]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, .L51+4
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L51+8
	bl	printf
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3696]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	ldr	r2, .L51+12
	str	r3, [r2]	@ float
	ldr	r3, .L51+12
	ldr	r3, [r3]	@ float
	mov	r1, #1065353216
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L51+12
	ldr	r2, .L51+16
	str	r2, [r3]	@ float
.L4:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3664]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3664]
	b	.L6
.L7:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r1, [r3, #-3664]
	ldr	r3, .L51+20
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	and	r3, r2, #255
	add	r3, r3, #97
	and	r2, r3, #255
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3664]
	add	r3, r1, r3
	sub	r3, r3, #1696
	sub	r3, r3, #4
	strb	r2, [r3]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3664]
	add	r3, r3, #1
	str	r3, [r2, #-3664]
.L6:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3664]
	ldr	r2, .L51+24
	cmp	r3, r2
	blt	.L7
	sub	r3, fp, #101376
	sub	r3, r3, #12
	sub	r3, r3, #480
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3548]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-3544]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3552]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #101376
	sub	r3, r3, #12
	sub	r3, r3, #612
	sub	r2, fp, #101376
	sub	r2, r2, #12
	sub	r2, r2, #480
	ldr	r1, .L51+28
	mov	r0, #0
	bl	getaddrinfo
	str	r0, [r4, #-3612]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3612]
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L51+32
	ldr	r4, [r3]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r0, [r3, #-3612]
	bl	gai_strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L51+36
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L45
.L8:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3684]
	str	r3, [r2, #-3668]
	b	.L9
.L14:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3668]
	ldr	r0, [r3, #4]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3668]
	ldr	r1, [r3, #8]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3668]
	ldr	r3, [r3, #12]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	mov	r4, r2
	mov	r2, r3
	bl	socket
	str	r0, [r4, #-3672]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3672]
	cmn	r3, #1
	bne	.L10
	ldr	r0, .L51+40
	bl	perror
	b	.L11
.L10:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3668]
	ldr	r1, [r3, #20]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3668]
	ldr	r3, [r3, #16]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r0, [r0, #-3672]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L50
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r0, [r3, #-3672]
	bl	close
	ldr	r0, .L51+44
	bl	perror
	nop
.L11:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3668]
	ldr	r3, [r3, #28]
	str	r3, [r2, #-3668]
.L9:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3668]
	cmp	r3, #0
	bne	.L14
	b	.L13
.L50:
	nop
.L13:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3668]
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L51+32
	ldr	r3, [r3]
	mov	r2, #30
	mov	r1, #1
	ldr	r0, .L51+48
	bl	fwrite
	mov	r3, #2
	b	.L45
.L15:
	sub	r3, fp, #101376
	sub	r3, r3, #12
	sub	r3, r3, #448
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #98304
	sub	r3, r3, #12
	sub	r3, r3, #3520
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3696]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	inet_addr
	mov	r3, r0
	sub	r2, fp, #98304
	sub	r2, r2, #12
	str	r3, [r2, #-3516]
	ldr	r3, .L51+4
	ldr	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	sub	r3, r3, #3520
	strh	r2, [r3, #2]	@ movhi
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mvn	r3, #0
	str	r3, [r2, #-3660]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mvn	r3, #0
	str	r3, [r2, #-3656]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mvn	r3, #0
	str	r3, [r2, #-3652]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mvn	r3, #0
	str	r3, [r2, #-3648]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3644]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1000
	str	r3, [r2, #-3640]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3664]
	b	.L16
.L17:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3664]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-3376]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3664]
	add	r3, r3, #1
	str	r3, [r2, #-3664]
.L16:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3664]
	cmp	r3, #99
	ble	.L17
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3636]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3572]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3568]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #101
	str	r3, [r2, #-1708]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1716]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1712]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1704]
	sub	r3, fp, #101376
	sub	r3, r3, #12
	sub	r3, r3, #608
	mov	r0, r3
	bl	time
	b	.L18
.L44:
	sub	r3, fp, #101376
	sub	r3, r3, #12
	sub	r3, r3, #604
	mov	r0, r3
	bl	time
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r0, [r3, #-3676]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r2, [r3, #-1716]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #2960
	sub	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, r3
	bl	difftime
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #98304
	sub	r1, r1, #12
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [r4, #-3608]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-1704]
	cmp	r3, #0
	ble	.L27
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3608]
	cmp	r3, #0
	ble	.L27
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #1016
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #-3604]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3660]
	add	r2, r3, #1
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3604]
	str	r2, [r3]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1000
	str	r3, [r2, #-3640]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3660]
	ldr	r2, .L51+52
	cmp	r3, r2
	ble	.L20
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r2, [r3, #-3660]
	ldr	r3, .L51+56
	sub	r3, r3, r2
	str	r3, [r1, #-3640]
.L20:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3604]
	add	r0, r3, #12
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3660]
	add	r2, r3, #1
	sub	r3, fp, #99328
	sub	r3, r3, #12
	sub	r3, r3, #676
	add	r3, r3, r2
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r2, [r2, #-3640]
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3604]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r2, [r2, #-3640]
	str	r2, [r3, #8]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r2, [r3, #-3604]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3640]
	add	r3, r2, r3
	add	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3]
	bl	rand
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L51+60
	ldr	r3, .L51+64
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #98304
	sub	r1, r1, #12
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4, #-3600]	@ float
	ldr	r3, .L51+12
	ldr	r3, [r3]	@ float
	sub	r2, fp, #98304
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-3600]	@ float
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #16
	str	r3, [sp, #4]
	sub	r3, fp, #101376
	sub	r3, r3, #12
	sub	r3, r3, #448
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #1016
	ldr	r1, [r1, #-3604]
	ldr	r0, [r0, #-3672]
	bl	sendto
	mov	r3, r0
	lsr	r3, r3, #31
	and	r3, r3, #255
	sub	r2, fp, #98304
	sub	r2, r2, #12
	str	r3, [r2, #-3596]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3596]
	cmp	r3, #0
	beq	.L21
	ldr	r0, .L51+68
	bl	perror
	mvn	r3, #0
	b	.L45
.L21:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r2, [r3, #-1716]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3604]
	ldr	r1, [r3]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #2976
	str	r1, [r3]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r2, [r3, #-1716]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3604]
	ldr	r1, [r3, #8]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #2960
	sub	r3, r3, #12
	str	r1, [r3]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r1, [r3, #-1716]
	sub	r2, fp, #100352
	sub	r2, r2, #12
	sub	r2, r2, #928
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, #8
	add	r3, r2, r3
	mov	r0, r3
	bl	time
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3656]
	add	r3, r3, #1
	sub	r2, fp, #98304
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r1, [r2, #-3636]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [r4, #-3632]
	b	.L23
.L25:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3632]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3376]
	cmp	r3, #0
	beq	.L24
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3632]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3376]
	mov	r0, r3
	bl	free
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3632]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-3376]
.L24:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3632]
	add	r3, r3, #1
	sub	r2, fp, #98304
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r1, [r2, #-3636]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [r4, #-3632]
.L23:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r2, [r2, #-3632]
	ldr	r3, [r3, #-3648]
	cmp	r2, r3
	bne	.L25
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3632]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3376]
	cmp	r3, #0
	beq	.L26
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3632]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3376]
	mov	r0, r3
	bl	free
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3632]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-3376]
.L26:
	ldr	r3, .L51+92
	mov	r2, #1000
	str	r2, [r3]
	ldr	r3, .L51+92
	ldr	r3, [r3]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	mov	r1, r2
	ldr	r2, .L51+88
	smull	r0, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [r1, #-3636]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3604]
	str	r3, [r2, #-3376]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3644]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mvn	r3, #0
	str	r3, [r2, #-3656]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3648]
	sub	r3, fp, #101376
	sub	r3, r3, #12
	sub	r3, r3, #604
	mov	r0, r3
	bl	time
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3676]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r2, [r2, #-3680]
	mov	r1, r2
	mov	r0, r3
	bl	difftime
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #98304
	sub	r1, r1, #12
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [r4, #-3608]
	ldr	r3, .L51+92
	ldr	r1, [r3]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3604]
	ldr	r3, [r3]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r2, [r2, #-3608]
	ldr	r0, .L51+76
	bl	printf
	b	.L27
.L33:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #1016
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #-3592]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3652]
	add	r2, r3, #1
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3592]
	str	r2, [r3]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1000
	str	r3, [r2, #-3640]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3652]
	ldr	r2, .L51+52
	cmp	r3, r2
	ble	.L28
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r2, [r3, #-3652]
	ldr	r3, .L51+56
	sub	r3, r3, r2
	str	r3, [r1, #-3640]
.L28:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3592]
	add	r0, r3, #12
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3652]
	add	r2, r3, #1
	sub	r3, fp, #99328
	sub	r3, r3, #12
	sub	r3, r3, #676
	add	r3, r3, r2
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r2, [r2, #-3640]
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3592]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r2, [r2, #-3640]
	str	r2, [r3, #8]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r2, [r3, #-3592]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3640]
	add	r3, r2, r3
	add	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3]
	bl	rand
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L51+60
	ldr	r3, .L51+64
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #98304
	sub	r1, r1, #12
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4, #-3588]	@ float
	ldr	r3, .L51+12
	ldr	r3, [r3]	@ float
	sub	r2, fp, #98304
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-3588]	@ float
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #16
	str	r3, [sp, #4]
	sub	r3, fp, #101376
	sub	r3, r3, #12
	sub	r3, r3, #448
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #1016
	ldr	r1, [r1, #-3592]
	ldr	r0, [r0, #-3672]
	bl	sendto
	mov	r3, r0
	lsr	r3, r3, #31
	and	r3, r3, #255
	sub	r2, fp, #98304
	sub	r2, r2, #12
	str	r3, [r2, #-3596]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3596]
	cmp	r3, #0
	beq	.L29
	ldr	r0, .L51+68
	bl	perror
	mvn	r3, #0
	b	.L45
.L52:
	.align	2
.L51:
	.word	.LC0
	.word	PORT
	.word	.LC1
	.word	loss
	.word	1028443341
	.word	1321528399
	.word	100000
	.word	.LC2
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	98998
	.word	99999
	.word	-4194304
	.word	1105199103
	.word	.LC7
	.word	.LC9
	.word	.LC8
	.word	.LC10
	.word	1000000
	.word	274877907
	.word	W
	.word	.LC11
	.word	99998
	.word	.LC12
.L29:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r2, [r3, #-1704]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-1708]
	cmp	r2, r3
	blt	.L31
	ldr	r0, .L51+72
	bl	puts
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1704]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1716]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1712]
.L31:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r2, [r3, #-1712]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r2, r3, #2976
	sub	r3, r1, #3552
	sub	r3, r3, #12
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3592]
	ldr	r3, [r3]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	str	r3, [r2, #-3564]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3592]
	ldr	r3, [r3, #8]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	str	r3, [r2, #-3560]
	sub	r3, fp, #101376
	sub	r3, r3, #12
	sub	r3, r3, #492
	add	r3, r3, #8
	mov	r0, r3
	bl	time
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r2, [r3, #-1712]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r2, r3, #2976
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	ip, r2
	sub	r3, r3, #3552
	sub	r3, r3, #12
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-1712]
	add	r3, r3, #1
	sub	r2, fp, #98304
	sub	r2, r2, #12
	str	r3, [r2, #-1712]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-1704]
	add	r3, r3, #1
	sub	r2, fp, #98304
	sub	r2, r2, #12
	str	r3, [r2, #-1704]
	sub	r3, fp, #101376
	sub	r3, r3, #12
	sub	r3, r3, #604
	mov	r0, r3
	bl	time
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3676]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r2, [r2, #-3680]
	mov	r1, r2
	mov	r0, r3
	bl	difftime
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #98304
	sub	r1, r1, #12
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [r4, #-3608]
	ldr	r3, .L51+92
	ldr	r1, [r3]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3592]
	ldr	r3, [r3]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r2, [r2, #-3608]
	ldr	r0, .L51+76
	bl	printf
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r2, [r2, #-3652]
	ldr	r3, [r3, #-3640]
	add	r3, r2, r3
	str	r3, [r1, #-3652]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3644]
	add	r3, r3, #1
	str	r3, [r2, #-3644]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3648]
	add	r3, r3, #1
	sub	r2, fp, #98304
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r1, [r2, #-3636]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [r4, #-3648]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3648]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r2, [r2, #-3592]
	str	r2, [r3, #-3376]
.L27:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r2, [r2, #-3644]
	ldr	r3, [r3, #-3636]
	cmp	r2, r3
	bge	.L32
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3660]
	ldr	r2, .L51+100
	cmp	r3, r2
	ble	.L33
.L32:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #101376
	sub	r3, r3, #12
	sub	r3, r3, #432
	str	r3, [r2, #-3584]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3628]
	b	.L34
.L35:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3584]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r2, [r2, #-3628]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3628]
	add	r3, r3, #1
	str	r3, [r2, #-3628]
.L34:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3628]
	cmp	r3, #31
	bls	.L35
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3672]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-3504]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3672]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r0, r3
	lsl	r3, r2, #2
	add	r3, r0, r3
	str	r1, [r3, #-3504]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3672]
	add	r0, r3, #1
	sub	r1, fp, #101376
	sub	r1, r1, #12
	sub	r1, r1, #432
	sub	r3, fp, #101376
	sub	r3, r3, #12
	sub	r3, r3, #500
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3672]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	sub	r2, fp, #98304
	sub	r2, r2, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-3504]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3672]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	sub	r2, fp, #98304
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r2, [r2, #-3660]
	str	r2, [r1, #-3660]
	cmp	r3, #0
	beq	.L18
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #1016
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #-3580]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #1016
	ldr	r1, [r1, #-3580]
	ldr	r0, [r0, #-3672]
	bl	recvfrom
	str	r0, [r4, #-3596]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3596]
	cmn	r3, #1
	bne	.L36
	ldr	r0, .L51+80
	bl	perror
	mov	r0, #1
	bl	exit
.L36:
	sub	r3, fp, #101376
	sub	r3, r3, #12
	sub	r3, r3, #604
	mov	r0, r3
	bl	time
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3676]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r2, [r2, #-3680]
	mov	r1, r2
	mov	r0, r3
	bl	difftime
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #98304
	sub	r1, r1, #12
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [r4, #-3608]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3656]
	add	r3, r3, #1
	sub	r2, fp, #98304
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r1, [r2, #-3636]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [r4, #-3624]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3620]
	b	.L37
.L40:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3624]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3376]
	cmp	r3, #0
	beq	.L38
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3624]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3376]
	mov	r0, r3
	bl	free
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3624]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-3376]
.L38:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3656]
	add	r3, r3, #1
	sub	r2, fp, #98304
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r1, [r2, #-3636]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [r4, #-3656]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3656]
	add	r3, r3, #1
	sub	r2, fp, #98304
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r1, [r2, #-3636]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [r4, #-3624]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3644]
	sub	r3, r3, #1
	str	r3, [r2, #-3644]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3580]
	ldr	r3, [r3, #4]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	sub	r3, r3, #1
	str	r3, [r2, #-3660]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3620]
.L37:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3624]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3376]
	cmp	r3, #0
	beq	.L39
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3624]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3376]
	ldr	r2, [r3]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3580]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	blt	.L40
.L39:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3620]
	cmp	r3, #0
	beq	.L41
	ldr	r3, .L51+92
	ldr	r3, [r3]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	mov	r4, r2
	mov	r1, r3
	ldr	r0, .L51+84
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [r4, #-3576]
	ldr	r3, .L51+92
	ldr	r2, [r3]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3576]
	add	r3, r2, r3
	ldr	r2, .L51+92
	str	r3, [r2]
	ldr	r3, .L51+92
	ldr	r3, [r3]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	mov	r1, r2
	ldr	r2, .L51+88
	smull	r0, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [r1, #-3636]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3620]
.L41:
	ldr	r3, .L51+92
	ldr	r1, [r3]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3580]
	ldr	r3, [r3, #4]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r2, [r2, #-3608]
	ldr	r0, .L51+96
	bl	printf
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r0, [r3, #-3580]
	bl	free
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3580]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-1716]
	str	r3, [r2, #-3616]
	b	.L42
.L43:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-1704]
	sub	r3, r3, #1
	sub	r2, fp, #98304
	sub	r2, r2, #12
	str	r3, [r2, #-1704]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-1716]
	add	r3, r3, #1
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r2, [r2, #-1708]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	str	r2, [r3, #-1716]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3616]
	add	r3, r3, #1
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r2, [r2, #-1708]
	sub	r1, fp, #98304
	sub	r1, r1, #12
	mov	r4, r1
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [r4, #-3616]
.L42:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r2, [r3, #-3616]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #2976
	ldr	r3, [r3]
	sub	r2, fp, #98304
	sub	r2, r2, #12
	ldr	r2, [r2, #-3660]
	cmp	r2, r3
	blt	.L18
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r2, [r3, #-1716]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-1712]
	cmp	r2, r3
	bne	.L43
.L18:
	sub	r3, fp, #98304
	sub	r3, r3, #12
	ldr	r3, [r3, #-3660]
	ldr	r2, .L51+100
	cmp	r3, r2
	ble	.L44
	mov	r3, #0
.L45:
	ldr	r2, .L51+104
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
