	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function br_mispredictib
LCPI0_0:
	.quad	0x4010000000000000              ## double 4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_br_mispredictib:                       ## @br_mispredictib
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	callq	_find_counter
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_find_counter
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_find_counter
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_find_counter
	movq	%rax, %rbx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_find_counter
	movq	%rax, %r12
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_find_counter
	movq	%rax, %r13
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_find_counter
	movq	%rax, %r14
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	callq	_find_counter
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	$-1, %ecx
	je	LBB0_2
## %bb.1:
	movslq	%ecx, %rcx
	shlq	$3, %rcx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rdx
	addq	%rcx, %rdx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi), %rsi
	addq	%rcx, %rsi
	movq	(%rbx), %rbx
	addq	%rcx, %rbx
	movq	(%r12), %r12
	addq	%rcx, %r12
	movq	(%r13), %r13
	addq	%rcx, %r13
	movq	(%rax), %rax
	addq	%rcx, %rax
	movq	(%r14), %r14
	addq	%rcx, %r14
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	(%rdi), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	addq	$8, %rdx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	addq	$8, %rsi
	addq	$8, %rbx
	addq	$8, %r12
	addq	$8, %r13
	addq	$8, %rax
	addq	$8, %r14
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	$8, %rcx
LBB0_3:
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movsd	(%rdx), %xmm1                   ## xmm1 = mem[0],zero
	movsd	(%rsi), %xmm2                   ## xmm2 = mem[0],zero
	addsd	%xmm1, %xmm2
	addsd	(%rbx), %xmm2
	subsd	(%r13), %xmm0
	movsd	LCPI0_0(%rip), %xmm3            ## xmm3 = mem[0],zero
	movsd	(%rax), %xmm4                   ## xmm4 = mem[0],zero
	mulsd	%xmm3, %xmm4
	addsd	%xmm0, %xmm4
	movddup	(%r12), %xmm0                   ## xmm0 = mem[0,0]
	movddup	%xmm2, %xmm2                    ## xmm2 = xmm2[0,0]
	addpd	%xmm0, %xmm2
	mulsd	(%rcx), %xmm3
	blendpd	$2, %xmm2, %xmm3                ## xmm3 = xmm3[0],xmm2[1]
	unpcklpd	%xmm1, %xmm4                    ## xmm4 = xmm4[0],xmm1[0]
	divpd	%xmm3, %xmm4
	movapd	%xmm4, %xmm0
	unpckhpd	%xmm4, %xmm0                    ## xmm0 = xmm0[1],xmm4[1]
	mulsd	%xmm4, %xmm0
	leaq	L_.str.8(%rip), %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CPU_CLK_UNHALTED.THREAD_P"

L_.str.1:                               ## @.str.1
	.asciz	"BR_MISP_RETIRED.ALL_BRANCHES"

L_.str.2:                               ## @.str.2
	.asciz	"MACHINE_CLEARS.MEMORY_ORDERING"

L_.str.3:                               ## @.str.3
	.asciz	"MACHINE_CLEARS.SMC"

L_.str.4:                               ## @.str.4
	.asciz	"MACHINE_CLEARS.MASKMOV"

L_.str.5:                               ## @.str.5
	.asciz	"UOPS_RETIRED.RETIRE_SLOTS"

L_.str.6:                               ## @.str.6
	.asciz	"UOPS_ISSUED.ANY"

L_.str.7:                               ## @.str.7
	.asciz	"INT_MISC.RECOVERY_CYCLES"

L_.str.8:                               ## @.str.8
	.asciz	"%1.3f"

	.no_dead_strip	_br_mispredictib
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function br_mispredictib
_br_mispredictib:                       ; @br_mispredictib
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x27, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_find_counter
	mov	x19, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x27
	bl	_find_counter
	mov	x21, x0
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x27
	bl	_find_counter
	mov	x22, x0
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x27
	bl	_find_counter
	mov	x23, x0
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x27
	bl	_find_counter
	mov	x25, x0
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x27
	bl	_find_counter
	mov	x26, x0
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x27
	bl	_find_counter
	mov	x24, x0
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x27
	bl	_find_counter
	cmn	w20, #1
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x21]
	sbfiz	x15, x20, #3, #32
	add	x8, x8, x15
	ldr	x9, [x22]
	add	x10, x9, x15
	ldr	x9, [x23]
	add	x9, x9, x15
	ldr	x11, [x25]
	add	x11, x11, x15
	ldr	x12, [x26]
	add	x12, x12, x15
	ldr	x13, [x0]
	add	x13, x13, x15
	ldr	x14, [x24]
	add	x14, x14, x15
	ldr	x16, [x19]
	add	x15, x16, x15
	b	LBB0_3
LBB0_2:
	add	x8, x21, #8
	add	x10, x22, #8
	add	x9, x23, #8
	add	x11, x25, #8
	add	x12, x26, #8
	add	x13, x0, #8
	add	x14, x24, #8
	add	x15, x19, #8
LBB0_3:
	ldr	d0, [x14]
	ldr	d1, [x8]
	ldr	d2, [x10]
	ldr	d3, [x15]
	ldr	d4, [x13]
	ldr	d5, [x12]
	ldr	d6, [x11]
	ldr	d7, [x9]
	fadd	d2, d1, d2
	fadd	d2, d2, d7
	fadd	d2, d6, d2
	fdiv	d1, d1, d2
	fsub	d0, d0, d5
	fmov	d2, #4.00000000
	fmadd	d0, d4, d2, d0
	fmul	d2, d3, d2
	fdiv	d0, d0, d2
	fmul	d0, d0, d1
Lloh16:
	adrp	x0, l_.str.8@PAGE
Lloh17:
	add	x0, x0, l_.str.8@PAGEOFF
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_printf
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CPU_CLK_UNHALTED.THREAD_P"

l_.str.1:                               ; @.str.1
	.asciz	"BR_MISP_RETIRED.ALL_BRANCHES"

l_.str.2:                               ; @.str.2
	.asciz	"MACHINE_CLEARS.MEMORY_ORDERING"

l_.str.3:                               ; @.str.3
	.asciz	"MACHINE_CLEARS.SMC"

l_.str.4:                               ; @.str.4
	.asciz	"MACHINE_CLEARS.MASKMOV"

l_.str.5:                               ; @.str.5
	.asciz	"UOPS_RETIRED.RETIRE_SLOTS"

l_.str.6:                               ; @.str.6
	.asciz	"UOPS_ISSUED.ANY"

l_.str.7:                               ; @.str.7
	.asciz	"INT_MISC.RECOVERY_CYCLES"

l_.str.8:                               ; @.str.8
	.asciz	"%1.3f"

	.no_dead_strip	_br_mispredictib
.subsections_via_symbols
