	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vorbis_bitrate_init            ## -- Begin function vorbis_bitrate_init
	.p2align	4, 0x90
_vorbis_bitrate_init:                   ## @vorbis_bitrate_init
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	cmpq	$0, 8(%r15)
	jle	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %eax
	cltd
	idivl	%ecx
	sarl	%ecx
	cvtsi2sdq	(%r14), %xmm1
	movsd	%xmm1, -40(%rbp)                ## 8-byte Spill
	movl	%eax, (%rbx)
	movl	$1, 4(%rbx)
	cvtsi2sdl	16(%r15), %xmm0
	cvtsi2sd	%ecx, %xmm2
	movsd	%xmm2, -32(%rbp)                ## 8-byte Spill
	mulsd	%xmm2, %xmm0
	divsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %edi
	callq	_rint
	movq	%rax, 48(%rbx)
	xorps	%xmm0, %xmm0
	cvtsi2sdl	20(%r15), %xmm0
	mulsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	divsd	-40(%rbp), %xmm0                ## 8-byte Folded Reload
	cvttsd2si	%xmm0, %edi
	callq	_rint
	movq	%rax, 40(%rbx)
	xorps	%xmm0, %xmm0
	cvtsi2sdl	24(%r15), %xmm0
	mulsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	divsd	-40(%rbp), %xmm0                ## 8-byte Folded Reload
	cvttsd2si	%xmm0, %edi
	callq	_rint
	movq	%rax, 32(%rbx)
	movq	_PACKETBLOBS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, 8(%rbx)
	movq	32(%r15), %rax
	imulq	8(%r15), %rax
	movq	%rax, 16(%rbx)
	movq	%rax, 24(%rbx)
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PACKETBLOBS,4,2                ## @PACKETBLOBS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vorbis_bitrate_init            ; -- Begin function vorbis_bitrate_init
	.p2align	2
_vorbis_bitrate_init:                   ; @vorbis_bitrate_init
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 b8, -56
	.cfi_offset b9, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0, #8]
	mov	x0, x1
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	ldr	x8, [x21, #8]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldp	w9, w8, [x8]
	asr	w10, w9, #1
	sdiv	w8, w8, w9
	ldr	d0, [x20]
	mov	w9, #1
	stp	w8, w9, [x19]
	ldr	s1, [x21, #16]
	sshll.2d	v1, v1, #0
	scvtf	d8, w10
	scvtf	d1, d1
	fmul	d1, d8, d1
	scvtf	d9, d0
	fdiv	d0, d1, d9
	fcvtzs	w0, d0
	bl	_rint
	str	x0, [x19, #48]
	ldr	s0, [x21, #20]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fmul	d0, d8, d0
	fdiv	d0, d0, d9
	fcvtzs	w0, d0
	bl	_rint
	str	x0, [x19, #40]
	ldr	s0, [x21, #24]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fmul	d0, d8, d0
	fdiv	d0, d0, d9
	fcvtzs	w0, d0
	bl	_rint
	str	x0, [x19, #32]
Lloh0:
	adrp	x8, _PACKETBLOBS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PACKETBLOBS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	str	w8, [x19, #8]
	ldr	x8, [x21, #8]
	ldr	x9, [x21, #32]
	mul	x8, x9, x8
	stp	x8, x8, [x19, #16]
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PACKETBLOBS,4,2                ; @PACKETBLOBS
.subsections_via_symbols
