	.file	"737358.c"
	.intel_syntax noprefix
	.text
	.globl	i
	.bss
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	l
	.align 4
	.type	l, @object
	.size	l, 4
l:
	.zero	4
	.globl	m
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	det
	.align 4
	.type	det, @object
	.size	det, 4
det:
	.zero	4
	.globl	m1
	.align 32
	.type	m1, @object
	.size	m1, 36
m1:
	.zero	36
	.globl	m2
	.align 32
	.type	m2, @object
	.size	m2, 36
m2:
	.zero	36
	.globl	aux
	.align 16
	.type	aux, @object
	.size	aux, 16
aux:
	.zero	16
	.section	.rodata
.LC0:
	.string	"Construia a matriz 3x3:"
.LC1:
	.string	"linha %d - coluna %d : "
.LC2:
	.string	"%d"
	.text
	.globl	buildMatrix
	.type	buildMatrix, @function
buildMatrix:
.LFB6:
	.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
	mov	DWORD PTR i[rip], 0
	jmp	.L2
.L5:
	mov	DWORD PTR j[rip], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR j[rip]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, m1[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L3:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 2
	jle	.L4
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L2:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L5
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	buildMatrix, .-buildMatrix
	.section	.rodata
.LC3:
	.string	"\nMatriz informada: "
.LC4:
	.string	"%d "
	.text
	.globl	showM1
	.type	showM1, @function
showM1:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L7
.L10:
	mov	DWORD PTR j[rip], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, m1[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L8:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 2
	jle	.L9
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L7:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L10
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	showM1, .-showM1
	.globl	calcDetBySarrus
	.type	calcDetBySarrus, @function
calcDetBySarrus:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, DWORD PTR m1[rip]
	mov	eax, DWORD PTR m1[rip+16]
	imul	edx, eax
	mov	eax, DWORD PTR m1[rip+32]
	mov	ecx, edx
	imul	ecx, eax
	mov	edx, DWORD PTR m1[rip+4]
	mov	eax, DWORD PTR m1[rip+20]
	imul	edx, eax
	mov	eax, DWORD PTR m1[rip+24]
	imul	eax, edx
	add	ecx, eax
	mov	edx, DWORD PTR m1[rip+8]
	mov	eax, DWORD PTR m1[rip+12]
	imul	edx, eax
	mov	eax, DWORD PTR m1[rip+28]
	imul	eax, edx
	add	eax, ecx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR det[rip], xmm0
	movss	xmm0, DWORD PTR det[rip]
	mov	edx, DWORD PTR m1[rip+8]
	mov	eax, DWORD PTR m1[rip+16]
	imul	edx, eax
	mov	eax, DWORD PTR m1[rip+24]
	mov	ecx, edx
	imul	ecx, eax
	mov	edx, DWORD PTR m1[rip]
	mov	eax, DWORD PTR m1[rip+20]
	imul	edx, eax
	mov	eax, DWORD PTR m1[rip+28]
	imul	eax, edx
	add	ecx, eax
	mov	edx, DWORD PTR m1[rip+4]
	mov	eax, DWORD PTR m1[rip+12]
	imul	edx, eax
	mov	eax, DWORD PTR m1[rip+32]
	imul	eax, edx
	add	eax, ecx
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	subss	xmm0, xmm1
	movss	DWORD PTR det[rip], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	calcDetBySarrus, .-calcDetBySarrus
	.globl	buildCofactorsMatrix
	.type	buildCofactorsMatrix, @function
buildCofactorsMatrix:
.LFB9:
	.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 i[rip], 0
	jmp	.L13
.L23:
	mov	DWORD PTR j[rip], 0
	jmp	.L14
.L22:
	mov	DWORD PTR m[rip], 0
	mov	DWORD PTR k[rip], 0
	jmp	.L15
.L20:
	mov	DWORD PTR n[rip], 0
	mov	DWORD PTR l[rip], 0
	jmp	.L16
.L18:
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	je	.L17
	mov	edx, DWORD PTR l[rip]
	mov	eax, DWORD PTR j[rip]
	cmp	edx, eax
	je	.L17
	mov	eax, DWORD PTR k[rip]
	mov	edx, DWORD PTR l[rip]
	mov	ecx, DWORD PTR m[rip]
	mov	esi, DWORD PTR n[rip]
	movsx	rdi, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, m1[rip]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rsi, esi
	movsx	rdx, ecx
	add	rdx, rdx
	add	rdx, rsi
	lea	rcx, 0[0+rdx*4]
	lea	rdx, aux[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L17:
	mov	eax, DWORD PTR l[rip]
	add	eax, 1
	mov	DWORD PTR l[rip], eax
.L16:
	mov	eax, DWORD PTR l[rip]
	cmp	eax, 2
	jle	.L18
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	je	.L19
	mov	eax, DWORD PTR m[rip]
	add	eax, 1
	mov	DWORD PTR m[rip], eax
.L19:
	mov	eax, DWORD PTR k[rip]
	add	eax, 1
	mov	DWORD PTR k[rip], eax
.L15:
	mov	eax, DWORD PTR k[rip]
	cmp	eax, 2
	jle	.L20
	mov	edx, DWORD PTR aux[rip]
	mov	eax, DWORD PTR aux[rip+12]
	mov	ecx, edx
	imul	ecx, eax
	mov	edx, DWORD PTR aux[rip+8]
	mov	eax, DWORD PTR aux[rip+4]
	mov	esi, edx
	imul	esi, eax
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	sub	ecx, esi
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, m2[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR i[rip]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR j[rip]
	add	eax, edx
	add	eax, 1
	and	eax, 1
	test	eax, eax
	je	.L21
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, m2[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	neg	ecx
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, m2[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L21:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L14:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 2
	jle	.L22
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L13:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L23
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	buildCofactorsMatrix, .-buildCofactorsMatrix
	.section	.rodata
.LC5:
	.string	"\nMatriz Inversa: "
.LC7:
	.string	"%.2f "
	.text
	.globl	showM2
	.type	showM2, @function
showM2:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L25
.L28:
	mov	DWORD PTR j[rip], 0
	jmp	.L26
.L27:
	movss	xmm2, DWORD PTR det[rip]
	movss	xmm0, DWORD PTR .LC6[rip]
	movaps	xmm1, xmm0
	divss	xmm1, xmm2
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, m2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	mulss	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L26:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 2
	jle	.L27
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L25:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L28
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	showM2, .-showM2
	.section	.rodata
	.align 8
.LC9:
	.string	"\nO determinante desta matriz e zero, entao a matriz nao pode ser invertida \n "
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	buildMatrix
	mov	eax, 0
	call	showM1
	mov	eax, 0
	call	calcDetBySarrus
	movss	xmm0, DWORD PTR det[rip]
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jp	.L30
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jne	.L30
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L32
.L30:
	mov	eax, 0
	call	buildCofactorsMatrix
	mov	eax, 0
	call	showM2
.L32:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC6:
	.long	1065353216
	.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	"737358.c"
	.text
	.comm	i,4,4
	.comm	j,4,4
	.comm	k,4,4
	.comm	l,4,4
	.comm	m,4,4
	.comm	n,4,4
	.comm	det,4,4
	.comm	m1,36,4
	.comm	m2,36,4
	.comm	aux,16,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Construia a matriz 3x3:\000"
	.align	2
.LC1:
	.ascii	"linha %d - coluna %d : \000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.text
	.align	2
	.global	buildMatrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	buildMatrix, %function
buildMatrix:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L6
	bl	puts
	ldr	r3, .L6+4
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L5:
	ldr	r3, .L6+8
	mov	r2, #0
	str	r2, [r3]
	b	.L3
.L4:
	ldr	r3, .L6+4
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r3, .L6+8
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r0, .L6+12
	bl	printf
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, .L6+8
	ldr	r1, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r1
	lsl	r3, r3, #2
	ldr	r2, .L6+16
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L6+20
	bl	__isoc99_scanf
	ldr	r3, .L6+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L6+8
	str	r3, [r2]
.L3:
	ldr	r3, .L6+8
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L4
	ldr	r3, .L6+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L6+4
	str	r3, [r2]
.L2:
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L5
	nop
	nop
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	i
	.word	j
	.word	.LC1
	.word	m1
	.word	.LC2
	.size	buildMatrix, .-buildMatrix
	.section	.rodata
	.align	2
.LC3:
	.ascii	"\012Matriz informada: \000"
	.align	2
.LC4:
	.ascii	"%d \000"
	.text
	.align	2
	.global	showM1
	.syntax unified
	.arm
	.fpu softvfp
	.type	showM1, %function
showM1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L13
	bl	puts
	ldr	r3, .L13+4
	mov	r2, #0
	str	r2, [r3]
	b	.L9
.L12:
	ldr	r3, .L13+8
	mov	r2, #0
	str	r2, [r3]
	b	.L10
.L11:
	ldr	r3, .L13+4
	ldr	r2, [r3]
	ldr	r3, .L13+8
	ldr	r1, [r3]
	ldr	r0, .L13+12
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L13+16
	bl	printf
	ldr	r3, .L13+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L13+8
	str	r3, [r2]
.L10:
	ldr	r3, .L13+8
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L11
	mov	r0, #10
	bl	putchar
	ldr	r3, .L13+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L13+4
	str	r3, [r2]
.L9:
	ldr	r3, .L13+4
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L12
	nop
	nop
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC3
	.word	i
	.word	j
	.word	m1
	.word	.LC4
	.size	showM1, .-showM1
	.global	__aeabi_i2f
	.global	__aeabi_fsub
	.align	2
	.global	calcDetBySarrus
	.syntax unified
	.arm
	.fpu softvfp
	.type	calcDetBySarrus, %function
calcDetBySarrus:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r3, .L16
	ldr	r3, [r3]
	ldr	r2, .L16
	ldr	r2, [r2, #16]
	mul	r3, r2, r3
	ldr	r2, .L16
	ldr	r2, [r2, #32]
	mul	r2, r3, r2
	ldr	r3, .L16
	ldr	r3, [r3, #4]
	ldr	r1, .L16
	ldr	r1, [r1, #20]
	mul	r3, r1, r3
	ldr	r1, .L16
	ldr	r1, [r1, #24]
	mul	r3, r1, r3
	add	r2, r2, r3
	ldr	r3, .L16
	ldr	r3, [r3, #8]
	ldr	r1, .L16
	ldr	r1, [r1, #12]
	mul	r3, r1, r3
	ldr	r1, .L16
	ldr	r1, [r1, #28]
	mul	r3, r1, r3
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r2, .L16+4
	str	r3, [r2]	@ float
	ldr	r3, .L16+4
	ldr	r4, [r3]	@ float
	ldr	r3, .L16
	ldr	r3, [r3, #8]
	ldr	r2, .L16
	ldr	r2, [r2, #16]
	mul	r3, r2, r3
	ldr	r2, .L16
	ldr	r2, [r2, #24]
	mul	r2, r3, r2
	ldr	r3, .L16
	ldr	r3, [r3]
	ldr	r1, .L16
	ldr	r1, [r1, #20]
	mul	r3, r1, r3
	ldr	r1, .L16
	ldr	r1, [r1, #28]
	mul	r3, r1, r3
	add	r2, r2, r3
	ldr	r3, .L16
	ldr	r3, [r3, #4]
	ldr	r1, .L16
	ldr	r1, [r1, #12]
	mul	r3, r1, r3
	ldr	r1, .L16
	ldr	r1, [r1, #32]
	mul	r3, r1, r3
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L16+4
	str	r2, [r3]	@ float
	nop
	pop	{r4, r5, fp, pc}
.L17:
	.align	2
.L16:
	.word	m1
	.word	det
	.size	calcDetBySarrus, .-calcDetBySarrus
	.align	2
	.global	buildCofactorsMatrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	buildCofactorsMatrix, %function
buildCofactorsMatrix:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L30
	mov	r2, #0
	str	r2, [r3]
	b	.L19
.L29:
	ldr	r3, .L30+4
	mov	r2, #0
	str	r2, [r3]
	b	.L20
.L28:
	ldr	r3, .L30+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L30+12
	mov	r2, #0
	str	r2, [r3]
	b	.L21
.L26:
	ldr	r3, .L30+16
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L30+20
	mov	r2, #0
	str	r2, [r3]
	b	.L22
.L24:
	ldr	r3, .L30+12
	ldr	r2, [r3]
	ldr	r3, .L30
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L23
	ldr	r3, .L30+20
	ldr	r2, [r3]
	ldr	r3, .L30+4
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L23
	ldr	r3, .L30+12
	ldr	r2, [r3]
	ldr	r3, .L30+20
	ldr	ip, [r3]
	ldr	r3, .L30+8
	ldr	r0, [r3]
	ldr	r3, .L30+16
	ldr	r1, [r3]
	ldr	lr, .L30+24
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, ip
	ldr	r2, [lr, r3, lsl #2]
	ldr	ip, .L30+28
	lsl	r3, r0, #1
	add	r3, r3, r1
	str	r2, [ip, r3, lsl #2]
	ldr	r3, .L30+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30+16
	str	r3, [r2]
.L23:
	ldr	r3, .L30+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30+20
	str	r3, [r2]
.L22:
	ldr	r3, .L30+20
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L24
	ldr	r3, .L30+12
	ldr	r2, [r3]
	ldr	r3, .L30
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L25
	ldr	r3, .L30+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30+8
	str	r3, [r2]
.L25:
	ldr	r3, .L30+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30+12
	str	r3, [r2]
.L21:
	ldr	r3, .L30+12
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L26
	ldr	r3, .L30+28
	ldr	r3, [r3]
	ldr	r2, .L30+28
	ldr	r2, [r2, #12]
	mul	r1, r2, r3
	ldr	r3, .L30+28
	ldr	r3, [r3, #8]
	ldr	r2, .L30+28
	ldr	r2, [r2, #4]
	mul	r3, r2, r3
	ldr	r2, .L30
	ldr	r2, [r2]
	ldr	r0, .L30+4
	ldr	r0, [r0]
	sub	r1, r1, r3
	ldr	ip, .L30+32
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r0
	str	r1, [ip, r3, lsl #2]
	ldr	r3, .L30
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, .L30+4
	ldr	r3, [r3]
	add	r3, r2, r3
	add	r3, r3, #1
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L27
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, .L30+4
	ldr	r1, [r3]
	ldr	r0, .L30+32
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	ldr	r2, .L30
	ldr	r2, [r2]
	ldr	r1, .L30+4
	ldr	r0, [r1]
	rsb	r1, r3, #0
	ldr	ip, .L30+32
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r0
	str	r1, [ip, r3, lsl #2]
.L27:
	ldr	r3, .L30+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30+4
	str	r3, [r2]
.L20:
	ldr	r3, .L30+4
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L28
	ldr	r3, .L30
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30
	str	r3, [r2]
.L19:
	ldr	r3, .L30
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L29
	nop
	nop
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	i
	.word	j
	.word	m
	.word	k
	.word	n
	.word	l
	.word	m1
	.word	aux
	.word	m2
	.size	buildCofactorsMatrix, .-buildCofactorsMatrix
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\012Matriz Inversa: \000"
	.global	__aeabi_fdiv
	.global	__aeabi_fmul
	.global	__aeabi_f2d
	.align	2
.LC6:
	.ascii	"%.2f \000"
	.text
	.align	2
	.global	showM2
	.syntax unified
	.arm
	.fpu softvfp
	.type	showM2, %function
showM2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r0, .L37
	bl	puts
	ldr	r3, .L37+4
	mov	r2, #0
	str	r2, [r3]
	b	.L33
.L36:
	ldr	r3, .L37+8
	mov	r2, #0
	str	r2, [r3]
	b	.L34
.L35:
	ldr	r3, .L37+12
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, #1065353216
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r4, r3
	ldr	r3, .L37+4
	ldr	r2, [r3]
	ldr	r3, .L37+8
	ldr	r1, [r3]
	ldr	r0, .L37+16
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L37+20
	bl	printf
	ldr	r3, .L37+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L37+8
	str	r3, [r2]
.L34:
	ldr	r3, .L37+8
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L35
	mov	r0, #10
	bl	putchar
	ldr	r3, .L37+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L37+4
	str	r3, [r2]
.L33:
	ldr	r3, .L37+4
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L36
	nop
	nop
	pop	{r4, r5, fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC5
	.word	i
	.word	j
	.word	det
	.word	m2
	.word	.LC6
	.size	showM2, .-showM2
	.global	__aeabi_fcmpeq
	.section	.rodata
	.align	2
.LC7:
	.ascii	"\012O determinante desta matriz e zero, entao a mat"
	.ascii	"riz nao pode ser invertida \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
	bl	buildMatrix
	bl	showM1
	bl	calcDetBySarrus
	ldr	r3, .L46
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L45
	ldr	r0, .L46+4
	bl	printf
	b	.L42
.L45:
	bl	buildCofactorsMatrix
	bl	showM2
.L42:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	det
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
