	.file	"extr_mac.c_ath10k_mac_tx.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"IEEE80211_TX_CTL_NO_CCK_RATE\n"
.LC1:
	.string	"queued offchannel skb %pK\n"
.LC2:
	.string	"failed to submit frame: %d\n"
	.text
	.p2align 4
	.type	ath10k_mac_tx, @function
ath10k_mac_tx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR 16[rdi]
	mov	rdi, r8
	mov	QWORD PTR [rsp], rax
	call	IEEE80211_SKB_CB@PLT
	mov	rdi, r12
	mov	rbx, rax
	call	ATH10K_SKB_CB@PLT
	mov	QWORD PTR 8[rsp], rax
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR IEEE80211_TX_CTL_NO_CCK_RATE[rip], eax
	jne	.L21
.L2:
	cmp	ebp, 130
	ja	.L3
	cmp	ebp, 128
	ja	.L4
	jne	.L6
	mov	edi, DWORD PTR ATH10K_FLAG_RAW_MODE[rip]
	lea	rsi, 8[r13]
	call	test_bit@PLT
	test	eax, eax
	jne	.L6
	mov	rax, QWORD PTR 8[rsp]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR ATH10K_SKB_F_RAW_TX[rip], eax
	je	.L22
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR IEEE80211_TX_CTL_TX_OFFCHAN[rip], eax
	jne	.L23
.L9:
	mov	rcx, r12
	mov	edx, r14d
	mov	esi, ebp
	mov	rdi, r13
	call	ath10k_mac_tx_submit@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L24
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	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
.L3:
	.cfi_restore_state
	cmp	ebp, 131
	jne	.L6
	mov	rdi, r12
	call	ath10k_tx_h_8023@PLT
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR IEEE80211_TX_CTL_TX_OFFCHAN[rip], eax
	je	.L9
.L23:
	mov	rdi, r13
	call	ath10k_mac_tx_frm_has_freq@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L9
	mov	esi, DWORD PTR ATH10K_DBG_MAC[rip]
	mov	rcx, r12
	mov	rdi, r13
	xor	eax, eax
	lea	rdx, .LC1[rip]
	call	ath10k_dbg@PLT
	lea	rdi, 4[r13]
	mov	rsi, r12
	call	skb_queue_tail@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, r13
	call	ieee80211_queue_work@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	esi, DWORD PTR ATH10K_DBG_MAC[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, r13
	xor	eax, eax
	call	ath10k_dbg@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, r12
	call	ath10k_tx_h_nwifi@PLT
	mov	rdx, r12
	mov	rsi, r15
	mov	rdi, r13
	call	ath10k_tx_h_add_p2p_noa_ie@PLT
	mov	rsi, r12
	mov	rdi, r15
	call	ath10k_tx_h_seq_no@PLT
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR IEEE80211_TX_CTL_TX_OFFCHAN[rip], eax
	je	.L9
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L24:
	mov	edx, eax
	lea	rsi, .LC2[rip]
	mov	rdi, r13
	call	ath10k_warn@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edi, 1
	call	WARN_ON_ONCE@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, r12
	call	ieee80211_free_txskb@PLT
	mov	r15d, DWORD PTR ENOTSUPP[rip]
	neg	r15d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ath10k_mac_tx, .-ath10k_mac_tx
	.comm	IEEE80211_TX_CTL_TX_OFFCHAN,4,4
	.comm	IEEE80211_TX_CTL_NO_CCK_RATE,4,4
	.comm	ENOTSUPP,4,4
	.comm	ATH10K_SKB_F_RAW_TX,4,4
	.comm	ATH10K_FLAG_RAW_MODE,4,4
	.comm	ATH10K_DBG_MAC,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_mac.c_ath10k_mac_tx.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"IEEE80211_TX_CTL_NO_CCK_RATE\012\000"
	.align	2
.LC1:
	.ascii	"queued offchannel skb %pK\012\000"
	.align	2
.LC2:
	.ascii	"failed to submit frame: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath10k_mac_tx, %function
ath10k_mac_tx:
	@ args = 4, 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	r7, [sp, #40]
	mov	r4, r2
	mov	r0, r7
	mov	r8, r3
	mov	r10, r1
	ldr	r9, [r6, #12]
	bl	IEEE80211_SKB_CB
	mov	r5, r0
	mov	r0, r7
	bl	ATH10K_SKB_CB
	ldr	r3, .L25
	ldr	r2, [r5]
	ldr	r3, [r3]
	mov	fp, r0
	tst	r2, r3
	bne	.L21
.L2:
	cmp	r4, #130
	bhi	.L3
	cmp	r4, #128
	bhi	.L4
	bne	.L6
	ldr	r3, .L25+4
	add	r1, r6, #8
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	bne	.L6
	ldr	r3, .L25+8
	ldr	r2, [fp]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L22
.L6:
	ldr	r3, .L25+12
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L23
.L9:
	mov	r3, r7
	mov	r2, r8
	mov	r1, r4
	mov	r0, r6
	bl	ath10k_mac_tx_submit
	subs	r5, r0, #0
	bne	.L24
.L1:
	mov	r0, r5
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	cmp	r4, #131
	bne	.L6
	mov	r0, r7
	bl	ath10k_tx_h_8023
	b	.L6
.L23:
	mov	r0, r6
	bl	ath10k_mac_tx_frm_has_freq
	subs	r5, r0, #0
	bne	.L9
	ldr	r2, .L25+16
	mov	r3, r7
	ldr	r1, [r2]
	mov	r0, r6
	ldr	r2, .L25+20
	bl	ath10k_dbg
	mov	r1, r7
	add	r0, r6, #4
	bl	skb_queue_tail
	mov	r1, r6
	mov	r0, r9
	bl	ieee80211_queue_work
	b	.L1
.L21:
	ldr	r3, .L25+16
	mov	r0, r6
	ldr	r2, .L25+24
	ldr	r1, [r3]
	bl	ath10k_dbg
	b	.L2
.L4:
	mov	r1, r7
	mov	r0, r9
	bl	ath10k_tx_h_nwifi
	mov	r1, r10
	mov	r2, r7
	mov	r0, r6
	bl	ath10k_tx_h_add_p2p_noa_ie
	mov	r1, r7
	mov	r0, r10
	bl	ath10k_tx_h_seq_no
	b	.L6
.L24:
	mov	r0, r6
	mov	r2, r5
	ldr	r1, .L25+28
	bl	ath10k_warn
	mov	r0, r5
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	mov	r0, #1
	bl	WARN_ON_ONCE
	mov	r1, r7
	mov	r0, r9
	bl	ieee80211_free_txskb
	ldr	r3, .L25+32
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L1
.L26:
	.align	2
.L25:
	.word	IEEE80211_TX_CTL_NO_CCK_RATE
	.word	ATH10K_FLAG_RAW_MODE
	.word	ATH10K_SKB_F_RAW_TX
	.word	IEEE80211_TX_CTL_TX_OFFCHAN
	.word	ATH10K_DBG_MAC
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	ENOTSUPP
	.size	ath10k_mac_tx, .-ath10k_mac_tx
	.comm	IEEE80211_TX_CTL_TX_OFFCHAN,4,4
	.comm	IEEE80211_TX_CTL_NO_CCK_RATE,4,4
	.comm	ENOTSUPP,4,4
	.comm	ATH10K_SKB_F_RAW_TX,4,4
	.comm	ATH10K_FLAG_RAW_MODE,4,4
	.comm	ATH10K_DBG_MAC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
