	.file	"extr_hfa384x_usb.c_submit_tx_urb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s tx pipe stalled: requesting reset\n"
	.text
	.p2align 4
	.type	submit_tx_urb, @function
submit_tx_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, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR 8[rdi]
	mov	r12d, DWORD PTR ENOLINK[rip]
	mov	rbx, QWORD PTR [rax]
	neg	r12d
	mov	rdi, rbx
	call	netif_running@PLT
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR 8[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	je	.L9
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L9:
	.cfi_restore_state
	lea	r15, 4[rbp]
	mov	edi, DWORD PTR WORK_TX_HALT[rip]
	mov	rsi, r15
	call	test_bit@PLT
	test	eax, eax
	jne	.L1
	mov	esi, r14d
	mov	rdi, r13
	call	usb_submit_urb@PLT
	mov	r12d, eax
	add	eax, DWORD PTR EPIPE[rip]
	je	.L10
	test	r12d, r12d
	jne	.L1
	mov	rdi, rbx
	call	netif_stop_queue@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR 8[rbp]
	mov	edx, DWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	mov	rdi, QWORD PTR [rax]
	call	netdev_warn@PLT
	mov	edi, DWORD PTR WORK_TX_HALT[rip]
	mov	rsi, r15
	call	set_bit@PLT
	mov	rdi, rbp
	call	schedule_work@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	submit_tx_urb, .-submit_tx_urb
	.comm	WORK_TX_HALT,4,4
	.comm	EPIPE,4,4
	.comm	ENOLINK,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_hfa384x_usb.c_submit_tx_urb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s tx pipe stalled: requesting reset\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	submit_tx_urb, %function
submit_tx_urb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	ldr	r0, [r0, #8]
	ldr	r3, .L11
	ldr	r7, [r0]
	ldr	r5, [r3]
	mov	r0, r7
	mov	r8, r1
	mov	r6, r2
	bl	netif_running
	cmp	r0, #0
	rsb	r5, r5, #0
	beq	.L1
	ldr	r3, [r4, #8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L9
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	ldr	r9, .L11+4
	add	r10, r4, #4
	mov	r1, r10
	ldr	r0, [r9]
	bl	test_bit
	cmp	r0, #0
	bne	.L1
	mov	r1, r6
	mov	r0, r8
	bl	usb_submit_urb
	ldr	r3, .L11+8
	mov	r5, r0
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L10
	cmp	r0, #0
	bne	.L1
	mov	r0, r7
	bl	netif_stop_queue
	b	.L1
.L10:
	ldr	r3, [r4, #8]
	ldr	r2, [r7]
	ldr	r0, [r3]
	ldr	r1, .L11+12
	bl	netdev_warn
	mov	r1, r10
	ldr	r0, [r9]
	bl	set_bit
	mov	r0, r4
	bl	schedule_work
	b	.L1
.L12:
	.align	2
.L11:
	.word	ENOLINK
	.word	WORK_TX_HALT
	.word	EPIPE
	.word	.LC0
	.size	submit_tx_urb, .-submit_tx_urb
	.comm	WORK_TX_HALT,4,4
	.comm	EPIPE,4,4
	.comm	ENOLINK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
