	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compute_peak
_compute_peak:                          ## @compute_peak
	.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
	movsd	(%rdi), %xmm2                   ## xmm2 = mem[0],zero
	movq	16(%rdi), %rax
	cvtsi2sdq	(%rax), %xmm1
	subsd	%xmm1, %xmm2
	movsd	%xmm2, -16(%rbp)                ## 8-byte Spill
	callq	_fabs
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	addsd	-16(%rbp), %xmm0                ## 8-byte Folded Reload
	divsd	8(%rbx), %xmm0
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_compute_peak
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_peak
_compute_peak:                          ; @compute_peak
	.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
	ldr	d1, [x0]
	ldr	x8, [x0, #16]
	ldr	d2, [x8]
	scvtf	d2, d2
	fsub	d8, d1, d2
	bl	_fabs
	scvtf	d0, x0
	fadd	d0, d8, d0
	ldr	d1, [x19, #8]
	fdiv	d0, d0, d1
	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
	.no_dead_strip	_compute_peak
.subsections_via_symbols
