	.file	"153267595.c"
	.intel_syntax noprefix
	.text
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	table
	.align 32
	.type	table, @object
	.size	table, 3528
table:
	.zero	3528
	.text
	.globl	build_sequence
	.type	build_sequence, @function
build_sequence:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	DWORD PTR -24[rbp], ecx
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	eax, -1
	je	.L4
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rcx+rax*4]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -24[rbp]
	lea	ecx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	rsi, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	build_sequence
	jmp	.L1
.L4:
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	build_sequence, .-build_sequence
	.section	.rodata
.LC0:
	.string	"%lf"
.LC4:
	.string	"no arbitrage sequence exists"
.LC5:
	.string	"%d "
.LC6:
	.string	"%d\n"
.LC7:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.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, 2256
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L6
.L40:
	mov	DWORD PTR -2240[rbp], 0
	jmp	.L7
.L12:
	mov	DWORD PTR -2236[rbp], 0
	jmp	.L8
.L9:
	lea	rax, -2216[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movsd	xmm0, QWORD PTR -2216[rbp]
	mov	eax, DWORD PTR -2236[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -2236[rbp], 1
.L8:
	mov	eax, DWORD PTR -2236[rbp]
	cmp	eax, DWORD PTR -2240[rbp]
	jl	.L9
	mov	eax, DWORD PTR -2236[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -2236[rbp], 1
	jmp	.L10
.L11:
	lea	rax, -2216[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movsd	xmm0, QWORD PTR -2216[rbp]
	mov	eax, DWORD PTR -2236[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -2236[rbp], 1
.L10:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -2236[rbp], eax
	jl	.L11
	add	DWORD PTR -2240[rbp], 1
.L7:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -2240[rbp], eax
	jl	.L12
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR -2220[rbp], eax
	mov	DWORD PTR -2228[rbp], 0
	jmp	.L13
.L36:
	mov	DWORD PTR -2232[rbp], 0
	mov	BYTE PTR -2241[rbp], 0
	mov	DWORD PTR -2240[rbp], 0
	jmp	.L14
.L17:
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2228[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2232[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	movsd	QWORD PTR -2112[rbp+rax*8], xmm0
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 1776
	mov	DWORD PTR [rax], -1
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	lea	rdx, -1772[rax]
	mov	eax, DWORD PTR -2228[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2232[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	movsd	xmm1, QWORD PTR -2112[rbp+rax*8]
	mov	eax, DWORD PTR -2228[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mulsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC2[rip]
	jbe	.L15
	mov	BYTE PTR -2241[rbp], 1
	mov	eax, DWORD PTR -2228[rbp]
	mov	DWORD PTR -2208[rbp], eax
	mov	eax, DWORD PTR -2240[rbp]
	mov	DWORD PTR -2204[rbp], eax
	mov	eax, DWORD PTR -2228[rbp]
	mov	DWORD PTR -2200[rbp], eax
	mov	DWORD PTR -2220[rbp], 2
.L15:
	add	DWORD PTR -2240[rbp], 1
.L14:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -2240[rbp], eax
	jl	.L17
	cmp	BYTE PTR -2241[rbp], 0
	jne	.L47
	mov	DWORD PTR -2224[rbp], 2
	jmp	.L20
.L34:
	xor	DWORD PTR -2232[rbp], 1
	mov	DWORD PTR -2240[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2232[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -2112[rbp+rax*8], xmm0
	add	DWORD PTR -2240[rbp], 1
.L21:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -2240[rbp], eax
	jl	.L22
	mov	DWORD PTR -2240[rbp], 0
	jmp	.L23
.L31:
	mov	DWORD PTR -2236[rbp], 0
	jmp	.L24
.L27:
	mov	eax, DWORD PTR -2232[rbp]
	xor	eax, 1
	mov	edx, eax
	mov	eax, DWORD PTR -2236[rbp]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	movsd	xmm1, QWORD PTR -2112[rbp+rax*8]
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2236[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mulsd	xmm0, xmm1
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2232[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	movsd	xmm1, QWORD PTR -2112[rbp+rax*8]
	comisd	xmm0, xmm1
	jbe	.L25
	mov	eax, DWORD PTR -2232[rbp]
	xor	eax, 1
	mov	edx, eax
	mov	eax, DWORD PTR -2236[rbp]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	movsd	xmm1, QWORD PTR -2112[rbp+rax*8]
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2236[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mulsd	xmm0, xmm1
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2232[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	movsd	QWORD PTR -2112[rbp+rax*8], xmm0
	mov	eax, DWORD PTR -2224[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, [rax+rcx]
	mov	eax, DWORD PTR -2236[rbp]
	mov	DWORD PTR -1776[rbp+rdx*4], eax
.L25:
	add	DWORD PTR -2236[rbp], 1
.L24:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -2236[rbp], eax
	jl	.L27
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2232[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	movsd	xmm1, QWORD PTR -2112[rbp+rax*8]
	mov	eax, DWORD PTR -2228[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2240[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mulsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC2[rip]
	jbe	.L46
	mov	BYTE PTR -2241[rbp], 1
	mov	eax, DWORD PTR -2224[rbp]
	add	eax, 1
	movsx	rcx, eax
	mov	eax, DWORD PTR -2228[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, [rax+rcx]
	mov	eax, DWORD PTR -2240[rbp]
	mov	DWORD PTR -1776[rbp+rdx*4], eax
	jmp	.L30
.L46:
	add	DWORD PTR -2240[rbp], 1
.L23:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -2240[rbp], eax
	jl	.L31
.L30:
	cmp	BYTE PTR -2241[rbp], 0
	jne	.L48
	add	DWORD PTR -2224[rbp], 1
.L20:
	mov	eax, DWORD PTR -2220[rbp]
	sub	eax, 1
	cmp	DWORD PTR -2224[rbp], eax
	jl	.L34
	jmp	.L33
.L48:
	nop
.L33:
	cmp	BYTE PTR -2241[rbp], 0
	je	.L35
	mov	eax, DWORD PTR -2224[rbp]
	add	eax, 1
	cmp	DWORD PTR -2220[rbp], eax
	jle	.L35
	mov	eax, DWORD PTR -2224[rbp]
	add	eax, 1
	mov	DWORD PTR -2220[rbp], eax
	mov	eax, DWORD PTR -2224[rbp]
	add	eax, 1
	cdqe
	mov	edx, DWORD PTR -2228[rbp]
	mov	DWORD PTR -2208[rbp+rax*4], edx
	mov	eax, DWORD PTR -2224[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -2228[rbp]
	lea	rsi, -2208[rbp]
	lea	rax, -1776[rbp]
	mov	rdi, rax
	call	build_sequence
.L35:
	add	DWORD PTR -2228[rbp], 1
.L13:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -2228[rbp], eax
	jl	.L36
	jmp	.L19
.L47:
	nop
.L19:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -2220[rbp], eax
	jle	.L37
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L6
.L37:
	mov	DWORD PTR -2240[rbp], 0
	jmp	.L38
.L39:
	mov	eax, DWORD PTR -2240[rbp]
	cdqe
	mov	eax, DWORD PTR -2208[rbp+rax*4]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -2240[rbp], 1
.L38:
	mov	eax, DWORD PTR -2240[rbp]
	cmp	eax, DWORD PTR -2220[rbp]
	jl	.L39
	mov	eax, DWORD PTR -2240[rbp]
	cdqe
	mov	eax, DWORD PTR -2208[rbp+rax*4]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L6:
	lea	rsi, n[rip]
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L40
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.align 8
.LC2:
	.long	-1030792151
	.long	1072703733
	.align 8
.LC3:
	.long	0
	.long	-1074790400
	.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	"153267595.c"
	.text
	.comm	n,4,4
	.comm	table,3528,8
	.align	2
	.global	build_sequence
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_sequence, %function
build_sequence:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #1
	beq	.L4
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r2, r3, r2
	ldr	r3, [fp, #-20]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r1, [fp, #-12]
	add	r3, r1, r3
	ldr	r1, [fp, #-20]
	ldr	r2, [r2, r1, lsl #2]
	str	r2, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	build_sequence
	b	.L1
.L4:
	nop
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	build_sequence, .-build_sequence
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%lf\000"
	.global	__aeabi_dmul
	.global	__aeabi_dcmpgt
	.align	2
.LC1:
	.ascii	"no arbitrage sequence exists\000"
	.align	2
.LC2:
	.ascii	"%d \000"
	.align	2
.LC3:
	.ascii	"%d\012\000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2224
	sub	sp, sp, #8
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L6
.L40:
	mov	r3, #0
	str	r3, [fp, #-2228]
	b	.L7
.L12:
	mov	r3, #0
	str	r3, [fp, #-2224]
	b	.L8
.L9:
	sub	r3, fp, #2192
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L49+4
	bl	__isoc99_scanf
	ldr	r0, [fp, #-2204]
	ldr	r1, [fp, #-2200]
	ldr	ip, .L49+8
	ldr	r2, [fp, #-2228]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2224]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-2224]
	add	r3, r3, #1
	str	r3, [fp, #-2224]
.L8:
	ldr	r2, [fp, #-2224]
	ldr	r3, [fp, #-2228]
	cmp	r2, r3
	blt	.L9
	ldr	r1, .L49+8
	ldr	r2, [fp, #-2228]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2224]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r1, r1, r3
	mov	r2, #0
	ldr	r3, .L49+12
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-2224]
	add	r3, r3, #1
	str	r3, [fp, #-2224]
	b	.L10
.L11:
	sub	r3, fp, #2192
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L49+4
	bl	__isoc99_scanf
	ldr	r0, [fp, #-2204]
	ldr	r1, [fp, #-2200]
	ldr	ip, .L49+8
	ldr	r2, [fp, #-2228]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2224]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-2224]
	add	r3, r3, #1
	str	r3, [fp, #-2224]
.L10:
	ldr	r3, .L49+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-2224]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-2228]
	add	r3, r3, #1
	str	r3, [fp, #-2228]
.L7:
	ldr	r3, .L49+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-2228]
	cmp	r2, r3
	blt	.L12
	ldr	r3, .L49+16
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-2208]
	mov	r3, #0
	str	r3, [fp, #-2216]
	b	.L13
.L36:
	mov	r3, #0
	str	r3, [fp, #-2220]
	mov	r3, #0
	strb	r3, [fp, #-2229]
	mov	r3, #0
	str	r3, [fp, #-2228]
	b	.L14
.L17:
	ldr	r1, .L49+8
	ldr	r2, [fp, #-2216]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2228]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-2220]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2228]
	add	r3, r2, r3
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #2096
	sub	r3, r3, #8
	stm	r3, {r0-r1}
	ldr	r2, [fp, #-2228]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	sub	r3, fp, #4
	add	r3, r3, r2
	sub	r3, r3, #1760
	sub	r3, r3, #8
	mvn	r2, #0
	str	r2, [r3]
	ldr	r2, [fp, #-2228]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	sub	r3, fp, #4
	add	r3, r3, r2
	sub	r3, r3, #1760
	sub	r3, r3, #4
	ldr	r2, [fp, #-2216]
	str	r2, [r3]
	ldr	r2, [fp, #-2220]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2228]
	add	r3, r2, r3
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #2096
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	ip, .L49+8
	ldr	r2, [fp, #-2228]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2216]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L49+20
	ldr	r3, .L49+24
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	mov	r3, #1
	strb	r3, [fp, #-2229]
	ldr	r3, [fp, #-2216]
	str	r3, [fp, #-2192]
	ldr	r3, [fp, #-2228]
	str	r3, [fp, #-2188]
	ldr	r3, [fp, #-2216]
	str	r3, [fp, #-2184]
	mov	r3, #2
	str	r3, [fp, #-2208]
.L15:
	ldr	r3, [fp, #-2228]
	add	r3, r3, #1
	str	r3, [fp, #-2228]
.L14:
	ldr	r3, .L49+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-2228]
	cmp	r2, r3
	blt	.L17
	ldrb	r3, [fp, #-2229]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L47
	mov	r3, #2
	str	r3, [fp, #-2212]
	b	.L20
.L34:
	ldr	r3, [fp, #-2220]
	eor	r3, r3, #1
	str	r3, [fp, #-2220]
	mov	r3, #0
	str	r3, [fp, #-2228]
	b	.L21
.L22:
	ldr	r2, [fp, #-2220]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2228]
	add	r3, r2, r3
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #2096
	sub	r3, r3, #8
	mov	r0, #0
	ldr	r1, .L49+28
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-2228]
	add	r3, r3, #1
	str	r3, [fp, #-2228]
.L21:
	ldr	r3, .L49+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-2228]
	cmp	r2, r3
	blt	.L22
	mov	r3, #0
	str	r3, [fp, #-2228]
	b	.L23
.L31:
	mov	r3, #0
	str	r3, [fp, #-2224]
	b	.L24
.L27:
	ldr	r3, [fp, #-2220]
	eor	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2224]
	add	r3, r2, r3
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #2096
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	ip, .L49+8
	ldr	r2, [fp, #-2224]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2228]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-2220]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2228]
	add	r3, r2, r3
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #2096
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-2220]
	eor	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2224]
	add	r3, r2, r3
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #2096
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	ip, .L49+8
	ldr	r2, [fp, #-2224]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2228]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-2220]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2228]
	add	r3, r2, r3
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #2096
	sub	r3, r3, #8
	stm	r3, {r0-r1}
	ldr	r2, [fp, #-2228]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2212]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-2224]
	str	r2, [r3, #-1768]
.L25:
	ldr	r3, [fp, #-2224]
	add	r3, r3, #1
	str	r3, [fp, #-2224]
.L24:
	ldr	r3, .L49+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-2224]
	cmp	r2, r3
	blt	.L27
	ldr	r2, [fp, #-2220]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2228]
	add	r3, r2, r3
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #2096
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	ip, .L49+8
	ldr	r2, [fp, #-2228]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-2216]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L49+20
	ldr	r3, .L49+24
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	mov	r3, #1
	strb	r3, [fp, #-2229]
	ldr	r3, [fp, #-2212]
	add	r1, r3, #1
	ldr	r2, [fp, #-2216]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r3, r2, r1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-2228]
	str	r2, [r3, #-1768]
	b	.L30
.L46:
	ldr	r3, [fp, #-2228]
	add	r3, r3, #1
	str	r3, [fp, #-2228]
.L23:
	ldr	r3, .L49+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-2228]
	cmp	r2, r3
	blt	.L31
.L30:
	ldrb	r3, [fp, #-2229]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L48
	ldr	r3, [fp, #-2212]
	add	r3, r3, #1
	str	r3, [fp, #-2212]
.L20:
	ldr	r3, [fp, #-2208]
	sub	r3, r3, #1
	ldr	r2, [fp, #-2212]
	cmp	r2, r3
	blt	.L34
	b	.L33
.L48:
	nop
.L33:
	ldrb	r3, [fp, #-2229]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-2212]
	add	r3, r3, #1
	ldr	r2, [fp, #-2208]
	cmp	r2, r3
	ble	.L35
	ldr	r3, [fp, #-2212]
	add	r3, r3, #1
	str	r3, [fp, #-2208]
	ldr	r3, [fp, #-2212]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-2216]
	str	r2, [r3, #-2188]
	ldr	r3, [fp, #-2212]
	add	r3, r3, #1
	sub	r1, fp, #2176
	sub	r1, r1, #4
	sub	r1, r1, #12
	sub	r0, fp, #1760
	sub	r0, r0, #4
	sub	r0, r0, #8
	ldr	r2, [fp, #-2216]
	bl	build_sequence
.L35:
	ldr	r3, [fp, #-2216]
	add	r3, r3, #1
	str	r3, [fp, #-2216]
.L13:
	ldr	r3, .L49+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-2216]
	cmp	r2, r3
	blt	.L36
	b	.L19
.L47:
	nop
.L19:
	ldr	r3, .L49+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-2208]
	cmp	r2, r3
	ble	.L37
	ldr	r0, .L49+32
	bl	puts
	b	.L6
.L37:
	mov	r3, #0
	str	r3, [fp, #-2228]
	b	.L38
.L39:
	ldr	r3, [fp, #-2228]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-2188]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L49+36
	bl	printf
	ldr	r3, [fp, #-2228]
	add	r3, r3, #1
	str	r3, [fp, #-2228]
.L38:
	ldr	r2, [fp, #-2228]
	ldr	r3, [fp, #-2208]
	cmp	r2, r3
	blt	.L39
	ldr	r3, [fp, #-2228]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-2188]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L49+40
	bl	printf
.L6:
	ldr	r1, .L49+16
	ldr	r0, .L49+44
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L40
	mov	r3, #0
	ldr	r2, .L49
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC5
	.word	.LC0
	.word	table
	.word	1072693248
	.word	n
	.word	-1030792151
	.word	1072703733
	.word	-1074790400
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
