	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function estimate_vlc
_estimate_vlc:                          ## @estimate_vlc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %eax
	movl	%edi, %ebx
	andl	$3, %ebx
	incl	%ebx
	movl	%edi, %ecx
	shrl	$5, %ecx
	movl	%ebx, %edx
	shll	%cl, %edx
	cmpl	%esi, %edx
	jbe	LBB0_1
## %bb.2:
	sarl	%cl, %eax
	addl	%ecx, %eax
	jmp	LBB0_3
LBB0_1:
	movl	%edi, %r14d
	shrl	$2, %r14d
	andl	$7, %r14d
	movl	$1, %esi
	movl	%r14d, %ecx
	shll	%cl, %esi
	subl	%edx, %eax
	addl	%esi, %eax
	movl	%eax, %edi
	callq	_av_log2
                                        ## kill: def $eax killed $eax def $rax
	subl	%r14d, %ebx
	leal	(%rbx,%rax,2), %eax
LBB0_3:
	incl	%eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_estimate_vlc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function estimate_vlc
_estimate_vlc:                          ; @estimate_vlc
	.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
	and	w8, w0, #0x3
	add	w19, w8, #1
	lsr	w9, w0, #5
	lsl	w8, w19, w9
	cmp	w8, w1
	b.ls	LBB0_2
; %bb.1:
	asr	w8, w1, w9
	add	w8, w8, w9
	b	LBB0_3
LBB0_2:
	ubfx	w20, w0, #2, #3
	mov	w9, #1
	lsl	w9, w9, w20
	sub	w8, w1, w8
	add	w0, w8, w9
	bl	_av_log2
	sub	w8, w19, w20
	add	w8, w8, w0, lsl #1
LBB0_3:
	add	w0, w8, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_estimate_vlc
.subsections_via_symbols
