	.file	"42519.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC2:
	.string	"Running benchmark......."
	.align 8
.LC3:
	.string	"\nRan new Shingle with \n      doubles per thr = %d \n      flops per iter  = %d \n      flops per thr   = %d \n      Arith Intensity = %f \n      rep count       = %d \n      thread count    = %d \n"
.LC4:
	.string	"init time: %fs\n"
.LC5:
	.string	"free time: %fs\n"
.LC6:
	.string	"\ncomputation time: %fs\n"
.LC7:
	.string	"computation rate: %e FLOP/s\n"
.LC8:
	.string	"%e\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
	push	rbx
	sub	rsp, 232
	.cfi_offset 3, -24
	mov	DWORD PTR -228[rbp], edi
	mov	QWORD PTR -240[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -220[rbp], 0
	mov	QWORD PTR -176[rbp], 1
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -160[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -152[rbp], xmm0
	lea	rdx, -64[rbp]
	mov	rcx, QWORD PTR -240[rbp]
	mov	eax, DWORD PTR -228[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	get_input
	mov	rax, QWORD PTR -64[rbp]
	mov	edi, eax
	call	omp_set_num_threads@PLT
	call	omp_get_wtime@PLT
	movq	rax, xmm0
	mov	QWORD PTR -144[rbp], rax
	movsd	xmm0, QWORD PTR -144[rbp]
	movsd	QWORD PTR -136[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	sal	rax, 3
	mov	rsi, rax
	mov	edi, 64
	call	aligned_alloc@PLT
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -192[rbp], 0
	jmp	.L2
.L5:
	mov	rax, QWORD PTR -56[rbp]
	sal	rax, 3
	mov	rdx, QWORD PTR -192[rbp]
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -128[rbp]
	lea	rbx, [rcx+rdx]
	mov	rsi, rax
	mov	edi, 64
	call	aligned_alloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	QWORD PTR -184[rbp], 0
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -192[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -184[rbp]
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -184[rbp], 1
.L3:
	mov	rax, QWORD PTR -56[rbp]
	cmp	QWORD PTR -184[rbp], rax
	jb	.L4
	add	QWORD PTR -192[rbp], 1
.L2:
	mov	rax, QWORD PTR -64[rbp]
	cmp	QWORD PTR -192[rbp], rax
	jb	.L5
	movzx	eax, BYTE PTR -40[rbp]
	test	al, al
	je	.L6
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L6:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	call	omp_get_wtime@PLT
	movq	rax, xmm0
	mov	QWORD PTR -120[rbp], rax
	movsd	xmm0, QWORD PTR -120[rbp]
	movsd	QWORD PTR -112[rbp], xmm0
	call	omp_get_thread_num@PLT
	cdqe
	mov	QWORD PTR -104[rbp], rax
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -104[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	lea	r8, -200[rbp]
	lea	rdi, -208[rbp]
	lea	rcx, -216[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	call	kernel@PLT
	call	omp_get_wtime@PLT
	movq	rax, xmm0
	mov	QWORD PTR -96[rbp], rax
	movsd	xmm0, QWORD PTR -96[rbp]
	movsd	QWORD PTR -88[rbp], xmm0
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	free@PLT
	call	omp_get_wtime@PLT
	movq	rax, xmm0
	mov	QWORD PTR -80[rbp], rax
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -72[rbp], xmm0
	mov	rax, QWORD PTR -216[rbp]
	test	rax, rax
	js	.L7
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L8
.L7:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L8:
	mov	rax, QWORD PTR -208[rbp]
	test	rax, rax
	js	.L9
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, rax
	jmp	.L10
.L9:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rdx
	movapd	xmm2, xmm1
	addsd	xmm2, xmm1
.L10:
	mov	rax, QWORD PTR -200[rbp]
	test	rax, rax
	js	.L11
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	jmp	.L12
.L11:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rdx
	addsd	xmm1, xmm1
.L12:
	mulsd	xmm1, xmm2
	divsd	xmm0, xmm1
	movsd	QWORD PTR -160[rbp], xmm0
	mov	rax, QWORD PTR -216[rbp]
	test	rax, rax
	js	.L13
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	jmp	.L14
.L13:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
.L14:
	mov	rax, QWORD PTR -64[rbp]
	test	rax, rax
	js	.L15
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L16
.L15:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L16:
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -56[rbp]
	test	rax, rax
	js	.L17
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L18
.L17:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L18:
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -48[rbp]
	test	rax, rax
	js	.L19
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L20
.L19:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L20:
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -96[rbp]
	subsd	xmm1, QWORD PTR -112[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -152[rbp], xmm0
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -216[rbp]
	imul	rax, rdx
	mov	QWORD PTR -168[rbp], rax
	movzx	eax, BYTE PTR -40[rbp]
	test	al, al
	je	.L21
	mov	r8, QWORD PTR -64[rbp]
	mov	rdi, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, QWORD PTR -160[rbp]
	mov	rcx, QWORD PTR -168[rbp]
	mov	r9, r8
	mov	r8, rdi
	movq	xmm0, rsi
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -120[rbp]
	subsd	xmm0, QWORD PTR -144[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -80[rbp]
	subsd	xmm0, QWORD PTR -88[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -96[rbp]
	subsd	xmm0, QWORD PTR -112[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -152[rbp]
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L22
.L21:
	mov	rax, QWORD PTR -152[rbp]
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
.L22:
	mov	eax, DWORD PTR -220[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC9:
	.string	"-h"
.LC10:
	.string	"--help"
.LC11:
	.string	"shingles options:"
	.align 8
.LC12:
	.string	"--threads [] -t [] .......... for number of threads"
	.align 8
.LC13:
	.string	"--size [] -s [] ............. for number of doubles to use per thread"
	.align 8
.LC14:
	.string	"--repititions [] -r [] ...... for number of repititions to perform"
	.align 8
.LC15:
	.string	"--quiet -q .................. to remove output other than computation time"
.LC16:
	.string	"-t"
.LC17:
	.string	"--threads"
	.align 8
.LC18:
	.string	"Please include a thread count with that option"
.LC19:
	.string	"-s"
.LC20:
	.string	"--size"
	.align 8
.LC21:
	.string	"Please include a number of doubles with that option"
.LC22:
	.string	"-r"
.LC23:
	.string	"--repititions"
	.align 8
.LC24:
	.string	"Please include a number of reps with that option"
.LC25:
	.string	"-q"
.LC26:
	.string	"--quiet"
	.text
	.globl	get_input
	.type	get_input, @function
get_input:
.LFB7:
	.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 -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -4[rbp], 1
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], 4
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rax], 308224
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 16[rax], 5
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR 24[rax], 1
	mov	DWORD PTR -4[rbp], 1
	jmp	.L26
.L40:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L27
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L28
.L27:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L28:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L29
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L30
.L29:
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jge	.L31
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L30
.L31:
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L30:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L32
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L33
.L32:
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jge	.L34
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L33
.L34:
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L33:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L35
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L36
.L35:
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jge	.L37
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L36
.L37:
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L36:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L38
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L39
.L38:
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR 24[rax], 0
.L39:
	add	DWORD PTR -4[rbp], 1
.L26:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L40
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get_input, .-get_input
	.section	.rodata
	.align 8
.LC1:
	.long	-350469331
	.long	1058682594
	.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	"42519.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Running benchmark.......\000"
	.global	__aeabi_ui2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_dsub
	.align	2
.LC1:
	.ascii	"\012Ran new Shingle with \012      doubles per thr "
	.ascii	"= %d \012      flops per iter  = %d \012      flops"
	.ascii	" per thr   = %d \012      Arith Intensity = %f \012"
	.ascii	"      rep count       = %d \012      thread count  "
	.ascii	"  = %d \012\000"
	.align	2
.LC2:
	.ascii	"init time: %fs\012\000"
	.align	2
.LC3:
	.ascii	"free time: %fs\012\000"
	.align	2
.LC4:
	.ascii	"\012computation time: %fs\012\000"
	.align	2
.LC5:
	.ascii	"computation rate: %e FLOP/s\012\000"
	.align	2
.LC6:
	.ascii	"%e\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 = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #168
	str	r0, [fp, #-168]
	str	r1, [fp, #-172]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-144]
	mov	r3, #1
	str	r3, [fp, #-140]
	mov	r3, #0
	str	r3, [fp, #-164]
	mov	r3, #0
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-160]
	mov	r3, #0
	str	r3, [fp, #-156]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-124]
	str	r3, [fp, #-120]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	sub	r3, fp, #40
	mov	r2, r3
	ldr	r1, [fp, #-172]
	ldr	r0, [fp, #-168]
	bl	get_input
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	omp_set_num_threads
	bl	omp_get_wtime
	str	r0, [fp, #-108]
	str	r1, [fp, #-104]
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	mov	r1, r3
	mov	r0, #64
	bl	aligned_alloc
	mov	r3, r0
	str	r3, [fp, #-132]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L2
.L5:
	ldr	r3, [fp, #-36]
	lsl	r1, r3, #3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-132]
	add	r4, r2, r3
	mov	r0, #64
	bl	aligned_alloc
	mov	r3, r0
	str	r3, [r4]
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L3
.L4:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-132]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	add	r1, r2, r3
	ldr	r2, .L11+4
	ldr	r3, .L11+8
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L3:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-148]
	cmp	r2, r3
	bcc	.L4
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L2:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-152]
	cmp	r2, r3
	bcc	.L5
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	ldr	r0, .L11+12
	bl	puts
.L6:
	ldr	r3, .L11+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	omp_get_wtime
	str	r0, [fp, #-92]
	str	r1, [fp, #-88]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	bl	omp_get_thread_num
	mov	r3, r0
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-132]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r1, [fp, #-36]
	ldr	r2, [fp, #-32]
	sub	ip, fp, #164
	sub	r3, fp, #156
	str	r3, [sp, #4]
	sub	r3, fp, #160
	str	r3, [sp]
	mov	r3, ip
	bl	kernel
	bl	omp_get_wtime
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r0, [fp, #-132]
	bl	free
	bl	omp_get_wtime
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-164]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-160]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-156]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-124]
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-164]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-36]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-164]
	mul	r3, r2, r3
	str	r3, [fp, #-136]
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L7
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-164]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-40]
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r3, [fp, #-136]
	mov	r2, r0
	ldr	r0, .L11+20
	bl	printf
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L11+24
	bl	printf
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L11+28
	bl	printf
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L11+32
	bl	printf
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	ldr	r0, .L11+36
	bl	printf
	b	.L8
.L7:
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	ldr	r0, .L11+40
	bl	printf
.L8:
	ldr	r3, [fp, #-144]
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC7
	.word	-350469331
	.word	1058682594
	.word	.LC0
	.word	stdout
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.section	.rodata
	.align	2
.LC8:
	.ascii	"-h\000"
	.align	2
.LC9:
	.ascii	"--help\000"
	.align	2
.LC10:
	.ascii	"shingles options:\000"
	.align	2
.LC11:
	.ascii	"--threads [] -t [] .......... for number of threads"
	.ascii	"\000"
	.align	2
.LC12:
	.ascii	"--size [] -s [] ............. for number of doubles"
	.ascii	" to use per thread\000"
	.align	2
.LC13:
	.ascii	"--repititions [] -r [] ...... for number of repitit"
	.ascii	"ions to perform\000"
	.align	2
.LC14:
	.ascii	"--quiet -q .................. to remove output othe"
	.ascii	"r than computation time\000"
	.align	2
.LC15:
	.ascii	"-t\000"
	.align	2
.LC16:
	.ascii	"--threads\000"
	.align	2
.LC17:
	.ascii	"Please include a thread count with that option\000"
	.align	2
.LC18:
	.ascii	"-s\000"
	.align	2
.LC19:
	.ascii	"--size\000"
	.align	2
.LC20:
	.ascii	"Please include a number of doubles with that option"
	.ascii	"\000"
	.align	2
.LC21:
	.ascii	"-r\000"
	.align	2
.LC22:
	.ascii	"--repititions\000"
	.align	2
.LC23:
	.ascii	"Please include a number of reps with that option\000"
	.align	2
.LC24:
	.ascii	"-q\000"
	.align	2
.LC25:
	.ascii	"--quiet\000"
	.text
	.align	2
	.global	get_input
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_input, %function
get_input:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	mov	r2, #4
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r2, .L29
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	mov	r2, #5
	str	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	mov	r2, #1
	strb	r2, [r3, #12]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L14
.L28:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+4
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+8
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
.L15:
	ldr	r0, .L29+12
	bl	puts
	ldr	r0, .L29+16
	bl	puts
	ldr	r0, .L29+20
	bl	puts
	ldr	r0, .L29+24
	bl	puts
	ldr	r0, .L29+28
	bl	puts
	mov	r0, #1
	bl	exit
.L16:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+32
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+36
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
.L17:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bge	.L19
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	b	.L18
.L19:
	ldr	r0, .L29+40
	bl	puts
	mov	r0, #1
	bl	exit
.L18:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+44
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+48
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
.L20:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bge	.L22
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3, #4]
	b	.L21
.L22:
	ldr	r0, .L29+52
	bl	puts
	mov	r0, #1
	bl	exit
.L21:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+56
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+60
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
.L23:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bge	.L25
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3, #8]
	b	.L24
.L25:
	ldr	r0, .L29+64
	bl	puts
	mov	r0, #1
	bl	exit
.L24:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+68
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+72
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
.L26:
	ldr	r3, [fp, #-24]
	mov	r2, #0
	strb	r2, [r3, #12]
.L27:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L14:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L28
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	308224
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	get_input, .-get_input
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
