	.file	"69362.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter the order of a square matrix "
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"Enter the elements of the matrix in row-wise "
.LC3:
	.string	"%f"
.LC6:
	.string	"Enter the b vector in Ax = b"
.LC7:
	.string	"\nThe solution is\n"
.LC8:
	.string	"%f\n"
	.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, 496
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -492[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR -488[rbp], 1
	jmp	.L2
.L8:
	mov	DWORD PTR -484[rbp], 1
	jmp	.L3
.L7:
	mov	eax, DWORD PTR -492[rbp]
	cmp	DWORD PTR -484[rbp], eax
	jg	.L4
	lea	rcx, -416[rbp]
	mov	eax, DWORD PTR -484[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -488[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	sal	rax, 2
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -484[rbp]
	sub	eax, DWORD PTR -488[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -492[rbp]
	cmp	edx, eax
	jne	.L6
	mov	eax, DWORD PTR -484[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -488[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	movss	xmm0, DWORD PTR .LC4[rip]
	movss	DWORD PTR -416[rbp+rax*4], xmm0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -484[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -488[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	pxor	xmm0, xmm0
	movss	DWORD PTR -416[rbp+rax*4], xmm0
.L5:
	add	DWORD PTR -484[rbp], 1
.L3:
	mov	eax, DWORD PTR -492[rbp]
	add	eax, eax
	cmp	DWORD PTR -484[rbp], eax
	jle	.L7
	add	DWORD PTR -488[rbp], 1
.L2:
	mov	eax, DWORD PTR -492[rbp]
	cmp	DWORD PTR -488[rbp], eax
	jle	.L8
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	DWORD PTR -488[rbp], 1
	jmp	.L9
.L10:
	lea	rdx, -464[rbp]
	mov	eax, DWORD PTR -488[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -488[rbp], 1
.L9:
	mov	eax, DWORD PTR -492[rbp]
	cmp	DWORD PTR -488[rbp], eax
	jle	.L10
	mov	DWORD PTR -480[rbp], 1
	jmp	.L11
.L19:
	mov	eax, DWORD PTR -480[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 416
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -472[rbp], xmm0
	mov	DWORD PTR -484[rbp], 1
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -484[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -480[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	movss	xmm0, DWORD PTR -416[rbp+rax*4]
	divss	xmm0, DWORD PTR -472[rbp]
	mov	eax, DWORD PTR -484[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -480[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	movss	DWORD PTR -416[rbp+rax*4], xmm0
	add	DWORD PTR -484[rbp], 1
.L12:
	mov	eax, DWORD PTR -492[rbp]
	add	eax, eax
	cmp	DWORD PTR -484[rbp], eax
	jle	.L13
	mov	DWORD PTR -488[rbp], 1
	jmp	.L14
.L18:
	mov	eax, DWORD PTR -488[rbp]
	cmp	eax, DWORD PTR -480[rbp]
	je	.L15
	mov	eax, DWORD PTR -480[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -488[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	movss	xmm0, DWORD PTR -416[rbp+rax*4]
	movss	DWORD PTR -468[rbp], xmm0
	mov	DWORD PTR -484[rbp], 1
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -484[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -488[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	movss	xmm0, DWORD PTR -416[rbp+rax*4]
	mov	eax, DWORD PTR -484[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -480[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	movss	xmm1, DWORD PTR -416[rbp+rax*4]
	mulss	xmm1, DWORD PTR -468[rbp]
	subss	xmm0, xmm1
	mov	eax, DWORD PTR -484[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -488[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	movss	DWORD PTR -416[rbp+rax*4], xmm0
	add	DWORD PTR -484[rbp], 1
.L16:
	mov	eax, DWORD PTR -492[rbp]
	add	eax, eax
	cmp	DWORD PTR -484[rbp], eax
	jle	.L17
.L15:
	add	DWORD PTR -488[rbp], 1
.L14:
	mov	eax, DWORD PTR -492[rbp]
	cmp	DWORD PTR -488[rbp], eax
	jle	.L18
	add	DWORD PTR -480[rbp], 1
.L11:
	mov	eax, DWORD PTR -492[rbp]
	cmp	DWORD PTR -480[rbp], eax
	jle	.L19
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	DWORD PTR -488[rbp], 1
	jmp	.L20
.L23:
	pxor	xmm0, xmm0
	movss	DWORD PTR -476[rbp], xmm0
	mov	eax, DWORD PTR -492[rbp]
	add	eax, 1
	mov	DWORD PTR -484[rbp], eax
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -484[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -488[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	movss	xmm1, DWORD PTR -416[rbp+rax*4]
	mov	edx, DWORD PTR -492[rbp]
	mov	eax, DWORD PTR -484[rbp]
	sub	eax, edx
	cdqe
	movss	xmm0, DWORD PTR -464[rbp+rax*4]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -476[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -476[rbp], xmm0
	add	DWORD PTR -484[rbp], 1
.L21:
	mov	eax, DWORD PTR -492[rbp]
	add	eax, eax
	cmp	DWORD PTR -484[rbp], eax
	jle	.L22
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -476[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -488[rbp], 1
.L20:
	mov	eax, DWORD PTR -492[rbp]
	cmp	DWORD PTR -488[rbp], eax
	jle	.L23
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC4:
	.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	"69362.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the order of a square matrix \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Enter the elements of the matrix in row-wise \000"
	.align	2
.LC3:
	.ascii	"%f\000"
	.align	2
.LC4:
	.ascii	"Enter the b vector in Ax = b\000"
	.global	__aeabi_fdiv
	.global	__aeabi_fmul
	.global	__aeabi_fsub
	.align	2
.LC5:
	.ascii	"\012The solution is\012\000"
	.global	__aeabi_fadd
	.global	__aeabi_f2d
	.align	2
.LC6:
	.ascii	"%f\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 472
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #476
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L26+4
	bl	puts
	sub	r3, fp, #484
	mov	r1, r3
	ldr	r0, .L26+8
	bl	__isoc99_scanf
	ldr	r0, .L26+12
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-480]
	b	.L2
.L8:
	mov	r3, #1
	str	r3, [fp, #-476]
	b	.L3
.L7:
	ldr	r3, [fp, #-484]
	ldr	r2, [fp, #-476]
	cmp	r2, r3
	bgt	.L4
	sub	r1, fp, #416
	ldr	r2, [fp, #-480]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-476]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L26+16
	bl	__isoc99_scanf
	b	.L5
.L4:
	ldr	r2, [fp, #-476]
	ldr	r3, [fp, #-480]
	sub	r2, r2, r3
	ldr	r3, [fp, #-484]
	cmp	r2, r3
	bne	.L6
	ldr	r2, [fp, #-480]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-476]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #1065353216
	str	r2, [r3, #-404]	@ float
	b	.L5
.L6:
	ldr	r2, [fp, #-480]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-476]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-404]	@ float
.L5:
	ldr	r3, [fp, #-476]
	add	r3, r3, #1
	str	r3, [fp, #-476]
.L3:
	ldr	r3, [fp, #-484]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-476]
	cmp	r2, r3
	ble	.L7
	ldr	r3, [fp, #-480]
	add	r3, r3, #1
	str	r3, [fp, #-480]
.L2:
	ldr	r3, [fp, #-484]
	ldr	r2, [fp, #-480]
	cmp	r2, r3
	ble	.L8
	ldr	r0, .L26+20
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-480]
	b	.L9
.L10:
	sub	r2, fp, #456
	ldr	r3, [fp, #-480]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L26+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-480]
	add	r3, r3, #1
	str	r3, [fp, #-480]
.L9:
	ldr	r3, [fp, #-484]
	ldr	r2, [fp, #-480]
	cmp	r2, r3
	ble	.L10
	mov	r3, #1
	str	r3, [fp, #-472]
	b	.L11
.L19:
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #404
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-464]	@ float
	mov	r3, #1
	str	r3, [fp, #-476]
	b	.L12
.L13:
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-476]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-404]	@ float
	ldr	r1, [fp, #-464]	@ float
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-476]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	str	r1, [r3, #-404]	@ float
	ldr	r3, [fp, #-476]
	add	r3, r3, #1
	str	r3, [fp, #-476]
.L12:
	ldr	r3, [fp, #-484]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-476]
	cmp	r2, r3
	ble	.L13
	mov	r3, #1
	str	r3, [fp, #-480]
	b	.L14
.L18:
	ldr	r2, [fp, #-480]
	ldr	r3, [fp, #-472]
	cmp	r2, r3
	beq	.L15
	ldr	r2, [fp, #-480]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-472]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-404]	@ float
	str	r3, [fp, #-460]	@ float
	mov	r3, #1
	str	r3, [fp, #-476]
	b	.L16
.L17:
	ldr	r2, [fp, #-480]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-476]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r4, [r3, #-404]	@ float
	ldr	r2, [fp, #-472]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-476]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-404]	@ float
	ldr	r1, [fp, #-460]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	ldr	r2, [fp, #-480]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-476]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	str	r1, [r3, #-404]	@ float
	ldr	r3, [fp, #-476]
	add	r3, r3, #1
	str	r3, [fp, #-476]
.L16:
	ldr	r3, [fp, #-484]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-476]
	cmp	r2, r3
	ble	.L17
.L15:
	ldr	r3, [fp, #-480]
	add	r3, r3, #1
	str	r3, [fp, #-480]
.L14:
	ldr	r3, [fp, #-484]
	ldr	r2, [fp, #-480]
	cmp	r2, r3
	ble	.L18
	ldr	r3, [fp, #-472]
	add	r3, r3, #1
	str	r3, [fp, #-472]
.L11:
	ldr	r3, [fp, #-484]
	ldr	r2, [fp, #-472]
	cmp	r2, r3
	ble	.L19
	ldr	r0, .L26+24
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-480]
	b	.L20
.L23:
	mov	r3, #0
	str	r3, [fp, #-468]	@ float
	ldr	r3, [fp, #-484]
	add	r3, r3, #1
	str	r3, [fp, #-476]
	b	.L21
.L22:
	ldr	r2, [fp, #-480]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-476]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r0, [r3, #-404]	@ float
	ldr	r3, [fp, #-484]
	ldr	r2, [fp, #-476]
	sub	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-444]	@ float
	mov	r1, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-468]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-468]	@ float
	ldr	r3, [fp, #-476]
	add	r3, r3, #1
	str	r3, [fp, #-476]
.L21:
	ldr	r3, [fp, #-484]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-476]
	cmp	r2, r3
	ble	.L22
	ldr	r0, [fp, #-468]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L26+28
	bl	printf
	ldr	r3, [fp, #-480]
	add	r3, r3, #1
	str	r3, [fp, #-480]
.L20:
	ldr	r3, [fp, #-484]
	ldr	r2, [fp, #-480]
	cmp	r2, r3
	ble	.L23
	mov	r3, #0
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
