	.file	"329670.c"
	.intel_syntax noprefix
	.text
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	g
	.align 32
	.type	g, @object
	.size	g, 1600
g:
	.zero	1600
	.globl	comissao
	.align 32
	.type	comissao, @object
	.size	comissao, 80
comissao:
	.zero	80
	.globl	max
	.align 4
	.type	max, @object
	.size	max, 4
max:
	.zero	4
	.text
	.globl	junina
	.type	junina, @function
junina:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L2
	mov	eax, DWORD PTR max[rip]
	cmp	DWORD PTR -24[rbp], eax
	jle	.L10
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR max[rip], eax
	jmp	.L10
.L2:
	mov	edx, DWORD PTR n[rip]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	sub	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR max[rip]
	cmp	edx, eax
	jle	.L11
	mov	ebx, 0
	jmp	.L6
.L8:
	add	ebx, 1
.L6:
	cmp	ebx, DWORD PTR -20[rbp]
	jge	.L7
	movsx	rcx, ebx
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, g[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L8
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, comissao[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L8
.L7:
	cmp	ebx, DWORD PTR -20[rbp]
	jne	.L9
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, comissao[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	esi, edx
	mov	edi, eax
	call	junina
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, comissao[rip]
	mov	DWORD PTR [rdx+rax], 0
.L9:
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	mov	edi, edx
	call	junina
	jmp	.L1
.L10:
	nop
	jmp	.L1
.L11:
	nop
.L1:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	junina, .-junina
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"Teste %d\n%d\n\n"
	.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
	push	r13
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	r13d, 1
	jmp	.L13
.L24:
	mov	ebx, 0
	jmp	.L14
.L17:
	mov	r12d, 0
	jmp	.L15
.L16:
	movsx	rcx, r12d
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, g[rip]
	mov	DWORD PTR [rdx+rax], 0
	add	r12d, 1
.L15:
	mov	eax, DWORD PTR n[rip]
	cmp	r12d, eax
	jl	.L16
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, comissao[rip]
	mov	DWORD PTR [rdx+rax], 0
	add	ebx, 1
.L14:
	mov	eax, DWORD PTR n[rip]
	cmp	ebx, eax
	jl	.L17
	mov	ebx, 0
	jmp	.L18
.L21:
	mov	eax, DWORD PTR -44[rbp]
	lea	edx, -1[rax]
	movsx	rsi, ebx
	movsx	rcx, edx
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, g[rip]
	mov	DWORD PTR [rcx+rax], 1
	mov	eax, DWORD PTR -44[rbp]
	lea	ecx, -1[rax]
	movsx	rsi, ebx
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, g[rip]
	mov	edx, DWORD PTR [rdx+rax]
	movsx	rsi, ecx
	movsx	rcx, ebx
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, g[rip]
	mov	DWORD PTR [rcx+rax], edx
.L19:
	lea	rax, -44[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	je	.L20
	mov	eax, DWORD PTR -44[rbp]
	test	eax, eax
	jne	.L21
.L20:
	add	ebx, 1
.L18:
	mov	eax, DWORD PTR n[rip]
	cmp	ebx, eax
	jl	.L19
	mov	DWORD PTR max[rip], 0
	mov	esi, 0
	mov	edi, 0
	call	junina
	mov	edx, DWORD PTR max[rip]
	mov	eax, r13d
	lea	r13d, 1[rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L13:
	lea	rsi, n[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	je	.L23
	mov	eax, DWORD PTR n[rip]
	test	eax, eax
	jne	.L24
.L23:
	mov	eax, 0
	mov	rdi, QWORD PTR -40[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	add	rsp, 24
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"329670.c"
	.text
	.comm	n,4,4
	.comm	g,1600,4
	.comm	comissao,80,4
	.comm	max,4,4
	.align	2
	.global	junina
	.syntax unified
	.arm
	.fpu softvfp
	.type	junina, %function
junina:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L2
	ldr	r3, .L12+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L10
	ldr	r2, .L12+4
	ldr	r3, [fp, #-20]
	str	r3, [r2]
	b	.L10
.L2:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	sub	r2, r2, r3
	ldr	r3, .L12+4
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L11
	mov	r4, #0
	b	.L6
.L8:
	add	r4, r4, #1
.L6:
	ldr	r3, [fp, #-16]
	cmp	r4, r3
	bge	.L7
	ldr	r1, .L12+8
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r4
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L12+12
	ldr	r3, [r3, r4, lsl #2]
	cmp	r3, #0
	beq	.L8
.L7:
	ldr	r3, [fp, #-16]
	cmp	r4, r3
	bne	.L9
	ldr	r2, .L12+12
	ldr	r3, [fp, #-16]
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	junina
	ldr	r2, .L12+12
	ldr	r3, [fp, #-16]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L9:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	junina
	b	.L1
.L10:
	nop
	b	.L1
.L11:
	nop
.L1:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L13:
	.align	2
.L12:
	.word	n
	.word	max
	.word	g
	.word	comissao
	.size	junina, .-junina
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"Teste %d\012%d\012\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #12
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r6, #1
	b	.L15
.L26:
	mov	r4, #0
	b	.L16
.L19:
	mov	r5, #0
	b	.L17
.L18:
	ldr	r2, .L29+4
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r5
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	add	r5, r5, #1
.L17:
	ldr	r3, .L29+8
	ldr	r3, [r3]
	cmp	r5, r3
	blt	.L18
	ldr	r3, .L29+12
	mov	r2, #0
	str	r2, [r3, r4, lsl #2]
	add	r4, r4, #1
.L16:
	ldr	r3, .L29+8
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L19
	mov	r4, #0
	b	.L20
.L23:
	ldr	r3, [fp, #-28]
	sub	r2, r3, #1
	ldr	r1, .L29+4
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r4
	mov	r0, #1
	str	r0, [r1, r3, lsl #2]
	ldr	r3, [fp, #-28]
	sub	r1, r3, #1
	ldr	r0, .L29+4
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r4
	ldr	r2, [r0, r3, lsl #2]
	ldr	r0, .L29+4
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r1
	str	r2, [r0, r3, lsl #2]
.L21:
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L29+16
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L23
.L22:
	add	r4, r4, #1
.L20:
	ldr	r3, .L29+8
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L21
	ldr	r3, .L29+20
	mov	r2, #0
	str	r2, [r3]
	mov	r1, #0
	mov	r0, #0
	bl	junina
	mov	r3, r6
	add	r6, r3, #1
	ldr	r2, .L29+20
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L29+24
	bl	printf
.L15:
	ldr	r1, .L29+8
	ldr	r0, .L29+16
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	ldr	r3, .L29+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L26
.L25:
	mov	r3, #0
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC2
	.word	g
	.word	n
	.word	comissao
	.word	.LC0
	.word	max
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
