	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxcmci_set_power
_mxcmci_set_power:                      ## @mxcmci_set_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	(%rbx), %rax
	movq	_MMC_POWER_UP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	8(%rbx), %rdi
	movl	(%rdi), %esi
	movl	%r14d, %edx
	jmp	LBB0_5
LBB0_3:
	movq	_MMC_POWER_OFF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movq	8(%rbx), %rdi
	movl	(%rdi), %esi
	xorl	%edx, %edx
LBB0_5:
	callq	_mmc_regulator_set_ocr
LBB0_6:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	8(%rbx), %rdi
	movq	%rax, %rbx
	callq	_mmc_dev
	movl	%eax, %edi
	movl	%r14d, %esi
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_POWER_UP,8,3               ## @MMC_POWER_UP
	.comm	_MMC_POWER_OFF,8,3              ## @MMC_POWER_OFF
	.no_dead_strip	_mxcmci_set_power
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxcmci_set_power
_mxcmci_set_power:                      ; @mxcmci_set_power
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	bl	_IS_ERR
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _MMC_POWER_UP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMC_POWER_UP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	x0, [x20, #8]
	ldr	w1, [x0]
	mov	x2, x19
	b	LBB0_5
LBB0_3:
Lloh3:
	adrp	x9, _MMC_POWER_OFF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MMC_POWER_OFF@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldr	x0, [x20, #8]
	ldr	w1, [x0]
	mov	w2, #0
LBB0_5:
	bl	_mmc_regulator_set_ocr
LBB0_6:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_9
; %bb.7:
	ldr	x0, [x8]
	cbz	x0, LBB0_9
; %bb.8:
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x0, [x20, #8]
	bl	_mmc_dev
	mov	x1, x19
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	br	x2
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_POWER_UP,8,3               ; @MMC_POWER_UP
	.comm	_MMC_POWER_OFF,8,3              ; @MMC_POWER_OFF
	.no_dead_strip	_mxcmci_set_power
.subsections_via_symbols
