	.file	"564045.c"
	.intel_syntax noprefix
	.text
	.globl	niveis
	.bss
	.align 4
	.type	niveis, @object
	.size	niveis, 4
niveis:
	.zero	4
	.globl	programas
	.align 4
	.type	programas, @object
	.size	programas, 4
programas:
	.zero	4
	.globl	custo
	.align 4
	.type	custo, @object
	.size	custo, 4
custo:
	.zero	4
	.globl	delay
	.align 4
	.type	delay, @object
	.size	delay, 4
delay:
	.zero	4
	.globl	shift
	.align 4
	.type	shift, @object
	.size	shift, 4
shift:
	.zero	4
	.text
	.globl	min
	.type	min, @function
min:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	fld	TBYTE PTR 16[rbp]
	fld	TBYTE PTR 32[rbp]
	fcomip	st, st(1)
	fstp	st(0)
	jbe	.L7
	fld	TBYTE PTR 16[rbp]
	jmp	.L5
.L7:
	fld	TBYTE PTR 32[rbp]
.L5:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	min, .-min
	.globl	bt
	.type	bt, @function
bt:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 64
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	QWORD PTR -56[rbp], rcx
	mov	eax, DWORD PTR niveis[rip]
	lea	ebx, 1[rax]
	movsx	rax, ebx
	sub	rax, 1
	mov	QWORD PTR -24[rbp], rax
	movsx	rax, ebx
	mov	r8, rax
	mov	r9d, 0
	mov	eax, DWORD PTR programas[rip]
	cmp	DWORD PTR -44[rbp], eax
	jne	.L9
	fldz
	jmp	.L10
.L9:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	movsx	rax, ebx
	imul	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fld1
	fchs
	fucomip	st, st(1)
	jp	.L17
	fld1
	fchs
	fucomip	st, st(1)
	fstp	st(0)
	jne	.L11
	mov	eax, DWORD PTR -44[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 -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR -80[rbp], eax
	fild	DWORD PTR -80[rbp]
	fstp	TBYTE PTR -80[rbp]
	mov	eax, DWORD PTR -44[rbp]
	lea	esi, 1[rax]
	mov	rcx, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	bt
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	movsx	rax, ebx
	imul	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	fld	TBYTE PTR -80[rbp]
	faddp	st(1), st
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fstp	TBYTE PTR [rax]
	mov	DWORD PTR -28[rbp], 0
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	je	.L14
	mov	eax, DWORD PTR -44[rbp]
	lea	esi, 1[rax]
	mov	rcx, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	bt
	mov	eax, DWORD PTR shift[rip]
	mov	DWORD PTR -80[rbp], eax
	fild	DWORD PTR -80[rbp]
	faddp	st(1), st
	mov	eax, DWORD PTR -44[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 -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR -80[rbp], eax
	fild	DWORD PTR -80[rbp]
	faddp	st(1), st
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	movsx	rax, ebx
	imul	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fxch	st(1)
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	movsx	rax, ebx
	imul	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	r12, [rdx+rax]
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	call	min
	add	rsp, 32
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	sal	rax, 4
	add	rax, r12
	fstp	TBYTE PTR [rax]
.L14:
	add	DWORD PTR -28[rbp], 1
.L13:
	mov	eax, DWORD PTR niveis[rip]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L15
	jmp	.L11
.L17:
	fstp	st(0)
.L11:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	movsx	rax, ebx
	imul	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	fld	TBYTE PTR [rax]
.L10:
	lea	rsp, -16[rbp]
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	bt, .-bt
	.section	.rodata
.LC3:
	.string	"%d %d"
.LC4:
	.string	"%.0LF\n"
.LC5:
	.string	"%d %d %d %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 168
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	jmp	.L19
.L32:
	mov	rax, rsp
	mov	QWORD PTR -184[rbp], rax
	mov	esi, DWORD PTR programas[rip]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -96[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -120[rbp], 0
	mov	r8, QWORD PTR -128[rbp]
	mov	r9, QWORD PTR -120[rbp]
	imul	rdx, r9, 672
	imul	rax, r8, 0
	lea	rcx, [rdx+rax]
	mov	eax, 672
	mul	r8
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	movsx	rax, esi
	mov	QWORD PTR -144[rbp], rax
	mov	QWORD PTR -136[rbp], 0
	mov	r9, QWORD PTR -144[rbp]
	mov	r10, QWORD PTR -136[rbp]
	imul	rdx, r10, 672
	imul	rax, r9, 0
	lea	rcx, [rdx+rax]
	mov	eax, 672
	mul	r9
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L20:
	cmp	rsp, rcx
	je	.L21
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L20
.L21:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L22
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L22:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -88[rbp], rax
	mov	eax, DWORD PTR niveis[rip]
	lea	esi, 1[rax]
	mov	eax, DWORD PTR programas[rip]
	lea	edi, 1[rax]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -80[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -208[rbp], rax
	mov	QWORD PTR -200[rbp], 0
	movsx	rax, esi
	sal	rax, 4
	mov	rbx, rax
	movsx	rax, edi
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -152[rbp], 0
	movsx	rax, edi
	mov	QWORD PTR -176[rbp], rax
	mov	QWORD PTR -168[rbp], 0
	mov	r10, QWORD PTR -160[rbp]
	mov	r11, QWORD PTR -152[rbp]
	mov	rdx, r11
	mov	r8, QWORD PTR -176[rbp]
	mov	r9, QWORD PTR -168[rbp]
	imul	rdx, r8
	mov	rax, r9
	imul	rax, r10
	lea	rcx, [rdx+rax]
	mov	rax, r10
	mul	r8
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rax, esi
	mov	r14, rax
	mov	r15d, 0
	movsx	rax, edi
	mov	r12, rax
	mov	r13d, 0
	mov	rdx, r15
	imul	rdx, r12
	mov	rax, r13
	imul	rax, r14
	lea	rcx, [rdx+rax]
	mov	rax, r14
	mul	r12
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	movsx	rax, edi
	imul	rax, rdx
	sal	rax, 4
	lea	rdx, 8[rax]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L23:
	cmp	rsp, rcx
	je	.L24
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L23
.L24:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L25
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L25:
	mov	rax, rsp
	add	rax, 15
	shr	rax, 4
	sal	rax, 4
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -100[rbp], 0
	jmp	.L26
.L30:
	mov	DWORD PTR -104[rbp], 0
	jmp	.L27
.L29:
	mov	eax, DWORD PTR programas[rip]
	cmp	DWORD PTR -100[rbp], eax
	jge	.L28
	mov	eax, DWORD PTR niveis[rip]
	cmp	DWORD PTR -104[rbp], eax
	jge	.L28
	lea	rdx, -108[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -112[rbp]
	mov	eax, DWORD PTR -108[rbp]
	mov	esi, edx
	imul	esi, eax
	mov	rcx, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -104[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rdi
	mov	DWORD PTR [rcx+rax*4], esi
.L28:
	mov	rcx, rbx
	shr	rcx, 4
	mov	rsi, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -104[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	imul	rax, rcx
	add	rax, rdx
	sal	rax, 4
	add	rax, rsi
	fld1
	fchs
	fstp	TBYTE PTR [rax]
	add	DWORD PTR -104[rbp], 1
.L27:
	mov	eax, DWORD PTR niveis[rip]
	cmp	DWORD PTR -104[rbp], eax
	jle	.L29
	add	DWORD PTR -100[rbp], 1
.L26:
	mov	eax, DWORD PTR programas[rip]
	cmp	DWORD PTR -100[rbp], eax
	jle	.L30
	mov	edx, DWORD PTR custo[rip]
	mov	eax, DWORD PTR delay[rip]
	imul	eax, edx
	mov	DWORD PTR shift[rip], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, QWORD PTR -88[rbp]
	mov	rcx, rax
	mov	edx, 0
	mov	esi, 0
	call	bt
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	rsp, QWORD PTR -184[rbp]
.L19:
	lea	r8, delay[rip]
	lea	rcx, custo[rip]
	lea	rdx, programas[rip]
	lea	rsi, niveis[rip]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	je	.L31
	mov	eax, DWORD PTR niveis[rip]
	test	eax, eax
	jne	.L32
	mov	eax, DWORD PTR programas[rip]
	test	eax, eax
	jne	.L32
	mov	eax, DWORD PTR custo[rip]
	test	eax, eax
	jne	.L32
	mov	eax, DWORD PTR delay[rip]
	test	eax, eax
	jne	.L32
.L31:
	mov	eax, 0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"564045.c"
	.text
	.comm	niveis,4,4
	.comm	programas,4,4
	.comm	custo,4,4
	.comm	delay,4,4
	.comm	shift,4,4
	.global	__aeabi_dcmplt
	.align	2
	.global	min
	.syntax unified
	.arm
	.fpu softvfp
	.type	min, %function
min:
	@ 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, #-12]
	str	r1, [fp, #-8]
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	b	.L5
.L7:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
.L5:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	min, .-min
	.global	__aeabi_dcmpeq
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.align	2
	.global	bt
	.syntax unified
	.arm
	.fpu softvfp
	.type	bt, %function
bt:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #24
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r4, r3, #1
	sub	r3, r4, #1
	str	r3, [fp, #-32]
	mov	r3, r4
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	ldr	r3, .L17+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bne	.L9
	mov	r2, #0
	mov	r3, #0
	b	.L10
.L9:
	mov	r2, r4
	ldr	r3, [fp, #-44]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L17+8
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r2, [fp, #-44]
	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, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-48]
	ldr	r3, [r3, r2, lsl #2]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-44]
	add	r1, r3, #1
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	ldr	r0, [fp, #-40]
	bl	bt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	ldr	r1, [fp, #-44]
	mul	r1, r0, r1
	lsl	r1, r1, #3
	ldr	r0, [fp, #-52]
	add	r5, r0, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-48]
	lsl	r1, r1, #3
	add	r1, r5, r1
	stm	r1, {r2-r3}
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L13
.L15:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	beq	.L14
	mov	r2, r4
	ldr	r3, [fp, #-44]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r6-r7}
	ldr	r3, [fp, #-44]
	add	r1, r3, #1
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-36]
	ldr	r0, [fp, #-40]
	bl	bt
	mov	r8, r0
	mov	r9, r1
	ldr	r3, .L17+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r2, [fp, #-44]
	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, #-40]
	add	r3, r3, r2
	ldr	r2, [fp, #-36]
	ldr	r3, [r3, r2, lsl #2]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, r4
	ldr	r3, [fp, #-44]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r5, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	min
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-48]
	lsl	r1, r1, #3
	add	r1, r5, r1
	stm	r1, {r2-r3}
.L14:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L13:
	ldr	r3, .L17
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L15
.L11:
	mov	r2, r4
	ldr	r3, [fp, #-44]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
.L10:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L18:
	.align	2
.L17:
	.word	niveis
	.word	programas
	.word	-1074790400
	.word	shift
	.size	bt, .-bt
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d %d\000"
	.align	2
.LC1:
	.ascii	"%.0LF\012\000"
	.align	2
.LC2:
	.ascii	"%d %d %d %d\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	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #60
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	b	.L20
.L27:
	mov	r3, sp
	str	r3, [fp, #-80]
	ldr	r3, .L30+4
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-68]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r6, r2, r2
	adc	r7, r3, r3
	mov	r2, r6
	mov	r3, r7
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	subs	r0, r0, r2
	sbc	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r8, r2, r2
	adc	r9, r3, r3
	mov	r2, r8
	mov	r3, r9
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	subs	r0, r0, r2
	sbc	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r2, ip
	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
	mov	r3, r2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-56]
	ldr	r3, .L30+8
	ldr	r3, [r3]
	add	ip, r3, #1
	ldr	r3, .L30+4
	ldr	r3, [r3]
	add	lr, r3, #1
	sub	r3, ip, #1
	str	r3, [fp, #-52]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r10, r3, #3
	sub	r3, lr, #1
	str	r3, [fp, #-48]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r3, r2, r3
	str	r3, [fp, #-84]
	umull	r2, r3, r4, r0
	ldr	r1, [fp, #-84]
	add	r1, r1, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r3, r2, r3
	str	r3, [fp, #-84]
	umull	r2, r3, r4, r0
	ldr	r1, [fp, #-84]
	add	r1, r1, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L21
.L25:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L22
.L24:
	ldr	r3, .L30+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	bge	.L23
	ldr	r3, .L30+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	bge	.L23
	sub	r2, fp, #72
	sub	r3, fp, #76
	mov	r1, r3
	ldr	r0, .L30+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-72]
	mul	r0, r2, r3
	ldr	r1, [fp, #-56]
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	str	r0, [r1, r3, lsl #2]
.L23:
	lsr	r3, r10, #3
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-60]
	mul	r1, r3, r1
	ldr	r3, [fp, #-64]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r1, r2, r3
	mov	r2, #0
	ldr	r3, .L30+16
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L22:
	ldr	r3, .L30+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	ble	.L24
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L21:
	ldr	r3, .L30+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	ble	.L25
	ldr	r3, .L30+20
	ldr	r3, [r3]
	ldr	r2, .L30+24
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, .L30+28
	str	r3, [r2]
	ldr	r3, [fp, #-44]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-56]
	bl	bt
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L30+32
	bl	printf
	ldr	sp, [fp, #-80]
.L20:
	ldr	r3, .L30+24
	str	r3, [sp]
	ldr	r3, .L30+20
	ldr	r2, .L30+4
	ldr	r1, .L30+8
	ldr	r0, .L30+36
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	ldr	r3, .L30+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L27
	ldr	r3, .L30+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L27
	ldr	r3, .L30+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L27
	ldr	r3, .L30+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L27
.L26:
	mov	r3, #0
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC3
	.word	programas
	.word	niveis
	.word	.LC0
	.word	-1074790400
	.word	custo
	.word	delay
	.word	shift
	.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
