	.file	"22012795.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Primeira chamada para cada funcao:"
	.align 8
.LC1:
	.string	"\n\nSegunda chamada para cada funcao:"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	call	staticArrayInit
	call	automaticArrayInit
	lea	rdi, .LC1[rip]
	call	puts@PLT
	call	staticArrayInit
	call	automaticArrayInit
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.string	"\nValores na entrada de staticArrayInit:"
.LC3:
	.string	"array1[ %d ] = %d "
	.align 8
.LC4:
	.string	"\nValores na saida de staticArrayInit:"
.LC5:
	.string	"\n\n"
	.text
	.globl	staticArrayInit
	.type	staticArrayInit, @function
staticArrayInit:
.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, 16
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, array1.0[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L4:
	cmp	DWORD PTR -4[rbp], 2
	jle	.L5
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, array1.0[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, 5[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, array1.0[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, array1.0[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L6:
	cmp	DWORD PTR -4[rbp], 2
	jle	.L7
	lea	rdi, .LC5[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	staticArrayInit, .-staticArrayInit
	.section	.rodata
	.align 8
.LC6:
	.string	"\n\nValores na entrada de automaticArrayInit:"
.LC7:
	.string	"array2[%d] = %d "
	.align 8
.LC8:
	.string	"\nValores na saida de automaticArrayInit:"
.LC9:
	.string	"array2[ %d ] = %d "
	.text
	.globl	automaticArrayInit
	.type	automaticArrayInit, @function
automaticArrayInit:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -16[rbp], 2
	mov	DWORD PTR -12[rbp], 3
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	DWORD PTR -24[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR -20[rbp+rax*4]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -24[rbp], 1
.L9:
	cmp	DWORD PTR -24[rbp], 2
	jle	.L10
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	DWORD PTR -24[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR -20[rbp+rax*4]
	lea	edx, 5[rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	DWORD PTR -20[rbp+rax*4], edx
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR -20[rbp+rax*4]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -24[rbp], 1
.L11:
	cmp	DWORD PTR -24[rbp], 2
	jle	.L12
	lea	rdi, .LC5[rip]
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	automaticArrayInit, .-automaticArrayInit
	.local	array1.0
	.comm	array1.0,12,8
	.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	"22012795.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Primeira chamada para cada funcao:\000"
	.align	2
.LC2:
	.ascii	"\012\012Segunda chamada para cada funcao:\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	r0, .L3
	bl	puts
	bl	staticArrayInit
	bl	automaticArrayInit
	ldr	r0, .L3+4
	bl	puts
	bl	staticArrayInit
	bl	automaticArrayInit
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	"\012Valores na entrada de staticArrayInit:\000"
	.align	2
.LC4:
	.ascii	"array1[ %d ] = %d \000"
	.align	2
.LC5:
	.ascii	"\012Valores na saida de staticArrayInit:\000"
	.align	2
.LC6:
	.ascii	"\012\012\000"
	.text
	.align	2
	.global	staticArrayInit
	.syntax unified
	.arm
	.fpu softvfp
	.type	staticArrayInit, %function
staticArrayInit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L10
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L7:
	ldr	r2, .L10+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L10+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	ble	.L7
	ldr	r0, .L10+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L8
.L9:
	ldr	r2, .L10+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	add	r2, r3, #5
	ldr	r1, .L10+4
	ldr	r3, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L10+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L10+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L8:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	ble	.L9
	ldr	r0, .L10+16
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC3
	.word	array1.4608
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	staticArrayInit, .-staticArrayInit
	.section	.rodata
	.align	2
.LC7:
	.ascii	"\012\012Valores na entrada de automaticArrayInit:\000"
	.align	2
.LC8:
	.ascii	"array2[%d] = %d \000"
	.align	2
.LC9:
	.ascii	"\012Valores na saida de automaticArrayInit:\000"
	.align	2
.LC10:
	.ascii	"array2[ %d ] = %d \000"
	.align	2
.LC0:
	.word	1
	.word	2
	.word	3
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	automaticArrayInit
	.syntax unified
	.arm
	.fpu softvfp
	.type	automaticArrayInit, %function
automaticArrayInit:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L18+4
	sub	r3, fp, #20
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r0, .L18+8
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L13
.L14:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-16]
	mov	r2, r3
	ldr	r1, [fp, #-24]
	ldr	r0, .L18+12
	bl	printf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L13:
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	ble	.L14
	ldr	r0, .L18+16
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L15
.L16:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-16]
	add	r2, r3, #5
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-16]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-16]
	mov	r2, r3
	ldr	r1, [fp, #-24]
	ldr	r0, .L18+20
	bl	printf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L15:
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	ble	.L16
	ldr	r0, .L18+24
	bl	puts
	nop
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC11
	.word	.LC0
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC6
	.size	automaticArrayInit, .-automaticArrayInit
	.local	array1.4608
	.comm	array1.4608,12,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
