	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_diff__compute_delta       ## -- Begin function perf_diff__compute_delta
	.p2align	4, 0x90
_perf_diff__compute_delta:              ## @perf_diff__compute_delta
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_hist_entry__next_pair
	movq	%rax, %r14
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	callq	_get_period_percent
	movapd	%xmm0, %xmm1
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movl	16(%r14), %esi
	movq	%r14, %rdi
	movsd	%xmm1, -24(%rbp)                ## 8-byte Spill
	callq	_get_period_percent
	movsd	-24(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	jmp	LBB0_3
LBB0_1:
	xorpd	%xmm0, %xmm0
LBB0_3:
	subsd	%xmm0, %xmm1
	movsd	%xmm1, (%rbx)
	movl	$1, 8(%rbx)
	movapd	%xmm1, %xmm0
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	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_delta       ; -- Begin function perf_diff__compute_delta
	.p2align	2
_perf_diff__compute_delta:              ; @perf_diff__compute_delta
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	mov	x19, x0
	bl	_hist_entry__next_pair
	mov	x20, x0
	ldr	w1, [x19, #16]
	mov	x0, x19
	bl	_get_period_percent
	fmov	d8, d0
	cbz	x20, LBB0_2
; %bb.1:
	ldr	w1, [x20, #16]
	mov	x0, x20
	bl	_get_period_percent
	b	LBB0_3
LBB0_2:
	movi	d0, #0000000000000000
LBB0_3:
	fsub	d0, d8, d0
	str	d0, [x19]
	mov	w8, #1
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
