	.file	"extr_hostap_ap.c_hostap_ap_tx_cb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hostap_ap_tx_cb, @function
hostap_ap_tx_cb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR [rdx]
	mov	ecx, DWORD PTR 8[rax]
	test	ecx, ecx
	je	.L2
	cmp	QWORD PTR [rax], 0
	jne	.L3
.L2:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	dev_kfree_skb@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	r13, QWORD PTR 24[rdi]
	mov	edi, DWORD PTR IEEE80211_FCTL_VERS[rip]
	mov	r12d, esi
	mov	rbx, rdx
	not	edi
	call	cpu_to_le16@PLT
	and	DWORD PTR 0[r13], eax
	test	r12d, r12d
	jne	.L8
	xor	edi, edi
	call	BIT@PLT
	mov	edi, eax
.L5:
	call	cpu_to_le16@PLT
	or	eax, DWORD PTR 0[r13]
	mov	DWORD PTR 0[r13], eax
	mov	edi, eax
	mov	rax, QWORD PTR [rbx]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 16[rbp], rax
	call	hostap_80211_get_hdrlen@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	skb_pull@PLT
	mov	eax, DWORD PTR PACKET_OTHERHOST[rip]
	mov	edi, DWORD PTR ETH_P_802_2[rip]
	mov	DWORD PTR 8[rbp], eax
	call	cpu_to_be16@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, 4
	xor	esi, esi
	mov	DWORD PTR 4[rbp], eax
	call	memset@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	netif_rx@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, 1
	call	BIT@PLT
	mov	edi, eax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	hostap_ap_tx_cb, .-hostap_ap_tx_cb
	.comm	PACKET_OTHERHOST,4,4
	.comm	IEEE80211_FCTL_VERS,4,4
	.comm	ETH_P_802_2,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_hostap_ap.c_hostap_ap_tx_cb.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hostap_ap_tx_cb, %function
hostap_ap_tx_cb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r2]
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	ldr	r2, [r3, #4]
	mov	r4, r0
	cmp	r2, #0
	beq	.L2
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
.L2:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	dev_kfree_skb
.L3:
	ldr	r3, .L11
	ldr	r7, [r0, #16]
	ldr	r0, [r3]
	mov	r6, r1
	mvn	r0, r0
	bl	cpu_to_le16
	ldr	r3, [r7]
	cmp	r6, #0
	and	r3, r3, r0
	str	r3, [r7]
	moveq	r0, r6
	movne	r0, #1
	bl	BIT
	bl	cpu_to_le16
	ldr	r3, [r5]
	ldr	r2, [r7]
	ldr	r3, [r3]
	orr	r0, r0, r2
	str	r0, [r7]
	str	r3, [r4, #12]
	bl	hostap_80211_get_hdrlen
	mov	r1, r0
	mov	r0, r4
	bl	skb_pull
	ldr	r3, .L11+4
	ldr	r2, .L11+8
	ldr	r3, [r3]
	ldr	r0, [r2]
	str	r3, [r4, #8]
	bl	cpu_to_be16
	mov	r2, #4
	str	r0, [r4, #4]
	mov	r1, #0
	ldr	r0, [r4]
	bl	memset
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	netif_rx
.L12:
	.align	2
.L11:
	.word	IEEE80211_FCTL_VERS
	.word	PACKET_OTHERHOST
	.word	ETH_P_802_2
	.size	hostap_ap_tx_cb, .-hostap_ap_tx_cb
	.comm	PACKET_OTHERHOST,4,4
	.comm	IEEE80211_FCTL_VERS,4,4
	.comm	ETH_P_802_2,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
