	.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_setup_vbr
LCPI0_0:
	.quad	0x3e7ad7f29abcaf48              ## double 9.9999999999999995E-8
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x3f800000                      ## float 1
LCPI0_2:
	.long	0x3f7ff972                      ## float 0.999899983
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_vorbis_encode_setup_vbr
	.p2align	4, 0x90
_vorbis_encode_setup_vbr:               ## @vorbis_encode_setup_vbr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdi), %rbx
	cvtss2sd	%xmm0, %xmm0
	addsd	LCPI0_0(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm1
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	cmpnless	%xmm1, %xmm0
	andps	%xmm0, %xmm1
	movss	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	andnps	%xmm2, %xmm0
	orps	%xmm1, %xmm0
	movss	%xmm0, (%rbx)
	leaq	20(%rbx), %rcx
	xorl	%r13d, %r13d
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	xorl	%edx, %edx
	callq	_get_setup_template
	movl	%eax, 16(%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_vorbis_encode_setup_setting
	movq	$0, 8(%rbx)
	movl	$1, 4(%rbx)
	jmp	LBB0_3
LBB0_1:
	movq	_OV_EIMPL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_3:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OV_EIMPL,4,2                   ## @OV_EIMPL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vorbis_encode_setup_vbr        ; -- Begin function vorbis_encode_setup_vbr
	.p2align	2
_vorbis_encode_setup_vbr:               ; @vorbis_encode_setup_vbr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x22, [x0]
	fcvt	d0, s0
	mov	x8, #44872
	movk	x8, #39612, lsl #16
	movk	x8, #55282, lsl #32
	movk	x8, #15994, lsl #48
	fmov	d1, x8
	fadd	d0, d0, d1
	fcvt	s0, d0
	fmov	s1, #1.00000000
	fcmp	s0, s1
	mov	w8, #63858
	movk	w8, #16255, lsl #16
	fmov	s1, w8
	fcsel	s0, s0, s1, lt
	str	s0, [x22]
	add	x3, x22, #20
	mov	x0, x1
	mov	x1, x2
	mov	w2, #0
	bl	_get_setup_template
	str	w0, [x22, #16]
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_vorbis_encode_setup_setting
	mov	w0, #0
	str	xzr, [x22, #8]
	mov	w8, #1
	str	w8, [x22, #4]
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _OV_EIMPL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OV_EIMPL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OV_EIMPL,4,2                   ; @OV_EIMPL
.subsections_via_symbols
