	.file	"extr_xmit_linux.c_rtw_os_xmit_resource_alloc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"pxmitbuf->pxmit_urb[i]==NULL"
	.text
	.p2align 4
	.globl	rtw_os_xmit_resource_alloc
	.type	rtw_os_xmit_resource_alloc, @function
rtw_os_xmit_resource_alloc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	kzalloc@PLT
	mov	DWORD PTR 16[r12], eax
	test	eax, eax
	jne	.L2
.L8:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR _FAIL[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR XMITBUF_ALIGN_SZ[rip]
	mov	edi, eax
	xor	ebp, ebp
	call	PTR_ALIGN@PLT
	mov	QWORD PTR 8[r12], 0
	mov	DWORD PTR 20[r12], eax
	mov	rax, QWORD PTR [r12]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	xor	edi, edi
	lea	rbx, [rax+rbp]
	call	usb_alloc_urb@PLT
	mov	DWORD PTR [rbx], eax
	mov	rax, QWORD PTR [r12]
	mov	edx, DWORD PTR [rax+rbp]
	test	edx, edx
	je	.L10
	add	rbp, 4
	cmp	rbp, 32
	jne	.L5
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR _SUCCESS[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	DBG_88E@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	rtw_os_xmit_resource_alloc, .-rtw_os_xmit_resource_alloc
	.comm	_SUCCESS,4,4
	.comm	_FAIL,4,4
	.comm	XMITBUF_ALIGN_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_xmit_linux.c_rtw_os_xmit_resource_alloc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"pxmitbuf->pxmit_urb[i]==NULL\000"
	.text
	.align	2
	.global	rtw_os_xmit_resource_alloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtw_os_xmit_resource_alloc, %function
rtw_os_xmit_resource_alloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L11
	mov	r6, r1
	mov	r0, r2
	ldr	r1, [r7]
	bl	kzalloc
	cmp	r0, #0
	str	r0, [r6, #8]
	bne	.L2
.L8:
	ldr	r3, .L11+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L11+8
	ldr	r1, [r3]
	bl	PTR_ALIGN
	mov	r3, #0
	mov	r4, r3
	ldr	r5, [r6]
	str	r0, [r6, #12]
	str	r3, [r6, #4]
.L5:
	mov	r0, #0
	ldr	r1, [r7]
	bl	usb_alloc_urb
	str	r0, [r5, r4]
	ldr	r5, [r6]
	ldr	r3, [r5, r4]
	add	r4, r4, #4
	cmp	r3, #0
	beq	.L10
	cmp	r4, #32
	bne	.L5
	ldr	r3, .L11+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r0, .L11+16
	bl	DBG_88E
	b	.L8
.L12:
	.align	2
.L11:
	.word	GFP_KERNEL
	.word	_FAIL
	.word	XMITBUF_ALIGN_SZ
	.word	_SUCCESS
	.word	.LC0
	.size	rtw_os_xmit_resource_alloc, .-rtw_os_xmit_resource_alloc
	.comm	_SUCCESS,4,4
	.comm	_FAIL,4,4
	.comm	XMITBUF_ALIGN_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
