	.file	"extr_hcd.c_usb_hcd_submit_urb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	usb_hcd_submit_urb
	.type	usb_hcd_submit_urb, @function
usb_hcd_submit_urb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, esi
	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	rax, QWORD PTR 8[rdi]
	mov	rbp, rdi
	lea	r15, 16[rbp]
	mov	edi, DWORD PTR 4[rax]
	call	bus_to_hcd@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	usb_get_urb@PLT
	mov	rdi, r15
	call	atomic_inc@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	atomic_inc@PLT
	mov	rsi, rbp
	mov	rdi, r13
	call	usbmon_urb_submit@PLT
	mov	rdi, r13
	mov	edx, r14d
	mov	rsi, rbp
	call	map_urb_for_dma@PLT
	mov	edi, eax
	mov	r12d, eax
	call	unlikely@PLT
	test	rax, rax
	jne	.L16
	mov	rdi, QWORD PTR 8[rbp]
	call	is_root_hub@PLT
	test	rax, rax
	jne	.L17
	mov	rax, QWORD PTR 8[r13]
	mov	rdi, r13
	mov	edx, r14d
	mov	rsi, rbp
	call	[QWORD PTR [rax]]
	mov	r12d, eax
	mov	edi, r12d
	call	unlikely@PLT
	test	rax, rax
	jne	.L18
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L17:
	.cfi_restore_state
	mov	rdi, r13
	mov	rsi, rbp
	call	rh_urb_enqueue@PLT
	mov	r12d, eax
	mov	edi, r12d
	call	unlikely@PLT
	test	rax, rax
	je	.L1
.L18:
	mov	rsi, rbp
	mov	rdi, r13
	mov	edx, r12d
	call	usbmon_urb_submit_error@PLT
	mov	rsi, rbp
	mov	rdi, r13
	call	unmap_urb_for_dma@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edx, r12d
	mov	rsi, rbp
	mov	rdi, r13
	call	usbmon_urb_submit_error@PLT
.L3:
	mov	QWORD PTR 24[rbp], 0
	lea	rdi, 20[rbp]
	call	INIT_LIST_HEAD@PLT
	mov	rdi, r15
	call	atomic_dec@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	atomic_dec@PLT
	mov	rdi, rbp
	call	atomic_read@PLT
	test	rax, rax
	jne	.L19
.L7:
	mov	rdi, rbp
	call	usb_put_urb@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L19:
	.cfi_restore_state
	lea	rdi, usb_kill_urb_queue[rip]
	call	wake_up@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	usb_hcd_submit_urb, .-usb_hcd_submit_urb
	.comm	usb_kill_urb_queue,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.c_usb_hcd_submit_urb.c"
	.text
	.align	2
	.global	usb_hcd_submit_urb
	.syntax unified
	.arm
	.fpu softvfp
	.type	usb_hcd_submit_urb, %function
usb_hcd_submit_urb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r3, #4]
	mov	r7, r1
	bl	bus_to_hcd
	mov	r6, r0
	add	r8, r4, #8
	mov	r0, r4
	bl	usb_get_urb
	mov	r0, r8
	bl	atomic_inc
	ldr	r0, [r4, #4]
	bl	atomic_inc
	mov	r1, r4
	mov	r0, r6
	bl	usbmon_urb_submit
	mov	r2, r7
	mov	r1, r4
	mov	r0, r6
	bl	map_urb_for_dma
	mov	r5, r0
	bl	unlikely
	cmp	r0, #0
	bne	.L16
	ldr	r0, [r4, #4]
	bl	is_root_hub
	cmp	r0, #0
	bne	.L17
	ldr	r3, [r6, #4]
	mov	r2, r7
	mov	r1, r4
	ldr	r3, [r3]
	mov	r0, r6
	blx	r3
	mov	r5, r0
	mov	r0, r5
	bl	unlikely
	cmp	r0, #0
	bne	.L18
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	mov	r1, r4
	mov	r0, r6
	bl	rh_urb_enqueue
	mov	r5, r0
	mov	r0, r5
	bl	unlikely
	cmp	r0, #0
	beq	.L1
.L18:
	mov	r1, r4
	mov	r2, r5
	mov	r0, r6
	bl	usbmon_urb_submit_error
	mov	r1, r4
	mov	r0, r6
	bl	unmap_urb_for_dma
	b	.L3
.L16:
	mov	r0, r6
	mov	r2, r5
	mov	r1, r4
	bl	usbmon_urb_submit_error
.L3:
	mov	r3, #0
	add	r0, r4, #12
	str	r3, [r4, #16]
	bl	INIT_LIST_HEAD
	mov	r0, r8
	bl	atomic_dec
	ldr	r0, [r4, #4]
	bl	atomic_dec
	mov	r0, r4
	bl	atomic_read
	cmp	r0, #0
	bne	.L19
.L7:
	mov	r0, r4
	bl	usb_put_urb
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	ldr	r0, .L20
	bl	wake_up
	b	.L7
.L21:
	.align	2
.L20:
	.word	usb_kill_urb_queue
	.size	usb_hcd_submit_urb, .-usb_hcd_submit_urb
	.comm	usb_kill_urb_queue,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
