	.file	"12643.c"
	.intel_syntax noprefix
	.text
	.globl	addnums
	.type	addnums, @function
addnums:
.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -52[rbp], 100
	mov	DWORD PTR -56[rbp], 0
	jmp	.L2
.L3:
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -68[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
	add	DWORD PTR -56[rbp], 1
.L2:
	cmp	DWORD PTR -56[rbp], 9
	jle	.L3
	mov	DWORD PTR -56[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	add	DWORD PTR -52[rbp], eax
	add	DWORD PTR -56[rbp], 1
.L4:
	cmp	DWORD PTR -56[rbp], 9
	jle	.L5
	mov	eax, DWORD PTR -52[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	addnums, .-addnums
	.globl	simple_array_access
	.type	simple_array_access, @function
simple_array_access:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	edx, DWORD PTR -52[rbp]
	mov	DWORD PTR -48[rbp+rax*4], edx
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	simple_array_access, .-simple_array_access
	.globl	simple_matrix_access
	.type	simple_matrix_access, @function
simple_matrix_access:
.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, 432
	mov	DWORD PTR -404[rbp], edi
	mov	DWORD PTR -408[rbp], esi
	mov	DWORD PTR -412[rbp], edx
	mov	DWORD PTR -416[rbp], ecx
	mov	DWORD PTR -420[rbp], r8d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -408[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -404[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rax+rcx]
	mov	eax, DWORD PTR -420[rbp]
	mov	DWORD PTR -400[rbp+rdx*4], eax
	mov	eax, DWORD PTR -416[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -412[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR -400[rbp+rax*4]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	simple_matrix_access, .-simple_matrix_access
	.globl	idx
	.type	idx, @function
idx:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	idx, .-idx
	.globl	less_simple_matrix_access
	.type	less_simple_matrix_access, @function
less_simple_matrix_access:
.LFB4:
	.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, 616
	.cfi_offset 3, -24
	mov	DWORD PTR -596[rbp], edi
	mov	DWORD PTR -600[rbp], esi
	mov	DWORD PTR -604[rbp], edx
	mov	DWORD PTR -608[rbp], ecx
	mov	DWORD PTR -612[rbp], r8d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -600[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -596[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rax+rcx]
	mov	eax, DWORD PTR -612[rbp]
	mov	DWORD PTR -416[rbp+rdx*4], eax
	mov	eax, DWORD PTR -600[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -612[rbp]
	lea	ecx, 5[rax]
	movsx	rsi, edx
	mov	eax, DWORD PTR -596[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	DWORD PTR -416[rbp+rax*4], ecx
	lea	rcx, -416[rbp]
	mov	eax, DWORD PTR -604[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	QWORD PTR -584[rbp], rax
	lea	rcx, -416[rbp]
	mov	eax, DWORD PTR -604[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -596[rbp]
	cdqe
	mov	QWORD PTR -576[rbp+rax*8], rdx
	mov	eax, DWORD PTR -608[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -584[rbp]
	add	rax, rdx
	mov	ebx, DWORD PTR [rax]
	mov	eax, DWORD PTR -608[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -604[rbp]
	cdqe
	mov	rax, QWORD PTR -576[rbp+rax*8]
	mov	esi, edx
	mov	rdi, rax
	call	idx
	add	eax, ebx
	mov	DWORD PTR -588[rbp], eax
	mov	eax, DWORD PTR -588[rbp]
	mov	rdi, QWORD PTR -24[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	less_simple_matrix_access, .-less_simple_matrix_access
	.globl	numbers
	.data
	.align 32
	.type	numbers, @object
	.size	numbers, 40
numbers:
	.long	4
	.long	1
	.long	66
	.long	1
	.long	3
	.long	343
	.long	141
	.long	812
	.long	19912
	.long	21
	.text
	.globl	sum_global_array
	.type	sum_global_array, @function
sum_global_array:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, numbers[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -4[rbp], eax
	add	DWORD PTR -8[rbp], 1
.L20:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L21
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	sum_global_array, .-sum_global_array
	.section	.rodata
.LC0:
	.string	"addnums(7) = %d\n"
	.align 8
.LC1:
	.string	"simple_array_access(3,3) = %d\n"
	.align 8
.LC2:
	.string	"simple_matrix_access(4,5,4,5,10) = %d\n"
	.align 8
.LC3:
	.string	"less_simple_matrix_access(4,5,4,5,10) = %d\n"
.LC4:
	.string	"sum_global_array(10) = %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 7
	call	addnums
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 3
	mov	edi, 3
	call	simple_array_access
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	r8d, 10
	mov	ecx, 5
	mov	edx, 4
	mov	esi, 5
	mov	edi, 4
	call	simple_matrix_access
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	r8d, 10
	mov	ecx, 4
	mov	edx, 4
	mov	esi, 4
	mov	edi, 4
	call	less_simple_matrix_access
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	sum_global_array
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"12643.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	addnums
	.syntax unified
	.arm
	.fpu softvfp
	.type	addnums, %function
addnums:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #100
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L2
.L3:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-64]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-44]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L2:
	ldr	r3, [fp, #-56]
	cmp	r3, #9
	ble	.L3
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L4
.L5:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L4:
	ldr	r3, [fp, #-56]
	cmp	r3, #9
	ble	.L5
	ldr	r3, [fp, #-52]
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.size	addnums, .-addnums
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	simple_array_access
	.syntax unified
	.arm
	.fpu softvfp
	.type	simple_array_access, %function
simple_array_access:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-56]
	str	r2, [r3, #-44]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC1
	.size	simple_array_access, .-simple_array_access
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	simple_matrix_access
	.syntax unified
	.arm
	.fpu softvfp
	.type	simple_matrix_access, %function
simple_matrix_access:
	@ args = 4, pretend = 0, frame = 408
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #408
	str	r0, [fp, #-400]
	str	r1, [fp, #-404]
	str	r2, [fp, #-408]
	str	r3, [fp, #-412]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, [fp, #-400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-404]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #4]
	str	r2, [r3, #-388]
	ldr	r2, [fp, #-408]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-412]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-388]
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC2
	.size	simple_matrix_access, .-simple_matrix_access
	.align	2
	.global	idx
	.syntax unified
	.arm
	.fpu softvfp
	.type	idx, %function
idx:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	idx, .-idx
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	less_simple_matrix_access
	.syntax unified
	.arm
	.fpu softvfp
	.type	less_simple_matrix_access, %function
less_simple_matrix_access:
	@ args = 4, pretend = 0, frame = 496
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #500
	str	r0, [fp, #-496]
	str	r1, [fp, #-500]
	str	r2, [fp, #-504]
	str	r3, [fp, #-508]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r2, [fp, #-496]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-500]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [fp, #4]
	str	r2, [r3, #-388]
	ldr	r3, [fp, #-500]
	add	r0, r3, #1
	ldr	r3, [fp, #4]
	add	r1, r3, #5
	ldr	r2, [fp, #-496]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	str	r1, [r3, #-388]
	sub	r1, fp, #400
	ldr	r2, [fp, #-504]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	str	r3, [fp, #-488]
	sub	r1, fp, #400
	ldr	r2, [fp, #-504]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r2, r1, r3
	ldr	r3, [fp, #-496]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-468]
	ldr	r3, [fp, #-508]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-488]
	add	r3, r2, r3
	ldr	r4, [r3]
	ldr	r3, [fp, #-504]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-468]
	ldr	r3, [fp, #-508]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	idx
	mov	r3, r0
	add	r3, r4, r3
	str	r3, [fp, #-484]
	ldr	r3, [fp, #-484]
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC3
	.size	less_simple_matrix_access, .-less_simple_matrix_access
	.global	numbers
	.data
	.align	2
	.type	numbers, %object
	.size	numbers, 40
numbers:
	.word	4
	.word	1
	.word	66
	.word	1
	.word	3
	.word	343
	.word	141
	.word	812
	.word	19912
	.word	21
	.text
	.align	2
	.global	sum_global_array
	.syntax unified
	.arm
	.fpu softvfp
	.type	sum_global_array, %function
sum_global_array:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L28
.L29:
	ldr	r2, .L31
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L28:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L29
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L32:
	.align	2
.L31:
	.word	numbers
	.size	sum_global_array, .-sum_global_array
	.section	.rodata
	.align	2
.LC4:
	.ascii	"addnums(7) = %d\012\000"
	.align	2
.LC5:
	.ascii	"simple_array_access(3,3) = %d\012\000"
	.align	2
.LC6:
	.ascii	"simple_matrix_access(4,5,4,5,10) = %d\012\000"
	.align	2
.LC7:
	.ascii	"less_simple_matrix_access(4,5,4,5,10) = %d\012\000"
	.align	2
.LC8:
	.ascii	"sum_global_array(10) = %d\012\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
	sub	sp, sp, #8
	mov	r0, #7
	bl	addnums
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L35
	bl	printf
	mov	r1, #3
	mov	r0, #3
	bl	simple_array_access
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L35+4
	bl	printf
	mov	r3, #10
	str	r3, [sp]
	mov	r3, #5
	mov	r2, #4
	mov	r1, #5
	mov	r0, #4
	bl	simple_matrix_access
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L35+8
	bl	printf
	mov	r3, #10
	str	r3, [sp]
	mov	r3, #4
	mov	r2, #4
	mov	r1, #4
	mov	r0, #4
	bl	less_simple_matrix_access
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L35+12
	bl	printf
	mov	r0, #10
	bl	sum_global_array
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L35+16
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
