	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function vorbis_encode_peak_setup
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_vorbis_encode_peak_setup:              ## @vorbis_encode_peak_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cvttsd2si	%xmm0, %eax
	cvttpd2dq	%xmm0, %xmm1
	cvtdq2pd	%xmm1, %xmm1
	subsd	%xmm1, %xmm0
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	movslq	%esi, %rsi
	movq	(%rcx,%rsi,8), %rcx
	cltq
	xorps	%xmm1, %xmm1
	cvtsi2sdl	(%rdx,%rax,4), %xmm1
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	subsd	%xmm0, %xmm2
	mulsd	%xmm1, %xmm2
	xorps	%xmm1, %xmm1
	cvtsi2sdl	4(%rdx,%rax,4), %xmm1
	mulsd	%xmm0, %xmm1
	addsd	%xmm2, %xmm1
	cvttsd2si	%xmm1, %eax
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vorbis_encode_peak_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vorbis_encode_peak_setup
_vorbis_encode_peak_setup:              ; @vorbis_encode_peak_setup
	.cfi_startproc
; %bb.0:
	fcvtzs	w8, d0
	scvtf	d1, w8
	fsub	d0, d0, d1
	ldr	x9, [x0]
	ldr	x9, [x9]
	ldr	x9, [x9, w1, sxtw #3]
	add	x8, x2, w8, sxtw #2
	ldp	s1, s2, [x8]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fmov	d3, #1.00000000
	fsub	d3, d3, d0
	sshll.2d	v2, v2, #0
	scvtf	d2, d2
	fmul	d0, d0, d2
	fmadd	d0, d1, d3, d0
	fcvtzs	w8, d0
	str	w8, [x9]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vorbis_encode_peak_setup
.subsections_via_symbols
