	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_release_host               ## -- Begin function mmc_release_host
	.p2align	4, 0x90
_mmc_release_host:                      ## @mmc_release_host
	.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
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpq	$0, 24(%rbx)
	sete	%dil
	callq	_WARN_ON
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	decq	32(%rbx)
	je	LBB0_1
## %bb.3:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_1:
	movq	$0, 24(%rbx)
	movq	16(%rbx), %rax
	movq	$0, (%rax)
	movq	$0, 16(%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	leaq	4(%rbx), %rdi
	callq	_wake_up
	movq	%rbx, %rdi
	callq	_mmc_dev
	movl	%eax, %edi
	callq	_pm_runtime_mark_last_busy
	movq	_MMC_CAP_SYNC_RUNTIME_PM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	andl	(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_mmc_dev
	movl	%eax, %edi
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pm_runtime_put_sync_suspend    ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pm_runtime_put_autosuspend     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_CAP_SYNC_RUNTIME_PM,4,2    ## @MMC_CAP_SYNC_RUNTIME_PM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_release_host               ; -- Begin function mmc_release_host
	.p2align	2
_mmc_release_host:                      ; @mmc_release_host
	.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
	ldr	x8, [x0, #24]
	cmp	x8, #0
	cset	w0, eq
	bl	_WARN_ON
	add	x20, x19, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #32]
	subs	x8, x8, #1
	str	x8, [x19, #32]
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
LBB0_2:
	ldr	x8, [x19, #16]
	str	xzr, [x8]
	stp	xzr, xzr, [x19, #16]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	add	x0, x19, #4
	bl	_wake_up
	mov	x0, x19
	bl	_mmc_dev
	bl	_pm_runtime_mark_last_busy
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _MMC_CAP_SYNC_RUNTIME_PM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMC_CAP_SYNC_RUNTIME_PM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w20, w9, w8
	mov	x0, x19
	bl	_mmc_dev
	cbz	w20, LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pm_runtime_put_sync_suspend
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pm_runtime_put_autosuspend
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_CAP_SYNC_RUNTIME_PM,4,2    ; @MMC_CAP_SYNC_RUNTIME_PM
.subsections_via_symbols
