	.file	"28262973.c"
	.intel_syntax noprefix
	.text
	.globl	v
	.bss
	.align 32
	.type	v, @object
	.size	v, 200
v:
	.zero	200
	.globl	hand
	.align 32
	.type	hand, @object
	.size	hand, 200
hand:
	.zero	200
	.globl	pfor
	.align 32
	.type	pfor, @object
	.size	pfor, 204
pfor:
	.zero	204
	.globl	pback
	.align 32
	.type	pback, @object
	.size	pback, 204
pback:
	.zero	204
	.globl	heap
	.align 32
	.type	heap, @object
	.size	heap, 200
heap:
	.zero	200
	.globl	hz
	.align 4
	.type	hz, @object
	.size	hz, 4
hz:
	.zero	4
	.globl	temp
	.align 32
	.type	temp, @object
	.size	temp, 200
temp:
	.zero	200
	.globl	tz
	.align 4
	.type	tz, @object
	.size	tz, 4
tz:
	.zero	4
	.text
	.globl	hpush
	.type	hpush, @function
hpush:
.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 -20[rbp], edi
	mov	eax, DWORD PTR hz[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR hz[rip], edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, heap[rip]
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, 1
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jge	.L6
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, heap[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, heap[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
.L2:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L5
	jmp	.L7
.L6:
	nop
.L7:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	hpush, .-hpush
	.globl	hpop
	.type	hpop, @function
hpop:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR hz[rip]
	test	eax, eax
	jne	.L9
	mov	eax, 0
	jmp	.L10
.L9:
	mov	eax, DWORD PTR heap[rip]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR hz[rip]
	sub	eax, 1
	mov	DWORD PTR hz[rip], eax
	mov	eax, DWORD PTR hz[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR heap[rip], eax
	mov	DWORD PTR -8[rbp], 0
	jmp	.L11
.L15:
	mov	eax, DWORD PTR -8[rbp]
	add	eax, eax
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR hz[rip]
	cmp	edx, eax
	jge	.L12
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jle	.L12
	add	DWORD PTR -16[rbp], 1
.L12:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jle	.L16
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, heap[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, heap[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, heap[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
.L11:
	mov	eax, DWORD PTR -8[rbp]
	add	eax, eax
	lea	edx, 1[rax]
	mov	eax, DWORD PTR hz[rip]
	cmp	edx, eax
	jl	.L15
	jmp	.L14
.L16:
	nop
.L14:
	mov	eax, DWORD PTR -12[rbp]
.L10:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	hpop, .-hpop
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -48[rbp]
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -44[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, v[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -44[rbp], 1
.L18:
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L19
	mov	DWORD PTR pback[rip], 0
	mov	eax, DWORD PTR pback[rip]
	mov	DWORD PTR pfor[rip], eax
	mov	DWORD PTR -40[rbp], 1
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, pfor[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, v[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	ecx, eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, pfor[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, pback[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, v[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	ecx, eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, pback[rip]
	mov	DWORD PTR [rdx+rax], ecx
	add	DWORD PTR -40[rbp], 1
.L20:
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -40[rbp], eax
	jle	.L21
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	jmp	.L22
.L38:
	cmp	DWORD PTR -32[rbp], 0
	je	.L23
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, v[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jns	.L23
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, v[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, eax
	call	hpush
.L23:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L24
.L33:
	cmp	DWORD PTR -28[rbp], 0
	je	.L25
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, v[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jns	.L25
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, v[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, eax
	call	hpush
.L25:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, pfor[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, pback[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, ecx
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	sub	eax, DWORD PTR -32[rbp]
	sub	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L26
.L28:
	mov	eax, DWORD PTR -12[rbp]
	sub	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR tz[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR tz[rip], edx
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, temp[rip]
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	sub	DWORD PTR -20[rbp], 1
.L26:
	cmp	DWORD PTR -20[rbp], 0
	je	.L27
	call	hpop
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L28
.L27:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jle	.L30
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -36[rbp], eax
	jmp	.L30
.L31:
	mov	eax, DWORD PTR tz[rip]
	sub	eax, 1
	mov	DWORD PTR tz[rip], eax
	mov	eax, DWORD PTR tz[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, temp[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, eax
	call	hpush
.L30:
	mov	eax, DWORD PTR tz[rip]
	test	eax, eax
	jne	.L31
	add	DWORD PTR -28[rbp], 1
.L24:
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -48[rbp]
	cmp	edx, eax
	jg	.L32
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -52[rbp]
	cmp	edx, eax
	jle	.L33
.L32:
	mov	DWORD PTR hz[rip], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L34
.L36:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, v[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jns	.L35
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, v[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, eax
	call	hpush
.L35:
	add	DWORD PTR -16[rbp], 1
.L34:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L36
	add	DWORD PTR -32[rbp], 1
.L22:
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jg	.L37
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jle	.L38
.L37:
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"28262973.c"
	.text
	.comm	v,200,4
	.comm	hand,200,4
	.comm	pfor,204,4
	.comm	pback,204,4
	.comm	heap,200,4
	.global	hz
	.bss
	.align	2
	.type	hz, %object
	.size	hz, 4
hz:
	.space	4
	.comm	temp,200,4
	.global	tz
	.align	2
	.type	tz, %object
	.size	tz, 4
tz:
	.space	4
	.text
	.align	2
	.global	hpush
	.syntax unified
	.arm
	.fpu softvfp
	.type	hpush, %function
hpush:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	ldr	r3, .L8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L8
	str	r2, [r1]
	str	r3, [fp, #-16]
	ldr	r1, .L8+4
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	str	r2, [r1, r3, lsl #2]
	b	.L2
.L5:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, .L8+4
	ldr	r3, [fp, #-16]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L8+4
	ldr	r3, [fp, #-12]
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	bge	.L6
	ldr	r2, .L8+4
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r2, .L8+4
	ldr	r3, [fp, #-12]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L8+4
	ldr	r3, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
	ldr	r1, .L8+4
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
.L2:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L5
	b	.L7
.L6:
	nop
.L7:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L9:
	.align	2
.L8:
	.word	hz
	.word	heap
	.size	hpush, .-hpush
	.align	2
	.global	hpop
	.syntax unified
	.arm
	.fpu softvfp
	.type	hpop, %function
hpop:
	@ 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
	ldr	r3, .L19
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L11
	mov	r3, #0
	b	.L12
.L11:
	ldr	r3, .L19+4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, .L19
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L19
	str	r3, [r2]
	ldr	r3, .L19
	ldr	r3, [r3]
	ldr	r2, .L19+4
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L19+4
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L13
.L17:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	ldr	r3, .L19
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L14
	ldr	r2, .L19+4
	ldr	r3, [fp, #-20]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r1, .L19+4
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	ble	.L14
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L14:
	ldr	r2, .L19+4
	ldr	r3, [fp, #-12]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L19+4
	ldr	r3, [fp, #-20]
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	ble	.L18
	ldr	r2, .L19+4
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r2, .L19+4
	ldr	r3, [fp, #-20]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L19+4
	ldr	r3, [fp, #-12]
	str	r2, [r1, r3, lsl #2]
	ldr	r1, .L19+4
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
.L13:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	add	r2, r3, #1
	ldr	r3, .L19
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L17
	b	.L16
.L18:
	nop
.L16:
	ldr	r3, [fp, #-16]
.L12:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L20:
	.align	2
.L19:
	.word	hz
	.word	heap
	.size	hpop, .-hpop
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d%d\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"%d\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L45
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r2, fp, #48
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L45+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L22
.L23:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, .L45+8
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L45+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L22:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L23
	ldr	r3, .L45+16
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L45+16
	ldr	r3, [r3]
	ldr	r2, .L45+20
	str	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-40]
	b	.L24
.L25:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	ldr	r2, .L45+20
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	ldr	r1, .L45+8
	ldr	r3, [r1, r3, lsl #2]
	add	r2, r2, r3
	ldr	r1, .L45+20
	ldr	r3, [fp, #-40]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	ldr	r2, .L45+16
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, [fp, #-52]
	ldr	r3, [fp, #-40]
	sub	r3, r1, r3
	ldr	r1, .L45+8
	ldr	r3, [r1, r3, lsl #2]
	add	r2, r2, r3
	ldr	r1, .L45+16
	ldr	r3, [fp, #-40]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L24:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	ble	.L25
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L26
.L42:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	ldr	r2, .L45+8
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bge	.L27
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	ldr	r2, .L45+8
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	hpush
.L27:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L28
.L37:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L29
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	ldr	r2, .L45+8
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bge	.L29
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	ldr	r2, .L45+8
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	hpush
.L29:
	ldr	r2, .L45+20
	ldr	r3, [fp, #-32]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L45+16
	ldr	r3, [fp, #-28]
	ldr	r3, [r1, r3, lsl #2]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-32]
	sub	r2, r2, r3
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
	b	.L30
.L32:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, .L45+24
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L45+24
	str	r2, [r1]
	ldr	r1, .L45+28
	ldr	r2, [fp, #-12]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
.L30:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L31
	bl	hpop
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L32
.L31:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	ble	.L34
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-36]
	b	.L34
.L35:
	ldr	r3, .L45+24
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L45+24
	str	r3, [r2]
	ldr	r3, .L45+24
	ldr	r3, [r3]
	ldr	r2, .L45+28
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	hpush
.L34:
	ldr	r3, .L45+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L35
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L28:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bgt	.L36
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r2, r2, r3
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	ble	.L37
.L36:
	ldr	r3, .L45+32
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L38
.L40:
	ldr	r2, .L45+8
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bge	.L39
	ldr	r2, .L45+8
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	hpush
.L39:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L38:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L40
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L26:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bgt	.L41
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	ble	.L42
.L41:
	ldr	r1, [fp, #-36]
	ldr	r0, .L45+36
	bl	printf
	mov	r3, #0
	ldr	r2, .L45
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L44
	bl	__stack_chk_fail
.L44:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	.LC3
	.word	.LC0
	.word	v
	.word	.LC1
	.word	pback
	.word	pfor
	.word	tz
	.word	temp
	.word	hz
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
