	.file	"158022.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC7:
	.string	"The inverse matrix is"
.LC8:
	.string	"The matrix is singular"
	.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
	sub	rsp, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -96[rbp], xmm0
	movss	xmm0, DWORD PTR .LC1[rip]
	movss	DWORD PTR -92[rbp], xmm0
	movss	xmm0, DWORD PTR .LC2[rip]
	movss	DWORD PTR -88[rbp], xmm0
	movss	xmm0, DWORD PTR .LC2[rip]
	movss	DWORD PTR -84[rbp], xmm0
	movss	xmm0, DWORD PTR .LC3[rip]
	movss	DWORD PTR -80[rbp], xmm0
	movss	xmm0, DWORD PTR .LC4[rip]
	movss	DWORD PTR -76[rbp], xmm0
	movss	xmm0, DWORD PTR .LC4[rip]
	movss	DWORD PTR -72[rbp], xmm0
	movss	xmm0, DWORD PTR .LC5[rip]
	movss	DWORD PTR -68[rbp], xmm0
	movss	xmm0, DWORD PTR .LC6[rip]
	movss	DWORD PTR -64[rbp], xmm0
	lea	rcx, -96[rbp]
	lea	rax, -48[rbp]
	mov	edx, 3
	mov	rsi, rcx
	mov	rdi, rax
	call	inversematrix
	mov	DWORD PTR -100[rbp], eax
	cmp	DWORD PTR -100[rbp], 0
	jne	.L2
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	edx, 3
	mov	esi, 3
	mov	rdi, rax
	call	displaythematrix
	jmp	.L3
.L2:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	inversematrix
	.type	inversematrix, @function
inversematrix:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 232
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	eax, edx
	mov	BYTE PTR -132[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movzx	ecx, BYTE PTR -132[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	determinantof
	movd	eax, xmm0
	mov	DWORD PTR -108[rbp], eax
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -108[rbp]
	jp	.L7
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -108[rbp]
	jne	.L7
	mov	eax, -1
	jmp	.L9
.L7:
	mov	rax, rsp
	mov	rbx, rax
	movzx	esi, BYTE PTR -132[rbp]
	movzx	edi, BYTE PTR -132[rbp]
	movzx	eax, sil
	sub	rax, 1
	mov	QWORD PTR -96[rbp], rax
	movzx	eax, sil
	mov	QWORD PTR -256[rbp], rax
	mov	QWORD PTR -248[rbp], 0
	movzx	eax, dil
	sub	rax, 1
	mov	QWORD PTR -104[rbp], rax
	movzx	eax, sil
	mov	r14, rax
	mov	r15d, 0
	movzx	eax, dil
	mov	r12, rax
	mov	r13d, 0
	mov	rdx, r15
	imul	rdx, r12
	mov	rax, r13
	imul	rax, r14
	lea	rcx, [rdx+rax]
	mov	rax, r14
	mul	r12
	add	rcx, rdx
	mov	rdx, rcx
	movzx	eax, sil
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -152[rbp], 0
	movzx	eax, dil
	mov	QWORD PTR -176[rbp], rax
	mov	QWORD PTR -168[rbp], 0
	mov	r8, QWORD PTR -160[rbp]
	mov	r9, QWORD PTR -152[rbp]
	mov	rdx, r9
	mov	r10, QWORD PTR -176[rbp]
	mov	r11, QWORD PTR -168[rbp]
	imul	rdx, r10
	mov	rax, r11
	imul	rax, r8
	lea	rcx, [rdx+rax]
	mov	rax, r8
	mul	r10
	add	rcx, rdx
	mov	rdx, rcx
	movzx	edx, sil
	movzx	eax, dil
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L10:
	cmp	rsp, rdx
	je	.L11
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L10
.L11:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L12
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L12:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -88[rbp], rax
	movzx	eax, BYTE PTR -132[rbp]
	movsx	edx, al
	mov	rax, QWORD PTR -88[rbp]
	mov	rcx, QWORD PTR -128[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	actualcofactormatrix
	movzx	ecx, BYTE PTR -132[rbp]
	movzx	esi, BYTE PTR -132[rbp]
	movzx	eax, cl
	sub	rax, 1
	mov	QWORD PTR -80[rbp], rax
	movzx	eax, cl
	mov	QWORD PTR -272[rbp], rax
	mov	QWORD PTR -264[rbp], 0
	movzx	eax, sil
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	movzx	eax, cl
	mov	QWORD PTR -192[rbp], rax
	mov	QWORD PTR -184[rbp], 0
	movzx	eax, sil
	mov	QWORD PTR -208[rbp], rax
	mov	QWORD PTR -200[rbp], 0
	mov	r10, QWORD PTR -192[rbp]
	mov	r11, QWORD PTR -184[rbp]
	mov	rdx, r11
	mov	r14, QWORD PTR -208[rbp]
	mov	r15, QWORD PTR -200[rbp]
	imul	rdx, r14
	mov	rax, r15
	imul	rax, r10
	lea	rdi, [rdx+rax]
	mov	rax, r10
	mul	r14
	add	rdi, rdx
	mov	rdx, rdi
	movzx	eax, cl
	mov	QWORD PTR -224[rbp], rax
	mov	QWORD PTR -216[rbp], 0
	movzx	eax, sil
	mov	QWORD PTR -240[rbp], rax
	mov	QWORD PTR -232[rbp], 0
	mov	r14, QWORD PTR -224[rbp]
	mov	r15, QWORD PTR -216[rbp]
	mov	rdx, r15
	mov	r8, QWORD PTR -240[rbp]
	mov	r9, QWORD PTR -232[rbp]
	imul	rdx, r8
	mov	rax, r9
	imul	rax, r14
	lea	rdi, [rdx+rax]
	mov	rax, r14
	mul	r8
	add	rdi, rdx
	mov	rdx, rdi
	movzx	edx, cl
	movzx	eax, sil
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L13:
	cmp	rsp, rdx
	je	.L14
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L13
.L14:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L15
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L15:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	movzx	eax, BYTE PTR -132[rbp]
	movsx	ecx, al
	movzx	eax, BYTE PTR -132[rbp]
	movsx	edx, al
	mov	rsi, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	transposematrix
	movzx	eax, BYTE PTR -132[rbp]
	movsx	ecx, al
	movzx	eax, BYTE PTR -132[rbp]
	movsx	edx, al
	movss	xmm0, DWORD PTR .LC0[rip]
	divss	xmm0, DWORD PTR -108[rbp]
	movd	edi, xmm0
	mov	rsi, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -120[rbp]
	movd	xmm0, edi
	mov	rdi, rax
	call	scalarmatmult
	mov	eax, 0
	mov	rsp, rbx
.L9:
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	inversematrix, .-inversematrix
	.globl	determinantof
	.type	determinantof, @function
determinantof:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 104
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -120[rbp], rdi
	mov	eax, edx
	mov	edx, esi
	mov	BYTE PTR -124[rbp], dl
	mov	BYTE PTR -128[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	r15, rax
	cmp	BYTE PTR -124[rbp], 0
	jne	.L19
	movss	xmm0, DWORD PTR .LC0[rip]
	jmp	.L20
.L19:
	cmp	BYTE PTR -124[rbp], 1
	jne	.L21
	mov	rax, QWORD PTR -120[rbp]
	movss	xmm0, DWORD PTR [rax]
	jmp	.L20
.L21:
	movzx	eax, BYTE PTR -124[rbp]
	lea	esi, -1[rax]
	movzx	eax, BYTE PTR -124[rbp]
	lea	edi, -1[rax]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -88[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -144[rbp], rax
	mov	QWORD PTR -136[rbp], 0
	movsx	rax, edi
	sub	rax, 1
	mov	QWORD PTR -80[rbp], rax
	movsx	rax, esi
	mov	r12, rax
	mov	r13d, 0
	movsx	rax, edi
	mov	r10, rax
	mov	r11d, 0
	mov	rdx, r13
	imul	rdx, r10
	mov	rax, r11
	imul	rax, r12
	lea	r14, [rdx+rax]
	mov	rax, r12
	mul	r10
	lea	r10, [r14+rdx]
	mov	rdx, r10
	movsx	rax, esi
	mov	r8, rax
	mov	r9d, 0
	movsx	rax, edi
	mov	rcx, rax
	mov	ebx, 0
	mov	rdx, r9
	imul	rdx, rcx
	mov	rax, rbx
	imul	rax, r8
	lea	r10, [rdx+rax]
	mov	rax, r8
	mul	rcx
	lea	rcx, [r10+rdx]
	mov	rdx, rcx
	movsx	rdx, esi
	movsx	rax, edi
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L22:
	cmp	rsp, rdx
	je	.L23
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L22
.L23:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L24
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L24:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -72[rbp], rax
	pxor	xmm0, xmm0
	movss	DWORD PTR -96[rbp], xmm0
	mov	DWORD PTR -100[rbp], 0
	jmp	.L25
.L28:
	mov	eax, DWORD PTR -100[rbp]
	and	eax, 1
	test	eax, eax
	sete	al
	mov	BYTE PTR -101[rbp], al
	mov	eax, DWORD PTR -100[rbp]
	add	eax, 1
	movsx	ecx, al
	movzx	eax, BYTE PTR -124[rbp]
	movsx	edx, al
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, QWORD PTR -120[rbp]
	mov	r8d, ecx
	mov	ecx, 1
	mov	rdi, rax
	call	cofactormatrix
	mov	QWORD PTR -64[rbp], rax
	cmp	BYTE PTR -101[rbp], 0
	je	.L26
	movss	xmm2, DWORD PTR .LC0[rip]
	movss	DWORD PTR -144[rbp], xmm2
	jmp	.L27
.L26:
	movss	xmm3, DWORD PTR .LC10[rip]
	movss	DWORD PTR -144[rbp], xmm3
.L27:
	movzx	eax, BYTE PTR -128[rbp]
	add	eax, 1
	movzx	edx, al
	movzx	eax, BYTE PTR -124[rbp]
	sub	eax, 1
	movzx	ecx, al
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	determinantof
	mulss	xmm0, DWORD PTR -144[rbp]
	movss	DWORD PTR -92[rbp], xmm0
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, DWORD PTR -92[rbp]
	movss	xmm1, DWORD PTR -96[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -96[rbp], xmm0
	add	DWORD PTR -100[rbp], 1
.L25:
	movzx	eax, BYTE PTR -124[rbp]
	cmp	DWORD PTR -100[rbp], eax
	jl	.L28
	movss	xmm0, DWORD PTR -96[rbp]
.L20:
	mov	rsp, r15
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	determinantof, .-determinantof
	.globl	cofactormatrix
	.type	cofactormatrix, @function
cofactormatrix:
.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	eax, ecx
	mov	ecx, r8d
	mov	BYTE PTR -36[rbp], dl
	mov	BYTE PTR -40[rbp], al
	mov	eax, ecx
	mov	BYTE PTR -44[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	movzx	eax, BYTE PTR -40[rbp]
	sub	eax, 1
	mov	BYTE PTR -40[rbp], al
	movzx	eax, BYTE PTR -44[rbp]
	sub	eax, 1
	mov	BYTE PTR -44[rbp], al
	mov	DWORD PTR -16[rbp], 0
	jmp	.L32
.L39:
	movsx	eax, BYTE PTR -40[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jne	.L33
	movsx	rax, BYTE PTR -36[rbp]
	sal	rax, 2
	add	QWORD PTR -32[rbp], rax
	jmp	.L34
.L33:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L35
.L38:
	movsx	eax, BYTE PTR -44[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jne	.L36
	add	QWORD PTR -32[rbp], 4
	jmp	.L37
.L36:
	mov	rdx, QWORD PTR -32[rbp]
	lea	rax, 4[rdx]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, 4[rax]
	mov	QWORD PTR -24[rbp], rcx
	movss	xmm0, DWORD PTR [rdx]
	movss	DWORD PTR [rax], xmm0
.L37:
	add	DWORD PTR -12[rbp], 1
.L35:
	movsx	eax, BYTE PTR -36[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L38
.L34:
	add	DWORD PTR -16[rbp], 1
.L32:
	movsx	eax, BYTE PTR -36[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L39
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	cofactormatrix, .-cofactormatrix
	.globl	actualcofactormatrix
	.type	actualcofactormatrix, @function
actualcofactormatrix:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 120
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	eax, edx
	mov	BYTE PTR -132[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	r15, rax
	mov	rax, QWORD PTR -120[rbp]
	mov	QWORD PTR -96[rbp], rax
	movsx	eax, BYTE PTR -132[rbp]
	lea	esi, -1[rax]
	movsx	eax, BYTE PTR -132[rbp]
	lea	edi, -1[rax]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -88[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -152[rbp], 0
	movsx	rax, edi
	sub	rax, 1
	mov	QWORD PTR -80[rbp], rax
	movsx	rax, esi
	mov	r12, rax
	mov	r13d, 0
	movsx	rax, edi
	mov	r10, rax
	mov	r11d, 0
	mov	rdx, r13
	imul	rdx, r10
	mov	rax, r11
	imul	rax, r12
	lea	r14, [rdx+rax]
	mov	rax, r12
	mul	r10
	lea	r10, [r14+rdx]
	mov	rdx, r10
	movsx	rax, esi
	mov	r8, rax
	mov	r9d, 0
	movsx	rax, edi
	mov	rcx, rax
	mov	ebx, 0
	mov	rdx, r9
	imul	rdx, rcx
	mov	rax, rbx
	imul	rax, r8
	lea	r10, [rdx+rax]
	mov	rax, r8
	mul	rcx
	lea	rcx, [r10+rdx]
	mov	rdx, rcx
	movsx	rdx, esi
	movsx	rax, edi
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L42:
	cmp	rsp, rdx
	je	.L43
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L42
.L43:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L44
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L44:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -72[rbp], rax
	mov	DWORD PTR -100[rbp], 0
	jmp	.L45
.L50:
	mov	DWORD PTR -104[rbp], 0
	jmp	.L46
.L49:
	mov	edx, DWORD PTR -100[rbp]
	mov	eax, DWORD PTR -104[rbp]
	add	eax, edx
	and	eax, 1
	test	eax, eax
	sete	al
	mov	BYTE PTR -105[rbp], al
	mov	eax, DWORD PTR -104[rbp]
	add	eax, 1
	movsx	edi, al
	mov	eax, DWORD PTR -100[rbp]
	add	eax, 1
	movsx	ecx, al
	movsx	edx, BYTE PTR -132[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, QWORD PTR -128[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	cofactormatrix
	mov	QWORD PTR -64[rbp], rax
	movzx	eax, BYTE PTR -132[rbp]
	sub	eax, 1
	movzx	ecx, al
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	rdi, rax
	call	determinantof
	movaps	xmm1, xmm0
	cmp	BYTE PTR -105[rbp], 0
	je	.L47
	movss	xmm0, DWORD PTR .LC0[rip]
	jmp	.L48
.L47:
	movss	xmm0, DWORD PTR .LC10[rip]
.L48:
	mov	rax, QWORD PTR -120[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -120[rbp], rdx
	mulss	xmm0, xmm1
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -104[rbp], 1
.L46:
	movsx	eax, BYTE PTR -132[rbp]
	cmp	DWORD PTR -104[rbp], eax
	jl	.L49
	add	DWORD PTR -100[rbp], 1
.L45:
	movsx	eax, BYTE PTR -132[rbp]
	cmp	DWORD PTR -100[rbp], eax
	jl	.L50
	mov	rax, QWORD PTR -96[rbp]
	mov	rsp, r15
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	actualcofactormatrix, .-actualcofactormatrix
	.section	.rodata
.LC11:
	.string	"%-10.5f"
	.text
	.globl	displaythematrix
	.type	displaythematrix, @function
displaythematrix:
.LFB5:
	.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	QWORD PTR -24[rbp], rdi
	mov	ecx, esi
	mov	eax, edx
	mov	edx, ecx
	mov	BYTE PTR -28[rbp], dl
	mov	BYTE PTR -32[rbp], al
	mov	BYTE PTR -2[rbp], 0
	jmp	.L54
.L57:
	mov	edi, 10
	call	putchar@PLT
	mov	BYTE PTR -1[rbp], 0
	jmp	.L55
.L56:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -24[rbp], rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, 1
	mov	BYTE PTR -1[rbp], al
.L55:
	movzx	eax, BYTE PTR -1[rbp]
	cmp	al, BYTE PTR -32[rbp]
	jl	.L56
	movzx	eax, BYTE PTR -2[rbp]
	add	eax, 1
	mov	BYTE PTR -2[rbp], al
.L54:
	movzx	eax, BYTE PTR -2[rbp]
	cmp	al, BYTE PTR -28[rbp]
	jl	.L57
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	displaythematrix, .-displaythematrix
	.globl	transposematrix
	.type	transposematrix, @function
transposematrix:
.LFB6:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	eax, ecx
	mov	BYTE PTR -36[rbp], dl
	mov	BYTE PTR -40[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L59
.L62:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L60
.L61:
	movsx	eax, BYTE PTR -40[rbp]
	imul	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	movsx	eax, BYTE PTR -36[rbp]
	imul	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movss	xmm0, DWORD PTR [rdx]
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -12[rbp], 1
.L60:
	movsx	eax, BYTE PTR -40[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L61
	add	DWORD PTR -16[rbp], 1
.L59:
	movsx	eax, BYTE PTR -36[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L62
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	transposematrix, .-transposematrix
	.globl	scalarmatmult
	.type	scalarmatmult, @function
scalarmatmult:
.LFB7:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	movss	DWORD PTR -36[rbp], xmm0
	mov	eax, ecx
	mov	BYTE PTR -40[rbp], dl
	mov	BYTE PTR -44[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L65
.L68:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L66
.L67:
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -32[rbp], rdx
	movss	xmm0, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -24[rbp], rdx
	mulss	xmm0, DWORD PTR -36[rbp]
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -12[rbp], 1
.L66:
	movsx	eax, BYTE PTR -44[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L67
	add	DWORD PTR -16[rbp], 1
.L65:
	movsx	eax, BYTE PTR -40[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L68
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	scalarmatmult, .-scalarmatmult
	.section	.rodata
	.align 4
.LC0:
	.long	1065353216
	.align 4
.LC1:
	.long	1073741824
	.align 4
.LC2:
	.long	1077936128
	.align 4
.LC3:
	.long	1082130432
	.align 4
.LC4:
	.long	1084227584
	.align 4
.LC5:
	.long	1086324736
	.align 4
.LC6:
	.long	1091567616
	.align 4
.LC10:
	.long	-1082130432
	.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	"158022.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"The inverse matrix is\000"
	.align	2
.LC2:
	.ascii	"The matrix is singular\000"
	.align	2
.LC0:
	.word	1065353216
	.word	1073741824
	.word	1077936128
	.word	1077936128
	.word	1082130432
	.word	1084227584
	.word	1084227584
	.word	1086324736
	.word	1091567616
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L6+4
	sub	ip, fp, #80
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	sub	r1, fp, #80
	sub	r3, fp, #44
	mov	r2, #3
	mov	r0, r3
	bl	inversematrix
	str	r0, [fp, #-84]
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L6+8
	bl	printf
	sub	r3, fp, #44
	mov	r2, #3
	mov	r1, #3
	mov	r0, r3
	bl	displaythematrix
	b	.L3
.L2:
	ldr	r0, .L6+12
	bl	printf
.L3:
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.global	__aeabi_fcmpeq
	.global	__aeabi_fdiv
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	inversematrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	inversematrix, %function
inversematrix:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	mov	r3, r2
	strb	r3, [fp, #-61]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldrb	r3, [fp, #-61]	@ zero_extendqisi2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-60]
	bl	determinantof
	str	r0, [fp, #-44]	@ float
	mov	r1, #0
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	mvn	r3, #0
	b	.L11
.L14:
	mov	r3, sp
	mov	r7, r3
	ldrb	ip, [fp, #-61]	@ zero_extendqisi2
	ldrb	lr, [fp, #-61]	@ zero_extendqisi2
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-48]
	and	r0, ip, #255
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, lr
	sub	r3, r3, #1
	str	r3, [fp, #-52]
	and	r4, ip, #255
	mov	r5, #0
	and	r0, lr, #255
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r6, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r6, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	and	r4, ip, #255
	mov	r5, #0
	and	r0, lr, #255
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r6, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r6, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	ldrb	r2, [fp, #-61]	@ zero_extendqisi2
	ldr	r1, [fp, #-60]
	mov	r0, r3
	bl	actualcofactormatrix
	ldrb	ip, [fp, #-61]	@ zero_extendqisi2
	ldrb	lr, [fp, #-61]	@ zero_extendqisi2
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	and	r0, ip, #255
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, lr
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	and	r4, ip, #255
	mov	r5, #0
	and	r0, lr, #255
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r6, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r6, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	and	r4, ip, #255
	mov	r5, #0
	and	r0, lr, #255
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r6, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r6, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-28]
	ldr	r1, [fp, #-40]
	ldrb	r3, [fp, #-61]	@ zero_extendqisi2
	ldrb	r2, [fp, #-61]	@ zero_extendqisi2
	bl	transposematrix
	ldr	r4, [fp, #-28]
	ldr	r1, [fp, #-44]	@ float
	mov	r0, #1065353216
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	ldrb	r2, [fp, #-61]	@ zero_extendqisi2
	ldrb	r3, [fp, #-61]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r1
	mov	r1, r4
	ldr	r0, [fp, #-56]
	bl	scalarmatmult
	mov	r3, #0
	mov	sp, r7
.L11:
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC4
	.size	inversematrix, .-inversematrix
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	determinantof
	.syntax unified
	.arm
	.fpu softvfp
	.type	determinantof, %function
determinantof:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #56
	str	r0, [fp, #-64]
	mov	r3, r1
	strb	r3, [fp, #-65]
	mov	r3, r2
	strb	r3, [fp, #-66]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r7, r3
	ldrb	r3, [fp, #-65]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L18
	mov	r3, #1065353216
	b	.L19
.L18:
	ldrb	r3, [fp, #-65]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L20
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]	@ float
	b	.L19
.L20:
	ldrb	r3, [fp, #-65]	@ zero_extendqisi2
	sub	ip, r3, #1
	ldrb	r3, [fp, #-65]	@ zero_extendqisi2
	sub	lr, r3, #1
	sub	r3, ip, #1
	str	r3, [fp, #-44]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	sub	r3, lr, #1
	str	r3, [fp, #-40]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r6, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r6, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r6, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r6, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-48]	@ float
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L21
.L24:
	ldr	r3, [fp, #-52]
	and	r3, r3, #1
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	strb	r3, [fp, #-53]
	ldr	r0, [fp, #-36]
	ldr	r3, [fp, #-52]
	and	r3, r3, #255
	add	r3, r3, #1
	and	r3, r3, #255
	ldrb	r2, [fp, #-65]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, #1
	ldr	r1, [fp, #-64]
	bl	cofactormatrix
	str	r0, [fp, #-32]
	ldrb	r3, [fp, #-53]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L22
	mov	r4, #1065353216
	b	.L23
.L22:
	ldr	r4, .L27+4
.L23:
	ldr	r0, [fp, #-36]
	ldrb	r3, [fp, #-65]
	sub	r3, r3, #1
	and	r1, r3, #255
	ldrb	r3, [fp, #-66]
	add	r3, r3, #1
	and	r3, r3, #255
	mov	r2, r3
	bl	determinantof
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-28]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-48]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-48]	@ float
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L21:
	ldrb	r3, [fp, #-65]	@ zero_extendqisi2
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L24
	ldr	r3, [fp, #-48]	@ float
.L19:
	mov	sp, r7
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC5
	.word	-1082130432
	.size	determinantof, .-determinantof
	.align	2
	.global	cofactormatrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	cofactormatrix, %function
cofactormatrix:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r1, r2
	mov	r2, r3
	mov	r3, r1
	strb	r3, [fp, #-29]
	mov	r3, r2
	strb	r3, [fp, #-30]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	sub	r3, r3, #1
	strb	r3, [fp, #-30]
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	sub	r3, r3, #1
	strb	r3, [fp, #4]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L30
.L37:
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L31
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	b	.L32
.L31:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L33
.L36:
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L34
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	str	r3, [fp, #-28]
	b	.L35
.L34:
	ldr	r2, [fp, #-28]
	add	r3, r2, #4
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r1, r3, #4
	str	r1, [fp, #-24]
	ldr	r2, [r2]	@ float
	str	r2, [r3]	@ float
.L35:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L33:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L36
.L32:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L30:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L37
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	cofactormatrix, .-cofactormatrix
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	actualcofactormatrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	actualcofactormatrix, %function
actualcofactormatrix:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	mov	r3, r2
	strb	r3, [fp, #-69]
	ldr	r3, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r7, r3
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-44]
	ldrb	r3, [fp, #-69]	@ zero_extendqisi2
	sub	ip, r3, #1
	ldrb	r3, [fp, #-69]	@ zero_extendqisi2
	sub	lr, r3, #1
	sub	r3, ip, #1
	str	r3, [fp, #-40]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	sub	r3, lr, #1
	str	r3, [fp, #-36]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r6, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r6, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r6, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r6, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L40
.L45:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L41
.L44:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	strb	r3, [fp, #-53]
	ldr	r0, [fp, #-32]
	ldr	r3, [fp, #-48]
	and	r3, r3, #255
	add	r3, r3, #1
	and	r1, r3, #255
	ldr	r3, [fp, #-52]
	and	r3, r3, #255
	add	r3, r3, #1
	and	r3, r3, #255
	ldrb	r2, [fp, #-69]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #-68]
	bl	cofactormatrix
	str	r0, [fp, #-28]
	ldr	r0, [fp, #-32]
	ldrb	r3, [fp, #-69]
	sub	r3, r3, #1
	and	r3, r3, #255
	mov	r2, #1
	mov	r1, r3
	bl	determinantof
	mov	r1, r0
	ldrb	r3, [fp, #-53]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L42
	mov	r2, #1065353216
	b	.L43
.L42:
	ldr	r2, .L48+4
.L43:
	ldr	r4, [fp, #-64]
	add	r3, r4, #4
	str	r3, [fp, #-64]
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [r4]	@ float
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L41:
	ldrb	r3, [fp, #-69]	@ zero_extendqisi2
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L44
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L40:
	ldrb	r3, [fp, #-69]	@ zero_extendqisi2
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L45
	ldr	r3, [fp, #-44]
	mov	sp, r7
	ldr	r2, .L48
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC6
	.word	-1082130432
	.size	actualcofactormatrix, .-actualcofactormatrix
	.global	__aeabi_f2d
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%-10.5f\000"
	.text
	.align	2
	.global	displaythematrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	displaythematrix, %function
displaythematrix:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, r1
	strb	r3, [fp, #-17]
	mov	r3, r2
	strb	r3, [fp, #-18]
	mov	r3, #0
	strb	r3, [fp, #-6]
	b	.L51
.L54:
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L52
.L53:
	ldr	r3, [fp, #-16]
	add	r2, r3, #4
	str	r2, [fp, #-16]
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L55
	bl	printf
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L52:
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r2, r3
	bcc	.L53
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-6]
.L51:
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r2, r3
	bcc	.L54
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC7
	.size	displaythematrix, .-displaythematrix
	.align	2
	.global	transposematrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	transposematrix, %function
transposematrix:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r1, r2
	mov	r2, r3
	mov	r3, r1
	strb	r3, [fp, #-29]
	mov	r3, r2
	strb	r3, [fp, #-30]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L58
.L61:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L59
.L60:
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r2, r2, r3
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	ldr	r1, [fp, #-12]
	mul	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldr	r2, [r2]	@ float
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L59:
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L60
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L58:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L61
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	transposematrix, .-transposematrix
	.align	2
	.global	scalarmatmult
	.syntax unified
	.arm
	.fpu softvfp
	.type	scalarmatmult, %function
scalarmatmult:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]	@ float
	strb	r3, [fp, #-41]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L64
.L67:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L65
.L66:
	ldr	r3, [fp, #-36]
	add	r2, r3, #4
	str	r2, [fp, #-36]
	ldr	r2, [r3]	@ float
	ldr	r4, [fp, #-32]
	add	r3, r4, #4
	str	r3, [fp, #-32]
	ldr	r1, [fp, #-40]	@ float
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [r4]	@ float
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L65:
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L66
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L64:
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L67
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	scalarmatmult, .-scalarmatmult
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
