	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_diff__compute_ratio       ## -- Begin function perf_diff__compute_ratio
	.p2align	4, 0x90
_perf_diff__compute_ratio:              ## @perf_diff__compute_ratio
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_hist_entry__next_pair
	xorpd	%xmm0, %xmm0
	xorpd	%xmm1, %xmm1
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movsd	16(%rax), %xmm1                 ## xmm1 = mem[0],zero
LBB0_2:
	movsd	16(%rbx), %xmm2                 ## xmm2 = mem[0],zero
	movl	$1, (%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	divsd	%xmm1, %xmm2
	movapd	%xmm2, %xmm0
LBB0_4:
	movsd	%xmm0, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_diff__compute_ratio       ; -- Begin function perf_diff__compute_ratio
	.p2align	2
_perf_diff__compute_ratio:              ; @perf_diff__compute_ratio
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_hist_entry__next_pair
	ldr	d1, [x19, #16]
	movi	d0, #0000000000000000
	movi	d2, #0000000000000000
	cbz	x0, LBB0_2
; %bb.1:
	ldr	d2, [x0, #16]
LBB0_2:
	mov	w8, #1
	str	w8, [x19]
	fdiv	d1, d1, d2
	cmp	x0, #0
	fcsel	d0, d0, d1, eq
	str	d0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
