	.file	"301050.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter the numbers 1 to 16 in any order :"
	.align 8
.LC1:
	.string	"%d %d %d %d%d %d %d %d%d %d %d %d%d %d %d %d"
	.align 8
.LC2:
	.string	"\n\t%2d %2d %2d %2d\n\t%2d %2d %2d %2d\n\t%2d %2d %2d %2d\n\t%2d %2d %2d %2d\n\n"
.LC3:
	.string	"Row sums:\t%3d%3d%3d%3d\n"
.LC4:
	.string	"Column sums:\t%3d%3d%3d%3d\n"
.LC5:
	.string	"Diagonal sums:\t%3d%3d\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
	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	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	r8, -104[rbp]
	lea	rdi, -108[rbp]
	lea	rcx, -112[rbp]
	lea	rdx, -116[rbp]
	lea	rax, -120[rbp]
	sub	rsp, 8
	lea	rsi, -60[rbp]
	push	rsi
	lea	rsi, -64[rbp]
	push	rsi
	lea	rsi, -68[rbp]
	push	rsi
	lea	rsi, -72[rbp]
	push	rsi
	lea	rsi, -76[rbp]
	push	rsi
	lea	rsi, -80[rbp]
	push	rsi
	lea	rsi, -84[rbp]
	push	rsi
	lea	rsi, -88[rbp]
	push	rsi
	lea	rsi, -92[rbp]
	push	rsi
	lea	rsi, -96[rbp]
	push	rsi
	lea	rsi, -100[rbp]
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	rsp, 96
	mov	edx, DWORD PTR -60[rbp]
	mov	r15d, DWORD PTR -64[rbp]
	mov	r14d, DWORD PTR -68[rbp]
	mov	r13d, DWORD PTR -72[rbp]
	mov	r12d, DWORD PTR -76[rbp]
	mov	ebx, DWORD PTR -80[rbp]
	mov	r11d, DWORD PTR -84[rbp]
	mov	r10d, DWORD PTR -88[rbp]
	mov	r9d, DWORD PTR -92[rbp]
	mov	r8d, DWORD PTR -96[rbp]
	mov	edi, DWORD PTR -100[rbp]
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -132[rbp], eax
	mov	ecx, DWORD PTR -108[rbp]
	mov	DWORD PTR -136[rbp], ecx
	mov	ecx, DWORD PTR -112[rbp]
	mov	esi, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -120[rbp]
	sub	rsp, 8
	push	rdx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r10
	push	r9
	push	r8
	push	rdi
	mov	r9d, DWORD PTR -132[rbp]
	mov	r8d, DWORD PTR -136[rbp]
	mov	edx, esi
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 96
	mov	edx, DWORD PTR -72[rbp]
	mov	eax, DWORD PTR -68[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -64[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -60[rbp]
	lea	esi, [rdx+rax]
	mov	edx, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -84[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -80[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -76[rbp]
	lea	ecx, [rdx+rax]
	mov	edx, DWORD PTR -104[rbp]
	mov	eax, DWORD PTR -100[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -96[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -92[rbp]
	add	edx, eax
	mov	edi, DWORD PTR -120[rbp]
	mov	eax, DWORD PTR -116[rbp]
	add	edi, eax
	mov	eax, DWORD PTR -112[rbp]
	add	edi, eax
	mov	eax, DWORD PTR -108[rbp]
	add	eax, edi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -92[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -76[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -60[rbp]
	lea	esi, [rdx+rax]
	mov	edx, DWORD PTR -112[rbp]
	mov	eax, DWORD PTR -96[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -80[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -64[rbp]
	lea	ecx, [rdx+rax]
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -100[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -68[rbp]
	add	edx, eax
	mov	edi, DWORD PTR -120[rbp]
	mov	eax, DWORD PTR -104[rbp]
	add	edi, eax
	mov	eax, DWORD PTR -88[rbp]
	add	edi, eax
	mov	eax, DWORD PTR -72[rbp]
	add	eax, edi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -96[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -72[rbp]
	add	edx, eax
	mov	ecx, DWORD PTR -120[rbp]
	mov	eax, DWORD PTR -100[rbp]
	add	ecx, eax
	mov	eax, DWORD PTR -80[rbp]
	add	ecx, eax
	mov	eax, DWORD PTR -60[rbp]
	add	eax, ecx
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"301050.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the numbers 1 to 16 in any order :\000"
	.align	2
.LC1:
	.ascii	"%d %d %d %d%d %d %d %d%d %d %d %d%d %d %d %d\000"
	.align	2
.LC2:
	.ascii	"\012\011%2d %2d %2d %2d\012\011%2d %2d %2d %2d\012\011"
	.ascii	"%2d %2d %2d %2d\012\011%2d %2d %2d %2d\012\012\000"
	.align	2
.LC3:
	.ascii	"Row sums:\011%3d%3d%3d%3d\012\000"
	.align	2
.LC4:
	.ascii	"Column sums:\011%3d%3d%3d%3d\012\000"
	.align	2
.LC5:
	.ascii	"Diagonal sums:\011%3d%3d\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #148
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	ldr	r0, .L4+4
	bl	puts
	sub	r0, fp, #96
	sub	r2, fp, #100
	sub	r1, fp, #104
	sub	r3, fp, #44
	str	r3, [sp, #48]
	sub	r3, fp, #48
	str	r3, [sp, #44]
	sub	r3, fp, #52
	str	r3, [sp, #40]
	sub	r3, fp, #56
	str	r3, [sp, #36]
	sub	r3, fp, #60
	str	r3, [sp, #32]
	sub	r3, fp, #64
	str	r3, [sp, #28]
	sub	r3, fp, #68
	str	r3, [sp, #24]
	sub	r3, fp, #72
	str	r3, [sp, #20]
	sub	r3, fp, #76
	str	r3, [sp, #16]
	sub	r3, fp, #80
	str	r3, [sp, #12]
	sub	r3, fp, #84
	str	r3, [sp, #8]
	sub	r3, fp, #88
	str	r3, [sp, #4]
	sub	r3, fp, #92
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L4+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-104]
	str	r3, [fp, #-112]
	ldr	r2, [fp, #-100]
	str	r2, [fp, #-116]
	ldr	r0, [fp, #-96]
	str	r0, [fp, #-120]
	ldr	r1, [fp, #-92]
	ldr	r0, [fp, #-88]
	ldr	ip, [fp, #-84]
	ldr	lr, [fp, #-80]
	ldr	r4, [fp, #-76]
	ldr	r5, [fp, #-72]
	ldr	r6, [fp, #-68]
	ldr	r7, [fp, #-64]
	ldr	r8, [fp, #-60]
	ldr	r9, [fp, #-56]
	ldr	r10, [fp, #-52]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-44]
	str	r3, [sp, #48]
	str	r2, [sp, #44]
	str	r10, [sp, #40]
	str	r9, [sp, #36]
	str	r8, [sp, #32]
	str	r7, [sp, #28]
	str	r6, [sp, #24]
	str	r5, [sp, #20]
	str	r4, [sp, #16]
	str	lr, [sp, #12]
	str	ip, [sp, #8]
	str	r0, [sp, #4]
	str	r1, [sp]
	ldr	r3, [fp, #-120]
	ldr	r2, [fp, #-116]
	ldr	r1, [fp, #-112]
	ldr	r0, .L4+12
	bl	printf
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-100]
	add	r2, r2, r3
	ldr	r3, [fp, #-96]
	add	r2, r2, r3
	ldr	r3, [fp, #-92]
	add	r1, r2, r3
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-84]
	add	r2, r2, r3
	ldr	r3, [fp, #-80]
	add	r2, r2, r3
	ldr	r3, [fp, #-76]
	add	r0, r2, r3
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-64]
	add	r2, r2, r3
	ldr	r3, [fp, #-60]
	add	ip, r2, r3
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L4+16
	bl	printf
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-88]
	add	r2, r2, r3
	ldr	r3, [fp, #-72]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	add	r1, r2, r3
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-84]
	add	r2, r2, r3
	ldr	r3, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-52]
	add	r0, r2, r3
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-80]
	add	r2, r2, r3
	ldr	r3, [fp, #-64]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	add	ip, r2, r3
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-76]
	add	r2, r2, r3
	ldr	r3, [fp, #-60]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L4+20
	bl	printf
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-84]
	add	r2, r2, r3
	ldr	r3, [fp, #-64]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	add	r1, r2, r3
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-80]
	add	r2, r2, r3
	ldr	r3, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r0, .L4+24
	bl	printf
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
