	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ilk_disable_plane
_ilk_disable_plane:                     ## @ilk_disable_plane
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_to_intel_plane
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_DVSCNTR
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_DVSCNTR
	movl	%eax, %edi
	callq	_I915_READ
	movq	_DVS_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	%r14d, %edi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_DVSSCALE
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_DVSSURF
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_I915_MODIFY_DISPBASE
	movl	%ebx, %edi
	callq	_DVSSURF
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_POSTING_READ                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DVS_ENABLE,4,2                 ## @DVS_ENABLE
	.no_dead_strip	_ilk_disable_plane
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ilk_disable_plane
_ilk_disable_plane:                     ; @ilk_disable_plane
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_to_intel_plane
	ldr	w19, [x0]
	mov	x0, x19
	bl	_DVSCNTR
	mov	x20, x0
	mov	x0, x19
	bl	_DVSCNTR
	bl	_I915_READ
Lloh0:
	adrp	x8, _DVS_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DVS_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w1, w0, w8
	mov	x0, x20
	bl	_I915_WRITE
	mov	x0, x19
	bl	_DVSSCALE
	mov	w1, #0
	bl	_I915_WRITE
	mov	x0, x19
	bl	_DVSSURF
	mov	w1, #0
	bl	_I915_MODIFY_DISPBASE
	mov	x0, x19
	bl	_DVSSURF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_POSTING_READ
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DVS_ENABLE,4,2                 ; @DVS_ENABLE
	.no_dead_strip	_ilk_disable_plane
.subsections_via_symbols
