	.file	"134761.c"
	.intel_syntax noprefix
	.text
	.local	glob_var
	.comm	glob_var,8,8
	.section	.rodata
.LC0:
	.string	"./fast_receiver"
.LC1:
	.string	"./slow_receiver"
.LC2:
	.string	"./unreliable_receiver"
.LC3:
	.string	"./fast_sender"
.LC4:
	.string	"./slow_sender"
.LC5:
	.string	"./unreliable_sender"
.LC6:
	.string	"fork failed"
.LC7:
	.string	"testing %s with %s\n"
.LC8:
	.string	"%d"
.LC9:
	.string	"exec failed"
	.align 8
.LC10:
	.string	"waiting for %s and %s to finish\n"
	.align 8
.LC13:
	.string	"Done testing %s with %s, %f sec required\n"
	.align 8
.LC14:
	.string	"waiting for all tests to complete"
	.align 8
.LC17:
	.string	"The fastest overall runtime was %f seconds\n"
.LC18:
	.string	"Testing complete"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -96[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -88[rbp], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR -80[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -180[rbp], 3
	mov	DWORD PTR -176[rbp], 3
	mov	eax, DWORD PTR -180[rbp]
	imul	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 3
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 33
	mov	edx, 3
	mov	rsi, rax
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR glob_var[rip], rax
	mov	DWORD PTR -200[rbp], 0
	jmp	.L2
.L16:
	mov	DWORD PTR -196[rbp], 0
	jmp	.L3
.L15:
	call	fork@PLT
	mov	DWORD PTR -172[rbp], eax
	cmp	DWORD PTR -172[rbp], 0
	jns	.L4
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L26
.L4:
	cmp	DWORD PTR -172[rbp], 0
	jne	.L6
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	mov	rdx, QWORD PTR -96[rbp+rax*8]
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	mov	rax, QWORD PTR -64[rbp+rax*8]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -144[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	lea	rax, -104[rbp]
	mov	rdi, rax
	call	pipe@PLT
	call	fork@PLT
	mov	DWORD PTR -168[rbp], eax
	cmp	DWORD PTR -168[rbp], 0
	jns	.L7
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L26
.L7:
	cmp	DWORD PTR -168[rbp], 0
	jne	.L9
	mov	eax, DWORD PTR -104[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edx, DWORD PTR -100[rbp]
	lea	rax, -32[rbp]
	mov	ecx, edx
	lea	rdx, .LC8[rip]
	mov	esi, 20
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	mov	rsi, QWORD PTR -64[rbp+rax*8]
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	mov	rax, QWORD PTR -64[rbp+rax*8]
	lea	rdx, -32[rbp]
	mov	ecx, 0
	mov	rdi, rax
	mov	eax, 0
	call	execl@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L26
.L9:
	call	fork@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 0
	jns	.L10
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L26
.L10:
	cmp	DWORD PTR -164[rbp], 0
	jne	.L11
	mov	eax, DWORD PTR -100[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edx, DWORD PTR -104[rbp]
	lea	rax, -32[rbp]
	mov	ecx, edx
	lea	rdx, .LC8[rip]
	mov	esi, 20
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	mov	rsi, QWORD PTR -96[rbp+rax*8]
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	mov	rax, QWORD PTR -96[rbp+rax*8]
	lea	rdx, -32[rbp]
	mov	ecx, 0
	mov	rdi, rax
	mov	eax, 0
	call	execl@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L26
.L11:
	mov	eax, DWORD PTR -104[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -100[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	mov	rdx, QWORD PTR -96[rbp+rax*8]
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	mov	rax, QWORD PTR -64[rbp+rax*8]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -208[rbp]
	mov	eax, DWORD PTR -168[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	lea	rcx, -204[rbp]
	mov	eax, DWORD PTR -164[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	lea	rax, -128[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -144[rbp]
	sub	rax, rdx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -120[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC11[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -152[rbp], xmm0
	mov	eax, DWORD PTR -208[rbp]
	sar	eax, 8
	movzx	eax, al
	test	eax, eax
	jne	.L12
	mov	eax, DWORD PTR -204[rbp]
	sar	eax, 8
	movzx	eax, al
	test	eax, eax
	je	.L13
.L12:
	mov	rdx, QWORD PTR glob_var[rip]
	mov	eax, DWORD PTR -200[rbp]
	imul	eax, DWORD PTR -176[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -196[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC12[rip]
	movsd	QWORD PTR [rax], xmm0
	jmp	.L14
.L13:
	mov	rdx, QWORD PTR glob_var[rip]
	mov	eax, DWORD PTR -200[rbp]
	imul	eax, DWORD PTR -176[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -196[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR -152[rbp]
	movsd	QWORD PTR [rax], xmm0
.L14:
	mov	rdx, QWORD PTR glob_var[rip]
	mov	eax, DWORD PTR -200[rbp]
	imul	eax, DWORD PTR -176[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -196[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	mov	rdx, QWORD PTR -96[rbp+rax*8]
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	mov	rax, QWORD PTR -64[rbp+rax*8]
	movq	xmm0, rcx
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	jmp	.L26
.L6:
	add	DWORD PTR -196[rbp], 1
.L3:
	mov	eax, DWORD PTR -196[rbp]
	cmp	eax, DWORD PTR -176[rbp]
	jl	.L15
	add	DWORD PTR -200[rbp], 1
.L2:
	mov	eax, DWORD PTR -200[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L16
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	DWORD PTR -192[rbp], 0
	jmp	.L17
.L18:
	mov	edi, 0
	call	wait@PLT
	add	DWORD PTR -192[rbp], 1
.L17:
	mov	eax, DWORD PTR -180[rbp]
	imul	eax, DWORD PTR -176[rbp]
	cmp	DWORD PTR -192[rbp], eax
	jl	.L18
	movsd	xmm0, QWORD PTR .LC15[rip]
	movsd	QWORD PTR -160[rbp], xmm0
	mov	DWORD PTR -188[rbp], 0
	jmp	.L19
.L25:
	mov	DWORD PTR -184[rbp], 0
	jmp	.L20
.L24:
	mov	rdx, QWORD PTR glob_var[rip]
	mov	eax, DWORD PTR -188[rbp]
	imul	eax, DWORD PTR -176[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -184[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L21
	mov	rdx, QWORD PTR glob_var[rip]
	mov	eax, DWORD PTR -188[rbp]
	imul	eax, DWORD PTR -176[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -184[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -160[rbp]
	comisd	xmm0, xmm1
	jbe	.L21
	mov	rdx, QWORD PTR glob_var[rip]
	mov	eax, DWORD PTR -188[rbp]
	imul	eax, DWORD PTR -176[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -184[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -160[rbp], xmm0
.L21:
	add	DWORD PTR -184[rbp], 1
.L20:
	mov	eax, DWORD PTR -184[rbp]
	cmp	eax, DWORD PTR -176[rbp]
	jl	.L24
	add	DWORD PTR -188[rbp], 1
.L19:
	mov	eax, DWORD PTR -188[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L25
	mov	rax, QWORD PTR -160[rbp]
	movq	xmm0, rax
	lea	rdi, .LC17[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	eax, 0
.L26:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC11:
	.long	0
	.long	1093567616
	.align 8
.LC12:
	.long	0
	.long	-1074790400
	.align 8
.LC15:
	.long	0
	.long	1086556160
	.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	"134761.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"./fast_receiver\000"
	.align	2
.LC1:
	.ascii	"./slow_receiver\000"
	.align	2
.LC2:
	.ascii	"./unreliable_receiver\000"
	.align	2
.LC4:
	.ascii	"./fast_sender\000"
	.align	2
.LC5:
	.ascii	"./slow_sender\000"
	.align	2
.LC6:
	.ascii	"./unreliable_sender\000"
	.text
	.local	glob_var
	.comm	glob_var,4,4
	.section	.rodata
	.align	2
.LC10:
	.ascii	"fork failed\000"
	.align	2
.LC11:
	.ascii	"testing %s with %s\012\000"
	.align	2
.LC12:
	.ascii	"%d\000"
	.align	2
.LC13:
	.ascii	"exec failed\000"
	.align	2
.LC14:
	.ascii	"waiting for %s and %s to finish\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.align	2
.LC15:
	.ascii	"Done testing %s with %s, %f sec required\012\000"
	.align	2
.LC16:
	.ascii	"waiting for all tests to complete\000"
	.global	__aeabi_dcmpgt
	.align	2
.LC17:
	.ascii	"The fastest overall runtime was %f seconds\012\000"
	.align	2
.LC18:
	.ascii	"Testing complete\000"
	.align	2
.LC8:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.align	2
.LC9:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #144
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r2, .L30+4
	sub	r3, fp, #60
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r2, .L30+8
	sub	r3, fp, #48
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	mov	r3, #3
	str	r3, [fp, #-120]
	mov	r3, #3
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-120]
	ldr	r2, [fp, #-116]
	mul	r3, r2, r3
	lsl	r1, r3, #3
	mov	r3, #0
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #33
	mov	r2, #3
	mov	r0, #0
	bl	mmap
	mov	r3, r0
	ldr	r2, .L30+12
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L2
.L16:
	mov	r3, #0
	str	r3, [fp, #-136]
	b	.L3
.L15:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L30+16
	bl	puts
	mov	r3, #1
	b	.L26
.L4:
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r1, [r3, #-36]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-48]
	mov	r2, r3
	ldr	r0, .L30+20
	bl	printf
	sub	r3, fp, #84
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	sub	r3, fp, #68
	mov	r0, r3
	bl	pipe
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bge	.L7
	ldr	r0, .L30+16
	bl	puts
	mov	r3, #1
	b	.L26
.L7:
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-68]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-64]
	sub	r0, fp, #36
	ldr	r2, .L30+24
	mov	r1, #20
	bl	snprintf
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r0, [r3, #-36]
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r1, [r3, #-36]
	sub	r2, fp, #36
	mov	r3, #0
	bl	execl
	ldr	r0, .L30+28
	bl	puts
	mov	r3, #1
	b	.L26
.L9:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	bge	.L10
	ldr	r0, .L30+16
	bl	puts
	mov	r3, #1
	b	.L26
.L10:
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-64]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-68]
	sub	r0, fp, #36
	ldr	r2, .L30+24
	mov	r1, #20
	bl	snprintf
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r0, [r3, #-48]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r1, [r3, #-48]
	sub	r2, fp, #36
	mov	r3, #0
	bl	execl
	ldr	r0, .L30+28
	bl	puts
	mov	r3, #1
	b	.L26
.L11:
	ldr	r3, [fp, #-68]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-64]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r1, [r3, #-36]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-48]
	mov	r2, r3
	ldr	r0, .L30+32
	bl	printf
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-108]
	bl	waitpid
	sub	r3, fp, #144
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-104]
	bl	waitpid
	sub	r3, fp, #76
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-84]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-80]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L30+36
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-148]
	asr	r3, r3, #8
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-144]
	asr	r3, r3, #8
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L13
.L12:
	ldr	r3, .L30+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-140]
	ldr	r1, [fp, #-116]
	mul	r1, r3, r1
	ldr	r3, [fp, #-136]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r1, r2, r3
	mov	r2, #0
	ldr	r3, .L30+40
	stm	r1, {r2-r3}
	b	.L14
.L13:
	ldr	r3, .L30+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-140]
	ldr	r1, [fp, #-116]
	mul	r1, r3, r1
	ldr	r3, [fp, #-136]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
.L14:
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r0, [r3, #-36]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	ip, [r3, #-48]
	ldr	r3, .L30+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-140]
	ldr	r1, [fp, #-116]
	mul	r1, r3, r1
	ldr	r3, [fp, #-136]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L30+44
	bl	printf
	mov	r3, #0
	b	.L26
.L6:
	ldr	r3, [fp, #-136]
	add	r3, r3, #1
	str	r3, [fp, #-136]
.L3:
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L2:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	blt	.L16
	ldr	r0, .L30+48
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L17
.L18:
	mov	r0, #0
	bl	wait
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L17:
	ldr	r3, [fp, #-120]
	ldr	r2, [fp, #-116]
	mul	r3, r2, r3
	ldr	r2, [fp, #-132]
	cmp	r2, r3
	blt	.L18
	mov	r2, #0
	ldr	r3, .L30+52
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L19
.L25:
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L20
.L24:
	ldr	r3, .L30+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-128]
	ldr	r1, [fp, #-116]
	mul	r1, r3, r1
	ldr	r3, [fp, #-124]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L30+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-128]
	ldr	r1, [fp, #-116]
	mul	r1, r3, r1
	ldr	r3, [fp, #-124]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L30+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-128]
	ldr	r1, [fp, #-116]
	mul	r1, r3, r1
	ldr	r3, [fp, #-124]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
.L21:
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L20:
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	blt	.L24
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L19:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	blt	.L25
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	ldr	r0, .L30+56
	bl	printf
	ldr	r0, .L30+60
	bl	puts
	mov	r3, #0
.L26:
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC19
	.word	.LC8
	.word	.LC9
	.word	glob_var
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	1093567616
	.word	-1074790400
	.word	.LC15
	.word	.LC16
	.word	1086556160
	.word	.LC17
	.word	.LC18
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
