	.file	"extr_if_iwm_power.c_iwm_mvm_power_set_ba.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	iwm_mvm_power_set_ba, @function
iwm_mvm_power_set_ba:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	edi, 1
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [rsp], 0
	call	htole32@PLT
	mov	DWORD PTR [rsp], eax
	mov	eax, DWORD PTR 8[rbp]
	test	eax, eax
	je	.L1
	mov	rdi, QWORD PTR 8[r12]
	mov	rbx, QWORD PTR FALSE[rip]
	test	rdi, rdi
	je	.L3
	call	IWM_NODE@PLT
	cmp	QWORD PTR [rax], 0
	jne	.L15
.L3:
	mov	eax, DWORD PTR 0[rbp]
	mov	rsi, r12
	mov	rdi, rbp
	test	eax, eax
	sete	dl
	xor	eax, eax
	test	rbx, rbx
	setne	al
	and	eax, edx
	mov	rdx, rsp
	mov	DWORD PTR 4[rbp], eax
	call	_iwm_mvm_enable_beacon_filter@PLT
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L16
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	eax, DWORD PTR [r12]
	test	DWORD PTR IEEE80211_F_PMGTON[rip], eax
	cmovne	rbx, QWORD PTR TRUE[rip]
	jmp	.L3
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	iwm_mvm_power_set_ba, .-iwm_mvm_power_set_ba
	.comm	TRUE,8,8
	.comm	IWM_BF_CMD_CONFIG_DEFAULTS,4,4
	.comm	IEEE80211_F_PMGTON,4,4
	.comm	FALSE,8,8
	.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_if_iwm_power.c_iwm_mvm_power_set_ba.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iwm_mvm_power_set_ba, %function
iwm_mvm_power_set_ba:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, lr}
	ldr	r2, .L21
	sub	sp, sp, #16
	mov	r4, r0
	mov	r0, #1
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	mov	r5, r1
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	bl	htole32
	mov	r3, r0
	ldr	r0, [r4, #8]
	str	r3, [sp, #4]
	cmp	r0, #0
	beq	.L1
	ldr	r0, [r5, #4]
	ldr	r3, .L21+4
	cmp	r0, #0
	ldr	r6, [r3]
	beq	.L3
	bl	IWM_NODE
	ldr	r3, [r0]
	cmp	r3, #0
	bne	.L19
.L3:
	ldr	r3, [r4]
	subs	r6, r6, #0
	movne	r6, #1
	cmp	r3, #0
	movne	r6, #0
	mov	r1, r5
	mov	r0, r4
	add	r2, sp, #4
	str	r6, [r4, #4]
	bl	_iwm_mvm_enable_beacon_filter
.L1:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L19:
	ldr	r3, .L21+8
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	ldrne	r3, .L21+12
	ldrne	r6, [r3]
	b	.L3
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC0
	.word	FALSE
	.word	IEEE80211_F_PMGTON
	.word	TRUE
	.size	iwm_mvm_power_set_ba, .-iwm_mvm_power_set_ba
	.comm	TRUE,4,4
	.comm	IWM_BF_CMD_CONFIG_DEFAULTS,4,4
	.comm	IEEE80211_F_PMGTON,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
