	.file	"extr_r8152.c_r8152_submit_rx.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Couldn't submit rx[%p], ret = %d\n"
	.text
	.p2align 4
	.type	r8152_submit_rx, @function
r8152_submit_rx:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	lea	r12, 24[rdi]
	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
	mov	rbx, rsi
	mov	rsi, r12
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR RTL8152_UNPLUG[rip]
	call	test_bit@PLT
	test	rax, rax
	je	.L2
.L4:
	xor	r12d, r12d
.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
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR WORK_ENABLE[rip]
	mov	rsi, r12
	call	test_bit@PLT
	test	rax, rax
	je	.L4
	mov	edi, DWORD PTR 4[rbp]
	call	netif_carrier_ok@PLT
	test	eax, eax
	je	.L4
	mov	edi, DWORD PTR 20[rbp]
	mov	esi, 1
	mov	r12, QWORD PTR read_bulk_callback[rip]
	mov	r15d, DWORD PTR 16[rbp]
	mov	r14d, DWORD PTR 16[rbx]
	call	usb_rcvbulkpipe@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	esi, DWORD PTR 20[rbp]
	mov	rdi, QWORD PTR 8[rbx]
	push	rbx
	.cfi_def_cfa_offset 80
	mov	edx, eax
	mov	r9d, r12d
	mov	r8d, r15d
	mov	ecx, r14d
	call	usb_fill_bulk_urb@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	esi, r13d
	call	usb_submit_urb@PLT
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 72
	pop	rdx
	.cfi_def_cfa_offset 64
	mov	eax, r12d
	add	eax, DWORD PTR ENODEV[rip]
	je	.L17
	test	r12d, r12d
	je	.L1
	mov	rax, QWORD PTR 8[rbx]
	lea	r13, 8[rbp]
	xor	r14d, r14d
	mov	rsi, r14
	mov	rdi, r13
	mov	QWORD PTR [rax], 0
	call	spin_lock_irqsave@PLT
	lea	rsi, 12[rbp]
	mov	rdi, rbx
	call	list_add_tail@PLT
	mov	rsi, r14
	mov	rdi, r13
	call	spin_unlock_irqrestore@PLT
	mov	edx, DWORD PTR 4[rbp]
	mov	rdi, rbp
	mov	r9d, r12d
	mov	esi, DWORD PTR rx_err[rip]
	mov	r8, rbx
	lea	rcx, .LC0[rip]
	call	netif_err@PLT
	mov	rdi, rbp
	call	napi_schedule@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, rbp
	call	rtl_set_unplug@PLT
	mov	edi, DWORD PTR 4[rbp]
	call	netif_device_detach@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	r8152_submit_rx, .-r8152_submit_rx
	.comm	rx_err,4,4
	.comm	read_bulk_callback,8,8
	.comm	WORK_ENABLE,4,4
	.comm	RTL8152_UNPLUG,4,4
	.comm	ENODEV,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_r8152.c_r8152_submit_rx.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Couldn't submit rx[%p], ret = %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	r8152_submit_rx, %function
r8152_submit_rx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r0
	ldr	r0, .L18
	add	r6, r4, #24
	mov	r8, r1
	ldr	r0, [r0]
	mov	r1, r6
	sub	sp, sp, #20
	mov	r7, r2
	bl	test_bit
	subs	r5, r0, #0
	beq	.L2
.L4:
	mov	r6, #0
.L1:
	mov	r0, r6
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	ldr	r3, .L18+4
	mov	r1, r6
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	beq	.L4
	ldr	r0, [r4, #4]
	bl	netif_carrier_ok
	cmp	r0, #0
	beq	.L4
	ldr	r6, [r4, #20]
	mov	r1, #1
	mov	r0, r6
	ldr	r9, [r8, #4]
	bl	usb_rcvbulkpipe
	ldr	r1, .L18+8
	ldr	r3, [r4, #16]
	ldr	ip, [r1]
	str	r8, [sp, #8]
	stm	sp, {r3, ip}
	mov	r2, r0
	mov	r1, r6
	ldr	r3, [r8, #8]
	mov	r0, r9
	bl	usb_fill_bulk_urb
	mov	r1, r7
	ldr	r0, [r8, #4]
	bl	usb_submit_urb
	ldr	r3, .L18+12
	mov	r6, r0
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L17
	cmp	r0, #0
	beq	.L1
	mov	r9, #0
	ldr	r3, [r8, #4]
	add	r7, r4, #8
	str	r5, [r3]
	mov	r1, r9
	mov	r0, r7
	bl	spin_lock_irqsave
	add	r1, r4, #12
	mov	r0, r8
	bl	list_add_tail
	mov	r1, r9
	mov	r0, r7
	bl	spin_unlock_irqrestore
	ldr	r3, .L18+16
	str	r6, [sp, #4]
	str	r8, [sp]
	ldr	r1, [r3]
	mov	r0, r4
	ldr	r3, .L18+20
	ldr	r2, [r4, #4]
	bl	netif_err
	mov	r0, r4
	bl	napi_schedule
	b	.L1
.L17:
	mov	r0, r4
	bl	rtl_set_unplug
	ldr	r0, [r4, #4]
	bl	netif_device_detach
	b	.L1
.L19:
	.align	2
.L18:
	.word	RTL8152_UNPLUG
	.word	WORK_ENABLE
	.word	read_bulk_callback
	.word	ENODEV
	.word	rx_err
	.word	.LC0
	.size	r8152_submit_rx, .-r8152_submit_rx
	.comm	rx_err,4,4
	.comm	read_bulk_callback,4,4
	.comm	WORK_ENABLE,4,4
	.comm	RTL8152_UNPLUG,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
