	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLAC__format_get_max_rice_partition_order_from_blocksize_limited_max_and_predictor_order ## -- Begin function FLAC__format_get_max_rice_partition_order_from_blocksize_limited_max_and_predictor_order
	.p2align	4, 0x90
_FLAC__format_get_max_rice_partition_order_from_blocksize_limited_max_and_predictor_order: ## @FLAC__format_get_max_rice_partition_order_from_blocksize_limited_max_and_predictor_order
	.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
	movl	%edi, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %ecx
	movl	%esi, %eax
	shrl	%cl, %eax
	subl	$1, %ebx
	jb	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%edx, %eax
	jbe	LBB0_1
LBB0_3:
	xorl	%edi, %edi
	cmpl	%edx, %eax
	seta	%dil
	xorl	%eax, %eax
	cmpl	%edx, %esi
	setae	%al
	testl	%ecx, %ecx
	cmovel	%eax, %edi
	movzbl	%dil, %edi
	callq	_FLAC__ASSERT
	incl	%ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLAC__format_get_max_rice_partition_order_from_blocksize_limited_max_and_predictor_order ; -- Begin function FLAC__format_get_max_rice_partition_order_from_blocksize_limited_max_and_predictor_order
	.p2align	2
_FLAC__format_get_max_rice_partition_order_from_blocksize_limited_max_and_predictor_order: ; @FLAC__format_get_max_rice_partition_order_from_blocksize_limited_max_and_predictor_order
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x19
	lsr	w9, w1, w19
	sub	w19, w19, #1
	cbz	w8, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w9, w2
	b.ls	LBB0_1
LBB0_3:
	cmp	w9, w2
	cset	w9, hi
	cmp	w1, w2
	cset	w10, hs
	cmp	w8, #0
	csel	w0, w10, w9, eq
	bl	_FLAC__ASSERT
	add	w0, w19, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
