	.file	"extr_omap.c_mmc_omap_remove_slot.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mmc_omap_remove_slot, @function
mmc_omap_remove_slot:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 16[rdi]
	mov	rbp, QWORD PTR 24[rdi]
	cmp	QWORD PTR 8[rax], 0
	je	.L2
	lea	rsi, dev_attr_slot_name[rip]
	mov	rdi, rbp
	call	device_remove_file@PLT
	mov	rax, QWORD PTR 16[rbx]
.L2:
	cmp	QWORD PTR [rax], 0
	je	.L3
	lea	rsi, dev_attr_cover_switch[rip]
	mov	rdi, rbp
	call	device_remove_file@PLT
.L3:
	lea	rdi, 12[rbx]
	call	tasklet_kill@PLT
	lea	rdi, 8[rbx]
	call	del_timer_sync@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR [rax]
	call	flush_workqueue@PLT
	mov	rdi, rbp
	call	mmc_remove_host@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	mmc_free_host@PLT
	.cfi_endproc
.LFE0:
	.size	mmc_omap_remove_slot, .-mmc_omap_remove_slot
	.comm	dev_attr_slot_name,4,4
	.comm	dev_attr_cover_switch,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_omap.c_mmc_omap_remove_slot.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mmc_omap_remove_slot, %function
mmc_omap_remove_slot:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #12]
	push	{r4, r5, r6, lr}
	ldr	r2, [r3, #4]
	mov	r4, r0
	cmp	r2, #0
	ldr	r5, [r0, #16]
	beq	.L2
	mov	r0, r5
	ldr	r1, .L12
	bl	device_remove_file
	ldr	r3, [r4, #12]
.L2:
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L3
	mov	r0, r5
	ldr	r1, .L12+4
	bl	device_remove_file
.L3:
	add	r0, r4, #8
	bl	tasklet_kill
	add	r0, r4, #4
	bl	del_timer_sync
	ldr	r3, [r4]
	ldr	r0, [r3]
	bl	flush_workqueue
	mov	r0, r5
	bl	mmc_remove_host
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	mmc_free_host
.L13:
	.align	2
.L12:
	.word	dev_attr_slot_name
	.word	dev_attr_cover_switch
	.size	mmc_omap_remove_slot, .-mmc_omap_remove_slot
	.comm	dev_attr_slot_name,4,4
	.comm	dev_attr_cover_switch,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
