	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_subframe_rice_params
_find_subframe_rice_params:             ## @find_subframe_rice_params
	.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
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	12(%rdi), %edi
	movl	16(%r15), %esi
	callq	_get_max_p_order
	movl	%eax, %r12d
	movl	8(%r15), %edi
	movl	16(%r15), %esi
	movl	%r14d, %edx
	callq	_get_max_p_order
	movl	(%rbx), %ecx
	imull	%r14d, %ecx
	leaq	28(%rbx), %rdi
	movl	28(%rbx), %edx
	leal	(%rcx,%rdx), %r13d
	addl	$10, %r13d
	movq	8(%rbx), %rcx
	movq	_FLAC_SUBFRAME_LPC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movl	(%r15), %ecx
	imull	%r14d, %ecx
	addl	%ecx, %r13d
	addl	$9, %r13d
LBB0_2:
	movl	24(%rbx), %esi
	movl	16(%rbx), %r9d
	movl	20(%rbx), %edx
	movl	4(%r15), %ebx
	movl	16(%r15), %r10d
	subq	$8, %rsp
	movl	%r12d, %ecx
	movl	%eax, %r8d
	pushq	%rbx
	pushq	%r14
	pushq	%r10
	callq	_calc_rice_params
	addq	$32, %rsp
	addl	%r13d, %eax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAC_SUBFRAME_LPC,8,3          ## @FLAC_SUBFRAME_LPC
	.no_dead_strip	_find_subframe_rice_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_subframe_rice_params
_find_subframe_rice_params:             ; @find_subframe_rice_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x0, #12]
	ldr	w1, [x20, #16]
	bl	_get_max_p_order
	mov	x22, x0
	ldr	w0, [x20, #8]
	ldr	w1, [x20, #16]
	mov	x2, x19
	bl	_get_max_p_order
	mov	x4, x0
	ldr	w8, [x21]
	mov	x0, x21
	ldr	w9, [x0, #28]!
	madd	w8, w8, w19, w9
	add	w23, w8, #10
	ldr	x8, [x21, #8]
Lloh0:
	adrp	x9, _FLAC_SUBFRAME_LPC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLAC_SUBFRAME_LPC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x20]
	madd	w8, w8, w19, w23
	add	w23, w8, #9
LBB0_2:
	ldp	w2, w1, [x21, #20]
	ldr	w5, [x21, #16]
	ldr	w6, [x20, #16]
	ldr	w8, [x20, #4]
	str	w8, [sp]
	mov	x3, x22
	mov	x7, x19
	bl	_calc_rice_params
	add	w0, w23, w0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAC_SUBFRAME_LPC,8,3          ; @FLAC_SUBFRAME_LPC
	.no_dead_strip	_find_subframe_rice_params
.subsections_via_symbols
