	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ingenic_drm_crtc_atomic_enable
_ingenic_drm_crtc_atomic_enable:        ## @ingenic_drm_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	_drm_crtc_get_priv
	movq	%rax, %rbx
	movl	(%rax), %edi
	movq	_JZ_REG_LCD_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_regmap_write
	movl	(%rbx), %edi
	movq	_JZ_REG_LCD_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_JZ_LCD_CTRL_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_JZ_LCD_CTRL_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%ecx, %edx
	callq	_regmap_update_bits
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_drm_crtc_vblank_on             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_JZ_REG_LCD_STATE,4,2           ## @JZ_REG_LCD_STATE
	.comm	_JZ_REG_LCD_CTRL,4,2            ## @JZ_REG_LCD_CTRL
	.comm	_JZ_LCD_CTRL_ENABLE,4,2         ## @JZ_LCD_CTRL_ENABLE
	.comm	_JZ_LCD_CTRL_DISABLE,4,2        ## @JZ_LCD_CTRL_DISABLE
	.no_dead_strip	_ingenic_drm_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 ingenic_drm_crtc_atomic_enable
_ingenic_drm_crtc_atomic_enable:        ; @ingenic_drm_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	_drm_crtc_get_priv
	mov	x20, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _JZ_REG_LCD_STATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JZ_REG_LCD_STATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_regmap_write
	ldr	w0, [x20]
Lloh3:
	adrp	x8, _JZ_REG_LCD_CTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _JZ_REG_LCD_CTRL@GOTPAGEOFF]
Lloh5:
	adrp	x9, _JZ_LCD_CTRL_ENABLE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _JZ_LCD_CTRL_ENABLE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	ldr	w3, [x9]
Lloh9:
	adrp	x8, _JZ_LCD_CTRL_DISABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _JZ_LCD_CTRL_DISABLE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w2, w8, w3
	bl	_regmap_update_bits
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_JZ_REG_LCD_STATE,4,2           ; @JZ_REG_LCD_STATE
	.comm	_JZ_REG_LCD_CTRL,4,2            ; @JZ_REG_LCD_CTRL
	.comm	_JZ_LCD_CTRL_ENABLE,4,2         ; @JZ_LCD_CTRL_ENABLE
	.comm	_JZ_LCD_CTRL_DISABLE,4,2        ; @JZ_LCD_CTRL_DISABLE
	.no_dead_strip	_ingenic_drm_crtc_atomic_enable
.subsections_via_symbols
