	.file	"extr_pmcstudy.c_microassist_broad.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"CPU_CLK_UNHALTED.THREAD_P"
.LC1:
	.string	"IDQ.MS_UOPS"
.LC2:
	.string	"UOPS_ISSUED.ANY"
.LC3:
	.string	"UOPS_RETIRED.RETIRE_SLOTS"
.LC5:
	.string	"%1.3f"
	.text
	.p2align 4
	.type	microassist_broad, @function
microassist_broad:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, esi
	lea	rsi, .LC0[rip]
	call	find_counter@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	mov	r13, rax
	call	find_counter@PLT
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	mov	r14, rax
	call	find_counter@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	mov	r12, rax
	call	find_counter@PLT
	cmp	ebx, -1
	je	.L2
	mov	rdx, QWORD PTR [r14]
	movsx	rsi, ebx
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR [rdx+rsi*8]
	mov	rdx, QWORD PTR 0[r13]
	movsd	xmm1, QWORD PTR [rax+rsi*8]
	movsd	xmm2, QWORD PTR [rdx+rsi*8]
	mov	rdx, QWORD PTR [r12]
	movsd	xmm3, QWORD PTR [rdx+rsi*8]
.L3:
	mulsd	xmm2, QWORD PTR .LC4[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	lea	rdi, .LC5[rip]
	divsd	xmm1, xmm3
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	divsd	xmm0, xmm2
	mulsd	xmm0, xmm1
	jmp	printf@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	movsd	xmm0, QWORD PTR 8[r14]
	movsd	xmm2, QWORD PTR 8[r13]
	movsd	xmm3, QWORD PTR 8[r12]
	movsd	xmm1, QWORD PTR 8[rax]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	microassist_broad, .-microassist_broad
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC4:
	.long	0
	.long	1074790400
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pmcstudy.c_microassist_broad.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CPU_CLK_UNHALTED.THREAD_P\000"
	.align	2
.LC1:
	.ascii	"IDQ.MS_UOPS\000"
	.align	2
.LC2:
	.ascii	"UOPS_ISSUED.ANY\000"
	.align	2
.LC3:
	.ascii	"UOPS_RETIRED.RETIRE_SLOTS\000"
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
.LC4:
	.ascii	"%1.3f\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	microassist_broad, %function
microassist_broad:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r1
	sub	sp, sp, #4
	ldr	r1, .L6
	mov	r5, r0
	bl	find_counter
	ldr	r1, .L6+4
	mov	r6, r0
	mov	r0, r5
	bl	find_counter
	ldr	r1, .L6+8
	mov	r7, r0
	mov	r0, r5
	bl	find_counter
	mov	r3, r0
	ldr	r1, .L6+12
	mov	r0, r5
	mov	r5, r3
	bl	find_counter
	cmn	r4, #1
	mov	r3, r0
	beq	.L2
	ldr	r0, [r7]
	ldr	r1, [r6]
	ldr	r2, [r5]
	ldr	r3, [r3]
	add	r0, r0, r4, lsl #3
	add	r1, r1, r4, lsl #3
	add	r2, r2, r4, lsl #3
	add	r4, r3, r4, lsl #3
	ldmia	r0, {r10-fp}
	ldmia	r2, {r8-r9}
	ldmia	r1, {r0-r1}
	ldmia	r4, {r6-r7}
.L3:
	mov	r2, #0
	ldr	r3, .L6+16
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r10
	mov	r1, fp
	bl	__aeabi_ddiv
	mov	r2, r8
	mov	r3, r9
	mov	r4, r0
	mov	r5, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L6+20
	add	sp, sp, #4
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	printf
.L2:
	add	fp, r7, #8
	ldmia	fp, {r10-fp}
	add	r1, r6, #8
	ldmia	r1, {r0-r1}
	add	r9, r5, #8
	ldmia	r9, {r8-r9}
	add	r7, r3, #8
	ldmia	r7, {r6-r7}
	b	.L3
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	1074790400
	.word	.LC4
	.size	microassist_broad, .-microassist_broad
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
