	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_hsmmc_enabled_to_disabled
_omap_hsmmc_enabled_to_disabled:        ## @omap_hsmmc_enabled_to_disabled
	.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
	movq	%rdi, %rbx
	callq	_omap_hsmmc_context_save
	movl	16(%rbx), %edi
	callq	_clk_disable
	movq	_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	8(%rbx), %edi
	callq	_mmc_dev
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_dev_dbg
	movq	(%rbx), %rax
	movq	_MMC_POWER_OFF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	_OMAP_MMC_SLEEP_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_msecs_to_jiffies               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DISABLED,4,2                   ## @DISABLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ENABLED -> DISABLED\n"

	.comm	_MMC_POWER_OFF,8,3              ## @MMC_POWER_OFF
	.comm	_OMAP_MMC_SLEEP_TIMEOUT,4,2     ## @OMAP_MMC_SLEEP_TIMEOUT
	.no_dead_strip	_omap_hsmmc_enabled_to_disabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_hsmmc_enabled_to_disabled
_omap_hsmmc_enabled_to_disabled:        ; @omap_hsmmc_enabled_to_disabled
	.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
	mov	x19, x0
	bl	_omap_hsmmc_context_save
	ldr	w0, [x19, #16]
	bl	_clk_disable
Lloh0:
	adrp	x8, _DISABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	ldr	w0, [x19, #8]
	bl	_mmc_dev
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _MMC_POWER_OFF@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MMC_POWER_OFF@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh8:
	adrp	x8, _OMAP_MMC_SLEEP_TIMEOUT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OMAP_MMC_SLEEP_TIMEOUT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_msecs_to_jiffies
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DISABLED,4,2                   ; @DISABLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ENABLED -> DISABLED\n"

	.comm	_MMC_POWER_OFF,8,3              ; @MMC_POWER_OFF
	.comm	_OMAP_MMC_SLEEP_TIMEOUT,4,2     ; @OMAP_MMC_SLEEP_TIMEOUT
	.no_dead_strip	_omap_hsmmc_enabled_to_disabled
.subsections_via_symbols
