	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_plane_atomic_disable
_omap_plane_atomic_disable:             ## @omap_plane_atomic_disable
	.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
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %r14
	callq	_to_omap_plane
	movq	_DRM_MODE_ROTATE_0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	8(%rbx), %rdx
	movl	%ecx, 4(%rdx)
	movq	(%rbx), %rcx
	movq	_DRM_PLANE_TYPE_PRIMARY@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	cmpq	(%rsi), %rcx
	movl	(%rax), %esi
	movl	%esi, %eax
	cmovel	%edi, %eax
	movl	%eax, (%rdx)
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movl	(%r14), %edi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_ROTATE_0,4,2          ## @DRM_MODE_ROTATE_0
	.comm	_DRM_PLANE_TYPE_PRIMARY,8,3     ## @DRM_PLANE_TYPE_PRIMARY
	.no_dead_strip	_omap_plane_atomic_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_plane_atomic_disable
_omap_plane_atomic_disable:             ; @omap_plane_atomic_disable
	.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
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x20, [x8]
	bl	_to_omap_plane
Lloh0:
	adrp	x8, _DRM_MODE_ROTATE_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_ROTATE_0@GOTPAGEOFF]
	ldp	x10, x9, [x19]
Lloh2:
	adrp	x11, _DRM_PLANE_TYPE_PRIMARY@GOTPAGE
Lloh3:
	ldr	x11, [x11, _DRM_PLANE_TYPE_PRIMARY@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x11]
	cmp	x10, x11
Lloh5:
	ldr	w8, [x8]
	ldr	w1, [x0]
	csel	w10, wzr, w1, eq
	stp	w10, w8, [x9]
	ldr	x8, [x20, #8]
	ldr	x3, [x8]
	ldr	w0, [x20]
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x3
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_ROTATE_0,4,2          ; @DRM_MODE_ROTATE_0
	.comm	_DRM_PLANE_TYPE_PRIMARY,8,3     ; @DRM_PLANE_TYPE_PRIMARY
	.no_dead_strip	_omap_plane_atomic_disable
.subsections_via_symbols
