	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_plane_disable_noatomic
_intel_plane_disable_noatomic:          ## @intel_plane_disable_noatomic
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	callq	_to_intel_crtc_state
	movq	%rax, %r15
	movl	16(%rbx), %edi
	callq	_to_intel_plane_state
	movq	%rax, %r12
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	movl	(%r14), %r8d
	movl	4(%r14), %ecx
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_intel_set_plane_visible
	movq	%r15, %rdi
	callq	_fixup_active_planes
	movq	(%r15), %rax
	movq	(%rbx), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	(%rbx), %rax
	movq	_PLANE_PRIMARY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_intel_pre_disable_primary_noatomic
LBB0_2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_intel_disable_plane            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Disabling [PLANE:%d:%s] on [CRTC:%d:%s]\n"

	.comm	_PLANE_PRIMARY,8,3              ## @PLANE_PRIMARY
	.no_dead_strip	_intel_plane_disable_noatomic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_plane_disable_noatomic
_intel_plane_disable_noatomic:          ; @intel_plane_disable_noatomic
	.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
	ldr	w0, [x0, #8]
	bl	_to_intel_crtc_state
	mov	x21, x0
	ldr	w0, [x19, #16]
	bl	_to_intel_plane_state
	mov	x22, x0
	ldp	w2, w1, [x19, #8]
	ldp	w4, w3, [x20]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	mov	x0, x21
	mov	x1, x22
	mov	w2, #0
	bl	_intel_set_plane_visible
	mov	x0, x21
	bl	_fixup_active_planes
	ldr	x8, [x21]
	ldr	x9, [x19]
	str	xzr, [x8, x9, lsl #3]
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _PLANE_PRIMARY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PLANE_PRIMARY@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_intel_pre_disable_primary_noatomic
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	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	_intel_disable_plane
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Disabling [PLANE:%d:%s] on [CRTC:%d:%s]\n"

	.comm	_PLANE_PRIMARY,8,3              ; @PLANE_PRIMARY
	.no_dead_strip	_intel_plane_disable_noatomic
.subsections_via_symbols
