	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ltdc_crtc_atomic_enable
_ltdc_crtc_atomic_enable:               ## @ltdc_crtc_atomic_enable
	.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, %r14
	callq	_crtc_to_ltdc
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
	movl	(%rbx), %edi
	movq	_LTDC_BCCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BCCR_BCBLACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_reg_write
	movl	(%rbx), %edi
	movq	_LTDC_IER@GOTPCREL(%rip), %rax
	movq	_IER_RRIE@GOTPCREL(%rip), %rcx
	movq	_IER_FUIE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_IER_TERRIE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_reg_set
	movl	(%rbx), %edi
	movq	_LTDC_SRCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SRCR_VBR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_reg_set
	movl	(%rbx), %edi
	movq	_LTDC_GCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GCR_LTDCEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_reg_set
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_drm_crtc_vblank_on             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_LTDC_BCCR,4,2                  ## @LTDC_BCCR
	.comm	_BCCR_BCBLACK,4,2               ## @BCCR_BCBLACK
	.comm	_LTDC_IER,4,2                   ## @LTDC_IER
	.comm	_IER_RRIE,4,2                   ## @IER_RRIE
	.comm	_IER_FUIE,4,2                   ## @IER_FUIE
	.comm	_IER_TERRIE,4,2                 ## @IER_TERRIE
	.comm	_LTDC_SRCR,4,2                  ## @LTDC_SRCR
	.comm	_SRCR_VBR,4,2                   ## @SRCR_VBR
	.comm	_LTDC_GCR,4,2                   ## @LTDC_GCR
	.comm	_GCR_LTDCEN,4,2                 ## @GCR_LTDCEN
	.no_dead_strip	_ltdc_crtc_atomic_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ltdc_crtc_atomic_enable
_ltdc_crtc_atomic_enable:               ; @ltdc_crtc_atomic_enable
	.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
	bl	_crtc_to_ltdc
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
	ldr	w0, [x20]
Lloh2:
	adrp	x8, _LTDC_BCCR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LTDC_BCCR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _BCCR_BCBLACK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BCCR_BCBLACK@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_reg_write
	ldr	w0, [x20]
Lloh8:
	adrp	x8, _LTDC_IER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LTDC_IER@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _IER_RRIE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IER_RRIE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _IER_FUIE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IER_FUIE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh17:
	adrp	x9, _IER_TERRIE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IER_TERRIE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w2, w8, w9
	bl	_reg_set
	ldr	w0, [x20]
Lloh20:
	adrp	x8, _LTDC_SRCR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LTDC_SRCR@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _SRCR_VBR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SRCR_VBR@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	bl	_reg_set
	ldr	w0, [x20]
Lloh26:
	adrp	x8, _LTDC_GCR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LTDC_GCR@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x8, _GCR_LTDCEN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _GCR_LTDCEN@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	bl	_reg_set
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_drm_crtc_vblank_on
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_LTDC_BCCR,4,2                  ; @LTDC_BCCR
	.comm	_BCCR_BCBLACK,4,2               ; @BCCR_BCBLACK
	.comm	_LTDC_IER,4,2                   ; @LTDC_IER
	.comm	_IER_RRIE,4,2                   ; @IER_RRIE
	.comm	_IER_FUIE,4,2                   ; @IER_FUIE
	.comm	_IER_TERRIE,4,2                 ; @IER_TERRIE
	.comm	_LTDC_SRCR,4,2                  ; @LTDC_SRCR
	.comm	_SRCR_VBR,4,2                   ; @SRCR_VBR
	.comm	_LTDC_GCR,4,2                   ; @LTDC_GCR
	.comm	_GCR_LTDCEN,4,2                 ; @GCR_LTDCEN
	.no_dead_strip	_ltdc_crtc_atomic_enable
.subsections_via_symbols
