	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_power_set_ba
_iwl_mvm_power_set_ba:                  ## @iwl_mvm_power_set_ba
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	movq	%rax, %rbx
	movq	_IWL_BF_CMD_CONFIG_DEFAULTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	$1, %edi
	callq	_cpu_to_le32
	movl	%eax, -36(%rbp)
	movl	$0, -32(%rbp)
	cmpl	$0, 8(%rbx)
	je	LBB0_1
## %bb.2:
	movq	8(%r14), %rax
	movq	_IWL_UCODE_WOWLAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_IWL_BA_ESCAPE_TIMER_D3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movl	%eax, -40(%rbp)
LBB0_4:
	xorl	%ecx, %ecx
	cmpl	$0, (%rbx)
	je	LBB0_8
## %bb.5:
	cmpq	$0, (%r14)
	jne	LBB0_8
## %bb.6:
	cmpl	$0, (%r15)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_iwl_mvm_vif_low_latency
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
LBB0_8:
	movl	%ecx, 4(%rbx)
	leaq	-40(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	__iwl_mvm_enable_beacon_filter
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_BF_CMD_CONFIG_DEFAULTS,4,2 ## @IWL_BF_CMD_CONFIG_DEFAULTS
	.comm	_IWL_UCODE_WOWLAN,8,3           ## @IWL_UCODE_WOWLAN
	.comm	_IWL_BA_ESCAPE_TIMER_D3,4,2     ## @IWL_BA_ESCAPE_TIMER_D3
	.no_dead_strip	_iwl_mvm_power_set_ba
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_power_set_ba
_iwl_mvm_power_set_ba:                  ; @iwl_mvm_power_set_ba
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_iwl_mvm_vif_from_mac80211
	mov	x21, x0
Lloh0:
	adrp	x8, _IWL_BF_CMD_CONFIG_DEFAULTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_BF_CMD_CONFIG_DEFAULTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	w0, #1
	bl	_cpu_to_le32
	stp	w0, wzr, [sp, #4]
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_6
; %bb.1:
	ldr	x8, [x20, #8]
Lloh3:
	adrp	x9, _IWL_UCODE_WOWLAN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IWL_UCODE_WOWLAN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _IWL_BA_ESCAPE_TIMER_D3@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IWL_BA_ESCAPE_TIMER_D3@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	w0, [sp]
LBB0_3:
	ldr	w8, [x21]
	cbz	w8, LBB0_9
; %bb.4:
	ldr	x8, [x20]
	cbz	x8, LBB0_7
; %bb.5:
	mov	w8, #0
	b	LBB0_9
LBB0_6:
	mov	w0, #0
	b	LBB0_10
LBB0_7:
	ldr	w8, [x19]
	cbz	w8, LBB0_9
; %bb.8:
	mov	x0, x21
	bl	_iwl_mvm_vif_low_latency
	cmp	x0, #0
	cset	w8, eq
LBB0_9:
	str	w8, [x21, #4]
	mov	x2, sp
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	__iwl_mvm_enable_beacon_filter
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_BF_CMD_CONFIG_DEFAULTS,4,2 ; @IWL_BF_CMD_CONFIG_DEFAULTS
	.comm	_IWL_UCODE_WOWLAN,8,3           ; @IWL_UCODE_WOWLAN
	.comm	_IWL_BA_ESCAPE_TIMER_D3,4,2     ; @IWL_BA_ESCAPE_TIMER_D3
	.no_dead_strip	_iwl_mvm_power_set_ba
.subsections_via_symbols
