	.file	"extr_uhci-q.c_uhci_urb_dequeue.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	uhci_urb_dequeue, @function
uhci_urb_dequeue:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	hcd_to_uhci@PLT
	xor	esi, esi
	mov	rdi, rax
	mov	rbp, rax
	call	spin_lock_irqsave@PLT
	mov	rdi, r12
	mov	edx, r13d
	mov	rsi, rbx
	call	usb_hcd_check_unlink_urb@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L2
	mov	rax, QWORD PTR 8[rbx]
	mov	r13, QWORD PTR [rax]
	mov	rax, QWORD PTR USB_ENDPOINT_XFER_ISOC[rip]
	cmp	QWORD PTR 0[r13], rax
	je	.L11
.L4:
	mov	rsi, r13
	mov	rdi, rbp
	call	uhci_unlink_qh@PLT
.L2:
	mov	rdi, rbp
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rsi, rbx
	mov	rdi, rbp
	call	uhci_unlink_isochronous_tds@PLT
	xor	eax, eax
	call	mb@PLT
	mov	rdi, rbp
	call	uhci_get_current_frame_number@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	edi, DWORD PTR [rbx]
	call	uhci_frame_before_eq@PLT
	test	rax, rax
	je	.L4
	mov	eax, DWORD PTR 4[rbp]
	mov	DWORD PTR 8[r13], eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	uhci_urb_dequeue, .-uhci_urb_dequeue
	.comm	USB_ENDPOINT_XFER_ISOC,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_uhci-q.c_uhci_urb_dequeue.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uhci_urb_dequeue, %function
uhci_urb_dequeue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	mov	r6, r2
	mov	r5, r0
	bl	hcd_to_uhci
	mov	r1, #0
	mov	r4, r0
	bl	spin_lock_irqsave
	mov	r0, r5
	mov	r2, r6
	mov	r1, r7
	bl	usb_hcd_check_unlink_urb
	subs	r5, r0, #0
	bne	.L2
	ldr	r2, [r7, #4]
	ldr	r3, .L12
	ldr	r6, [r2]
	ldr	r3, [r3]
	ldr	r2, [r6]
	cmp	r2, r3
	beq	.L11
.L4:
	mov	r1, r6
	mov	r0, r4
	bl	uhci_unlink_qh
.L2:
	mov	r0, r4
	mov	r1, #0
	bl	spin_unlock_irqrestore
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r1, r7
	mov	r0, r4
	bl	uhci_unlink_isochronous_tds
	bl	mb
	mov	r0, r4
	bl	uhci_get_current_frame_number
	ldr	r0, [r7]
	ldr	r1, [r4, #4]
	bl	uhci_frame_before_eq
	cmp	r0, #0
	ldrne	r3, [r4, #4]
	strne	r3, [r6, #4]
	b	.L4
.L13:
	.align	2
.L12:
	.word	USB_ENDPOINT_XFER_ISOC
	.size	uhci_urb_dequeue, .-uhci_urb_dequeue
	.comm	USB_ENDPOINT_XFER_ISOC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
