	.file	"351973.c"
	.intel_syntax noprefix
	.text
	.globl	min
	.type	min, @function
min:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jge	.L2
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -8[rbp]
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	min, .-min
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter the amount you want to exchange:"
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"Enter the no. of denomination:"
.LC3:
	.string	"Denomination are:"
.LC4:
	.string	"t[%d][%d]=%d\n"
	.align 8
.LC5:
	.string	"minimum no. of coin required: %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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, 1784
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1716[rbp], 99999999
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1720[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1724[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -1708[rbp], 1
	jmp	.L5
.L6:
	lea	rdx, -1664[rbp]
	mov	eax, DWORD PTR -1708[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -1708[rbp], 1
.L5:
	mov	eax, DWORD PTR -1724[rbp]
	cmp	DWORD PTR -1708[rbp], eax
	jle	.L6
	mov	eax, DWORD PTR -1720[rbp]
	lea	edx, 1[rax]
	mov	rax, rsp
	mov	QWORD PTR -1816[rbp], rax
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -1704[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -1776[rbp], rax
	mov	QWORD PTR -1768[rbp], 0
	movsx	rax, edx
	mov	QWORD PTR -1792[rbp], rax
	mov	QWORD PTR -1784[rbp], 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L7:
	cmp	rsp, rdx
	je	.L8
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L7
.L8:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L9
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L9:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -1696[rbp], rax
	mov	eax, DWORD PTR -1720[rbp]
	lea	ecx, 1[rax]
	mov	esi, DWORD PTR -1724[rbp]
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -1688[rbp], rax
	movsx	rax, ecx
	mov	QWORD PTR -1808[rbp], rax
	mov	QWORD PTR -1800[rbp], 0
	movsx	rax, ecx
	lea	rbx, 0[0+rax*4]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -1680[rbp], rax
	movsx	rax, ecx
	mov	QWORD PTR -1760[rbp], rax
	mov	QWORD PTR -1752[rbp], 0
	movsx	rax, esi
	mov	QWORD PTR -1744[rbp], rax
	mov	QWORD PTR -1736[rbp], 0
	mov	r9, QWORD PTR -1760[rbp]
	mov	r10, QWORD PTR -1752[rbp]
	mov	rdx, r10
	imul	rdx, QWORD PTR -1744[rbp]
	mov	rax, QWORD PTR -1736[rbp]
	imul	rax, r9
	lea	rdi, [rdx+rax]
	mov	rax, r9
	mul	QWORD PTR -1744[rbp]
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rax, ecx
	mov	r14, rax
	mov	r15d, 0
	movsx	rax, esi
	mov	r12, rax
	mov	r13d, 0
	mov	rdx, r15
	imul	rdx, r12
	mov	rax, r13
	imul	rax, r14
	lea	rdi, [rdx+rax]
	mov	rax, r14
	mul	r12
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rdx, ecx
	movsx	rax, esi
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L10:
	cmp	rsp, rdx
	je	.L11
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L10
.L11:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L12
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L12:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -1672[rbp], rax
	mov	DWORD PTR -1708[rbp], 1
	jmp	.L13
.L20:
	mov	DWORD PTR -1712[rbp], 0
	jmp	.L14
.L19:
	cmp	DWORD PTR -1712[rbp], 0
	jne	.L15
	mov	rcx, rbx
	shr	rcx, 2
	mov	rax, QWORD PTR -1672[rbp]
	mov	edx, DWORD PTR -1712[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -1708[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	DWORD PTR [rax+rdx*4], 0
	jmp	.L16
.L15:
	mov	eax, DWORD PTR -1708[rbp]
	cdqe
	mov	eax, DWORD PTR -1664[rbp+rax*4]
	cmp	eax, 1
	jne	.L17
	mov	rcx, rbx
	shr	rcx, 2
	mov	eax, DWORD PTR -1712[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -1672[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -1708[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	rsi, rbx
	shr	rsi, 2
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR -1672[rbp]
	mov	edx, DWORD PTR -1712[rbp]
	movsx	rdi, edx
	mov	edx, DWORD PTR -1708[rbp]
	movsx	rdx, edx
	imul	rdx, rsi
	add	rdx, rdi
	mov	DWORD PTR [rax+rdx*4], ecx
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -1708[rbp]
	cdqe
	mov	eax, DWORD PTR -1664[rbp+rax*4]
	cmp	DWORD PTR -1712[rbp], eax
	jge	.L18
	mov	rcx, rbx
	shr	rcx, 2
	mov	eax, DWORD PTR -1708[rbp]
	lea	edi, -1[rax]
	mov	rsi, rbx
	shr	rsi, 2
	mov	rax, QWORD PTR -1672[rbp]
	mov	edx, DWORD PTR -1712[rbp]
	movsx	r8, edx
	movsx	rdx, edi
	imul	rdx, rcx
	add	rdx, r8
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -1672[rbp]
	mov	ecx, DWORD PTR -1712[rbp]
	movsx	rdi, ecx
	mov	ecx, DWORD PTR -1708[rbp]
	movsx	rcx, ecx
	imul	rcx, rsi
	add	rcx, rdi
	mov	DWORD PTR [rax+rcx*4], edx
	jmp	.L16
.L18:
	mov	rcx, rbx
	shr	rcx, 2
	mov	eax, DWORD PTR -1708[rbp]
	cdqe
	mov	esi, DWORD PTR -1664[rbp+rax*4]
	mov	eax, DWORD PTR -1712[rbp]
	sub	eax, esi
	mov	edx, eax
	mov	rax, QWORD PTR -1672[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -1708[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	lea	edx, 1[rax]
	mov	rsi, rbx
	shr	rsi, 2
	mov	eax, DWORD PTR -1708[rbp]
	lea	edi, -1[rax]
	mov	rax, QWORD PTR -1672[rbp]
	mov	ecx, DWORD PTR -1712[rbp]
	movsx	r8, ecx
	movsx	rcx, edi
	imul	rcx, rsi
	add	rcx, r8
	mov	eax, DWORD PTR [rax+rcx*4]
	mov	r12, rbx
	shr	r12, 2
	mov	esi, edx
	mov	edi, eax
	call	min
	mov	rdx, QWORD PTR -1672[rbp]
	mov	ecx, DWORD PTR -1712[rbp]
	movsx	rsi, ecx
	mov	ecx, DWORD PTR -1708[rbp]
	movsx	rcx, ecx
	imul	rcx, r12
	add	rcx, rsi
	mov	DWORD PTR [rdx+rcx*4], eax
.L16:
	mov	rcx, rbx
	shr	rcx, 2
	mov	rax, QWORD PTR -1672[rbp]
	mov	edx, DWORD PTR -1712[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -1708[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	edx, DWORD PTR -1712[rbp]
	mov	eax, DWORD PTR -1708[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, rbx
	shr	rcx, 2
	mov	edx, DWORD PTR -1720[rbp]
	mov	rax, QWORD PTR -1672[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -1708[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rsi, rbx
	shr	rsi, 2
	mov	ecx, DWORD PTR -1720[rbp]
	mov	rax, QWORD PTR -1672[rbp]
	movsx	rdi, ecx
	mov	ecx, DWORD PTR -1708[rbp]
	movsx	rcx, ecx
	imul	rcx, rsi
	add	rcx, rdi
	mov	eax, DWORD PTR [rax+rcx*4]
	mov	esi, edx
	mov	edi, eax
	call	min
	mov	DWORD PTR -1716[rbp], eax
	add	DWORD PTR -1712[rbp], 1
.L14:
	mov	eax, DWORD PTR -1720[rbp]
	cmp	DWORD PTR -1712[rbp], eax
	jle	.L19
	add	DWORD PTR -1708[rbp], 1
.L13:
	mov	eax, DWORD PTR -1724[rbp]
	cmp	DWORD PTR -1708[rbp], eax
	jle	.L20
	mov	eax, DWORD PTR -1716[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsp, QWORD PTR -1816[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"351973.c"
	.text
	.align	2
	.global	min
	.syntax unified
	.arm
	.fpu softvfp
	.type	min, %function
min:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L2
	ldr	r3, [fp, #-8]
	b	.L3
.L2:
	ldr	r3, [fp, #-12]
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	min, .-min
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the amount you want to exchange:\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Enter the no. of denomination:\000"
	.align	2
.LC3:
	.ascii	"Denomination are:\000"
	.align	2
.LC4:
	.ascii	"t[%d][%d]=%d\012\000"
	.align	2
.LC5:
	.ascii	"minimum no. of coin required: %d\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1648
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #1648
	sub	sp, sp, #4
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r3, .L17+4
	str	r3, [fp, #-1664]
	ldr	r0, .L17+8
	bl	printf
	sub	r3, fp, #1648
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L17+12
	bl	__isoc99_scanf
	ldr	r0, .L17+16
	bl	printf
	sub	r3, fp, #1648
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L17+12
	bl	__isoc99_scanf
	ldr	r0, .L17+20
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-1656]
	b	.L5
.L6:
	sub	r3, fp, #1616
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1656]
	lsl	r2, r2, #2
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L17+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-1656]
	add	r3, r3, #1
	str	r3, [fp, #-1656]
.L5:
	ldr	r3, [fp, #-1672]
	ldr	r2, [fp, #-1656]
	cmp	r2, r3
	ble	.L6
	ldr	r3, [fp, #-1668]
	add	ip, r3, #1
	mov	r3, sp
	mov	r8, r3
	sub	r3, ip, #1
	str	r3, [fp, #-1652]
	mov	r3, ip
	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, ip
	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, ip
	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, #-1648]
	ldr	r3, [fp, #-1668]
	add	ip, r3, #1
	ldr	lr, [fp, #-1672]
	sub	r3, ip, #1
	str	r3, [fp, #-1644]
	mov	r3, ip
	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, ip
	lsl	r4, r3, #2
	sub	r3, lr, #1
	str	r3, [fp, #-1640]
	mov	r3, ip
	mov	r6, r3
	mov	r7, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r7
	mul	r3, r6, r1
	add	r5, r2, r3
	umull	r2, r3, r6, r0
	add	r1, r5, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r6, r3
	mov	r7, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r7
	mul	r3, r6, r1
	add	r5, r2, r3
	umull	r2, r3, r6, r0
	add	r1, r5, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	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, #-1636]
	mov	r3, #1
	str	r3, [fp, #-1656]
	b	.L7
.L14:
	mov	r3, #0
	str	r3, [fp, #-1660]
	b	.L8
.L13:
	ldr	r3, [fp, #-1660]
	cmp	r3, #0
	bne	.L9
	lsr	r2, r4, #2
	ldr	r3, [fp, #-1636]
	ldr	r1, [fp, #-1656]
	mul	r1, r2, r1
	ldr	r2, [fp, #-1660]
	add	r2, r1, r2
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	b	.L10
.L9:
	ldr	r3, [fp, #-1656]
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r3, [r3, #-1604]
	cmp	r3, #1
	bne	.L11
	lsr	r1, r4, #2
	ldr	r3, [fp, #-1660]
	sub	r2, r3, #1
	ldr	r3, [fp, #-1636]
	ldr	r0, [fp, #-1656]
	mul	r1, r0, r1
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	lsr	r2, r4, #2
	add	r1, r3, #1
	ldr	r3, [fp, #-1636]
	ldr	r0, [fp, #-1656]
	mul	r0, r2, r0
	ldr	r2, [fp, #-1660]
	add	r2, r0, r2
	str	r1, [r3, r2, lsl #2]
	b	.L10
.L11:
	ldr	r3, [fp, #-1656]
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r3, [r3, #-1604]
	ldr	r2, [fp, #-1660]
	cmp	r2, r3
	bge	.L12
	lsr	r1, r4, #2
	ldr	r3, [fp, #-1656]
	sub	r0, r3, #1
	lsr	r2, r4, #2
	ldr	r3, [fp, #-1636]
	mul	r0, r1, r0
	ldr	r1, [fp, #-1660]
	add	r1, r0, r1
	ldr	r1, [r3, r1, lsl #2]
	ldr	r3, [fp, #-1636]
	ldr	r0, [fp, #-1656]
	mul	r0, r2, r0
	ldr	r2, [fp, #-1660]
	add	r2, r0, r2
	str	r1, [r3, r2, lsl #2]
	b	.L10
.L12:
	lsr	r2, r4, #2
	ldr	r3, [fp, #-1656]
	sub	r1, r3, #1
	ldr	r3, [fp, #-1636]
	mul	r1, r2, r1
	ldr	r2, [fp, #-1660]
	add	r2, r1, r2
	ldr	ip, [r3, r2, lsl #2]
	lsr	r1, r4, #2
	ldr	r3, [fp, #-1656]
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r3, [r3, #-1604]
	ldr	r2, [fp, #-1660]
	sub	r2, r2, r3
	ldr	r3, [fp, #-1636]
	ldr	r0, [fp, #-1656]
	mul	r1, r0, r1
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	add	r3, r3, #1
	lsr	r5, r4, #2
	mov	r1, r3
	mov	r0, ip
	bl	min
	ldr	r3, [fp, #-1636]
	ldr	r2, [fp, #-1656]
	mul	r1, r2, r5
	ldr	r2, [fp, #-1660]
	add	r2, r1, r2
	str	r0, [r3, r2, lsl #2]
.L10:
	lsr	r2, r4, #2
	ldr	r3, [fp, #-1636]
	ldr	r1, [fp, #-1656]
	mul	r1, r2, r1
	ldr	r2, [fp, #-1660]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-1660]
	ldr	r1, [fp, #-1656]
	ldr	r0, .L17+24
	bl	printf
	lsr	r1, r4, #2
	ldr	r2, [fp, #-1668]
	ldr	r3, [fp, #-1636]
	ldr	r0, [fp, #-1656]
	mul	r1, r0, r1
	add	r2, r1, r2
	ldr	ip, [r3, r2, lsl #2]
	lsr	r1, r4, #2
	ldr	r2, [fp, #-1668]
	ldr	r3, [fp, #-1636]
	ldr	r0, [fp, #-1656]
	mul	r1, r0, r1
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	mov	r0, ip
	bl	min
	str	r0, [fp, #-1664]
	ldr	r3, [fp, #-1660]
	add	r3, r3, #1
	str	r3, [fp, #-1660]
.L8:
	ldr	r3, [fp, #-1668]
	ldr	r2, [fp, #-1660]
	cmp	r2, r3
	ble	.L13
	ldr	r3, [fp, #-1656]
	add	r3, r3, #1
	str	r3, [fp, #-1656]
.L7:
	ldr	r3, [fp, #-1672]
	ldr	r2, [fp, #-1656]
	cmp	r2, r3
	ble	.L14
	ldr	r1, [fp, #-1664]
	ldr	r0, .L17+28
	bl	printf
	mov	r3, #0
	mov	sp, r8
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC6
	.word	99999999
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
