	.file	"880795.c"
	.intel_syntax noprefix
	.text
	.globl	n
	.bss
	.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	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	a
	.align 32
	.type	a, @object
	.size	a, 8000000
a:
	.zero	8000000
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 64000000
s:
	.zero	64000000
	.globl	t
	.align 8
	.type	t, @object
	.size	t, 8
t:
	.zero	8
	.globl	tt
	.align 8
	.type	tt, @object
	.size	tt, 8
tt:
	.zero	8
	.text
	.globl	up
	.type	up, @function
up:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jg	.L2
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jg	.L3
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], edx
	jmp	.L6
.L3:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], edx
	jmp	.L6
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jg	.L5
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], edx
	jmp	.L6
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], edx
.L6:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	up, .-up
	.globl	b
	.type	b, @function
b:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jl	.L8
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, s[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, s[rip+4]
	mov	DWORD PTR [rdx+rax], 2147483647
	jmp	.L7
.L8:
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	sar	eax
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, eax
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, eax
	add	eax, 2
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	b
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	b
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, s[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, s[rip]
	add	rcx, rax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rsi, 0[0+rax*8]
	lea	rax, s[rip]
	add	rax, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	up
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	b, .-b
	.globl	as
	.type	as, @function
as:
.LFB2:
	.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR tt[rip], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR tt[rip+4], eax
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, tt[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	up
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	as, .-as
	.globl	q
	.type	q, @function
q:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	eax, DWORD PTR j[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L12
	mov	eax, DWORD PTR k[rip]
	cmp	DWORD PTR -24[rbp], eax
	jg	.L12
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, s[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, t[rip]
	call	as
	jmp	.L11
.L12:
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	sar	eax
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR j[rip]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L14
	mov	eax, DWORD PTR -28[rbp]
	add	eax, eax
	lea	edx, 1[rax]
	mov	ecx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	q
.L14:
	mov	eax, DWORD PTR k[rip]
	cmp	DWORD PTR -4[rbp], eax
	jge	.L11
	mov	eax, DWORD PTR -28[rbp]
	add	eax, eax
	lea	edx, 2[rax]
	mov	ecx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	q
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	q, .-q
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdx, m[rip]
	lea	rsi, n[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L16
.L17:
	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, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L16:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jne	.L17
	mov	eax, DWORD PTR n[rip]
	mov	edx, 0
	mov	esi, eax
	mov	edi, 0
	call	b
	jmp	.L18
.L19:
	lea	rdx, k[rip]
	lea	rsi, j[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR k[rip]
	add	eax, 1
	mov	DWORD PTR k[rip], eax
	mov	DWORD PTR t[rip+4], 2147483647
	mov	eax, DWORD PTR t[rip+4]
	mov	DWORD PTR t[rip], eax
	mov	eax, DWORD PTR n[rip]
	mov	edx, 0
	mov	esi, eax
	mov	edi, 0
	call	q
	mov	eax, DWORD PTR t[rip+4]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L18:
	mov	eax, DWORD PTR m[rip]
	lea	edx, -1[rax]
	mov	DWORD PTR m[rip], edx
	test	eax, eax
	jne	.L19
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.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	"880795.c"
	.text
	.comm	n,4,4
	.comm	m,4,4
	.comm	i,4,4
	.comm	j,4,4
	.comm	k,4,4
	.comm	a,8000000,4
	.comm	s,64000000,4
	.comm	t,8,4
	.comm	tt,8,4
	.align	2
	.global	up
	.syntax unified
	.arm
	.fpu softvfp
	.type	up, %function
up:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L2
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bgt	.L3
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	b	.L6
.L3:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	b	.L6
.L2:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bgt	.L5
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	b	.L6
.L5:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
.L6:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	up, .-up
	.align	2
	.global	b
	.syntax unified
	.arm
	.fpu softvfp
	.type	b, %function
b:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L8
	ldr	r2, .L10
	ldr	r3, [fp, #-24]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L10+4
	ldr	r3, [fp, #-32]
	str	r2, [r1, r3, lsl #3]
	ldr	r2, .L10+4
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mvn	r2, #-2147483648
	str	r2, [r3, #4]
	b	.L7
.L8:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #1
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #1
	add	r3, r3, #2
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	b
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	b
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, .L10+4
	add	r0, r3, r2
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	ldr	r2, .L10+4
	add	r1, r3, r2
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, .L10+4
	add	r3, r3, r2
	mov	r2, r3
	bl	up
.L7:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	a
	.word	s
	.size	b, .-b
	.align	2
	.global	as
	.syntax unified
	.arm
	.fpu softvfp
	.type	as, %function
as:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, .L13
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r2, .L13
	str	r3, [r2, #4]
	ldr	r2, .L13
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	up
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	tt
	.size	as, .-as
	.align	2
	.global	q
	.syntax unified
	.arm
	.fpu softvfp
	.type	q, %function
q:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, .L19
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L16
	ldr	r3, .L19+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bgt	.L16
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	ldr	r2, .L19+8
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L19+12
	bl	as
	b	.L15
.L16:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L19
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L18
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	q
.L18:
	ldr	r3, .L19+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L15
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	add	r3, r3, #2
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-8]
	bl	q
.L15:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	j
	.word	k
	.word	s
	.word	t
	.size	q, .-q
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d%d\000"
	.align	2
.LC1:
	.ascii	"%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	r2, .L27
	ldr	r1, .L27+4
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	ldr	r3, .L27+12
	mov	r2, #0
	str	r2, [r3]
	b	.L22
.L23:
	ldr	r3, .L27+12
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, .L27+16
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L27+20
	bl	__isoc99_scanf
	ldr	r3, .L27+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L27+12
	str	r3, [r2]
.L22:
	ldr	r3, .L27+12
	ldr	r2, [r3]
	ldr	r3, .L27+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L23
	ldr	r3, .L27+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, r3
	mov	r0, #0
	bl	b
	b	.L24
.L25:
	ldr	r2, .L27+24
	ldr	r1, .L27+28
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	ldr	r3, .L27+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L27+24
	str	r3, [r2]
	ldr	r3, .L27+32
	mvn	r2, #-2147483648
	str	r2, [r3, #4]
	ldr	r3, .L27+32
	ldr	r3, [r3, #4]
	ldr	r2, .L27+32
	str	r3, [r2]
	ldr	r3, .L27+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, r3
	mov	r0, #0
	bl	q
	ldr	r3, .L27+32
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L27+36
	bl	printf
.L24:
	ldr	r3, .L27
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r1, .L27
	str	r2, [r1]
	cmp	r3, #0
	bne	.L25
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	m
	.word	n
	.word	.LC0
	.word	i
	.word	a
	.word	.LC1
	.word	k
	.word	j
	.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
