	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i830_disable_pipe              ## -- Begin function i830_disable_pipe
	.p2align	4, 0x90
_i830_disable_pipe:                     ## @i830_disable_pipe
	.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
	movl	%esi, %ebx
	callq	_intel_get_crtc_for_pipe
	movq	%rax, %r14
	movl	%ebx, %edi
	callq	_pipe_name
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_DRM_DEBUG_KMS
	movq	_PLANE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DSPCNTR
	movl	%eax, %edi
	callq	_I915_READ
	movq	_DISPLAY_PLANE_ENABLE@GOTPCREL(%rip), %r15
	andl	(%r15), %eax
	movl	%eax, %edi
	callq	_WARN_ON
	movq	_PLANE_B@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DSPCNTR
	movl	%eax, %edi
	callq	_I915_READ
	andl	(%r15), %eax
	movl	%eax, %edi
	callq	_WARN_ON
	movq	_PLANE_C@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DSPCNTR
	movl	%eax, %edi
	callq	_I915_READ
	andl	(%r15), %eax
	movl	%eax, %edi
	callq	_WARN_ON
	movq	_PIPE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CURCNTR
	movl	%eax, %edi
	callq	_I915_READ
	movq	_MCURSOR_MODE@GOTPCREL(%rip), %r15
	andl	(%r15), %eax
	movl	%eax, %edi
	callq	_WARN_ON
	movq	_PIPE_B@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CURCNTR
	movl	%eax, %edi
	callq	_I915_READ
	andl	(%r15), %eax
	movl	%eax, %edi
	callq	_WARN_ON
	movl	%ebx, %edi
	callq	_PIPECONF
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_PIPECONF
	movl	%eax, %edi
	callq	_POSTING_READ
	movq	%r14, %rdi
	callq	_intel_wait_for_pipe_scanline_stopped
	movl	%ebx, %edi
	callq	_DPLL
	movq	_DPLL_VGA_MODE_DIS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_DPLL
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_POSTING_READ                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"disabling pipe %c due to force quirk\n"

	.comm	_PLANE_A,4,2                    ## @PLANE_A
	.comm	_DISPLAY_PLANE_ENABLE,4,2       ## @DISPLAY_PLANE_ENABLE
	.comm	_PLANE_B,4,2                    ## @PLANE_B
	.comm	_PLANE_C,4,2                    ## @PLANE_C
	.comm	_PIPE_A,4,2                     ## @PIPE_A
	.comm	_MCURSOR_MODE,4,2               ## @MCURSOR_MODE
	.comm	_PIPE_B,4,2                     ## @PIPE_B
	.comm	_DPLL_VGA_MODE_DIS,4,2          ## @DPLL_VGA_MODE_DIS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i830_disable_pipe              ; -- Begin function i830_disable_pipe
	.p2align	2
_i830_disable_pipe:                     ; @i830_disable_pipe
	.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
	bl	_intel_get_crtc_for_pipe
	mov	x20, x0
	mov	x0, x19
	bl	_pipe_name
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh2:
	adrp	x8, _PLANE_A@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PLANE_A@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_DSPCNTR
	bl	_I915_READ
Lloh5:
	adrp	x21, _DISPLAY_PLANE_ENABLE@GOTPAGE
Lloh6:
	ldr	x21, [x21, _DISPLAY_PLANE_ENABLE@GOTPAGEOFF]
	ldr	w8, [x21]
	and	w0, w8, w0
	bl	_WARN_ON
Lloh7:
	adrp	x8, _PLANE_B@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PLANE_B@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_DSPCNTR
	bl	_I915_READ
	ldr	w8, [x21]
	and	w0, w8, w0
	bl	_WARN_ON
Lloh10:
	adrp	x8, _PLANE_C@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PLANE_C@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_DSPCNTR
	bl	_I915_READ
	ldr	w8, [x21]
	and	w0, w8, w0
	bl	_WARN_ON
Lloh13:
	adrp	x8, _PIPE_A@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PIPE_A@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_CURCNTR
	bl	_I915_READ
Lloh16:
	adrp	x21, _MCURSOR_MODE@GOTPAGE
Lloh17:
	ldr	x21, [x21, _MCURSOR_MODE@GOTPAGEOFF]
	ldr	w8, [x21]
	and	w0, w8, w0
	bl	_WARN_ON
Lloh18:
	adrp	x8, _PIPE_B@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PIPE_B@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_CURCNTR
	bl	_I915_READ
	ldr	w8, [x21]
	and	w0, w8, w0
	bl	_WARN_ON
	mov	x0, x19
	bl	_PIPECONF
	mov	w1, #0
	bl	_I915_WRITE
	mov	x0, x19
	bl	_PIPECONF
	bl	_POSTING_READ
	mov	x0, x20
	bl	_intel_wait_for_pipe_scanline_stopped
	mov	x0, x19
	bl	_DPLL
Lloh21:
	adrp	x8, _DPLL_VGA_MODE_DIS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DPLL_VGA_MODE_DIS@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_I915_WRITE
	mov	x0, x19
	bl	_DPLL
	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	_POSTING_READ
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"disabling pipe %c due to force quirk\n"

	.comm	_PLANE_A,4,2                    ; @PLANE_A
	.comm	_DISPLAY_PLANE_ENABLE,4,2       ; @DISPLAY_PLANE_ENABLE
	.comm	_PLANE_B,4,2                    ; @PLANE_B
	.comm	_PLANE_C,4,2                    ; @PLANE_C
	.comm	_PIPE_A,4,2                     ; @PIPE_A
	.comm	_MCURSOR_MODE,4,2               ; @MCURSOR_MODE
	.comm	_PIPE_B,4,2                     ; @PIPE_B
	.comm	_DPLL_VGA_MODE_DIS,4,2          ; @DPLL_VGA_MODE_DIS
.subsections_via_symbols
