	.file	"extr_htc_drv_main.c_ath9k_htc_sta_rc_update.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Supported rates for sta: %pM updated, rate caps: 0x%X\n"
	.align 8
.LC1:
	.string	"Unable to update supported rates for sta: %pM\n"
	.text
	.p2align 4
	.type	ath9k_htc_sta_rc_update, @function
ath9k_htc_sta_rc_update:
.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
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, ecx
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rbp, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	edi, DWORD PTR 4[rbp]
	call	ath9k_hw_common@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	mutex_lock@PLT
	mov	rdi, rbp
	call	ath9k_htc_ps_wakeup@PLT
	test	DWORD PTR IEEE80211_RC_SUPP_RATES_CHANGED[rip], ebx
	jne	.L10
.L2:
	mov	rdi, rbp
	call	ath9k_htc_ps_restore@PLT
	mov	rdi, rbp
	call	mutex_unlock@PLT
	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
	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
.L10:
	.cfi_restore_state
	lea	r14, 4[rsp]
	xor	esi, esi
	mov	edx, 4
	mov	rdi, r14
	call	memset@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	rdx, r14
	call	ath9k_htc_setup_rate@PLT
	mov	rsi, r14
	mov	rdi, rbp
	call	ath9k_htc_send_rate_cmd@PLT
	test	eax, eax
	jne	.L3
	mov	edi, DWORD PTR 4[rsp]
	call	be32_to_cpu@PLT
	mov	ecx, DWORD PTR [r12]
	mov	esi, DWORD PTR CONFIG[rip]
	mov	rdi, r13
	mov	r8d, eax
	lea	rdx, .LC0[rip]
	xor	eax, eax
	call	ath_dbg@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	ecx, DWORD PTR [r12]
	mov	esi, DWORD PTR CONFIG[rip]
	mov	rdi, r13
	xor	eax, eax
	lea	rdx, .LC1[rip]
	call	ath_dbg@PLT
	jmp	.L2
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ath9k_htc_sta_rc_update, .-ath9k_htc_sta_rc_update
	.comm	IEEE80211_RC_SUPP_RATES_CHANGED,4,4
	.comm	CONFIG,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_htc_drv_main.c_ath9k_htc_sta_rc_update.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Supported rates for sta: %pM updated, rate caps: 0x"
	.ascii	"%X\012\000"
	.align	2
.LC1:
	.ascii	"Unable to update supported rates for sta: %pM\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath9k_htc_sta_rc_update, %function
ath9k_htc_sta_rc_update:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r4, [r0]
	mov	r5, r3
	ldr	r3, .L12
	sub	sp, sp, #20
	ldr	r0, [r4, #4]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r7, r2
	bl	ath9k_hw_common
	mov	r6, r0
	mov	r0, r4
	bl	mutex_lock
	mov	r0, r4
	bl	ath9k_htc_ps_wakeup
	ldr	r3, .L12+4
	ldr	r3, [r3]
	tst	r5, r3
	bne	.L10
.L2:
	mov	r0, r4
	bl	ath9k_htc_ps_restore
	mov	r0, r4
	bl	mutex_unlock
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	mov	r3, #0
	mov	r1, r7
	add	r2, sp, #8
	mov	r0, r4
	str	r3, [sp, #8]
	bl	ath9k_htc_setup_rate
	mov	r0, r4
	add	r1, sp, #8
	bl	ath9k_htc_send_rate_cmd
	cmp	r0, #0
	bne	.L3
	ldr	r3, .L12+8
	ldr	r0, [sp, #8]
	ldr	r5, [r7]
	ldr	r7, [r3]
	bl	be32_to_cpu
	mov	r1, r7
	str	r0, [sp]
	mov	r3, r5
	mov	r0, r6
	ldr	r2, .L12+12
	bl	ath_dbg
	b	.L2
.L3:
	ldr	r2, .L12+8
	mov	r0, r6
	ldr	r1, [r2]
	ldr	r3, [r7]
	ldr	r2, .L12+16
	bl	ath_dbg
	b	.L2
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC2
	.word	IEEE80211_RC_SUPP_RATES_CHANGED
	.word	CONFIG
	.word	.LC0
	.word	.LC1
	.size	ath9k_htc_sta_rc_update, .-ath9k_htc_sta_rc_update
	.comm	IEEE80211_RC_SUPP_RATES_CHANGED,4,4
	.comm	CONFIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
