	.file	"100132.c"
	.intel_syntax noprefix
	.text
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	a
	.align 32
	.type	a, @object
	.size	a, 40000000
a:
	.zero	40000000
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 40000000
t:
	.zero	40000000
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	l
	.align 4
	.type	l, @object
	.size	l, 4
l:
	.zero	4
	.globl	m
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.globl	c
	.align 8
	.type	c, @object
	.size	c, 8
c:
	.zero	8
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld"
	.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
	lea	rsi, n[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	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
	jne	.L3
	mov	DWORD PTR i[rip], 1
	jmp	.L4
.L18:
	mov	DWORD PTR j[rip], 0
	jmp	.L5
.L17:
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR i[rip]
	add	eax, edx
	mov	DWORD PTR l[rip], eax
	mov	edx, DWORD PTR l[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jge	.L20
	mov	DWORD PTR k[rip], 0
	jmp	.L7
.L8:
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR k[rip]
	add	eax, edx
	mov	edx, DWORD PTR k[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rcx+rax]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, t[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR k[rip]
	add	eax, 1
	mov	DWORD PTR k[rip], eax
.L7:
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jne	.L8
	mov	edx, DWORD PTR l[rip]
	mov	eax, DWORD PTR i[rip]
	add	eax, edx
	mov	DWORD PTR m[rip], eax
	mov	edx, DWORD PTR m[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jle	.L9
	mov	eax, DWORD PTR n[rip]
	mov	DWORD PTR m[rip], eax
.L9:
	mov	DWORD PTR k[rip], 0
.L13:
	mov	eax, DWORD PTR k[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, t[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR l[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jg	.L10
	mov	edx, DWORD PTR k[rip]
	lea	eax, 1[rdx]
	mov	DWORD PTR k[rip], eax
	mov	eax, DWORD PTR j[rip]
	lea	ecx, 1[rax]
	mov	DWORD PTR j[rip], ecx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, t[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	DWORD PTR [rcx+rax], edx
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jne	.L13
	jmp	.L12
.L10:
	mov	edx, DWORD PTR l[rip]
	lea	eax, 1[rdx]
	mov	DWORD PTR l[rip], eax
	mov	eax, DWORD PTR j[rip]
	lea	ecx, 1[rax]
	mov	DWORD PTR j[rip], ecx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, a[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	DWORD PTR [rcx+rax], edx
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR k[rip]
	sub	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR c[rip]
	add	rax, rdx
	mov	QWORD PTR c[rip], rax
	mov	edx, DWORD PTR l[rip]
	mov	eax, DWORD PTR m[rip]
	cmp	edx, eax
	je	.L21
	jmp	.L13
.L21:
	nop
.L12:
	jmp	.L14
.L15:
	mov	edx, DWORD PTR k[rip]
	lea	eax, 1[rdx]
	mov	DWORD PTR k[rip], eax
	mov	eax, DWORD PTR j[rip]
	lea	ecx, 1[rax]
	mov	DWORD PTR j[rip], ecx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, t[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	DWORD PTR [rcx+rax], edx
.L14:
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jne	.L15
	mov	eax, DWORD PTR m[rip]
	mov	edx, DWORD PTR l[rip]
	sub	eax, edx
	mov	ecx, eax
	mov	eax, DWORD PTR j[rip]
	add	eax, ecx
	mov	DWORD PTR j[rip], eax
.L5:
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jl	.L17
	jmp	.L16
.L20:
	nop
.L16:
	mov	eax, DWORD PTR i[rip]
	add	eax, eax
	mov	DWORD PTR i[rip], eax
.L4:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jl	.L18
	mov	rcx, QWORD PTR c[rip]
	movabs	rdx, -9223354444635176895
	mov	rax, rcx
	imul	rdx
	lea	rax, [rdx+rcx]
	sar	rax, 18
	mov	rdx, rcx
	sar	rdx, 63
	sub	rax, rdx
	mov	rdx, rax
	sal	rdx, 19
	sub	rdx, rax
	mov	rax, rcx
	sub	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	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	"100132.c"
	.text
	.comm	n,4,4
	.comm	a,40000000,4
	.comm	t,40000000,4
	.comm	i,4,4
	.comm	j,4,4
	.comm	k,4,4
	.comm	l,4,4
	.comm	m,4,4
	.comm	c,8,8
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.global	__aeabi_ldivmod
	.align	2
.LC1:
	.ascii	"%lld\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	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r1, .L22
	ldr	r0, .L22+4
	bl	__isoc99_scanf
	ldr	r3, .L22+8
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L3:
	ldr	r3, .L22+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, .L22+12
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L22+4
	bl	__isoc99_scanf
	ldr	r3, .L22+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L22+8
	str	r3, [r2]
.L2:
	ldr	r3, .L22+8
	ldr	r2, [r3]
	ldr	r3, .L22
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L3
	ldr	r3, .L22+8
	mov	r2, #1
	str	r2, [r3]
	b	.L4
.L18:
	ldr	r3, .L22+16
	mov	r2, #0
	str	r2, [r3]
	b	.L5
.L17:
	ldr	r3, .L22+16
	ldr	r2, [r3]
	ldr	r3, .L22+8
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L22+20
	str	r3, [r2]
	ldr	r3, .L22+20
	ldr	r2, [r3]
	ldr	r3, .L22
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L20
	ldr	r3, .L22+24
	mov	r2, #0
	str	r2, [r3]
	b	.L7
.L8:
	ldr	r3, .L22+16
	ldr	r2, [r3]
	ldr	r3, .L22+24
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, .L22+24
	ldr	r3, [r3]
	ldr	r1, .L22+12
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L22+28
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L22+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L22+24
	str	r3, [r2]
.L7:
	ldr	r3, .L22+24
	ldr	r2, [r3]
	ldr	r3, .L22+8
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L8
	ldr	r3, .L22+20
	ldr	r2, [r3]
	ldr	r3, .L22+8
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L22+32
	str	r3, [r2]
	ldr	r3, .L22+32
	ldr	r2, [r3]
	ldr	r3, .L22
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L9
	ldr	r3, .L22
	ldr	r3, [r3]
	ldr	r2, .L22+32
	str	r3, [r2]
.L9:
	ldr	r3, .L22+24
	mov	r2, #0
	str	r2, [r3]
.L13:
	ldr	r3, .L22+24
	ldr	r3, [r3]
	ldr	r2, .L22+28
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L22+20
	ldr	r3, [r3]
	ldr	r1, .L22+12
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	bgt	.L10
	ldr	r3, .L22+24
	ldr	r2, [r3]
	add	r3, r2, #1
	ldr	r1, .L22+24
	str	r3, [r1]
	ldr	r3, .L22+16
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L22+16
	str	r1, [r0]
	ldr	r1, .L22+28
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L22+12
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L22+24
	ldr	r2, [r3]
	ldr	r3, .L22+8
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L13
	b	.L12
.L10:
	ldr	r3, .L22+20
	ldr	r2, [r3]
	add	r3, r2, #1
	ldr	r1, .L22+20
	str	r3, [r1]
	ldr	r3, .L22+16
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L22+16
	str	r1, [r0]
	ldr	r1, .L22+12
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L22+12
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L22+8
	ldr	r2, [r3]
	ldr	r3, .L22+24
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, .L22+36
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	ldr	r3, .L22+36
	stm	r3, {r4-r5}
	ldr	r3, .L22+20
	ldr	r2, [r3]
	ldr	r3, .L22+32
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L21
	b	.L13
.L21:
	nop
.L12:
	b	.L14
.L15:
	ldr	r3, .L22+24
	ldr	r2, [r3]
	add	r3, r2, #1
	ldr	r1, .L22+24
	str	r3, [r1]
	ldr	r3, .L22+16
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L22+16
	str	r1, [r0]
	ldr	r1, .L22+28
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L22+12
	str	r2, [r1, r3, lsl #2]
.L14:
	ldr	r3, .L22+24
	ldr	r2, [r3]
	ldr	r3, .L22+8
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L15
	ldr	r3, .L22+32
	ldr	r2, [r3]
	ldr	r3, .L22+20
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, .L22+16
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L22+16
	str	r3, [r2]
.L5:
	ldr	r3, .L22+16
	ldr	r2, [r3]
	ldr	r3, .L22
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L17
	b	.L16
.L20:
	nop
.L16:
	ldr	r3, .L22+8
	ldr	r3, [r3]
	lsl	r3, r3, #1
	ldr	r2, .L22+8
	str	r3, [r2]
.L4:
	ldr	r3, .L22+8
	ldr	r2, [r3]
	ldr	r3, .L22
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L18
	ldr	r3, .L22+36
	ldmia	r3, {r0-r1}
	ldr	r2, .L22+40
	mov	r3, #0
	bl	__aeabi_ldivmod
	ldr	r0, .L22+44
	bl	printf
	mov	r3, #0
	mov	r0, r3
	pop	{r4, r5, fp, pc}
.L23:
	.align	2
.L22:
	.word	n
	.word	.LC0
	.word	i
	.word	a
	.word	j
	.word	l
	.word	k
	.word	t
	.word	m
	.word	c
	.word	524287
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
