	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_opus_rc_dec_uint_step       ## -- Begin function ff_opus_rc_dec_uint_step
	.p2align	4, 0x90
_ff_opus_rc_dec_uint_step:              ## @ff_opus_rc_dec_uint_step
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	leal	1(%r13), %r14d
	leal	(%r14,%r14,2), %r12d
	leal	(%r12,%r13), %r15d
	movl	(%rdi), %eax
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	4(%rdi), %ecx
	cltd
	idivl	%r15d
	movl	%eax, %esi
	movl	%ecx, %eax
	cltd
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	idivl	%esi
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	movl	%r15d, %esi
	callq	_FFMIN
	movl	%r15d, %ebx
	subl	%eax, %ebx
	cmpl	%r12d, %ebx
	jge	LBB0_2
## %bb.1:
	movslq	%ebx, %rax
	imulq	$1431655766, %rax, %rbx         ## imm = 0x55555556
	movq	%rbx, %rax
	shrq	$63, %rax
	shrq	$32, %rbx
	addl	%eax, %ebx
	jmp	LBB0_3
LBB0_2:
	addl	%r14d, %r14d
	subl	%r14d, %ebx
LBB0_3:
	movl	%r13d, %eax
	notl	%eax
	addl	%r12d, %eax
	addl	%ebx, %eax
	subl	%r13d, %r12d
	addl	%ebx, %r12d
	cmpl	%r13d, %ebx
	leal	(%rbx,%rbx,2), %edx
	cmovgl	%eax, %edx
	leal	3(%rbx,%rbx,2), %ecx
	cmovgl	%r12d, %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %r8d
	callq	_opus_rc_dec_update
	movl	%ebx, %eax
	addq	$24, %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_uint_step       ; -- Begin function ff_opus_rc_dec_uint_step
	.p2align	2
_ff_opus_rc_dec_uint_step:              ; @ff_opus_rc_dec_uint_step
	.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	x19, x1
	mov	x20, x0
	add	w23, w1, #1
	add	w24, w23, w23, lsl #1
	add	w21, w24, w1
	ldp	w8, w9, [x0]
	sdiv	w22, w8, w21
	sdiv	w8, w9, w22
	add	w0, w8, #1
	mov	x1, x21
	bl	_FFMIN
	sub	w8, w21, w0
	cmp	w8, w24
	sub	w9, w8, w23, lsl #1
	mov	w10, #21846
	movk	w10, #21845, lsl #16
	smull	x8, w8, w10
	lsr	x10, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w10
	csel	w23, w9, w8, ge
	add	w8, w23, w23, lsl #1
	mvn	w9, w19
	add	w9, w24, w9
	add	w9, w9, w23
	cmp	w23, w19
	csel	w2, w9, w8, gt
	add	w8, w8, #3
	sub	w9, w24, w19
	add	w9, w9, w23
	csel	w3, w9, w8, gt
	mov	x0, x20
	mov	x1, x22
	mov	x4, x21
	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
