	.file	"extr_cb710-mmc.c_cb710_mmc_exit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cb710_mmc_exit, @function
cb710_mmc_exit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	cb710_pdev_to_slot@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	cb710_slot_to_mmc@PLT
	mov	rdi, rax
	mov	r12, rax
	call	mmc_priv@PLT
	mov	edx, DWORD PTR CB710_MMC_IE_CARD_INSERTION_STATUS[rip]
	xor	esi, esi
	mov	rdi, rbp
	mov	r13, rax
	call	cb710_mmc_enable_irq@PLT
	mov	rdi, r12
	call	mmc_remove_host@PLT
	mov	edx, -1
	mov	rdi, rbp
	xor	esi, esi
	call	cb710_mmc_enable_irq@PLT
	mov	rdi, rbp
	xor	esi, esi
	call	cb710_set_irq_handler@PLT
	mov	esi, DWORD PTR CB710_MMC_CONFIG_PORT[rip]
	mov	rdi, rbp
	xor	edx, edx
	call	cb710_write_port_32@PLT
	mov	esi, DWORD PTR CB710_MMC_CONFIGB_PORT[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	cb710_write_port_16@PLT
	mov	rdi, r13
	call	tasklet_kill@PLT
	mov	rdi, r12
	call	mmc_free_host@PLT
	pop	rbp
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cb710_mmc_exit, .-cb710_mmc_exit
	.comm	CB710_MMC_IE_CARD_INSERTION_STATUS,4,4
	.comm	CB710_MMC_CONFIG_PORT,4,4
	.comm	CB710_MMC_CONFIGB_PORT,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_cb710-mmc.c_cb710_mmc_exit.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cb710_mmc_exit, %function
cb710_mmc_exit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	cb710_pdev_to_slot
	mov	r4, r0
	bl	cb710_slot_to_mmc
	mov	r5, r0
	bl	mmc_priv
	mov	r6, r0
	ldr	r3, .L4
	mov	r1, #0
	ldr	r2, [r3]
	mov	r0, r4
	bl	cb710_mmc_enable_irq
	mov	r0, r5
	bl	mmc_remove_host
	mvn	r2, #0
	mov	r0, r4
	mov	r1, #0
	bl	cb710_mmc_enable_irq
	mov	r0, r4
	mov	r1, #0
	bl	cb710_set_irq_handler
	ldr	r3, .L4+4
	mov	r0, r4
	ldr	r1, [r3]
	mov	r2, #0
	bl	cb710_write_port_32
	ldr	r3, .L4+8
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r4
	bl	cb710_write_port_16
	mov	r0, r6
	bl	tasklet_kill
	mov	r0, r5
	bl	mmc_free_host
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	CB710_MMC_IE_CARD_INSERTION_STATUS
	.word	CB710_MMC_CONFIG_PORT
	.word	CB710_MMC_CONFIGB_PORT
	.size	cb710_mmc_exit, .-cb710_mmc_exit
	.comm	CB710_MMC_IE_CARD_INSERTION_STATUS,4,4
	.comm	CB710_MMC_CONFIG_PORT,4,4
	.comm	CB710_MMC_CONFIGB_PORT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
