	.file	"extr_omap_hsmmc.c_omap_hsmmc_disable.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"UNKNOWN state\n"
	.text
	.p2align 4
	.type	omap_hsmmc_disable, @function
omap_hsmmc_disable:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	ebx, esi
	call	mmc_priv@PLT
	mov	rdi, rax
	mov	eax, DWORD PTR [rax]
	cmp	eax, 130
	je	.L2
	jg	.L3
	cmp	eax, 128
	je	.L4
	cmp	eax, 129
	jne	.L6
	call	omap_hsmmc_enabled_to_disabled@PLT
	test	ebx, ebx
	jne	.L1
	test	eax, eax
	mov	edx, 0
	cmovns	eax, edx
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	eax, 131
	je	.L4
.L6:
	mov	edi, DWORD PTR 4[rdi]
	call	mmc_dev@PLT
	lea	rsi, .LC0[rip]
	mov	edi, eax
	call	dev_dbg@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	omap_hsmmc_sleep_to_off@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	omap_hsmmc_disabled_to_sleep@PLT
	.cfi_endproc
.LFE0:
	.size	omap_hsmmc_disable, .-omap_hsmmc_disable
	.comm	EINVAL,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_hsmmc.c_omap_hsmmc_disable.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"UNKNOWN state\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	omap_hsmmc_disable, %function
omap_hsmmc_disable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r1
	bl	mmc_priv
	ldr	r3, [r0]
	sub	r3, r3, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L3
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	pop	{r4, lr}
	b	omap_hsmmc_sleep_to_off
.L5:
	pop	{r4, lr}
	b	omap_hsmmc_disabled_to_sleep
.L6:
	bl	omap_hsmmc_enabled_to_disabled
	cmp	r4, #0
	movne	r1, #1
	lsreq	r1, r0, #31
	cmp	r1, #0
	moveq	r0, #0
	pop	{r4, pc}
.L2:
	ldr	r0, [r0, #4]
	bl	mmc_dev
	ldr	r1, .L11
	bl	dev_dbg
	ldr	r3, .L11+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	EINVAL
	.size	omap_hsmmc_disable, .-omap_hsmmc_disable
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
