	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_opus_rc_dec_cdf             ## -- Begin function ff_opus_rc_dec_cdf
	.p2align	4, 0x90
_ff_opus_rc_dec_cdf:                    ## @ff_opus_rc_dec_cdf
	.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	%rsi, %r13
	movq	%rdi, %r14
	movl	(%rsi), %r12d
	movl	(%rdi), %eax
	movl	4(%rdi), %ecx
	xorl	%edx, %edx
	divl	%r12d
	movl	%eax, %r15d
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%r15d
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	movl	%r12d, %esi
	callq	_FFMIN
	movl	%r12d, %edx
	subl	%eax, %edx
	movl	$-1, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movl	4(%r13,%rbx,4), %ecx
	cmpl	%edx, %ecx
	jbe	LBB0_1
## %bb.2:
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.4:
	leal	-1(%rbx), %eax
	movl	4(%r13,%rax,4), %edx
	jmp	LBB0_5
LBB0_3:
	xorl	%edx, %edx
LBB0_5:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %r8d
	callq	_opus_rc_dec_update
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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	_ff_opus_rc_dec_cdf             ; -- Begin function ff_opus_rc_dec_cdf
	.p2align	2
_ff_opus_rc_dec_cdf:                    ; @ff_opus_rc_dec_cdf
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x20, x0
	ldr	w19, [x22], #4
	ldp	w8, w9, [x0]
	udiv	w21, w8, w19
	udiv	w8, w9, w21
	add	w0, w8, #1
	mov	x1, x19
	bl	_FFMIN
	sub	w8, w19, w0
	mov	w23, #-1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w23, w23, #1
	ldr	w3, [x22, w23, uxtw #2]
	cmp	w3, w8
	b.ls	LBB0_1
; %bb.2:
	cbz	w23, LBB0_4
; %bb.3:
	sub	w8, w23, #1
	ldr	w2, [x22, w8, uxtw #2]
	b	LBB0_5
LBB0_4:
	mov	w2, #0
LBB0_5:
	mov	x0, x20
	mov	x1, x21
	mov	x4, x19
	bl	_opus_rc_dec_update
	mov	x0, x23
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
