	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_host_disable               ## -- Begin function mmc_host_disable
	.p2align	4, 0x90
_mmc_host_disable:                      ## @mmc_host_disable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MMC_CAP_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_4
## %bb.1:
	cmpq	$0, 16(%rdi)
	jne	LBB0_4
## %bb.2:
	decq	8(%rdi)
	je	LBB0_3
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	cmpl	$0, 4(%rdi)
	je	LBB0_4
## %bb.5:
	xorl	%esi, %esi
	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_disable               ; -- Begin function mmc_host_disable
	.p2align	2
_mmc_host_disable:                      ; @mmc_host_disable
	.cfi_startproc
; %bb.0:
	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, #16]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x0, #8]
	subs	x8, x8, #1
	str	x8, [x0, #8]
	b.eq	LBB0_4
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_3
; %bb.5:
	mov	w1, #0
	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
