	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_pwrseq_simple_power_off
_mmc_pwrseq_simple_power_off:           ## @mmc_pwrseq_simple_power_off
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rdi), %edi
	callq	_to_pwrseq_simple
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_mmc_pwrseq_simple_set_gpios_value
	movl	(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	leal	(%rdi,%rdi), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_usleep_range
LBB0_2:
	movl	8(%rbx), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	cmpl	$0, 4(%rbx)
	je	LBB0_5
## %bb.4:
	movl	8(%rbx), %edi
	callq	_clk_disable_unprepare
	movl	$0, 4(%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mmc_pwrseq_simple_power_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_pwrseq_simple_power_off
_mmc_pwrseq_simple_power_off:           ; @mmc_pwrseq_simple_power_off
	.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
	ldr	w0, [x0]
	bl	_to_pwrseq_simple
	mov	x19, x0
	mov	w1, #1
	bl	_mmc_pwrseq_simple_set_gpios_value
	ldr	w0, [x19]
	cbz	w0, LBB0_2
; %bb.1:
	lsl	w1, w0, #1
	bl	_usleep_range
LBB0_2:
	ldr	w0, [x19, #8]
	bl	_IS_ERR
	cbnz	w0, LBB0_5
; %bb.3:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_5
; %bb.4:
	ldr	w0, [x19, #8]
	bl	_clk_disable_unprepare
	str	wzr, [x19, #4]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mmc_pwrseq_simple_power_off
.subsections_via_symbols
