	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_dpi_config_channel_limit
_mtk_dpi_config_channel_limit:          ## @mtk_dpi_config_channel_limit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %edx
	movq	_Y_LIMINT_BOT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movq	_DPI_Y_LIMIT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_Y_LIMINT_BOT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_mtk_dpi_mask
	movl	4(%rbx), %edx
	movq	_Y_LIMINT_TOP@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movl	(%r15), %esi
	movq	_Y_LIMINT_TOP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_mtk_dpi_mask
	movl	8(%rbx), %edx
	movq	_C_LIMIT_BOT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movq	_DPI_C_LIMIT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_C_LIMIT_BOT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_mtk_dpi_mask
	movl	12(%rbx), %edx
	movq	_C_LIMIT_TOP@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movl	(%r15), %esi
	movq	_C_LIMIT_TOP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mtk_dpi_mask                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DPI_Y_LIMIT,4,2                ## @DPI_Y_LIMIT
	.comm	_Y_LIMINT_BOT,4,2               ## @Y_LIMINT_BOT
	.comm	_Y_LIMINT_BOT_MASK,4,2          ## @Y_LIMINT_BOT_MASK
	.comm	_Y_LIMINT_TOP,4,2               ## @Y_LIMINT_TOP
	.comm	_Y_LIMINT_TOP_MASK,4,2          ## @Y_LIMINT_TOP_MASK
	.comm	_DPI_C_LIMIT,4,2                ## @DPI_C_LIMIT
	.comm	_C_LIMIT_BOT,4,2                ## @C_LIMIT_BOT
	.comm	_C_LIMIT_BOT_MASK,4,2           ## @C_LIMIT_BOT_MASK
	.comm	_C_LIMIT_TOP,4,2                ## @C_LIMIT_TOP
	.comm	_C_LIMIT_TOP_MASK,4,2           ## @C_LIMIT_TOP_MASK
	.no_dead_strip	_mtk_dpi_config_channel_limit
.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_channel_limit
_mtk_dpi_config_channel_limit:          ; @mtk_dpi_config_channel_limit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _DPI_Y_LIMIT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DPI_Y_LIMIT@GOTPAGEOFF]
	ldr	w1,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9]
Lloh25:
	adrp	x10, _C_LIMIT_TOP_MASK@GOTPAGE
Lloh26:
	ldr	x10, [x10, _C_LIMIT_TOP_MASK@GOTPAGEOFF]
	lsl	w2, w8, w9
Lloh27:
	ldr	w3, [x10]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mtk_dpi_mask
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DPI_Y_LIMIT,4,2                ; @DPI_Y_LIMIT
	.comm	_Y_LIMINT_BOT,4,2               ; @Y_LIMINT_BOT
	.comm	_Y_LIMINT_BOT_MASK,4,2          ; @Y_LIMINT_BOT_MASK
	.comm	_Y_LIMINT_TOP,4,2               ; @Y_LIMINT_TOP
	.comm	_Y_LIMINT_TOP_MASK,4,2          ; @Y_LIMINT_TOP_MASK
	.comm	_DPI_C_LIMIT,4,2                ; @DPI_C_LIMIT
	.comm	_C_LIMIT_BOT,4,2                ; @C_LIMIT_BOT
	.comm	_C_LIMIT_BOT_MASK,4,2           ; @C_LIMIT_BOT_MASK
	.comm	_C_LIMIT_TOP,4,2                ; @C_LIMIT_TOP
	.comm	_C_LIMIT_TOP_MASK,4,2           ; @C_LIMIT_TOP_MASK
	.no_dead_strip	_mtk_dpi_config_channel_limit
.subsections_via_symbols
