	.file	"896365.c"
	.intel_syntax noprefix
	.text
	.globl	chiterations
	.bss
	.align 8
	.type	chiterations, @object
	.size	chiterations, 8
chiterations:
	.zero	8
	.globl	chloads
	.align 8
	.type	chloads, @object
	.size	chloads, 8
chloads:
	.zero	8
	.globl	chstores
	.align 8
	.type	chstores, @object
	.size	chstores, 8
chstores:
	.zero	8
	.globl	chflops
	.align 8
	.type	chflops, @object
	.size	chflops, 8
chflops:
	.zero	8
	.globl	ref
	.data
	.align 16
	.type	ref, @object
	.size	ref, 16
ref:
	.long	1717986918
	.long	1075996262
	.long	-1717986918
	.long	1075157401
	.globl	coarse
	.bss
	.align 32
	.type	coarse, @object
	.size	coarse, 8000
coarse:
	.zero	8000
	.section	.rodata
	.align 8
.LC2:
	.string	"chflops =%lu chloads =%lu chstores=%lu\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, 80
	movsd	xmm1, QWORD PTR ref[rip]
	movsd	xmm0, QWORD PTR ref[rip+8]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	mov	DWORD PTR -48[rbp], 9
	mov	DWORD PTR -44[rbp], 9
	mov	DWORD PTR -72[rbp], 0
	mov	DWORD PTR -68[rbp], 0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -68[rbp]
	movsd	xmm0, QWORD PTR ref[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -40[rbp], eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR ref[rip+8]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -36[rbp], eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	mov	DWORD PTR -76[rbp], 0
	jmp	.L2
.L11:
	mov	eax, DWORD PTR -48[rbp]
	add	eax, 1
	sub	eax, DWORD PTR -56[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 1
	sub	eax, DWORD PTR -52[rbp]
	imul	eax, edx
	cdqe
	mov	QWORD PTR chiterations[rip], rax
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -72[rbp], eax
	jmp	.L3
.L10:
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -68[rbp], eax
	jmp	.L4
.L9:
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 9
	mov	DWORD PTR -20[rbp], 9
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	sub	eax, DWORD PTR -32[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	sub	eax, DWORD PTR -28[rbp]
	imul	eax, edx
	cdqe
	mov	QWORD PTR chiterations[rip], rax
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -64[rbp], eax
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -60[rbp], eax
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -64[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -60[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rcx
	sal	rdx, 2
	add	rdx, rcx
	add	rdx, rdx
	add	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*8]
	lea	rax, coarse[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movapd	xmm1, xmm0
	addsd	xmm1, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -60[rbp]
	add	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm1, xmm0
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -64[rbp]
	add	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -76[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	add	DWORD PTR -60[rbp], 1
.L6:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jge	.L7
	add	DWORD PTR -64[rbp], 1
.L5:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jge	.L8
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -76[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -72[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rcx
	sal	rdx, 2
	add	rdx, rcx
	add	rdx, rdx
	add	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*8]
	lea	rax, coarse[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -68[rbp], 1
.L4:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jge	.L9
	add	DWORD PTR -72[rbp], 1
.L3:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jge	.L10
	add	DWORD PTR -76[rbp], 1
.L2:
	cmp	DWORD PTR -76[rbp], 9
	jle	.L11
	mov	rcx, QWORD PTR chstores[rip]
	mov	rdx, QWORD PTR chloads[rip]
	mov	rax, QWORD PTR chflops[rip]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	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	1072693248
	.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	"896365.c"
	.text
	.global	chiterations
	.bss
	.align	2
	.type	chiterations, %object
	.size	chiterations, 4
chiterations:
	.space	4
	.global	chloads
	.align	2
	.type	chloads, %object
	.size	chloads, 4
chloads:
	.space	4
	.global	chstores
	.align	2
	.type	chstores, %object
	.size	chstores, 4
chstores:
	.space	4
	.global	chflops
	.align	2
	.type	chflops, %object
	.size	chflops, 4
chflops:
	.space	4
	.global	ref
	.data
	.align	3
	.type	ref, %object
	.size	ref, 16
ref:
	.word	1717986918
	.word	1075996262
	.word	2576980378
	.word	1075157401
	.comm	coarse,8000,8
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_i2d
	.global	__aeabi_d2iz
	.global	__aeabi_dadd
	.section	.rodata
	.align	2
.LC0:
	.ascii	"chflops =%lu chloads =%lu chstores=%lu\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #80
	ldr	r3, .L13
	ldmia	r3, {r0-r1}
	ldr	r3, .L13
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L13+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #9
	str	r3, [fp, #-60]
	mov	r3, #9
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-80]
	ldr	r0, [fp, #-80]
	bl	__aeabi_i2d
	ldr	r3, .L13
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-52]
	ldr	r0, [fp, #-84]
	bl	__aeabi_i2d
	ldr	r3, .L13
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L2
.L11:
	ldr	r3, [fp, #-60]
	add	r2, r3, #1
	ldr	r3, [fp, #-68]
	sub	r3, r2, r3
	ldr	r2, [fp, #-56]
	add	r1, r2, #1
	ldr	r2, [fp, #-64]
	sub	r2, r1, r2
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, .L13+8
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-84]
	b	.L3
.L10:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-80]
	b	.L4
.L9:
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #9
	str	r3, [fp, #-36]
	mov	r3, #9
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	ldr	r3, [fp, #-44]
	sub	r3, r2, r3
	ldr	r2, [fp, #-32]
	add	r1, r2, #1
	ldr	r2, [fp, #-40]
	sub	r2, r1, r2
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, .L13+8
	str	r2, [r3]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-76]
	b	.L5
.L8:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-72]
	b	.L6
.L7:
	ldr	r0, .L13+12
	ldr	r3, [fp, #-72]
	ldr	r1, [fp, #-76]
	mov	r2, r3
	lsl	r2, r2, #2
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-76]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-76]
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-88]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L6:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	bge	.L7
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L5:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	bge	.L8
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	lr, .L13+12
	ldr	r3, [fp, #-84]
	ldr	ip, [fp, #-80]
	mov	r2, r3
	lsl	r2, r2, #2
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, ip
	lsl	ip, r3, #2
	add	r3, r3, ip
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, lr, r3
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L4:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	bge	.L9
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L3:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	bge	.L10
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L2:
	ldr	r3, [fp, #-88]
	cmp	r3, #9
	ble	.L11
	ldr	r3, .L13+16
	ldr	r1, [r3]
	ldr	r3, .L13+20
	ldr	r2, [r3]
	ldr	r3, .L13+24
	ldr	r3, [r3]
	ldr	r0, .L13+28
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L14:
	.align	2
.L13:
	.word	ref
	.word	1072693248
	.word	chiterations
	.word	coarse
	.word	chflops
	.word	chloads
	.word	chstores
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
