	.file	"extr_hcd_queue.c_dwc2_get_ls_map.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dwc2_get_ls_map, @function
dwc2_get_ls_map:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xor	edi, edi
	cmp	QWORD PTR 8[rsi], 0
	mov	rbx, rsi
	sete	dil
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR 8[rbx]
	mov	r8, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR [rax], 0
	je	.L1
	mov	eax, DWORD PTR [rbx]
	sub	eax, 1
	imul	eax, DWORD PTR DWC2_ELEMENTS_PER_LS_BITMAP[rip]
	cdqe
	lea	r8, [r8+rax*8]
.L1:
	mov	rax, r8
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	xor	r8d, r8d
	pop	rbx
	.cfi_def_cfa_offset 8
	mov	rax, r8
	ret
	.cfi_endproc
.LFE0:
	.size	dwc2_get_ls_map, .-dwc2_get_ls_map
	.comm	DWC2_ELEMENTS_PER_LS_BITMAP,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_hcd_queue.c_dwc2_get_ls_map.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dwc2_get_ls_map, %function
dwc2_get_ls_map:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r0, [r1, #4]
	push	{r4, lr}
	clz	r0, r0
	lsr	r0, r0, #5
	mov	r4, r1
	bl	WARN_ON
	cmp	r0, #0
	bne	.L3
	ldr	r3, [r4, #4]
	ldm	r3, {r0, r2}
	ldr	r3, [r2]
	cmp	r3, #0
	popeq	{r4, pc}
	ldr	r2, .L9
	ldr	r3, [r4]
	ldr	r2, [r2]
	sub	r3, r3, #1
	mul	r3, r2, r3
	add	r0, r0, r3, lsl #2
	pop	{r4, pc}
.L3:
	mov	r0, #0
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	DWC2_ELEMENTS_PER_LS_BITMAP
	.size	dwc2_get_ls_map, .-dwc2_get_ls_map
	.comm	DWC2_ELEMENTS_PER_LS_BITMAP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
