	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_dpi_config_hsync
_mtk_dpi_config_hsync:                  ## @mtk_dpi_config_hsync
	.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	_HPW@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movq	_DPI_TGEN_HWIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HPW_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_mtk_dpi_mask
	movl	4(%rbx), %edx
	movq	_HBP@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movq	_DPI_TGEN_HPORCH@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_HBP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_mtk_dpi_mask
	movl	8(%rbx), %edx
	movq	_HFP@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movl	(%r15), %esi
	movq	_HFP_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_TGEN_HWIDTH,4,2            ## @DPI_TGEN_HWIDTH
	.comm	_HPW,4,2                        ## @HPW
	.comm	_HPW_MASK,4,2                   ## @HPW_MASK
	.comm	_DPI_TGEN_HPORCH,4,2            ## @DPI_TGEN_HPORCH
	.comm	_HBP,4,2                        ## @HBP
	.comm	_HBP_MASK,4,2                   ## @HBP_MASK
	.comm	_HFP,4,2                        ## @HFP
	.comm	_HFP_MASK,4,2                   ## @HFP_MASK
	.no_dead_strip	_mtk_dpi_config_hsync
.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_hsync
_mtk_dpi_config_hsync:                  ; @mtk_dpi_config_hsync
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _DPI_TGEN_HWIDTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPI_TGEN_HWIDTH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _HPW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HPW@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh5:
	ldr	w8, [x8]
	lsl	w2, w9, w8
Lloh6:
	adrp	x8, _HPW_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HPW_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	bl	_mtk_dpi_mask
Lloh9:
	adrp	x21, _DPI_TGEN_HPORCH@GOTPAGE
Lloh10:
	ldr	x21, [x21, _DPI_TGEN_HPORCH@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh11:
	adrp	x8, _HBP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HBP@GOTPAGEOFF]
	ldr	w9, [x19, #4]
Lloh13:
	ldr	w8, [x8]
	lsl	w2, w9, w8
Lloh14:
	adrp	x8, _HBP_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HBP_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_mtk_dpi_mask
	ldr	w1, [x21]
	ldr	w8, [x19, #8]
Lloh17:
	adrp	x9, _HFP@GOTPAGE
Lloh18:
	ldr	x9, [x9, _HFP@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _HFP_MASK@GOTPAGE
Lloh21:
	ldr	x10, [x10, _HFP_MASK@GOTPAGEOFF]
	lsl	w2, w8, w9
Lloh22:
	ldr	w3, [x10]
	mov	x0, x20
	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	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DPI_TGEN_HWIDTH,4,2            ; @DPI_TGEN_HWIDTH
	.comm	_HPW,4,2                        ; @HPW
	.comm	_HPW_MASK,4,2                   ; @HPW_MASK
	.comm	_DPI_TGEN_HPORCH,4,2            ; @DPI_TGEN_HPORCH
	.comm	_HBP,4,2                        ; @HBP
	.comm	_HBP_MASK,4,2                   ; @HBP_MASK
	.comm	_HFP,4,2                        ; @HFP
	.comm	_HFP_MASK,4,2                   ; @HFP_MASK
	.no_dead_strip	_mtk_dpi_config_hsync
.subsections_via_symbols
