	.file	"extr_stat-shadow.c_print_stalled_cycles_backend.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"backend cycles idle"
.LC3:
	.string	"%7.2f%%"
	.text
	.p2align 4
	.type	print_stalled_cycles_backend, @function
print_stalled_cycles_backend:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	rdi, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rcx
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	movsd	QWORD PTR 8[rsp], xmm0
	call	evsel_context@PLT
	mov	esi, DWORD PTR STAT_CYCLES[rip]
	mov	ecx, r13d
	mov	rdi, r12
	mov	edx, eax
	call	runtime_stat_avg@PLT
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L5
	jne	.L5
	pxor	xmm0, xmm0
.L2:
	mov	edi, DWORD PTR GRC_STALLED_CYCLES_BE[rip]
	movsd	QWORD PTR 8[rsp], xmm0
	call	get_ratio_color@PLT
	mov	esi, DWORD PTR [rbx]
	movsd	xmm0, QWORD PTR 8[rsp]
	mov	rdi, rbp
	mov	rdx, rax
	mov	rax, QWORD PTR 8[rbx]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	lea	r8, .LC2[rip]
	pop	rbx
	.cfi_def_cfa_offset 32
	lea	rcx, .LC3[rip]
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	movsd	xmm2, QWORD PTR 8[rsp]
	divsd	xmm2, xmm0
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm2
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	print_stalled_cycles_backend, .-print_stalled_cycles_backend
	.comm	STAT_CYCLES,4,4
	.comm	GRC_STALLED_CYCLES_BE,4,4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1079574528
	.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_stat-shadow.c_print_stalled_cycles_backend.c"
	.text
	.global	__aeabi_dcmpeq
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%7.2f%%\000"
	.align	2
.LC1:
	.ascii	"backend cycles idle\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_stalled_cycles_backend, %function
print_stalled_cycles_backend:
	@ args = 16, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	add	r9, sp, #32
	ldmia	r9, {r8-r9}
	mov	r4, r0
	mov	r0, r2
	mov	r6, r1
	ldr	r7, [sp, #44]
	ldr	r5, [sp, #40]
	bl	evsel_context
	ldr	r1, .L9
	mov	r2, r0
	mov	r3, r6
	mov	r0, r7
	ldr	r1, [r1]
	bl	runtime_stat_avg
	mov	r2, #0
	mov	r3, #0
	mov	r6, r0
	mov	r7, r1
	bl	__aeabi_dcmpeq
	cmp	r0, #0
	movne	r6, #0
	movne	r7, #0
	bne	.L2
	mov	r2, r6
	mov	r3, r7
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_ddiv
	mov	r2, #0
	ldr	r3, .L9+4
	bl	__aeabi_dmul
	mov	r6, r0
	mov	r7, r1
.L2:
	ldr	r1, .L9+8
	mov	r2, r6
	mov	r3, r7
	ldr	r0, [r1]
	bl	get_ratio_color
	str	r6, [sp, #40]
	str	r7, [sp, #44]
	ldr	r3, .L9+12
	mov	r2, r0
	str	r3, [sp, #32]
	ldm	r5, {r1, lr}
	mov	r0, r4
	mov	ip, lr
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L9+16
	bx	ip
.L10:
	.align	2
.L9:
	.word	STAT_CYCLES
	.word	1079574528
	.word	GRC_STALLED_CYCLES_BE
	.word	.LC1
	.word	.LC0
	.size	print_stalled_cycles_backend, .-print_stalled_cycles_backend
	.comm	STAT_CYCLES,4,4
	.comm	GRC_STALLED_CYCLES_BE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
