	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_omap_remove_slot
_mmc_omap_remove_slot:                  ## @mmc_omap_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, %rbx
	movq	16(%rdi), %rax
	movq	24(%rdi), %r14
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.1:
	movq	_dev_attr_slot_name@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_remove_file
	movq	16(%rbx), %rax
LBB0_2:
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_dev_attr_cover_switch@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_remove_file
LBB0_4:
	leaq	12(%rbx), %rdi
	callq	_tasklet_kill
	leaq	8(%rbx), %rdi
	callq	_del_timer_sync
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_flush_workqueue
	movq	%r14, %rdi
	callq	_mmc_remove_host
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mmc_free_host                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_attr_slot_name,4,2         ## @dev_attr_slot_name
	.comm	_dev_attr_cover_switch,4,2      ## @dev_attr_cover_switch
	.no_dead_strip	_mmc_omap_remove_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_omap_remove_slot
_mmc_omap_remove_slot:                  ; @mmc_omap_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	x20, x0
	ldp	x8, x19, [x0, #16]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, _dev_attr_slot_name@GOTPAGE
Lloh1:
	ldr	x1, [x1, _dev_attr_slot_name@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
	ldr	x8, [x20, #16]
LBB0_2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, _dev_attr_cover_switch@GOTPAGE
Lloh3:
	ldr	x1, [x1, _dev_attr_cover_switch@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
LBB0_4:
	add	x0, x20, #12
	bl	_tasklet_kill
	add	x0, x20, #8
	bl	_del_timer_sync
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_flush_workqueue
	mov	x0, x19
	bl	_mmc_remove_host
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mmc_free_host
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_attr_slot_name,4,2         ; @dev_attr_slot_name
	.comm	_dev_attr_cover_switch,4,2      ; @dev_attr_cover_switch
	.no_dead_strip	_mmc_omap_remove_slot
.subsections_via_symbols
