	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_sf_update              ## -- Begin function iwl_mvm_sf_update
	.p2align	4, 0x90
_iwl_mvm_sf_update:                     ## @iwl_mvm_sf_update
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_IWL_MVM_INVALID_STA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_SF_UNINIT@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movl	%eax, -64(%rbp)
	movl	$0, -60(%rbp)
	movl	%r14d, -56(%rbp)
	movq	%rsi, -48(%rbp)
	movq	_IWL_MVM_STATUS_IN_HW_RESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r15), %rsi
	callq	_test_bit
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_19
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rcx
	movq	_NL80211_IFTYPE_P2P_DEVICE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_19
LBB0_3:
	movl	(%r15), %edi
	movq	_IEEE80211_IFACE_ITER_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_iwl_mvm_bound_iface_iterator@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rcx
	callq	_ieee80211_iterate_active_interfaces_atomic
	movl	-60(%rbp), %eax
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.4:
	testl	%r12d, %r12d
	jne	LBB0_6
## %bb.5:
	incl	%eax
	movl	%eax, -60(%rbp)
LBB0_6:
	cmpl	$1, %eax
	je	LBB0_9
## %bb.7:
	testl	%eax, %eax
	jne	LBB0_17
LBB0_8:
	movq	_SF_INIT_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	jmp	LBB0_18
LBB0_9:
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.10:
	movl	-64(%rbp), %edx
	movl	-56(%rbp), %r14d
	jmp	LBB0_18
LBB0_11:
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_WARN_ON
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_19
LBB0_13:
	movq	(%rbx), %rax
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.14:
	cmpl	$0, 12(%rbx)
	je	LBB0_8
## %bb.15:
	cmpl	$0, 8(%rbx)
	je	LBB0_8
## %bb.16:
	movq	%rbx, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	movl	(%rax), %r14d
	movq	_SF_FULL_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	jmp	LBB0_18
LBB0_17:
	movl	(%r13), %edx
LBB0_18:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_iwl_mvm_sf_config
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_MVM_INVALID_STA,4,2        ## @IWL_MVM_INVALID_STA
	.comm	_SF_UNINIT,4,2                  ## @SF_UNINIT
	.comm	_IWL_MVM_STATUS_IN_HW_RESTART,4,2 ## @IWL_MVM_STATUS_IN_HW_RESTART
	.comm	_NL80211_IFTYPE_P2P_DEVICE,8,3  ## @NL80211_IFTYPE_P2P_DEVICE
	.comm	_IEEE80211_IFACE_ITER_NORMAL,4,2 ## @IEEE80211_IFACE_ITER_NORMAL
	.comm	_iwl_mvm_bound_iface_iterator,4,2 ## @iwl_mvm_bound_iface_iterator
	.comm	_SF_INIT_OFF,4,2                ## @SF_INIT_OFF
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_SF_FULL_ON,4,2                 ## @SF_FULL_ON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_sf_update              ; -- Begin function iwl_mvm_sf_update
	.p2align	2
_iwl_mvm_sf_update:                     ; @iwl_mvm_sf_update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _IWL_MVM_INVALID_STA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_MVM_INVALID_STA@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x23, _SF_UNINIT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SF_UNINIT@GOTPAGEOFF]
	ldr	w8, [x23]
	stp	w8, wzr, [sp, #8]
	str	w20, [sp, #16]
	str	x1, [sp, #24]
Lloh5:
	adrp	x8, _IWL_MVM_STATUS_IN_HW_RESTART@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IWL_MVM_STATUS_IN_HW_RESTART@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_test_bit
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_20
; %bb.1:
	cbz	x21, LBB0_4
; %bb.2:
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _NL80211_IFTYPE_P2P_DEVICE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NL80211_IFTYPE_P2P_DEVICE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_20
LBB0_4:
	ldr	w0, [x19]
Lloh11:
	adrp	x8, _IEEE80211_IFACE_ITER_NORMAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IEEE80211_IFACE_ITER_NORMAL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _iwl_mvm_bound_iface_iterator@GOTPAGE
Lloh15:
	ldr	x8, [x8, _iwl_mvm_bound_iface_iterator@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	add	x3, sp, #8
	bl	_ieee80211_iterate_active_interfaces_atomic
	ldr	w8, [sp, #12]
	cbz	x21, LBB0_7
; %bb.5:
	cbnz	w22, LBB0_7
; %bb.6:
	add	w8, w8, #1
	str	w8, [sp, #12]
LBB0_7:
	cmp	w8, #1
	b.eq	LBB0_10
; %bb.8:
	cbnz	w8, LBB0_18
LBB0_9:
Lloh17:
	adrp	x8, _SF_INIT_OFF@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SF_INIT_OFF@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	b	LBB0_19
LBB0_10:
	cbz	w22, LBB0_12
; %bb.11:
	ldr	w2, [sp, #8]
	ldr	w20, [sp, #16]
	b	LBB0_19
LBB0_12:
	cmp	x21, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	w0, LBB0_14
; %bb.13:
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_20
LBB0_14:
	ldr	x8, [x21]
Lloh23:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh24:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.15:
	ldr	w8, [x21, #12]
	cbz	w8, LBB0_9
; %bb.16:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_9
; %bb.17:
	mov	x0, x21
	bl	_iwl_mvm_vif_from_mac80211
	ldr	w20, [x0]
Lloh26:
	adrp	x8, _SF_FULL_ON@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SF_FULL_ON@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	b	LBB0_19
LBB0_18:
	ldr	w2, [x23]
LBB0_19:
	mov	x0, x19
	mov	x1, x20
	bl	_iwl_mvm_sf_config
LBB0_20:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_MVM_INVALID_STA,4,2        ; @IWL_MVM_INVALID_STA
	.comm	_SF_UNINIT,4,2                  ; @SF_UNINIT
	.comm	_IWL_MVM_STATUS_IN_HW_RESTART,4,2 ; @IWL_MVM_STATUS_IN_HW_RESTART
	.comm	_NL80211_IFTYPE_P2P_DEVICE,8,3  ; @NL80211_IFTYPE_P2P_DEVICE
	.comm	_IEEE80211_IFACE_ITER_NORMAL,4,2 ; @IEEE80211_IFACE_ITER_NORMAL
	.comm	_iwl_mvm_bound_iface_iterator,4,2 ; @iwl_mvm_bound_iface_iterator
	.comm	_SF_INIT_OFF,4,2                ; @SF_INIT_OFF
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_SF_FULL_ON,4,2                 ; @SF_FULL_ON
.subsections_via_symbols
