	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_dpi_config_bit_num
_mtk_dpi_config_bit_num:                ## @mtk_dpi_config_bit_num
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addl	$-129, %esi
	cmpl	$2, %esi
	ja	LBB0_1
## %bb.2:
	movslq	%esi, %rax
	leaq	l_switch.table.mtk_dpi_config_bit_num(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_OUT_BIT_8@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	_OUT_BIT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movq	_DPI_OUTPUT_SETTING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OUT_BIT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	popq	%rbp
	jmp	_mtk_dpi_mask                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OUT_BIT_8,4,2                  ## @OUT_BIT_8
	.comm	_OUT_BIT_10,4,2                 ## @OUT_BIT_10
	.comm	_OUT_BIT_12,4,2                 ## @OUT_BIT_12
	.comm	_OUT_BIT_16,4,2                 ## @OUT_BIT_16
	.comm	_DPI_OUTPUT_SETTING,4,2         ## @DPI_OUTPUT_SETTING
	.comm	_OUT_BIT,4,2                    ## @OUT_BIT
	.comm	_OUT_BIT_MASK,4,2               ## @OUT_BIT_MASK
	.no_dead_strip	_mtk_dpi_config_bit_num
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.mtk_dpi_config_bit_num
l_switch.table.mtk_dpi_config_bit_num:
	.quad	_OUT_BIT_16
	.quad	_OUT_BIT_12
	.quad	_OUT_BIT_10

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_dpi_config_bit_num
_mtk_dpi_config_bit_num:                ; @mtk_dpi_config_bit_num
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #129
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.mtk_dpi_config_bit_num@PAGE
Lloh1:
	add	x9, x9, l_switch.table.mtk_dpi_config_bit_num@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _OUT_BIT_8@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OUT_BIT_8@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _DPI_OUTPUT_SETTING@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DPI_OUTPUT_SETTING@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x9]
Lloh7:
	adrp	x9, _OUT_BIT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _OUT_BIT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _OUT_BIT_MASK@GOTPAGE
Lloh11:
	ldr	x10, [x10, _OUT_BIT_MASK@GOTPAGEOFF]
	lsl	w2, w8, w9
Lloh12:
	ldr	w3, [x10]
	b	_mtk_dpi_mask
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_OUT_BIT_8,4,2                  ; @OUT_BIT_8
	.comm	_OUT_BIT_10,4,2                 ; @OUT_BIT_10
	.comm	_OUT_BIT_12,4,2                 ; @OUT_BIT_12
	.comm	_OUT_BIT_16,4,2                 ; @OUT_BIT_16
	.comm	_DPI_OUTPUT_SETTING,4,2         ; @DPI_OUTPUT_SETTING
	.comm	_OUT_BIT,4,2                    ; @OUT_BIT
	.comm	_OUT_BIT_MASK,4,2               ; @OUT_BIT_MASK
	.no_dead_strip	_mtk_dpi_config_bit_num
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.mtk_dpi_config_bit_num
l_switch.table.mtk_dpi_config_bit_num:
	.quad	_OUT_BIT_16
	.quad	_OUT_BIT_12
	.quad	_OUT_BIT_10

.subsections_via_symbols
