	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cafe_ctlr_power_up
_cafe_ctlr_power_up:                    ## @cafe_ctlr_power_up
	.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	_REG_GL_FCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GFCR_GPIO_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_mcam_reg_write
	movq	_REG_GL_GPIOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GGPIO_OUT@GOTPCREL(%rip), %rax
	movq	_GGPIO_VAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mcam_reg_write
	movq	_REG_GPR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_GPR_C1EN@GOTPCREL(%rip), %r15
	movq	_GPR_C0EN@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	orl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_mcam_reg_write
	movl	(%r12), %edx
	orl	(%r15), %edx
	movl	(%r14), %esi
	movq	_GPR_C0@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mcam_reg_write
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_GL_FCR,4,2                 ## @REG_GL_FCR
	.comm	_GFCR_GPIO_ON,4,2               ## @GFCR_GPIO_ON
	.comm	_REG_GL_GPIOR,4,2               ## @REG_GL_GPIOR
	.comm	_GGPIO_OUT,4,2                  ## @GGPIO_OUT
	.comm	_GGPIO_VAL,4,2                  ## @GGPIO_VAL
	.comm	_REG_GPR,4,2                    ## @REG_GPR
	.comm	_GPR_C1EN,4,2                   ## @GPR_C1EN
	.comm	_GPR_C0EN,4,2                   ## @GPR_C0EN
	.comm	_GPR_C0,4,2                     ## @GPR_C0
	.no_dead_strip	_cafe_ctlr_power_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cafe_ctlr_power_up
_cafe_ctlr_power_up:                    ; @cafe_ctlr_power_up
	.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
Lloh0:
	adrp	x8, _REG_GL_FCR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_GL_FCR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _GFCR_GPIO_ON@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFCR_GPIO_ON@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_mcam_reg_write
Lloh6:
	adrp	x8, _REG_GL_GPIOR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_GL_GPIOR@GOTPAGEOFF]
Lloh8:
	adrp	x9, _GGPIO_OUT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GGPIO_OUT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	ldr	w8, [x9]
Lloh12:
	adrp	x9, _GGPIO_VAL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _GGPIO_VAL@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_mcam_reg_write
Lloh15:
	adrp	x20, _REG_GPR@GOTPAGE
Lloh16:
	ldr	x20, [x20, _REG_GPR@GOTPAGEOFF]
Lloh17:
	adrp	x21, _GPR_C1EN@GOTPAGE
Lloh18:
	ldr	x21, [x21, _GPR_C1EN@GOTPAGEOFF]
	ldr	w1, [x20]
	ldr	w8, [x21]
Lloh19:
	adrp	x22, _GPR_C0EN@GOTPAGE
Lloh20:
	ldr	x22, [x22, _GPR_C0EN@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_mcam_reg_write
	ldr	w1, [x20]
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _GPR_C0@GOTPAGE
Lloh22:
	ldr	x9, [x9, _GPR_C0@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_mcam_reg_write
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_GL_FCR,4,2                 ; @REG_GL_FCR
	.comm	_GFCR_GPIO_ON,4,2               ; @GFCR_GPIO_ON
	.comm	_REG_GL_GPIOR,4,2               ; @REG_GL_GPIOR
	.comm	_GGPIO_OUT,4,2                  ; @GGPIO_OUT
	.comm	_GGPIO_VAL,4,2                  ; @GGPIO_VAL
	.comm	_REG_GPR,4,2                    ; @REG_GPR
	.comm	_GPR_C1EN,4,2                   ; @GPR_C1EN
	.comm	_GPR_C0EN,4,2                   ; @GPR_C0EN
	.comm	_GPR_C0,4,2                     ; @GPR_C0
	.no_dead_strip	_cafe_ctlr_power_up
.subsections_via_symbols
