	.file	"extr_ieee80211_tx.c_ieee80211_alloc_txb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ieee80211_alloc_txb
	.type	ieee80211_alloc_txb, @function
ieee80211_alloc_txb:
.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, esi
	mov	esi, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	DWORD PTR 12[rsp], edi
	lea	edi, 16[0+rdi*8]
	call	kmalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	edx, 16
	xor	esi, esi
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR [r12], ebx
	mov	DWORD PTR 4[r12], r13d
	test	ebx, ebx
	jle	.L3
	lea	r14d, -1[rbx]
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[r12]
	mov	edx, 8
	xor	esi, esi
	lea	ebp, 1[rbx]
	mov	rax, QWORD PTR [rax+rbx*8]
	mov	rdi, QWORD PTR [rax]
	call	memset@PLT
	lea	rax, 1[rbx]
	cmp	rbx, r14
	je	.L26
	mov	rbx, rax
.L6:
	mov	rax, QWORD PTR 8[r12]
	mov	edi, r13d
	mov	ebp, ebx
	lea	r15, [rax+rbx*8]
	call	dev_alloc_skb@PLT
	xor	edi, edi
	mov	QWORD PTR [r15], rax
	mov	rax, QWORD PTR 8[r12]
	cmp	QWORD PTR [rax+rbx*8], 0
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L4
	xor	edi, edi
	sub	ebp, 1
	cmp	DWORD PTR 12[rsp], ebp
	setne	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L27
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
.L26:
	.cfi_restore_state
	xor	edi, edi
	cmp	ebp, DWORD PTR 12[rsp]
	setne	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L1
	jmp	.L11
.L27:
	cmp	ebp, -1
	je	.L8
.L11:
	movsx	rbx, ebp
	xor	ebp, ebp
	sal	rbx, 3
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR 8[r12]
	mov	rdi, QWORD PTR [rax+rbx]
	call	dev_kfree_skb_any@PLT
	mov	rax, rbx
	sub	rbx, 8
	cmp	rbp, rax
	jne	.L10
.L8:
	mov	rdi, r12
	xor	r12d, r12d
	call	kfree@PLT
	jmp	.L1
.L3:
	setne	dil
	movzx	edi, dil
	call	unlikely@PLT
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR 8[r12]
	mov	rdi, QWORD PTR [rax]
	call	dev_kfree_skb_any@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	ieee80211_alloc_txb, .-ieee80211_alloc_txb
	.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_ieee80211_tx.c_ieee80211_alloc_txb.c"
	.text
	.align	2
	.global	ieee80211_alloc_txb
	.syntax unified
	.arm
	.fpu softvfp
	.type	ieee80211_alloc_txb, %function
ieee80211_alloc_txb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	add	r0, r0, #3
	mov	r8, r1
	lsl	r0, r0, #2
	mov	r1, r2
	bl	kmalloc
	subs	r5, r0, #0
	beq	.L1
	mov	r6, #0
	cmp	r7, r6
	stm	r5, {r7, r8}
	strb	r6, [r5, #8]
	strb	r6, [r5, #9]
	strb	r6, [r5, #10]
	strb	r6, [r5, #11]
	ble	.L3
	mov	r4, r6
	b	.L7
.L4:
	ldr	r2, [r5, #8]
	ldr	r2, [r2, r4, lsl #2]
	add	r4, r4, #1
	ldr	r2, [r2]
	cmp	r7, r4
	strb	r3, [r2]
	strb	r3, [r2, #1]
	strb	r3, [r2, #2]
	strb	r3, [r2, #3]
	beq	.L6
	ldr	r6, [r5, #8]
.L7:
	mov	r0, r8
	bl	dev_alloc_skb
	ldr	r3, [r5, #8]
	str	r0, [r6, r4, lsl #2]
	ldr	r0, [r3, r4, lsl #2]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	subs	r3, r0, #0
	beq	.L4
	sub	r4, r4, #1
	subs	r0, r7, r4
	movne	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L20
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	bl	unlikely
	cmp	r0, #0
	beq	.L1
.L10:
	ldr	r3, [r5, #8]
	ldr	r0, [r3, r4, lsl #2]
	sub	r4, r4, #1
	bl	dev_kfree_skb_any
.L20:
	cmn	r4, #1
	bne	.L10
.L8:
	mov	r0, r5
	mov	r5, #0
	bl	kfree
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	movne	r0, #1
	moveq	r0, #0
	bl	unlikely
	cmp	r0, #0
	beq	.L1
	ldr	r3, [r5, #8]
	ldr	r0, [r3]
	bl	dev_kfree_skb_any
	b	.L8
	.size	ieee80211_alloc_txb, .-ieee80211_alloc_txb
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
