	.file	"extr_rtl8188eu_recv.c_rtw_hal_init_recv_priv.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"alloc recv_buf fail!\n"
	.text
	.p2align 4
	.globl	rtw_hal_init_recv_priv
	.type	rtw_hal_init_recv_priv, @function
rtw_hal_init_recv_priv:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rsi, QWORD PTR rtl8188eu_recv_tasklet[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, DWORD PTR _SUCCESS[rip]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	add	rdi, 28
	mov	rdx, rbx
	call	tasklet_init@PLT
	lea	rdi, 24[rbx]
	call	_rtw_init_queue@PLT
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	edi, DWORD PTR NR_RECVBUFF[rip]
	mov	esi, 8
	call	kcalloc@PLT
	mov	QWORD PTR 16[rbx], rax
	test	rax, rax
	je	.L2
	mov	edx, DWORD PTR NR_RECVBUFF[rip]
	mov	rbp, rax
	xor	r13d, r13d
	test	edx, edx
	jg	.L3
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L17:
	mov	QWORD PTR 0[rbp], rbx
	add	r13d, 1
	add	rbp, 8
	cmp	DWORD PTR NR_RECVBUFF[rip], r13d
	jle	.L4
.L3:
	mov	rsi, rbp
	mov	rdi, rbx
	call	rtw_os_recvbuf_resource_alloc@PLT
	cmp	DWORD PTR _FAIL[rip], eax
	mov	r12d, eax
	jne	.L17
.L4:
	lea	rdi, 12[rbx]
	lea	r14, 8[rbx]
	call	skb_queue_head_init@PLT
	mov	rdi, r14
	call	skb_queue_head_init@PLT
	mov	eax, DWORD PTR NR_PREALLOC_RECV_SKB[rip]
	test	eax, eax
	jle	.L1
	xor	r13d, r13d
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, DWORD PTR MAX_RECVBUF_SZ[rip]
	mov	edi, DWORD PTR [rbx]
	call	__netdev_alloc_skb@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L6
	mov	rdi, rax
	call	kmemleak_not_leak@PLT
	mov	rsi, rbp
	mov	rdi, r14
	call	skb_queue_tail@PLT
.L6:
	add	r13d, 1
	cmp	DWORD PTR NR_PREALLOC_RECV_SKB[rip], r13d
	jg	.L7
.L5:
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR _drv_err_[rip]
	mov	edi, DWORD PTR _module_rtl871x_recv_c_[rip]
	lea	rdx, .LC0[rip]
	mov	r12d, DWORD PTR _FAIL[rip]
	call	RT_TRACE@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	rtw_hal_init_recv_priv, .-rtw_hal_init_recv_priv
	.comm	rtl8188eu_recv_tasklet,8,8
	.comm	_module_rtl871x_recv_c_,4,4
	.comm	_drv_err_,4,4
	.comm	_SUCCESS,4,4
	.comm	_FAIL,4,4
	.comm	NR_RECVBUFF,4,4
	.comm	NR_PREALLOC_RECV_SKB,4,4
	.comm	MAX_RECVBUF_SZ,4,4
	.comm	GFP_KERNEL,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_rtl8188eu_recv.c_rtw_hal_init_recv_priv.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"alloc recv_buf fail!\012\000"
	.text
	.align	2
	.global	rtw_hal_init_recv_priv
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtw_hal_init_recv_priv, %function
rtw_hal_init_recv_priv:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	ldr	r1, .L17
	ldr	r3, .L17+4
	mov	r2, r0
	ldr	r1, [r1]
	ldr	r8, .L17+8
	ldr	r9, .L17+12
	add	r0, r0, #20
	ldr	r4, [r3]
	bl	tasklet_init
	add	r0, r6, #16
	bl	_rtw_init_queue
	mov	r1, #4
	ldr	r2, [r8]
	ldr	r0, [r9]
	bl	kcalloc
	cmp	r0, #0
	str	r0, [r6, #12]
	beq	.L2
	ldr	r3, [r9]
	cmp	r3, #0
	ble	.L4
	mov	r5, r0
	mov	r7, #0
	ldr	r10, .L17+16
	b	.L3
.L16:
	ldr	r3, [r9]
	str	r6, [r5], #4
	cmp	r3, r7
	ble	.L4
.L3:
	mov	r1, r5
	mov	r0, r6
	bl	rtw_os_recvbuf_resource_alloc
	ldr	r3, [r10]
	mov	r4, r0
	cmp	r3, r0
	add	r7, r7, #1
	bne	.L16
.L4:
	ldr	r7, .L17+20
	add	r10, r6, #4
	add	r0, r6, #8
	bl	skb_queue_head_init
	mov	r0, r10
	bl	skb_queue_head_init
	ldr	r3, [r7]
	cmp	r3, #0
	ble	.L1
	mov	fp, #0
	ldr	r9, .L17+24
.L7:
	ldr	r2, [r8]
	ldr	r1, [r9]
	ldr	r0, [r6]
	bl	__netdev_alloc_skb
	subs	r5, r0, #0
	add	fp, fp, #1
	beq	.L6
	bl	kmemleak_not_leak
	mov	r1, r5
	mov	r0, r10
	bl	skb_queue_tail
.L6:
	ldr	r3, [r7]
	cmp	r3, fp
	bgt	.L7
.L5:
.L1:
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r2, .L17+28
	ldr	r1, .L17+32
	ldr	r3, .L17+16
	ldr	r1, [r1]
	ldr	r0, [r2]
	ldr	r2, .L17+36
	ldr	r4, [r3]
	bl	RT_TRACE
	b	.L1
.L18:
	.align	2
.L17:
	.word	rtl8188eu_recv_tasklet
	.word	_SUCCESS
	.word	GFP_KERNEL
	.word	NR_RECVBUFF
	.word	_FAIL
	.word	NR_PREALLOC_RECV_SKB
	.word	MAX_RECVBUF_SZ
	.word	_module_rtl871x_recv_c_
	.word	_drv_err_
	.word	.LC0
	.size	rtw_hal_init_recv_priv, .-rtw_hal_init_recv_priv
	.comm	rtl8188eu_recv_tasklet,4,4
	.comm	_module_rtl871x_recv_c_,4,4
	.comm	_drv_err_,4,4
	.comm	_SUCCESS,4,4
	.comm	_FAIL,4,4
	.comm	NR_RECVBUFF,4,4
	.comm	NR_PREALLOC_RECV_SKB,4,4
	.comm	MAX_RECVBUF_SZ,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
