	.file	"971276.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\nThe sum of the two matrices is"
.LC1:
	.string	"%d\t"
.LC4:
	.string	"\nTime taken: %f milliseconds\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
	lea	r11, -2998272[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1776
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	DWORD PTR -3000048[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -3000044[rbp], 0
	jmp	.L3
.L4:
	call	rand@PLT
	mov	edx, DWORD PTR -3000044[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -3000048[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 500
	add	rdx, rcx
	mov	DWORD PTR -3000016[rbp+rdx*4], eax
	call	rand@PLT
	mov	edx, DWORD PTR -3000044[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -3000048[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 500
	add	rdx, rcx
	mov	DWORD PTR -2000016[rbp+rdx*4], eax
	add	DWORD PTR -3000044[rbp], 1
.L3:
	cmp	DWORD PTR -3000044[rbp], 499
	jle	.L4
	add	DWORD PTR -3000048[rbp], 1
.L2:
	cmp	DWORD PTR -3000048[rbp], 499
	jle	.L5
	call	clock@PLT
	mov	QWORD PTR -3000040[rbp], rax
	mov	DWORD PTR -3000048[rbp], 0
	jmp	.L6
.L9:
	mov	DWORD PTR -3000044[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -3000044[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -3000048[rbp]
	cdqe
	imul	rax, rax, 500
	add	rax, rdx
	mov	edx, DWORD PTR -3000016[rbp+rax*4]
	mov	eax, DWORD PTR -3000044[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -3000048[rbp]
	cdqe
	imul	rax, rax, 500
	add	rax, rcx
	mov	eax, DWORD PTR -2000016[rbp+rax*4]
	add	edx, eax
	mov	eax, DWORD PTR -3000044[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -3000048[rbp]
	cdqe
	imul	rax, rax, 500
	add	rax, rcx
	mov	DWORD PTR -1000016[rbp+rax*4], edx
	add	DWORD PTR -3000044[rbp], 1
.L7:
	cmp	DWORD PTR -3000044[rbp], 499
	jle	.L8
	add	DWORD PTR -3000048[rbp], 1
.L6:
	cmp	DWORD PTR -3000048[rbp], 499
	jle	.L9
	call	clock@PLT
	mov	QWORD PTR -3000032[rbp], rax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -3000048[rbp], 0
	jmp	.L10
.L13:
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -3000044[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -3000044[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -3000048[rbp]
	cdqe
	imul	rax, rax, 500
	add	rax, rdx
	mov	eax, DWORD PTR -1000016[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -3000044[rbp], 1
.L11:
	cmp	DWORD PTR -3000044[rbp], 499
	jle	.L12
	add	DWORD PTR -3000048[rbp], 1
.L10:
	cmp	DWORD PTR -3000048[rbp], 499
	jle	.L13
	mov	rax, QWORD PTR -3000032[rbp]
	sub	rax, QWORD PTR -3000040[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -3000024[rbp], xmm0
	mov	rax, QWORD PTR -3000024[rbp]
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.long	0
	.long	1083129856
	.align 8
.LC3:
	.long	0
	.long	1093567616
	.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	"971276.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012The sum of the two matrices is\000"
	.align	2
.LC1:
	.ascii	"%d\011\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
.LC2:
	.ascii	"\012Time taken: %f milliseconds\012\000"
	.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 = 3000032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #2998272
	sub	sp, sp, #1760
	sub	sp, sp, #4
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1760]
	b	.L2
.L5:
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1756]
	b	.L3
.L4:
	bl	rand
	mov	r1, r0
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r2, [r3, #-1760]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #2998272
	sub	r2, r2, #12
	ldr	r2, [r2, #-1756]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	str	r1, [r3, #-1732]
	bl	rand
	mov	r1, r0
	sub	r3, fp, #1998848
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r2, [r3, #-1760]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #2998272
	sub	r2, r2, #12
	ldr	r2, [r2, #-1756]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	str	r1, [r3, #-1156]
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r3, [r3, #-1756]
	add	r3, r3, #1
	str	r3, [r2, #-1756]
.L3:
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r3, [r3, #-1756]
	cmp	r3, #500
	blt	.L4
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r3, [r3, #-1760]
	add	r3, r3, #1
	str	r3, [r2, #-1760]
.L2:
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r3, [r3, #-1760]
	cmp	r3, #500
	blt	.L5
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r4, r3
	bl	clock
	str	r0, [r4, #-1752]
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1760]
	b	.L6
.L9:
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1756]
	b	.L7
.L8:
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r2, [r3, #-1760]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #2998272
	sub	r2, r2, #12
	ldr	r2, [r2, #-1756]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-1732]
	sub	r3, fp, #1998848
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r2, [r3, #-1760]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #2998272
	sub	r2, r2, #12
	ldr	r2, [r2, #-1756]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #-1156]
	add	r1, r1, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r2, [r3, #-1760]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #2998272
	sub	r2, r2, #12
	ldr	r2, [r2, #-1756]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	str	r1, [r3, #-580]
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r3, [r3, #-1756]
	add	r3, r3, #1
	str	r3, [r2, #-1756]
.L7:
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r3, [r3, #-1756]
	cmp	r3, #500
	blt	.L8
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r3, [r3, #-1760]
	add	r3, r3, #1
	str	r3, [r2, #-1760]
.L6:
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r3, [r3, #-1760]
	cmp	r3, #500
	blt	.L9
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r4, r3
	bl	clock
	str	r0, [r4, #-1748]
	ldr	r0, .L16+4
	bl	puts
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1760]
	b	.L10
.L13:
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1756]
	b	.L11
.L12:
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r2, [r3, #-1760]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #2998272
	sub	r2, r2, #12
	ldr	r2, [r2, #-1756]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-580]
	mov	r1, r3
	ldr	r0, .L16+8
	bl	printf
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r3, [r3, #-1756]
	add	r3, r3, #1
	str	r3, [r2, #-1756]
.L11:
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r3, [r3, #-1756]
	cmp	r3, #500
	blt	.L12
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r3, [r3, #-1760]
	add	r3, r3, #1
	str	r3, [r2, #-1760]
.L10:
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r3, [r3, #-1760]
	cmp	r3, #500
	blt	.L13
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	ldr	r2, [r2, #-1748]
	ldr	r3, [r3, #-1752]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L16+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	sub	r3, r3, #1744
	mov	r4, r3
	mov	r2, #0
	ldr	r3, .L16+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	sub	r3, fp, #2998272
	sub	r3, r3, #12
	sub	r3, r3, #1744
	ldmia	r3, {r2-r3}
	ldr	r0, .L16+20
	bl	printf
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	1083129856
	.word	1093567616
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
