	.file	"extr_omap-usb-tll.c_omap_tll_disable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	omap_tll_disable
	.type	omap_tll_disable, @function
omap_tll_disable:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR tll_dev[rip]
	test	edx, edx
	jne	.L2
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	lea	rdi, tll_lock[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	spin_lock@PLT
	mov	edi, DWORD PTR tll_dev[rip]
	call	dev_get_drvdata@PLT
	mov	rbp, rax
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L4
	xor	ebx, ebx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L6:
	add	rbx, 1
	cmp	DWORD PTR 0[rbp], ebx
	jle	.L4
.L8:
	mov	rax, QWORD PTR [r12]
	lea	r13, 0[0+rbx*4]
	mov	edi, DWORD PTR [rax+rbx*4]
	call	omap_usb_mode_needs_tll@PLT
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR [rax+rbx*4]
	call	IS_ERR@PLT
	test	eax, eax
	jne	.L6
	mov	rax, QWORD PTR 8[rbp]
	add	rbx, 1
	mov	edi, DWORD PTR [rax+r13]
	call	clk_disable@PLT
	cmp	DWORD PTR 0[rbp], ebx
	jg	.L8
.L4:
	lea	rdi, tll_lock[rip]
	call	spin_unlock@PLT
	mov	edi, DWORD PTR tll_dev[rip]
	call	pm_runtime_put_sync@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	omap_tll_disable, .-omap_tll_disable
	.comm	tll_lock,4,4
	.comm	tll_dev,4,4
	.comm	ENODEV,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-usb-tll.c_omap_tll_disable.c"
	.text
	.align	2
	.global	omap_tll_disable
	.syntax unified
	.arm
	.fpu softvfp
	.type	omap_tll_disable, %function
omap_tll_disable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, .L12
	ldr	r3, [r8]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L12+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r6, r0
	ldr	r0, .L12+8
	bl	spin_lock
	ldr	r0, [r8]
	bl	dev_get_drvdata
	ldr	r3, [r0]
	mov	r5, r0
	cmp	r3, #0
	ble	.L4
	mov	r4, #0
	b	.L8
.L6:
	ldr	r3, [r5]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L4
.L8:
	ldr	r3, [r6]
	lsl	r7, r4, #2
	ldr	r0, [r3, r4, lsl #2]
	bl	omap_usb_mode_needs_tll
	cmp	r0, #0
	beq	.L6
	ldr	r3, [r5, #4]
	ldr	r0, [r3, r4, lsl #2]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L6
	ldr	r3, [r5, #4]
	add	r4, r4, #1
	ldr	r0, [r3, r7]
	bl	clk_disable
	ldr	r3, [r5]
	cmp	r3, r4
	bgt	.L8
.L4:
	ldr	r0, .L12+8
	bl	spin_unlock
	ldr	r0, [r8]
	bl	pm_runtime_put_sync
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	tll_dev
	.word	ENODEV
	.word	tll_lock
	.size	omap_tll_disable, .-omap_tll_disable
	.comm	tll_lock,4,4
	.comm	tll_dev,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
