	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_opus_rc_enc_uint_tri        ## -- Begin function ff_opus_rc_enc_uint_tri
	.p2align	4, 0x90
_ff_opus_rc_enc_uint_tri:               ## @ff_opus_rc_enc_uint_tri
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
                                        ## kill: def $esi killed $esi def $rsi
	sarl	%edx
	leal	1(%rdx), %ecx
	imull	%ecx, %ecx
	cmpl	%esi, %edx
	jge	LBB0_1
## %bb.2:
	subl	%esi, %eax
	leal	1(%rax), %edx
	addl	$2, %eax
	imull	%edx, %eax
	sarl	%eax
	movl	%ecx, %esi
	subl	%eax, %esi
	jmp	LBB0_3
LBB0_1:
	leal	1(%rsi), %edx
	imull	%edx, %esi
	sarl	%esi
LBB0_3:
	addl	%esi, %edx
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%r8d, %r8d
	popq	%rbp
	jmp	_opus_rc_enc_update             ## TAILCALL
	.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_enc_uint_tri        ; -- Begin function ff_opus_rc_enc_uint_tri
	.p2align	2
_ff_opus_rc_enc_uint_tri:               ; @ff_opus_rc_enc_uint_tri
	.cfi_startproc
; %bb.0:
	asr	w8, w2, #1
	add	w9, w8, #1
	mul	w3, w9, w9
	sub	w9, w2, w1
	add	w10, w9, #1
	add	w11, w9, #2
	mul	w10, w10, w11
	sub	w10, w3, w10, asr #1
	add	w11, w1, #1
	mul	w12, w11, w1
	asr	w12, w12, #1
	cmp	w8, w1
	csel	w1, w10, w12, lt
	csinc	w8, w11, w9, ge
	add	w2, w8, w1
	mov	w4, #0
	b	_opus_rc_enc_update
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
