	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ltdc_plane_atomic_disable
_ltdc_plane_atomic_disable:             ## @ltdc_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	%rsi, %r14
	movq	%rdi, %rbx
	callq	_plane_to_ltdc
	movq	_LAY_OFS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	imull	(%rbx), %esi
	movl	(%rax), %edi
	movq	_LTDC_L1CR@GOTPCREL(%rip), %rax
	addl	(%rax), %esi
	movq	_LXCR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_reg_clear
	movq	(%r14), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DRM_DEBUG_DRIVER               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LAY_OFS,4,2                    ## @LAY_OFS
	.comm	_LTDC_L1CR,4,2                  ## @LTDC_L1CR
	.comm	_LXCR_LEN,4,2                   ## @LXCR_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CRTC:%d plane:%d\n"

	.no_dead_strip	_ltdc_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 ltdc_plane_atomic_disable
_ltdc_plane_atomic_disable:             ; @ltdc_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, x1
	mov	x20, x0
	bl	_plane_to_ltdc
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _LAY_OFS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LAY_OFS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _LTDC_L1CR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _LTDC_L1CR@GOTPAGEOFF]
	ldr	w0, [x0]
Lloh5:
	ldr	w10, [x10]
	madd	w1, w9, w8, w10
Lloh6:
	adrp	x8, _LXCR_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LXCR_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_reg_clear
	ldr	x8, [x19]
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DRM_DEBUG_DRIVER
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LAY_OFS,4,2                    ; @LAY_OFS
	.comm	_LTDC_L1CR,4,2                  ; @LTDC_L1CR
	.comm	_LXCR_LEN,4,2                   ; @LXCR_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CRTC:%d plane:%d\n"

	.no_dead_strip	_ltdc_plane_atomic_disable
.subsections_via_symbols
