	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpt_pch_enable
_lpt_pch_enable:                        ## @lpt_pch_enable
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r14
	callq	_to_intel_crtc
	movl	(%rax), %r15d
	movq	_TRANSCODER_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_assert_transcoder_disabled
	movq	%rbx, %rdi
	callq	_lpt_program_iclkip
	movq	__TRANS_HTOTAL_A@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_HTOTAL
	movl	%eax, %edi
	callq	_I915_READ
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	__TRANS_HBLANK_A@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_HBLANK
	movl	%eax, %edi
	callq	_I915_READ
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	__TRANS_HSYNC_A@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_HSYNC
	movl	%eax, %edi
	callq	_I915_READ
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	__TRANS_VTOTAL_A@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_VTOTAL
	movl	%eax, %edi
	callq	_I915_READ
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	__TRANS_VBLANK_A@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_VBLANK
	movl	%eax, %edi
	callq	_I915_READ
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	__TRANS_VSYNC_A@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_VSYNC
	movl	%eax, %edi
	callq	_I915_READ
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	__TRANS_VSYNCSHIFT_A@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_VSYNCSHIFT
	movl	%eax, %edi
	callq	_I915_READ
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	%r14, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lpt_enable_pch_transcoder      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TRANSCODER_A,4,2               ## @TRANSCODER_A
	.comm	__TRANS_HTOTAL_A,4,2            ## @_TRANS_HTOTAL_A
	.comm	__TRANS_HBLANK_A,4,2            ## @_TRANS_HBLANK_A
	.comm	__TRANS_HSYNC_A,4,2             ## @_TRANS_HSYNC_A
	.comm	__TRANS_VTOTAL_A,4,2            ## @_TRANS_VTOTAL_A
	.comm	__TRANS_VBLANK_A,4,2            ## @_TRANS_VBLANK_A
	.comm	__TRANS_VSYNC_A,4,2             ## @_TRANS_VSYNC_A
	.comm	__TRANS_VSYNCSHIFT_A,4,2        ## @_TRANS_VSYNCSHIFT_A
	.no_dead_strip	_lpt_pch_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpt_pch_enable
_lpt_pch_enable:                        ; @lpt_pch_enable
	.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	x21, x0
	ldr	x8, [x0]
	ldr	x19, [x8]
	bl	_to_intel_crtc
	ldr	w20, [x0]
Lloh0:
	adrp	x8, _TRANSCODER_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRANSCODER_A@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_assert_transcoder_disabled
	mov	x0, x21
	bl	_lpt_program_iclkip
Lloh3:
	adrp	x8, __TRANS_HTOTAL_A@GOTPAGE
Lloh4:
	ldr	x8, [x8, __TRANS_HTOTAL_A@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_HTOTAL
	bl	_I915_READ
	mov	x1, x0
	mov	x0, x21
	bl	_I915_WRITE
Lloh6:
	adrp	x8, __TRANS_HBLANK_A@GOTPAGE
Lloh7:
	ldr	x8, [x8, __TRANS_HBLANK_A@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_HBLANK
	bl	_I915_READ
	mov	x1, x0
	mov	x0, x21
	bl	_I915_WRITE
Lloh9:
	adrp	x8, __TRANS_HSYNC_A@GOTPAGE
Lloh10:
	ldr	x8, [x8, __TRANS_HSYNC_A@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_HSYNC
	bl	_I915_READ
	mov	x1, x0
	mov	x0, x21
	bl	_I915_WRITE
Lloh12:
	adrp	x8, __TRANS_VTOTAL_A@GOTPAGE
Lloh13:
	ldr	x8, [x8, __TRANS_VTOTAL_A@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_VTOTAL
	bl	_I915_READ
	mov	x1, x0
	mov	x0, x21
	bl	_I915_WRITE
Lloh15:
	adrp	x8, __TRANS_VBLANK_A@GOTPAGE
Lloh16:
	ldr	x8, [x8, __TRANS_VBLANK_A@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_VBLANK
	bl	_I915_READ
	mov	x1, x0
	mov	x0, x21
	bl	_I915_WRITE
Lloh18:
	adrp	x8, __TRANS_VSYNC_A@GOTPAGE
Lloh19:
	ldr	x8, [x8, __TRANS_VSYNC_A@GOTPAGEOFF]
Lloh20:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_VSYNC
	bl	_I915_READ
	mov	x1, x0
	mov	x0, x21
	bl	_I915_WRITE
Lloh21:
	adrp	x8, __TRANS_VSYNCSHIFT_A@GOTPAGE
Lloh22:
	ldr	x8, [x8, __TRANS_VSYNCSHIFT_A@GOTPAGEOFF]
Lloh23:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_VSYNCSHIFT
	bl	_I915_READ
	mov	x1, x0
	mov	x0, x21
	bl	_I915_WRITE
	mov	x0, x19
	mov	x1, 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	_lpt_enable_pch_transcoder
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TRANSCODER_A,4,2               ; @TRANSCODER_A
	.comm	__TRANS_HTOTAL_A,4,2            ; @_TRANS_HTOTAL_A
	.comm	__TRANS_HBLANK_A,4,2            ; @_TRANS_HBLANK_A
	.comm	__TRANS_HSYNC_A,4,2             ; @_TRANS_HSYNC_A
	.comm	__TRANS_VTOTAL_A,4,2            ; @_TRANS_VTOTAL_A
	.comm	__TRANS_VBLANK_A,4,2            ; @_TRANS_VBLANK_A
	.comm	__TRANS_VSYNC_A,4,2             ; @_TRANS_VSYNC_A
	.comm	__TRANS_VSYNCSHIFT_A,4,2        ; @_TRANS_VSYNCSHIFT_A
	.no_dead_strip	_lpt_pch_enable
.subsections_via_symbols
