	.file	"144319.c"
	.intel_syntax noprefix
	.text
	.globl	extern_array
	.data
	.align 16
	.type	extern_array, @object
	.size	extern_array, 16
extern_array:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
	.type	static_array, @object
	.size	static_array, 16
static_array:
	.long	5
	.long	6
	.long	7
	.long	8
	.local	un_initialized_array
	.comm	un_initialized_array,16,16
	.local	heap_string
	.comm	heap_string,8,8
	.text
	.globl	terminal_func
	.type	terminal_func, @function
terminal_func:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	terminal_func, .-terminal_func
	.globl	array_func
	.type	array_func, @function
array_func:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 80
	call	malloc@PLT
	mov	QWORD PTR heap_string[rip], rax
	mov	rax, QWORD PTR heap_string[rip]
	movabs	rsi, 7596482272995125065
	movabs	rdi, 7018143276816168052
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	movabs	rsi, 8027792917809885040
	movabs	rdi, 8295740938855150706
	mov	QWORD PTR 16[rax], rsi
	mov	QWORD PTR 24[rax], rdi
	movabs	rcx, 12998625985916788
	mov	QWORD PTR 32[rax], rcx
	mov	DWORD PTR -36[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, extern_array[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, 8[rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, un_initialized_array[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, extern_array[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, 12[rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	mov	DWORD PTR -32[rbp+rax*4], edx
	add	DWORD PTR -36[rbp], 1
.L4:
	cmp	DWORD PTR -36[rbp], 3
	jle	.L5
	mov	eax, 0
	call	terminal_func
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	array_func, .-array_func
	.globl	factorial_func
	.type	factorial_func, @function
factorial_func:
.LFB8:
	.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
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 1
	jle	.L8
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	mov	edi, eax
	mov	eax, 0
	call	factorial_func
	mov	edx, DWORD PTR -4[rbp]
	imul	eax, edx
	mov	DWORD PTR -4[rbp], eax
.L8:
	mov	eax, 0
	call	array_func
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	factorial_func, .-factorial_func
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 6
	mov	eax, 0
	call	factorial_func
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"144319.c"
	.text
	.global	extern_array
	.data
	.align	2
	.type	extern_array, %object
	.size	extern_array, 16
extern_array:
	.word	1
	.word	2
	.word	3
	.word	4
	.align	2
	.type	static_array, %object
	.size	static_array, 16
static_array:
	.word	5
	.word	6
	.word	7
	.word	8
	.local	un_initialized_array
	.comm	un_initialized_array,16,4
	.local	heap_string
	.comm	heap_string,4,4
	.text
	.align	2
	.global	terminal_func
	.syntax unified
	.arm
	.fpu softvfp
	.type	terminal_func, %function
terminal_func:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	terminal_func, .-terminal_func
	.section	.rodata
	.align	2
.LC0:
	.ascii	"I'm a little teapot, short and stout...\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	array_func
	.syntax unified
	.arm
	.fpu softvfp
	.type	array_func, %function
array_func:
	@ 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, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #80
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L7+4
	str	r2, [r3]
	ldr	r3, .L7+4
	ldr	r3, [r3]
	ldr	r2, .L7+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #40
	mov	r2, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L4
.L5:
	ldr	r2, .L7+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	add	r2, r3, #8
	ldr	r1, .L7+16
	ldr	r3, [fp, #-28]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L7+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	add	r2, r3, #12
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L4:
	ldr	r3, [fp, #-28]
	cmp	r3, #3
	ble	.L5
	bl	terminal_func
	nop
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC1
	.word	heap_string
	.word	.LC0
	.word	extern_array
	.word	un_initialized_array
	.size	array_func, .-array_func
	.align	2
	.global	factorial_func
	.syntax unified
	.arm
	.fpu softvfp
	.type	factorial_func, %function
factorial_func:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	ble	.L10
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	mov	r0, r3
	bl	factorial_func
	mov	r2, r0
	ldr	r3, [fp, #-8]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
.L10:
	bl	array_func
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	factorial_func, .-factorial_func
	.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
	mov	r0, #6
	bl	factorial_func
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
