	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxsfb_enable_controller
_mxsfb_enable_controller:               ## @mxsfb_enable_controller
	.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	%rdi, %rbx
	movq	16(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_clk_prepare_enable
LBB0_2:
	movq	8(%rbx), %rdi
	callq	_clk_prepare_enable
	movq	_CTRL_DOTCLK_MODE@GOTPCREL(%rip), %rax
	movq	_LCDC_CTRL@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	movl	(%rax), %edi
	movq	_REG_SET@GOTPCREL(%rip), %r15
	addq	(%r15), %rsi
	callq	_writel
	movq	_LCDC_VDCTRL4@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	_VDCTRL4_SYNC_SIGNALS_ON@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r12), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_CTRL_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	addq	(%r15), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CTRL_DOTCLK_MODE,4,2           ## @CTRL_DOTCLK_MODE
	.comm	_LCDC_CTRL,8,3                  ## @LCDC_CTRL
	.comm	_REG_SET,8,3                    ## @REG_SET
	.comm	_LCDC_VDCTRL4,8,3               ## @LCDC_VDCTRL4
	.comm	_VDCTRL4_SYNC_SIGNALS_ON,4,2    ## @VDCTRL4_SYNC_SIGNALS_ON
	.comm	_CTRL_RUN,4,2                   ## @CTRL_RUN
	.no_dead_strip	_mxsfb_enable_controller
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxsfb_enable_controller
_mxsfb_enable_controller:               ; @mxsfb_enable_controller
	.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, x0
	ldr	x0, [x0, #16]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_clk_prepare_enable
LBB0_2:
	ldr	x0, [x19, #8]
	bl	_clk_prepare_enable
Lloh0:
	adrp	x8, _CTRL_DOTCLK_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CTRL_DOTCLK_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh3:
	adrp	x20, _LCDC_CTRL@GOTPAGE
Lloh4:
	ldr	x20, [x20, _LCDC_CTRL@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh5:
	adrp	x21, _REG_SET@GOTPAGE
Lloh6:
	ldr	x21, [x21, _REG_SET@GOTPAGEOFF]
	ldr	x10, [x21]
	add	x8, x9, x8
	add	x1, x8, x10
	bl	_writel
	ldr	x8, [x19]
Lloh7:
	adrp	x22, _LCDC_VDCTRL4@GOTPAGE
Lloh8:
	ldr	x22, [x22, _LCDC_VDCTRL4@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
Lloh9:
	adrp	x8, _VDCTRL4_SYNC_SIGNALS_ON@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VDCTRL4_SYNC_SIGNALS_ON@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_writel
Lloh12:
	adrp	x8, _CTRL_RUN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CTRL_RUN@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	x10, [x21]
	add	x8, x9, x8
	add	x1, x8, x10
	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	_writel
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CTRL_DOTCLK_MODE,4,2           ; @CTRL_DOTCLK_MODE
	.comm	_LCDC_CTRL,8,3                  ; @LCDC_CTRL
	.comm	_REG_SET,8,3                    ; @REG_SET
	.comm	_LCDC_VDCTRL4,8,3               ; @LCDC_VDCTRL4
	.comm	_VDCTRL4_SYNC_SIGNALS_ON,4,2    ; @VDCTRL4_SYNC_SIGNALS_ON
	.comm	_CTRL_RUN,4,2                   ; @CTRL_RUN
	.no_dead_strip	_mxsfb_enable_controller
.subsections_via_symbols
