	.file	"284666.c"
	.intel_syntax noprefix
	.text
	.globl	TLB_SIZE
	.section	.rodata
	.align 4
	.type	TLB_SIZE, @object
	.size	TLB_SIZE, 4
TLB_SIZE:
	.long	16
	.globl	PAGE_SIZE
	.align 4
	.type	PAGE_SIZE, @object
	.size	PAGE_SIZE, 4
PAGE_SIZE:
	.long	256
	.globl	VM_SIZE
	.align 4
	.type	VM_SIZE, @object
	.size	VM_SIZE, 4
VM_SIZE:
	.long	256
	.globl	MM_SIZE
	.align 4
	.type	MM_SIZE, @object
	.size	MM_SIZE, 4
MM_SIZE:
	.long	128
	.globl	FRAME_SIZE
	.align 4
	.type	FRAME_SIZE, @object
	.size	FRAME_SIZE, 4
FRAME_SIZE:
	.long	256
	.align 8
.LC0:
	.string	"Wrong number of entry arguments"
.LC1:
	.string	"r"
.LC2:
	.string	"Error opening file %s : %s\n"
	.align 8
.LC3:
	.string	"*******************************"
	.align 8
.LC4:
	.string	".. Virtual Memory Manager    .."
	.align 8
.LC5:
	.string	"Translating Logical Addresses to Physical Addresses\n"
.LC6:
	.string	"TLB HIT"
.LC7:
	.string	"Physical Address:%d\n"
.LC9:
	.string	"\nPage Fault Rate: %.2f\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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 184
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -196[rbp], edi
	mov	QWORD PTR -208[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, 16
	cdqe
	sub	rax, 1
	mov	QWORD PTR -128[rbp], rax
	mov	eax, 16
	cdqe
	mov	QWORD PTR -224[rbp], rax
	mov	QWORD PTR -216[rbp], 0
	mov	eax, 16
	cdqe
	mov	rdx, rax
	mov	ecx, 0
	mov	eax, 16
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L2:
	cmp	rsp, rdx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L4
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -120[rbp], rax
	mov	eax, 256
	cdqe
	sub	rax, 1
	mov	QWORD PTR -112[rbp], rax
	mov	eax, 256
	cdqe
	mov	r14, rax
	mov	r15d, 0
	mov	eax, 256
	cdqe
	mov	r12, rax
	mov	r13d, 0
	mov	eax, 256
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L5:
	cmp	rsp, rdx
	je	.L6
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L5
.L6:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L7
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L7:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -104[rbp], rax
	mov	eax, 128
	cdqe
	sub	rax, 1
	mov	QWORD PTR -96[rbp], rax
	mov	eax, 128
	cdqe
	mov	r10, rax
	mov	r11d, 0
	mov	eax, 128
	cdqe
	mov	r8, rax
	mov	r9d, 0
	mov	eax, 128
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L8:
	cmp	rsp, rdx
	je	.L9
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L8
.L9:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L10
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L10:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -164[rbp], 0
	jmp	.L11
.L16:
	mov	eax, 16
	cmp	DWORD PTR -164[rbp], eax
	jge	.L12
	mov	eax, DWORD PTR -164[rbp]
	jmp	.L13
.L12:
	mov	eax, -1
.L13:
	mov	rdx, QWORD PTR -120[rbp]
	mov	ecx, DWORD PTR -164[rbp]
	movsx	rcx, ecx
	mov	DWORD PTR [rdx+rcx*8], eax
	mov	eax, 16
	cmp	DWORD PTR -164[rbp], eax
	jge	.L14
	mov	eax, 16
	sub	eax, DWORD PTR -164[rbp]
	jmp	.L15
.L14:
	mov	eax, -1
.L15:
	mov	rdx, QWORD PTR -120[rbp]
	mov	ecx, DWORD PTR -164[rbp]
	movsx	rcx, ecx
	mov	DWORD PTR 4[rdx+rcx*8], eax
	add	DWORD PTR -164[rbp], 1
.L11:
	mov	eax, 16
	cmp	DWORD PTR -164[rbp], eax
	jl	.L16
	mov	DWORD PTR -168[rbp], 0
	jmp	.L17
.L22:
	mov	eax, 128
	cmp	DWORD PTR -168[rbp], eax
	jge	.L18
	mov	eax, DWORD PTR -168[rbp]
	jmp	.L19
.L18:
	mov	eax, -1
.L19:
	mov	rdx, QWORD PTR -104[rbp]
	mov	ecx, DWORD PTR -168[rbp]
	movsx	rcx, ecx
	mov	DWORD PTR [rdx+rcx*8], eax
	mov	eax, 128
	cmp	DWORD PTR -168[rbp], eax
	jge	.L20
	mov	eax, 128
	sub	eax, DWORD PTR -168[rbp]
	jmp	.L21
.L20:
	mov	eax, -1
.L21:
	mov	rdx, QWORD PTR -104[rbp]
	mov	ecx, DWORD PTR -168[rbp]
	movsx	rcx, ecx
	mov	DWORD PTR 4[rdx+rcx*8], eax
	add	DWORD PTR -168[rbp], 1
.L17:
	mov	eax, 256
	cmp	DWORD PTR -168[rbp], eax
	jl	.L22
	mov	DWORD PTR -172[rbp], 0
	jmp	.L23
.L24:
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -172[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -172[rbp]
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -172[rbp], 1
.L23:
	mov	eax, 128
	cmp	DWORD PTR -172[rbp], eax
	jl	.L24
	cmp	DWORD PTR -196[rbp], 2
	je	.L25
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L26
.L25:
	mov	rax, QWORD PTR -208[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -80[rbp], rax
	cmp	QWORD PTR -80[rbp], 0
	jne	.L27
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -208[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L26
.L27:
	mov	DWORD PTR -176[rbp], 0
	mov	DWORD PTR -160[rbp], 0
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	jmp	.L28
.L34:
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	atoi@PLT
	and	eax, 255
	mov	DWORD PTR -156[rbp], eax
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	atoi@PLT
	and	eax, 65280
	mov	DWORD PTR -152[rbp], eax
	mov	eax, DWORD PTR -152[rbp]
	sar	eax, 8
	mov	DWORD PTR -148[rbp], eax
	mov	DWORD PTR -180[rbp], 0
	mov	DWORD PTR -184[rbp], 0
	jmp	.L29
.L32:
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR -184[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*8]
	cmp	DWORD PTR -148[rbp], eax
	jne	.L30
	mov	DWORD PTR -180[rbp], 1
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L31
.L30:
	add	DWORD PTR -184[rbp], 1
.L29:
	mov	eax, 16
	cmp	DWORD PTR -184[rbp], eax
	jl	.L32
.L31:
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, DWORD PTR -148[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*8]
	test	eax, eax
	jns	.L33
	cmp	DWORD PTR -180[rbp], 0
	jne	.L33
	add	DWORD PTR -176[rbp], 1
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
.L33:
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, DWORD PTR -148[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -88[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	edx, 256
	imul	edx, eax
	mov	eax, DWORD PTR -156[rbp]
	add	eax, edx
	mov	DWORD PTR -160[rbp], eax
	mov	eax, DWORD PTR -160[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	mov	rdx, QWORD PTR -80[rbp]
	lea	rcx, -136[rbp]
	lea	rax, -144[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], -1
	jne	.L34
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -176[rbp]
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L26:
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC8:
	.long	0
	.long	1079574528
	.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	"284666.c"
	.text
	.global	TLB_SIZE
	.section	.rodata
	.align	2
	.type	TLB_SIZE, %object
	.size	TLB_SIZE, 4
TLB_SIZE:
	.word	16
	.global	PAGE_SIZE
	.align	2
	.type	PAGE_SIZE, %object
	.size	PAGE_SIZE, 4
PAGE_SIZE:
	.word	256
	.global	VM_SIZE
	.align	2
	.type	VM_SIZE, %object
	.size	VM_SIZE, 4
VM_SIZE:
	.word	256
	.global	MM_SIZE
	.align	2
	.type	MM_SIZE, %object
	.size	MM_SIZE, 4
MM_SIZE:
	.word	128
	.global	FRAME_SIZE
	.align	2
	.type	FRAME_SIZE, %object
	.size	FRAME_SIZE, 4
FRAME_SIZE:
	.word	256
	.align	2
.LC0:
	.ascii	"Wrong number of entry arguments\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"Error opening file %s : %s\012\000"
	.align	2
.LC3:
	.ascii	"*******************************\000"
	.align	2
.LC4:
	.ascii	".. Virtual Memory Manager    ..\000"
	.align	2
.LC5:
	.ascii	"Translating Logical Addresses to Physical Addresses"
	.ascii	"\012\000"
	.align	2
.LC6:
	.ascii	"TLB HIT\000"
	.align	2
.LC7:
	.ascii	"Physical Address:%d\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.align	2
.LC8:
	.ascii	"\012Page Fault Rate: %.2f\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #104
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r5, r3
	mov	r3, #16
	sub	r3, r3, #1
	str	r3, [fp, #-76]
	mov	r3, #16
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, #16
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, #16
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-72]
	mov	r3, #256
	sub	r3, r3, #1
	str	r3, [fp, #-68]
	mov	r3, #256
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, #256
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, #256
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-64]
	mov	r3, #128
	sub	r3, r3, #1
	str	r3, [fp, #-60]
	mov	r3, #128
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, #128
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, #128
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L2
.L7:
	mov	r2, #16
	ldr	r3, [fp, #-80]
	cmp	r3, r2
	bge	.L3
	ldr	r3, [fp, #-80]
	b	.L4
.L3:
	mvn	r3, #0
.L4:
	ldr	r2, [fp, #-72]
	ldr	r1, [fp, #-80]
	str	r3, [r2, r1, lsl #3]
	mov	r2, #16
	ldr	r3, [fp, #-80]
	cmp	r3, r2
	bge	.L5
	mov	r2, #16
	ldr	r3, [fp, #-80]
	sub	r2, r2, r3
	b	.L6
.L5:
	mvn	r2, #0
.L6:
	ldr	r1, [fp, #-72]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L2:
	mov	r2, #16
	ldr	r3, [fp, #-80]
	cmp	r3, r2
	blt	.L7
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L8
.L13:
	mov	r2, #128
	ldr	r3, [fp, #-84]
	cmp	r3, r2
	bge	.L9
	ldr	r3, [fp, #-84]
	b	.L10
.L9:
	mvn	r3, #0
.L10:
	ldr	r2, [fp, #-64]
	ldr	r1, [fp, #-84]
	str	r3, [r2, r1, lsl #3]
	mov	r2, #128
	ldr	r3, [fp, #-84]
	cmp	r3, r2
	bge	.L11
	mov	r2, #128
	ldr	r3, [fp, #-84]
	sub	r2, r2, r3
	b	.L12
.L11:
	mvn	r2, #0
.L12:
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L8:
	mov	r2, #256
	ldr	r3, [fp, #-84]
	cmp	r3, r2
	blt	.L13
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L14
.L15:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-88]
	ldr	r1, [fp, #-88]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L14:
	mov	r2, #128
	ldr	r3, [fp, #-88]
	cmp	r3, r2
	blt	.L15
	ldr	r3, [fp, #-112]
	cmp	r3, #2
	beq	.L16
	ldr	r0, .L28+4
	bl	puts
	mov	r3, #1
	b	.L17
.L16:
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L28+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L28+12
	bl	printf
	mov	r3, #1
	b	.L17
.L18:
	mov	r3, #0
	str	r3, [fp, #-92]
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r0, .L28+16
	bl	puts
	ldr	r0, .L28+20
	bl	puts
	ldr	r0, .L28+16
	bl	puts
	ldr	r0, .L28+24
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-108]
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L19
.L25:
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	and	r3, r3, #255
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	and	r3, r3, #65280
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	asr	r3, r3, #8
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L20
.L23:
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-100]
	ldr	r3, [r3, r2, lsl #3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bne	.L21
	mov	r3, #1
	str	r3, [fp, #-96]
	ldr	r0, .L28+28
	bl	puts
	b	.L22
.L21:
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L20:
	mov	r2, #16
	ldr	r3, [fp, #-100]
	cmp	r3, r2
	blt	.L23
.L22:
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-32]
	ldr	r3, [r3, r2, lsl #3]
	cmp	r3, #0
	bge	.L24
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
.L24:
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-32]
	ldr	r2, [r3, r2, lsl #3]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, r2, lsl #2]
	mov	r2, #256
	mul	r3, r2, r3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r1, [fp, #-48]
	ldr	r0, .L28+32
	bl	printf
.L19:
	sub	r1, fp, #104
	sub	r3, fp, #108
	ldr	r2, [fp, #-52]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmn	r3, #1
	bne	.L25
	ldr	r0, [fp, #-92]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L28+36
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L28+40
	bl	printf
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-52]
	bl	fclose
	mov	r3, #0
.L17:
	mov	sp, r5
	ldr	r2, .L28
	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}
.L29:
	.align	2
.L28:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	1079574528
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
