	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv090x_optimize_carloop_short
_stv090x_optimize_carloop_short:        ## @stv090x_optimize_carloop_short
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$-129, %eax
	addl	(%rdi), %eax
	cmpl	$2, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.stv090x_optimize_carloop_short(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	8(%rdi), %rcx
	cmpl	$48, (%rcx)
	jl	LBB0_4
## %bb.5:
	movq	_stv090x_s2_short_crl_cut30@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_4:
	movq	_stv090x_s2_short_crl_cut20@GOTPCREL(%rip), %rcx
LBB0_6:
	movq	(%rcx), %rcx
	movl	4(%rdi), %edx
	leaq	(%rax,%rax,4), %rax
	cmpl	$3000000, %edx                  ## imm = 0x2DC6C0
	jg	LBB0_8
## %bb.7:
	leaq	(%rcx,%rax,4), %rax
	jmp	LBB0_15
LBB0_8:
	cmpl	$7000000, %edx                  ## imm = 0x6ACFC0
	ja	LBB0_10
## %bb.9:
	leaq	(%rcx,%rax,4), %rax
	addq	$4, %rax
	jmp	LBB0_15
LBB0_10:
	cmpl	$15000000, %edx                 ## imm = 0xE4E1C0
	ja	LBB0_12
## %bb.11:
	leaq	(%rcx,%rax,4), %rax
	addq	$8, %rax
	jmp	LBB0_15
LBB0_12:
	cmpl	$25000000, %edx                 ## imm = 0x17D7840
	ja	LBB0_14
## %bb.13:
	leaq	(%rcx,%rax,4), %rax
	addq	$12, %rax
	jmp	LBB0_15
LBB0_14:
	leaq	(%rcx,%rax,4), %rax
	addq	$16, %rax
LBB0_15:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stv090x_s2_short_crl_cut30,8,3 ## @stv090x_s2_short_crl_cut30
	.comm	_stv090x_s2_short_crl_cut20,8,3 ## @stv090x_s2_short_crl_cut20
	.no_dead_strip	_stv090x_optimize_carloop_short
	.section	__TEXT,__const
	.p2align	3                               ## @switch.table.stv090x_optimize_carloop_short
l_switch.table.stv090x_optimize_carloop_short:
	.quad	1                               ## 0x1
	.quad	3                               ## 0x3
	.quad	2                               ## 0x2

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv090x_optimize_carloop_short
_stv090x_optimize_carloop_short:        ; @stv090x_optimize_carloop_short
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	sub	w8, w8, #129
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.stv090x_optimize_carloop_short@PAGE
Lloh1:
	add	x9, x9, l_switch.table.stv090x_optimize_carloop_short@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
	mov	x8, #0
LBB0_3:
	ldr	x9, [x0, #8]
	ldr	w9, [x9]
Lloh2:
	adrp	x10, _stv090x_s2_short_crl_cut30@GOTPAGE
Lloh3:
	ldr	x10, [x10, _stv090x_s2_short_crl_cut30@GOTPAGEOFF]
Lloh4:
	adrp	x11, _stv090x_s2_short_crl_cut20@GOTPAGE
Lloh5:
	ldr	x11, [x11, _stv090x_s2_short_crl_cut20@GOTPAGEOFF]
	cmp	w9, #47
	csel	x9, x10, x11, gt
	ldr	x9, [x9]
	ldr	w10, [x0, #4]
	mov	w11, #50880
	movk	w11, #45, lsl #16
	mov	w12, #53184
	movk	w12, #106, lsl #16
	mov	w13, #57792
	movk	w13, #228, lsl #16
	mov	w14, #30784
	movk	w14, #381, lsl #16
	cmp	w10, w14
	mov	w14, #20
	madd	x14, x8, x14, x9
	add	x14, x14, #16
	mov	w15, #20
	madd	x15, x8, x15, x9
	add	x15, x15, #12
	csel	x14, x14, x15, hi
	mov	w15, #20
	madd	x15, x8, x15, x9
	add	x15, x15, #8
	cmp	w10, w13
	csel	x13, x14, x15, hi
	mov	w14, #20
	madd	x14, x8, x14, x9
	add	x14, x14, #4
	cmp	w10, w12
	csel	x12, x13, x14, hi
	mov	w13, #20
	madd	x8, x8, x13, x9
	cmp	w10, w11
	csel	x8, x12, x8, gt
	ldr	w0, [x8]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_stv090x_s2_short_crl_cut30,8,3 ; @stv090x_s2_short_crl_cut30
	.comm	_stv090x_s2_short_crl_cut20,8,3 ; @stv090x_s2_short_crl_cut20
	.no_dead_strip	_stv090x_optimize_carloop_short
	.section	__TEXT,__const
	.p2align	3                               ; @switch.table.stv090x_optimize_carloop_short
l_switch.table.stv090x_optimize_carloop_short:
	.quad	1                               ; 0x1
	.quad	3                               ; 0x3
	.quad	2                               ; 0x2

.subsections_via_symbols
