	.file	"52071.c"
	.intel_syntax noprefix
	.text
	.globl	i
	.bss
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	m
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.globl	p1
	.align 4
	.type	p1, @object
	.size	p1, 4
p1:
	.zero	4
	.globl	p2
	.align 4
	.type	p2, @object
	.size	p2, 4
p2:
	.zero	4
	.globl	p3
	.align 4
	.type	p3, @object
	.size	p3, 4
p3:
	.zero	4
	.globl	t1
	.align 4
	.type	t1, @object
	.size	t1, 4
t1:
	.zero	4
	.globl	t2
	.align 4
	.type	t2, @object
	.size	t2, 4
t2:
	.zero	4
	.globl	l
	.align 4
	.type	l, @object
	.size	l, 4
l:
	.zero	4
	.globl	r
	.align 4
	.type	r, @object
	.size	r, 4
r:
	.zero	4
	.globl	p
	.align 4
	.type	p, @object
	.size	p, 4
p:
	.zero	4
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	t
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.globl	ar
	.align 32
	.type	ar, @object
	.size	ar, 808
ar:
	.zero	808
	.section	.rodata
.LC0:
	.string	"%d%d%d%d%d%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d"
	.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	sub	rsp, 8
	lea	rax, t2[rip]
	push	rax
	lea	r9, t1[rip]
	lea	r8, p3[rip]
	lea	rcx, p2[rip]
	lea	rdx, p1[rip]
	lea	rsi, n[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	rsp, 16
	mov	DWORD PTR i[rip], 0
	jmp	.L2
.L3:
	lea	rdx, r[rip]
	lea	rsi, l[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR l[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, ar[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR r[rip]
	movsx	rdx, edx
	add	rdx, 101
	lea	rcx, 0[0+rdx*4]
	lea	rdx, ar[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L2:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jl	.L3
	mov	DWORD PTR i[rip], 0
	jmp	.L4
.L10:
	mov	eax, DWORD PTR i[rip]
	cdqe
	add	rax, 101
	lea	rdx, 0[0+rax*4]
	lea	rax, ar[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR i[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, ar[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	mov	DWORD PTR s[rip], eax
	mov	edx, DWORD PTR s[rip]
	mov	eax, DWORD PTR p1[rip]
	imul	edx, eax
	mov	eax, DWORD PTR p[rip]
	add	eax, edx
	mov	DWORD PTR p[rip], eax
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jge	.L5
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, ar[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR i[rip]
	movsx	rdx, edx
	add	rdx, 101
	lea	rcx, 0[0+rdx*4]
	lea	rdx, ar[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	test	eax, eax
	jle	.L5
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, ar[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR i[rip]
	movsx	rdx, edx
	add	rdx, 101
	lea	rcx, 0[0+rdx*4]
	lea	rdx, ar[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	mov	DWORD PTR m[rip], eax
	mov	edx, DWORD PTR m[rip]
	mov	eax, DWORD PTR t1[rip]
	cmp	edx, eax
	jl	.L6
	mov	edx, DWORD PTR p1[rip]
	mov	eax, DWORD PTR t1[rip]
	imul	edx, eax
	mov	eax, DWORD PTR p[rip]
	add	eax, edx
	mov	DWORD PTR p[rip], eax
	jmp	.L7
.L6:
	mov	edx, DWORD PTR p1[rip]
	mov	eax, DWORD PTR m[rip]
	imul	edx, eax
	mov	eax, DWORD PTR p[rip]
	add	eax, edx
	mov	DWORD PTR p[rip], eax
.L7:
	mov	eax, DWORD PTR m[rip]
	mov	ecx, DWORD PTR t1[rip]
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR t2[rip]
	cmp	edx, eax
	jl	.L8
	mov	edx, DWORD PTR p2[rip]
	mov	eax, DWORD PTR t2[rip]
	imul	edx, eax
	mov	eax, DWORD PTR p[rip]
	add	eax, edx
	mov	DWORD PTR p[rip], eax
	jmp	.L9
.L8:
	mov	edx, DWORD PTR m[rip]
	mov	eax, DWORD PTR t1[rip]
	cmp	edx, eax
	jle	.L9
	mov	edx, DWORD PTR m[rip]
	mov	eax, DWORD PTR t2[rip]
	cmp	edx, eax
	jge	.L9
	mov	eax, DWORD PTR m[rip]
	mov	ecx, DWORD PTR t1[rip]
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR p2[rip]
	imul	edx, eax
	mov	eax, DWORD PTR p[rip]
	add	eax, edx
	mov	DWORD PTR p[rip], eax
.L9:
	mov	eax, DWORD PTR m[rip]
	mov	ecx, DWORD PTR t1[rip]
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR t2[rip]
	cmp	edx, eax
	jle	.L5
	mov	eax, DWORD PTR m[rip]
	mov	ecx, DWORD PTR t2[rip]
	mov	edx, DWORD PTR t1[rip]
	add	ecx, edx
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR p3[rip]
	imul	edx, eax
	mov	eax, DWORD PTR p[rip]
	add	eax, edx
	mov	DWORD PTR p[rip], eax
.L5:
	mov	eax, DWORD PTR i[rip]
	cdqe
	add	rax, 101
	lea	rdx, 0[0+rax*4]
	lea	rax, ar[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR t[rip], eax
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L4:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jle	.L10
	mov	eax, DWORD PTR p[rip]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"52071.c"
	.text
	.comm	i,4,4
	.comm	n,4,4
	.comm	m,4,4
	.comm	p1,4,4
	.comm	p2,4,4
	.comm	p3,4,4
	.comm	t1,4,4
	.comm	t2,4,4
	.comm	l,4,4
	.comm	r,4,4
	.comm	p,4,4
	.comm	s,4,4
	.comm	t,4,4
	.comm	ar,808,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d%d%d%d%d%d\000"
	.align	2
.LC1:
	.ascii	"%d%d\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L12
	str	r3, [sp, #8]
	ldr	r3, .L12+4
	str	r3, [sp, #4]
	ldr	r3, .L12+8
	str	r3, [sp]
	ldr	r3, .L12+12
	ldr	r2, .L12+16
	ldr	r1, .L12+20
	ldr	r0, .L12+24
	bl	__isoc99_scanf
	ldr	r3, .L12+28
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L3:
	ldr	r2, .L12+32
	ldr	r1, .L12+36
	ldr	r0, .L12+40
	bl	__isoc99_scanf
	ldr	r3, .L12+28
	ldr	r3, [r3]
	ldr	r2, .L12+36
	ldr	r2, [r2]
	ldr	r1, .L12+44
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L12+28
	ldr	r3, [r3]
	ldr	r2, .L12+32
	ldr	r2, [r2]
	ldr	r1, .L12+44
	add	r3, r3, #101
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L12+28
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L12+28
	str	r3, [r2]
.L2:
	ldr	r3, .L12+28
	ldr	r2, [r3]
	ldr	r3, .L12+20
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L3
	ldr	r3, .L12+28
	mov	r2, #0
	str	r2, [r3]
	b	.L4
.L10:
	ldr	r3, .L12+28
	ldr	r3, [r3]
	ldr	r2, .L12+44
	add	r3, r3, #101
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L12+28
	ldr	r3, [r3]
	ldr	r1, .L12+44
	ldr	r3, [r1, r3, lsl #2]
	sub	r3, r2, r3
	ldr	r2, .L12+48
	str	r3, [r2]
	ldr	r3, .L12+48
	ldr	r3, [r3]
	ldr	r2, .L12+16
	ldr	r2, [r2]
	mul	r2, r3, r2
	ldr	r3, .L12+52
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L12+52
	str	r3, [r2]
	ldr	r3, .L12+28
	ldr	r2, [r3]
	ldr	r3, .L12+20
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L5
	ldr	r3, .L12+28
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L12+44
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L12+28
	ldr	r3, [r3]
	ldr	r1, .L12+44
	add	r3, r3, #101
	ldr	r3, [r1, r3, lsl #2]
	sub	r3, r2, r3
	cmp	r3, #0
	ble	.L5
	ldr	r3, .L12+28
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L12+44
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L12+28
	ldr	r3, [r3]
	ldr	r1, .L12+44
	add	r3, r3, #101
	ldr	r3, [r1, r3, lsl #2]
	sub	r3, r2, r3
	ldr	r2, .L12+56
	str	r3, [r2]
	ldr	r3, .L12+56
	ldr	r2, [r3]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L6
	ldr	r3, .L12+16
	ldr	r3, [r3]
	ldr	r2, .L12+4
	ldr	r2, [r2]
	mul	r2, r3, r2
	ldr	r3, .L12+52
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L12+52
	str	r3, [r2]
	b	.L7
.L6:
	ldr	r3, .L12+16
	ldr	r3, [r3]
	ldr	r2, .L12+56
	ldr	r2, [r2]
	mul	r2, r3, r2
	ldr	r3, .L12+52
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L12+52
	str	r3, [r2]
.L7:
	ldr	r3, .L12+56
	ldr	r2, [r3]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L8
	ldr	r3, .L12+12
	ldr	r3, [r3]
	ldr	r2, .L12
	ldr	r2, [r2]
	mul	r2, r3, r2
	ldr	r3, .L12+52
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L12+52
	str	r3, [r2]
	b	.L9
.L8:
	ldr	r3, .L12+56
	ldr	r2, [r3]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L9
	ldr	r3, .L12+56
	ldr	r2, [r3]
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L9
	ldr	r3, .L12+56
	ldr	r2, [r3]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	sub	r3, r2, r3
	ldr	r2, .L12+12
	ldr	r2, [r2]
	mul	r2, r3, r2
	ldr	r3, .L12+52
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L12+52
	str	r3, [r2]
.L9:
	ldr	r3, .L12+56
	ldr	r2, [r3]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L5
	ldr	r3, .L12+56
	ldr	r2, [r3]
	ldr	r3, .L12
	ldr	r1, [r3]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	add	r3, r1, r3
	sub	r3, r2, r3
	ldr	r2, .L12+8
	ldr	r2, [r2]
	mul	r2, r3, r2
	ldr	r3, .L12+52
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L12+52
	str	r3, [r2]
.L5:
	ldr	r3, .L12+28
	ldr	r3, [r3]
	ldr	r2, .L12+44
	add	r3, r3, #101
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L12+60
	str	r3, [r2]
	ldr	r3, .L12+28
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L12+28
	str	r3, [r2]
.L4:
	ldr	r3, .L12+28
	ldr	r2, [r3]
	ldr	r3, .L12+20
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L10
	ldr	r3, .L12+52
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L12+64
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	t2
	.word	t1
	.word	p3
	.word	p2
	.word	p1
	.word	n
	.word	.LC0
	.word	i
	.word	r
	.word	l
	.word	.LC1
	.word	ar
	.word	s
	.word	p
	.word	m
	.word	t
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
