	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scl_vop_cal_lb_mode
_scl_vop_cal_lb_mode:                   ## @scl_vop_cal_lb_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$1281, %edi                     ## imm = 0x501
	jl	LBB0_2
## %bb.3:
	movq	_LB_YUV_3840X5@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	cmpl	$2560, %edi                     ## imm = 0xA00
	jle	LBB0_6
## %bb.5:
	movq	_LB_RGB_3840X2@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	_LB_YUV_2560X8@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	cmpl	$1921, %edi                     ## imm = 0x781
	jl	LBB0_7
## %bb.8:
	movq	_LB_RGB_2560X4@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_LB_RGB_1920X5@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LB_YUV_3840X5,4,2              ## @LB_YUV_3840X5
	.comm	_LB_YUV_2560X8,4,2              ## @LB_YUV_2560X8
	.comm	_LB_RGB_3840X2,4,2              ## @LB_RGB_3840X2
	.comm	_LB_RGB_2560X4,4,2              ## @LB_RGB_2560X4
	.comm	_LB_RGB_1920X5,4,2              ## @LB_RGB_1920X5
	.no_dead_strip	_scl_vop_cal_lb_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scl_vop_cal_lb_mode
_scl_vop_cal_lb_mode:                   ; @scl_vop_cal_lb_mode
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _LB_RGB_3840X2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LB_RGB_3840X2@GOTPAGEOFF]
Lloh2:
	adrp	x9, _LB_RGB_1920X5@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LB_RGB_1920X5@GOTPAGEOFF]
Lloh4:
	adrp	x10, _LB_RGB_2560X4@GOTPAGE
Lloh5:
	ldr	x10, [x10, _LB_RGB_2560X4@GOTPAGEOFF]
	cmp	w0, #1920
	csel	x9, x10, x9, gt
	cmp	w0, #2560
	csel	x8, x8, x9, gt
Lloh6:
	adrp	x9, _LB_YUV_2560X8@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LB_YUV_2560X8@GOTPAGEOFF]
Lloh8:
	adrp	x10, _LB_YUV_3840X5@GOTPAGE
Lloh9:
	ldr	x10, [x10, _LB_YUV_3840X5@GOTPAGEOFF]
	cmp	w0, #1280
	csel	x9, x10, x9, gt
	cmp	w1, #0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LB_YUV_3840X5,4,2              ; @LB_YUV_3840X5
	.comm	_LB_YUV_2560X8,4,2              ; @LB_YUV_2560X8
	.comm	_LB_RGB_3840X2,4,2              ; @LB_RGB_3840X2
	.comm	_LB_RGB_2560X4,4,2              ; @LB_RGB_2560X4
	.comm	_LB_RGB_1920X5,4,2              ; @LB_RGB_1920X5
	.no_dead_strip	_scl_vop_cal_lb_mode
.subsections_via_symbols
