	.file	"931532.c"
	.intel_syntax noprefix
	.text
	.globl	T
	.bss
	.align 4
	.type	T, @object
	.size	T, 4
T:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	t
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.globl	p
	.align 4
	.type	p, @object
	.size	p, 4
p:
	.zero	4
	.globl	DP
	.align 32
	.type	DP, @object
	.size	DP, 20164
DP:
	.zero	20164
	.globl	DS
	.data
	.align 32
	.type	DS, @object
	.size	DS, 284
DS:
	.long	1
	.zero	280
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d%d"
.LC2:
	.string	"%d\n"
	.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
	mov	DWORD PTR n[rip], 0
	jmp	.L2
.L5:
	mov	eax, DWORD PTR n[rip]
	cdqe
	imul	rax, rax, 284
	lea	rdx, DP[rip]
	mov	DWORD PTR [rax+rdx], 1
	mov	DWORD PTR t[rip], 1
	jmp	.L3
.L4:
	mov	ecx, DWORD PTR t[rip]
	mov	eax, DWORD PTR n[rip]
	mov	edx, DWORD PTR t[rip]
	movsx	rcx, ecx
	lea	rsi, 0[0+rcx*4]
	lea	rcx, DS[rip]
	mov	ecx, DWORD PTR [rsi+rcx]
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, DP[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR t[rip]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, DS[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR n[rip]
	mov	edx, DWORD PTR t[rip]
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, DP[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR t[rip]
	add	ecx, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, DS[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR t[rip]
	add	eax, 1
	mov	DWORD PTR t[rip], eax
.L3:
	mov	eax, DWORD PTR t[rip]
	cmp	eax, 70
	jle	.L4
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L2:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 70
	jle	.L5
	lea	rsi, T[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L6
.L9:
	lea	rcx, p[rip]
	lea	rdx, t[rip]
	lea	rsi, n[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR n[rip]
	mov	eax, DWORD PTR p[rip]
	imul	edx, eax
	mov	eax, DWORD PTR t[rip]
	cmp	edx, eax
	jg	.L7
	mov	eax, DWORD PTR n[rip]
	mov	edx, DWORD PTR t[rip]
	mov	esi, DWORD PTR n[rip]
	mov	ecx, DWORD PTR p[rip]
	imul	ecx, esi
	sub	edx, ecx
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, DP[rip]
	mov	eax, DWORD PTR [rdx+rax]
	jmp	.L8
.L7:
	mov	eax, 0
.L8:
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L6:
	mov	eax, DWORD PTR T[rip]
	lea	edx, -1[rax]
	mov	DWORD PTR T[rip], edx
	test	eax, eax
	jne	.L9
	mov	eax, 0
	pop	rbp
	.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	"931532.c"
	.text
	.comm	T,4,4
	.comm	n,4,4
	.comm	t,4,4
	.comm	p,4,4
	.comm	DP,20164,4
	.global	DS
	.data
	.align	2
	.type	DS, %object
	.size	DS, 284
DS:
	.word	1
	.space	280
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%d%d%d\000"
	.align	2
.LC2:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L11
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L5:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r1, .L11+4
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L11+8
	mov	r2, #1
	str	r2, [r3]
	b	.L3
.L4:
	ldr	r3, .L11+8
	ldr	r3, [r3]
	ldr	r2, .L11
	ldr	r2, [r2]
	ldr	r1, .L11+8
	ldr	r0, [r1]
	ldr	r1, .L11+12
	ldr	r1, [r1, r3, lsl #2]
	ldr	ip, .L11+4
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	add	r3, r3, r0
	str	r1, [ip, r3, lsl #2]
	ldr	r3, .L11+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L11+12
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, .L11+8
	ldr	r0, [r3]
	ldr	ip, .L11+4
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	add	r3, r3, r0
	ldr	r2, [ip, r3, lsl #2]
	ldr	r3, .L11+8
	ldr	r3, [r3]
	add	r2, r1, r2
	ldr	r1, .L11+12
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L11+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L11+8
	str	r3, [r2]
.L3:
	ldr	r3, .L11+8
	ldr	r3, [r3]
	cmp	r3, #70
	ble	.L4
	ldr	r3, .L11
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L11
	str	r3, [r2]
.L2:
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r3, #70
	ble	.L5
	ldr	r1, .L11+16
	ldr	r0, .L11+20
	bl	__isoc99_scanf
	b	.L6
.L9:
	ldr	r3, .L11+24
	ldr	r2, .L11+8
	ldr	r1, .L11
	ldr	r0, .L11+28
	bl	__isoc99_scanf
	ldr	r3, .L11
	ldr	r3, [r3]
	ldr	r2, .L11+24
	ldr	r2, [r2]
	mul	r2, r3, r2
	ldr	r3, .L11+8
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L7
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, .L11+8
	ldr	r1, [r3]
	ldr	r3, .L11
	ldr	r3, [r3]
	ldr	r0, .L11+24
	ldr	r0, [r0]
	mul	r3, r0, r3
	sub	r1, r1, r3
	ldr	r0, .L11+4
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	b	.L8
.L7:
	mov	r3, #0
.L8:
	mov	r1, r3
	ldr	r0, .L11+32
	bl	printf
.L6:
	ldr	r3, .L11+16
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r1, .L11+16
	str	r2, [r1]
	cmp	r3, #0
	bne	.L9
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	n
	.word	DP
	.word	t
	.word	DS
	.word	T
	.word	.LC0
	.word	p
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
