	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function choose_vlc_set
_choose_vlc_set:                        ## @choose_vlc_set
	.cfi_startproc
## %bb.0:
	movl	%edi, %eax
	cmpl	$18, %edi
	jg	LBB0_3
## %bb.1:
	cmpl	$2, %esi
	jne	LBB0_3
## %bb.2:
	addl	$10, %eax
	movl	%eax, %edi
	jmp	LBB0_4
LBB0_3:
	leal	5(%rax), %edi
	testl	%esi, %esi
	cmovel	%eax, %edi
	cmpl	$26, %eax
	cmovgel	%eax, %edi
LBB0_4:
	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
	xorl	%eax, %eax
	movq	_rv34_quant_to_vlc_set@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testl	%edx, %edx
	setne	%al
	jne	LBB0_5
## %bb.6:
	movq	_intra_vlcs@GOTPCREL(%rip), %rdx
	jmp	LBB0_7
LBB0_5:
	movq	_inter_vlcs@GOTPCREL(%rip), %rdx
LBB0_7:
	movq	(%rdx), %r14
	movq	(%rcx,%rax,8), %rbx
	xorl	%esi, %esi
	movl	$30, %edx
	callq	_av_clip
	movq	(%rbx,%rax,8), %rax
	leaq	(%r14,%rax,4), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_inter_vlcs,8,3                 ## @inter_vlcs
	.comm	_rv34_quant_to_vlc_set,8,3      ## @rv34_quant_to_vlc_set
	.comm	_intra_vlcs,8,3                 ## @intra_vlcs
	.no_dead_strip	_choose_vlc_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function choose_vlc_set
_choose_vlc_set:                        ; @choose_vlc_set
	.cfi_startproc
; %bb.0:
	cmp	w0, #18
	b.gt	LBB0_3
; %bb.1:
	cmp	w1, #2
	b.ne	LBB0_3
; %bb.2:
	add	w0, w0, #10
	b	LBB0_4
LBB0_3:
	cmp	w1, #0
	ccmp	w0, #26, #0, ne
	add	w8, w0, #5
	csel	w0, w8, w0, lt
LBB0_4:
	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
	cmp	w2, #0
	cset	w8, ne
Lloh0:
	adrp	x9, _intra_vlcs@GOTPAGE
Lloh1:
	ldr	x9, [x9, _intra_vlcs@GOTPAGEOFF]
Lloh2:
	adrp	x10, _rv34_quant_to_vlc_set@GOTPAGE
Lloh3:
	ldr	x10, [x10, _rv34_quant_to_vlc_set@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
Lloh5:
	adrp	x11, _inter_vlcs@GOTPAGE
Lloh6:
	ldr	x11, [x11, _inter_vlcs@GOTPAGEOFF]
	csel	x9, x9, x11, eq
	ldr	x19, [x9]
	ldr	x20, [x10, w8, uxtw #3]
	mov	w1, #0
	mov	w2, #30
	bl	_av_clip
	ldr	x8, [x20, x0, lsl #3]
	add	x0, x19, x8, lsl #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_inter_vlcs,8,3                 ; @inter_vlcs
	.comm	_rv34_quant_to_vlc_set,8,3      ; @rv34_quant_to_vlc_set
	.comm	_intra_vlcs,8,3                 ; @intra_vlcs
	.no_dead_strip	_choose_vlc_set
.subsections_via_symbols
