	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function keylargo_mb_power
_keylargo_mb_power:                     ## @keylargo_mb_power
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %eax
	movq	%rdi, %rbx
	movq	_KEYLARGO_MBCR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_KL_MBCR_MB0_DEV_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_MB_BIC
	movl	(%r14), %esi
	movq	_KL_MBCR_MB0_DEV_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_MB_BIC
	jmp	LBB0_3
LBB0_2:
	movq	_KL_MBCR_MB0_DEV_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_MB_BIC
	movq	_KEYLARGO_FCR1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_KL1_EIDE0_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_MB_BIC
	movl	(%r14), %esi
	movq	_KL_MBCR_MB0_DEV_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_MB_BIS
	movl	(%r14), %esi
	movq	_KL_MBCR_MB0_DEV_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_MB_BIS
	movl	(%r15), %esi
	movq	_KL1_EIDE0_RESET_N@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_MB_BIS
LBB0_3:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$15, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MB_BIC                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_KEYLARGO_MBCR,4,2              ## @KEYLARGO_MBCR
	.comm	_KL_MBCR_MB0_DEV_RESET,4,2      ## @KL_MBCR_MB0_DEV_RESET
	.comm	_KL_MBCR_MB0_DEV_POWER,4,2      ## @KL_MBCR_MB0_DEV_POWER
	.comm	_KL_MBCR_MB0_DEV_MASK,4,2       ## @KL_MBCR_MB0_DEV_MASK
	.comm	_KEYLARGO_FCR1,4,2              ## @KEYLARGO_FCR1
	.comm	_KL1_EIDE0_ENABLE,4,2           ## @KL1_EIDE0_ENABLE
	.comm	_KL1_EIDE0_RESET_N,4,2          ## @KL1_EIDE0_RESET_N
	.no_dead_strip	_keylargo_mb_power
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function keylargo_mb_power
_keylargo_mb_power:                     ; @keylargo_mb_power
	.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	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x20, _KEYLARGO_MBCR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _KEYLARGO_MBCR@GOTPAGEOFF]
	ldr	w1, [x20]
	cbz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _KL_MBCR_MB0_DEV_RESET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KL_MBCR_MB0_DEV_RESET@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_MB_BIC
	ldr	w1, [x20]
Lloh5:
	adrp	x8, _KL_MBCR_MB0_DEV_POWER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KL_MBCR_MB0_DEV_POWER@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_MB_BIC
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _KL_MBCR_MB0_DEV_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KL_MBCR_MB0_DEV_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_MB_BIC
Lloh11:
	adrp	x21, _KEYLARGO_FCR1@GOTPAGE
Lloh12:
	ldr	x21, [x21, _KEYLARGO_FCR1@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh13:
	adrp	x8, _KL1_EIDE0_ENABLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _KL1_EIDE0_ENABLE@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_MB_BIC
	ldr	w1, [x20]
Lloh16:
	adrp	x8, _KL_MBCR_MB0_DEV_POWER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _KL_MBCR_MB0_DEV_POWER@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_MB_BIS
	ldr	w1, [x20]
Lloh19:
	adrp	x8, _KL_MBCR_MB0_DEV_RESET@GOTPAGE
Lloh20:
	ldr	x8, [x8, _KL_MBCR_MB0_DEV_RESET@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_MB_BIS
	ldr	w1, [x21]
Lloh22:
	adrp	x8, _KL1_EIDE0_RESET_N@GOTPAGE
Lloh23:
	ldr	x8, [x8, _KL1_EIDE0_RESET_N@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_MB_BIS
LBB0_3:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #15
	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	_MB_BIC
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_KEYLARGO_MBCR,4,2              ; @KEYLARGO_MBCR
	.comm	_KL_MBCR_MB0_DEV_RESET,4,2      ; @KL_MBCR_MB0_DEV_RESET
	.comm	_KL_MBCR_MB0_DEV_POWER,4,2      ; @KL_MBCR_MB0_DEV_POWER
	.comm	_KL_MBCR_MB0_DEV_MASK,4,2       ; @KL_MBCR_MB0_DEV_MASK
	.comm	_KEYLARGO_FCR1,4,2              ; @KEYLARGO_FCR1
	.comm	_KL1_EIDE0_ENABLE,4,2           ; @KL1_EIDE0_ENABLE
	.comm	_KL1_EIDE0_RESET_N,4,2          ; @KL1_EIDE0_RESET_N
	.no_dead_strip	_keylargo_mb_power
.subsections_via_symbols
