	.file	"extr_wa-rpipe.c_rpipe_epc_find.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"HW Bug? ep 0x%02x: extra descriptors at offset %zu: only %zu bytes left\n"
	.align 8
.LC1:
	.string	"HW Bug? ep 0x%02x: extra descriptor at offset %zu (type 0x%02x) length %d but only %zu bytes left\n"
	.text
	.p2align 4
	.type	rpipe_epc_find, @function
rpipe_epc_find:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r10, QWORD PTR 16[rsi]
	lea	rax, epc0[rip]
	test	r10, r10
	je	.L15
	mov	r8, QWORD PTR [rsi]
	mov	r11, QWORD PTR 8[rsi]
	test	r8, r8
	je	.L9
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rax, r11
	mov	rcx, QWORD PTR USB_DT_WIRELESS_ENDPOINT_COMP[rip]
	cmp	r8, 15
	ja	.L5
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L23:
	mov	r9, QWORD PTR 8[rax]
	cmp	r9, r8
	ja	.L20
	add	rax, r9
	sub	r8, rdx
	je	.L21
	cmp	r8, 15
	jbe	.L22
.L5:
	mov	rdx, QWORD PTR [rax]
	cmp	rdx, rcx
	jne	.L23
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	sub	rsp, 8
	.cfi_def_cfa_offset 24
	sub	rax, r11
	lea	rsi, .LC1[rip]
	push	r8
	.cfi_def_cfa_offset 32
	mov	rcx, rax
	mov	r8, rdx
	xor	eax, eax
	mov	rdx, r10
	call	dev_err@PLT
	pop	rax
	.cfi_def_cfa_offset 24
	pop	rdx
	.cfi_def_cfa_offset 16
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	ecx, eax
	sub	ecx, r11d
.L3:
	mov	rdx, r10
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_err@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	ret
.L9:
.L2:
	endbr64
	xor	eax, eax
	ret
.L19:
	.cfi_def_cfa_offset 16
	xor	ecx, ecx
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	rpipe_epc_find, .-rpipe_epc_find
	.comm	epc0,4,4
	.comm	USB_DT_WIRELESS_ENDPOINT_COMP,8,8
	.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_wa-rpipe.c_rpipe_epc_find.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"HW Bug? ep 0x%02x: extra descriptors at offset %zu:"
	.ascii	" only %zu bytes left\012\000"
	.align	2
.LC1:
	.ascii	"HW Bug? ep 0x%02x: extra descriptor at offset %zu ("
	.ascii	"type 0x%02x) length %d but only %zu bytes left\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rpipe_epc_find, %function
rpipe_epc_find:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r1, #8]
	cmp	r2, #0
	beq	.L8
	ldr	ip, [r1]
	ldr	r3, [r1, #4]
	cmp	ip, #0
	beq	.L9
	push	{r4, r5, lr}
	cmp	ip, #7
	mov	r5, r0
	sub	sp, sp, #20
	bls	.L19
	ldr	r1, .L23
	mov	r0, r3
	ldr	r4, [r1]
	b	.L5
.L22:
	ldr	lr, [r0, #4]
	cmp	lr, ip
	bhi	.L20
	subs	ip, ip, r1
	add	r0, r0, lr
	beq	.L17
	cmp	ip, #7
	bls	.L21
.L5:
	ldr	r1, [r0]
	cmp	r1, r4
	bne	.L22
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L8:
	ldr	r0, .L23+4
	bx	lr
.L20:
	stm	sp, {r1, lr}
	sub	r3, r0, r3
	ldr	r1, .L23+8
	mov	r0, r5
	str	ip, [sp, #8]
	bl	dev_err
.L17:
	mov	r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L21:
	sub	r3, r0, r3
.L3:
	mov	r0, r5
	ldr	r1, .L23+12
	str	ip, [sp]
	bl	dev_err
	mov	r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L9:
.L2:
	mov	r0, ip
	bx	lr
.L19:
	mov	r3, #0
	b	.L3
.L24:
	.align	2
.L23:
	.word	USB_DT_WIRELESS_ENDPOINT_COMP
	.word	epc0
	.word	.LC1
	.word	.LC0
	.size	rpipe_epc_find, .-rpipe_epc_find
	.comm	epc0,4,4
	.comm	USB_DT_WIRELESS_ENDPOINT_COMP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
