	.file	"178886.c"
	.intel_syntax noprefix
	.text
	.globl	src1
	.bss
	.align 32
	.type	src1, @object
	.size	src1, 1073741824
src1:
	.zero	1073741824
	.globl	src2
	.align 32
	.type	src2, @object
	.size	src2, 1073741824
src2:
	.zero	1073741824
	.globl	dest
	.align 32
	.type	dest, @object
	.size	dest, 1073741824
dest:
	.zero	1073741824
	.section	.rodata
	.align 8
.LC1:
	.string	"Row Major indexing took %f seconds.\n"
	.align 8
.LC2:
	.string	"Column Major indexing took %f seconds.\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, 48
	mov	DWORD PTR -40[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 14
	add	rax, rdx
	lea	rcx, 0[0+rax*4]
	lea	rdx, src2[rip]
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 14
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, src2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	sal	rdx, 14
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, src1[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 14
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, src1[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	sal	rdx, 14
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, dest[rip]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -36[rbp], 1
.L3:
	cmp	DWORD PTR -36[rbp], 16383
	jle	.L4
	add	DWORD PTR -40[rbp], 1
.L2:
	cmp	DWORD PTR -40[rbp], 16383
	jle	.L5
	call	clock@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -40[rbp], 0
	jmp	.L6
.L9:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 14
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, src1[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	sal	rdx, 14
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, dest[rip]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -36[rbp], 1
.L7:
	cmp	DWORD PTR -36[rbp], 16383
	jle	.L8
	add	DWORD PTR -40[rbp], 1
.L6:
	cmp	DWORD PTR -40[rbp], 16383
	jle	.L9
	call	clock@PLT
	mov	QWORD PTR -24[rbp], rax
	call	clock@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -36[rbp], 0
	jmp	.L10
.L13:
	mov	DWORD PTR -40[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 14
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, src2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	sal	rdx, 14
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, dest[rip]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -40[rbp], 1
.L11:
	cmp	DWORD PTR -40[rbp], 16383
	jle	.L12
	add	DWORD PTR -36[rbp], 1
.L10:
	cmp	DWORD PTR -36[rbp], 16383
	jle	.L13
	call	clock@PLT
	mov	QWORD PTR -8[rbp], rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, QWORD PTR -24[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -32[rbp]
	subsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC1[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, QWORD PTR -8[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -16[rbp]
	subsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.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	"178886.c"
	.text
	.comm	src1,1073741824,4
	.comm	src2,1073741824,4
	.comm	dest,1073741824,4
	.global	__aeabi_i2d
	.global	__aeabi_dsub
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Row Major indexing took %f seconds.\012\000"
	.align	2
.LC1:
	.ascii	"Column Major indexing took %f seconds.\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L3
.L4:
	ldr	r1, .L15
	ldr	r3, [fp, #-36]
	lsl	r2, r3, #14
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-36]
	str	r2, [r1, r3, lsl #2]
	ldr	r1, .L15
	ldr	r3, [fp, #-36]
	lsl	r2, r3, #14
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [r1, r3, lsl #2]
	ldr	r0, .L15+4
	ldr	r3, [fp, #-36]
	lsl	r1, r3, #14
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	str	r2, [r0, r3, lsl #2]
	ldr	r1, .L15+4
	ldr	r3, [fp, #-36]
	lsl	r2, r3, #14
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [r1, r3, lsl #2]
	ldr	r0, .L15+8
	ldr	r3, [fp, #-36]
	lsl	r1, r3, #14
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	str	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L3:
	ldr	r3, [fp, #-32]
	cmp	r3, #16384
	blt	.L4
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L2:
	ldr	r3, [fp, #-36]
	cmp	r3, #16384
	blt	.L5
	bl	clock
	str	r0, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L6
.L9:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L7
.L8:
	ldr	r1, .L15+4
	ldr	r3, [fp, #-36]
	lsl	r2, r3, #14
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [r1, r3, lsl #2]
	ldr	r0, .L15+8
	ldr	r3, [fp, #-36]
	lsl	r1, r3, #14
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	str	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L7:
	ldr	r3, [fp, #-32]
	cmp	r3, #16384
	blt	.L8
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L6:
	ldr	r3, [fp, #-36]
	cmp	r3, #16384
	blt	.L9
	bl	clock
	str	r0, [fp, #-24]
	bl	clock
	str	r0, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L10
.L13:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L11
.L12:
	ldr	r1, .L15
	ldr	r3, [fp, #-36]
	lsl	r2, r3, #14
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [r1, r3, lsl #2]
	ldr	r0, .L15+8
	ldr	r3, [fp, #-36]
	lsl	r1, r3, #14
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	str	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L11:
	ldr	r3, [fp, #-36]
	cmp	r3, #16384
	blt	.L12
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L10:
	ldr	r3, [fp, #-32]
	cmp	r3, #16384
	blt	.L13
	bl	clock
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-28]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L15+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L15+16
	bl	printf
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L15+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L15+20
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L16:
	.align	2
.L15:
	.word	src2
	.word	src1
	.word	dest
	.word	1093567616
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
