	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_pci_remove_slot
_sdhci_pci_remove_slot:                 ## @sdhci_pci_remove_slot
	.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, %r14
	callq	_sdhci_pci_remove_own_cd
	movq	(%r14), %rax
	movq	_SDHCI_INT_STATUS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	callq	_readl
	xorl	%ebx, %ebx
	cmpq	$-1, %rax
	sete	%bl
	movq	(%r14), %rdi
	movl	%ebx, %esi
	callq	_sdhci_remove_host
	movq	16(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	*%rax
LBB0_3:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	callq	*%rax
LBB0_6:
	movq	(%r14), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_sdhci_free_host                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_INT_STATUS,8,3           ## @SDHCI_INT_STATUS
	.no_dead_strip	_sdhci_pci_remove_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_pci_remove_slot
_sdhci_pci_remove_slot:                 ; @sdhci_pci_remove_slot
	.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	_sdhci_pci_remove_own_cd
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _SDHCI_INT_STATUS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SDHCI_INT_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	cmn	x0, #1
	cset	w20, eq
	ldr	x0, [x19]
	mov	x1, x20
	bl	_sdhci_remove_host
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	blr	x8
LBB0_3:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.5:
	blr	x8
LBB0_6:
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sdhci_free_host
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCI_INT_STATUS,8,3           ; @SDHCI_INT_STATUS
	.no_dead_strip	_sdhci_pci_remove_slot
.subsections_via_symbols
