	.file	"extr_tx99.c_ath9k_tx99_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"driver is in invalid state unable to use TX99"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Failed to xmit TX99 skb\n"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"TX99 xmit started using %d ( %ddBm)\n"
	.text
	.p2align 4
	.type	ath9k_tx99_init, @function
ath9k_tx99_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	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
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	r12, QWORD PTR 24[rdi]
	mov	r13, QWORD PTR 32[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rdi, r12
	call	ath9k_hw_common@PLT
	mov	edi, DWORD PTR ATH_OP_INVALID[rip]
	mov	rsi, rax
	mov	rbp, rax
	call	test_bit@PLT
	test	rax, rax
	jne	.L10
	mov	rdi, rbx
	call	ath9k_build_tx99_skb@PLT
	mov	DWORD PTR 8[rbx], eax
	test	eax, eax
	jne	.L4
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	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
.L4:
	.cfi_restore_state
	lea	r14, 4[rsp]
	mov	edx, 4
	xor	esi, esi
	mov	rdi, r14
	call	memset@PLT
	mov	rax, QWORD PTR 16[rbx]
	xor	esi, esi
	mov	rdi, rbx
	mov	rdx, QWORD PTR IEEE80211_AC_VO[rip]
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR 4[rsp], eax
	call	ath_reset@PLT
	mov	rdi, rbx
	call	ath9k_ps_wakeup@PLT
	mov	rdi, r12
	call	ath9k_hw_disable_interrupts@PLT
	mov	rdi, rbx
	call	ath_drain_all_txq@PLT
	mov	rdi, rbx
	call	ath_stoprecv@PLT
	mov	DWORD PTR [rbx], 1
	mov	rdi, r13
	call	ieee80211_stop_queues@PLT
	mov	eax, DWORD PTR MAX_RATE_POWER[rip]
	mov	esi, DWORD PTR 4[rbx]
	lea	edx, 1[rax]
	cmp	esi, edx
	jne	.L5
	mov	DWORD PTR 4[rbx], eax
	mov	esi, eax
.L5:
	mov	rdi, r12
	call	ath9k_hw_tx99_set_txpower@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	rdx, r14
	mov	rdi, rbx
	call	ath9k_tx99_send@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L12
	mov	ecx, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR XMIT[rip]
	mov	rdi, rbp
	xor	eax, eax
	lea	rdx, .LC2[rip]
	mov	r8d, ecx
	shr	r8d, 31
	add	r8d, ecx
	sar	r8d
	call	ath_dbg@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	ath_err@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, DWORD PTR XMIT[rip]
	lea	rdx, .LC1[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	ath_dbg@PLT
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ath9k_tx99_init, .-ath9k_tx99_init
	.comm	XMIT,4,4
	.comm	MAX_RATE_POWER,4,4
	.comm	IEEE80211_AC_VO,8,8
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	ATH_OP_INVALID,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_tx99.c_ath9k_tx99_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"driver is in invalid state unable to use TX99\000"
	.align	2
.LC1:
	.ascii	"Failed to xmit TX99 skb\012\000"
	.align	2
.LC2:
	.ascii	"TX99 xmit started using %d ( %ddBm)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath9k_tx99_init, %function
ath9k_tx99_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r7, [r0, #16]
	ldr	r3, .L13
	sub	sp, sp, #16
	mov	r0, r7
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r8, [r4, #20]
	bl	ath9k_hw_common
	ldr	r3, .L13+4
	mov	r1, r0
	mov	r5, r0
	ldr	r0, [r3]
	bl	test_bit
	subs	r6, r0, #0
	bne	.L10
	mov	r0, r4
	bl	ath9k_build_tx99_skb
	cmp	r0, #0
	str	r0, [r4, #8]
	bne	.L4
	ldr	r3, .L13+8
	ldr	r6, [r3]
	rsb	r6, r6, #0
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r6
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r2, .L13+12
	ldr	r3, [r4, #12]
	ldr	r2, [r2]
	str	r6, [sp, #8]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r6
	mov	r0, r4
	str	r3, [sp, #8]
	bl	ath_reset
	mov	r0, r4
	bl	ath9k_ps_wakeup
	mov	r0, r7
	bl	ath9k_hw_disable_interrupts
	mov	r0, r4
	bl	ath_drain_all_txq
	mov	r0, r4
	bl	ath_stoprecv
	mov	r3, #1
	mov	r0, r8
	str	r3, [r4]
	bl	ieee80211_stop_queues
	ldr	r3, .L13+16
	ldr	r1, [r4, #4]
	ldr	r3, [r3]
	mov	r0, r7
	add	r2, r3, #1
	cmp	r1, r2
	moveq	r1, r3
	streq	r3, [r4, #4]
	bl	ath9k_hw_tx99_set_txpower
	mov	r0, r4
	ldr	r1, [r4, #8]
	add	r2, sp, #8
	bl	ath9k_tx99_send
	subs	r6, r0, #0
	bne	.L12
	ldr	r3, [r4, #4]
	ldr	r1, .L13+20
	add	r2, r3, r3, lsr #31
	asr	r2, r2, #1
	str	r2, [sp]
	mov	r0, r5
	ldr	r1, [r1]
	ldr	r2, .L13+24
	bl	ath_dbg
	b	.L1
.L10:
	mov	r0, r5
	ldr	r1, .L13+28
	bl	ath_err
	ldr	r3, .L13+32
	ldr	r6, [r3]
	rsb	r6, r6, #0
	b	.L1
.L12:
	ldr	r3, .L13+20
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L13+36
	bl	ath_dbg
	b	.L1
.L11:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC3
	.word	ATH_OP_INVALID
	.word	ENOMEM
	.word	IEEE80211_AC_VO
	.word	MAX_RATE_POWER
	.word	XMIT
	.word	.LC2
	.word	.LC0
	.word	EINVAL
	.word	.LC1
	.size	ath9k_tx99_init, .-ath9k_tx99_init
	.comm	XMIT,4,4
	.comm	MAX_RATE_POWER,4,4
	.comm	IEEE80211_AC_VO,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	ATH_OP_INVALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
