	.file	"extr_mac.c_ath10k_config.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"failed to recalc monitor: %d\n"
	.text
	.p2align 4
	.type	ath10k_config, @function
ath10k_config:
.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	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r13, QWORD PTR 8[rdi]
	lea	r14, 4[r13]
	mov	rdi, r14
	call	mutex_lock@PLT
	test	DWORD PTR IEEE80211_CONF_CHANGE_PS[rip], r12d
	jne	.L15
	and	r12d, DWORD PTR IEEE80211_CONF_CHANGE_MONITOR[rip]
	jne	.L16
.L3:
	mov	rdi, r14
	call	mutex_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L15:
	.cfi_restore_state
	mov	rdi, r13
	call	ath10k_config_ps@PLT
	and	r12d, DWORD PTR IEEE80211_CONF_CHANGE_MONITOR[rip]
	je	.L3
.L16:
	mov	eax, DWORD PTR 0[rbp]
	and	eax, DWORD PTR IEEE80211_CONF_MONITOR[rip]
	mov	rdi, r13
	mov	DWORD PTR 0[r13], eax
	call	ath10k_monitor_recalc@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L3
	mov	edx, eax
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	call	ath10k_warn@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	ath10k_config, .-ath10k_config
	.comm	IEEE80211_CONF_MONITOR,4,4
	.comm	IEEE80211_CONF_CHANGE_PS,4,4
	.comm	IEEE80211_CONF_CHANGE_MONITOR,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_config.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to recalc monitor: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath10k_config, %function
ath10k_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	r6, [r0, #4]
	mov	r5, r0
	add	r7, r6, #4
	mov	r0, r7
	bl	mutex_lock
	ldr	r3, .L17
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L15
	ldr	r3, .L17+4
	ldr	r0, [r3]
	ands	r4, r4, r0
	bne	.L16
.L3:
	mov	r0, r7
	bl	mutex_unlock
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	mov	r0, r6
	bl	ath10k_config_ps
	ldr	r3, .L17+4
	ldr	r0, [r3]
	ands	r4, r4, r0
	beq	.L3
.L16:
	ldr	r2, .L17+8
	ldr	r3, [r5]
	ldr	r2, [r2]
	mov	r0, r6
	and	r3, r3, r2
	str	r3, [r6]
	bl	ath10k_monitor_recalc
	subs	r4, r0, #0
	beq	.L3
	mov	r0, r6
	mov	r2, r4
	ldr	r1, .L17+12
	bl	ath10k_warn
	b	.L3
.L18:
	.align	2
.L17:
	.word	IEEE80211_CONF_CHANGE_PS
	.word	IEEE80211_CONF_CHANGE_MONITOR
	.word	IEEE80211_CONF_MONITOR
	.word	.LC0
	.size	ath10k_config, .-ath10k_config
	.comm	IEEE80211_CONF_MONITOR,4,4
	.comm	IEEE80211_CONF_CHANGE_PS,4,4
	.comm	IEEE80211_CONF_CHANGE_MONITOR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
