	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_host_lazy_disable          ## -- Begin function mmc_host_lazy_disable
	.p2align	4, 0x90
_mmc_host_lazy_disable:                 ## @mmc_host_lazy_disable
	.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	_MMC_CAP_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 32(%rdi)
	jne	LBB0_6
## %bb.2:
	decq	24(%rbx)
	je	LBB0_3
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	cmpl	$0, 20(%rbx)
	je	LBB0_6
## %bb.4:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:
	addq	$16, %rbx
	callq	_msecs_to_jiffies
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_mmc_schedule_delayed_work
	jmp	LBB0_6
LBB0_7:
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mmc_host_do_disable            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_CAP_DISABLE,4,2            ## @MMC_CAP_DISABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_host_lazy_disable          ; -- Begin function mmc_host_lazy_disable
	.p2align	2
_mmc_host_lazy_disable:                 ; @mmc_host_lazy_disable
	.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	w8, [x0]
Lloh0:
	adrp	x9, _MMC_CAP_DISABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMC_CAP_DISABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x0, #32]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x0, #24]
	subs	x8, x8, #1
	str	x8, [x0, #24]
	b.eq	LBB0_4
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w8, [x0, #20]
	cbz	w8, LBB0_3
; %bb.5:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_7
; %bb.6:
	add	x19, x0, #16
	mov	x0, x8
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x19
	bl	_mmc_schedule_delayed_work
	b	LBB0_3
LBB0_7:
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mmc_host_do_disable
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_CAP_DISABLE,4,2            ; @MMC_CAP_DISABLE
.subsections_via_symbols
