	.file	"extr_xhci-ring.c_update_ring_for_set_deq_completion.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unable to find new dequeue pointer\n"
	.text
	.p2align 4
	.type	update_ring_for_set_deq_completion, @function
update_ring_for_set_deq_completion:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, ecx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	mov	rsi, rbx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r12, QWORD PTR 8[rdx]
	mov	r13d, DWORD PTR [rdx]
	mov	rdx, QWORD PTR 16[rdx]
	mov	rcx, r12
	call	last_trb@PLT
	test	rax, rax
	jne	.L2
	mov	rcx, QWORD PTR 8[rbx]
.L3:
	sal	rbp, 3
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rcx, QWORD PTR 8[rbx]
	cmp	r12, rcx
	je	.L9
.L4:
	mov	rax, QWORD PTR [r14]
	cmp	QWORD PTR [rax+rbp], rcx
	je	.L1
	add	rcx, 4
	add	DWORD PTR [rbx], 1
	mov	rdx, QWORD PTR 16[rbx]
	mov	rsi, rbx
	mov	QWORD PTR 8[rbx], rcx
	mov	rdi, r15
	call	last_trb@PLT
	test	rax, rax
	je	.L14
	mov	rax, QWORD PTR [r14]
	mov	rax, QWORD PTR [rax+rbp]
	cmp	QWORD PTR 8[rbx], rax
	je	.L1
	mov	rax, QWORD PTR 16[rbx]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR [rax]
	mov	QWORD PTR 16[rbx], rax
	mov	QWORD PTR 8[rbx], rcx
	cmp	r12, rcx
	jne	.L4
.L9:
	lea	rsi, .LC0[rip]
	mov	rdi, r15
	call	xhci_dbg@PLT
	mov	DWORD PTR [rbx], r13d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[rbx]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR [rax]
	mov	QWORD PTR 16[rbx], rax
	mov	QWORD PTR 8[rbx], rcx
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	update_ring_for_set_deq_completion, .-update_ring_for_set_deq_completion
	.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_xhci-ring.c_update_ring_for_set_deq_completion.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unable to find new dequeue pointer\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_ring_for_set_deq_completion, %function
update_ring_for_set_deq_completion:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r2
	ldr	r8, [r2, #4]
	mov	r5, r3
	ldr	r2, [r2, #8]
	mov	r3, r8
	mov	r6, r1
	mov	r1, r4
	mov	r7, r0
	ldr	r9, [r4]
	bl	last_trb
	cmp	r0, #0
	ldrne	r3, [r4, #8]
	ldreq	r2, [r4, #4]
	ldrne	r3, [r3, #4]
	lsl	r5, r5, #2
	ldrne	r2, [r3]
	stmibne	r4, {r2, r3}
	b	.L4
.L15:
	ldr	r2, [r4, #4]
	cmp	r8, r2
	beq	.L9
.L4:
	ldr	r1, [r6]
	add	r3, r2, #4
	ldr	r1, [r1, r5]
	cmp	r1, r2
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r2, [r4]
	mov	r1, r4
	add	r2, r2, #1
	str	r2, [r4]
	mov	r0, r7
	ldr	r2, [r4, #8]
	str	r3, [r4, #4]
	bl	last_trb
	cmp	r0, #0
	beq	.L15
	ldr	r3, [r6]
	ldr	r2, [r4, #4]
	ldr	r3, [r3, r5]
	cmp	r2, r3
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r3, [r4, #8]
	ldr	r3, [r3, #4]
	ldr	r2, [r3]
	cmp	r8, r2
	stmib	r4, {r2, r3}
	bne	.L4
.L9:
	mov	r0, r7
	ldr	r1, .L16
	bl	xhci_dbg
	str	r9, [r4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	.align	2
.L16:
	.word	.LC0
	.size	update_ring_for_set_deq_completion, .-update_ring_for_set_deq_completion
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
