	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwlagn_bss_info_changed        ## -- Begin function iwlagn_bss_info_changed
	.p2align	4, 0x90
_iwlagn_bss_info_changed:               ## @iwlagn_bss_info_changed
	.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	%ecx, %r12d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_IWL_MAC80211_GET_DVM
	movq	%rax, %r15
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r14, %rbx
	callq	_iwl_rxon_ctx_from_vif
	movq	%rax, %r13
	leaq	20(%r15), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_BSS_CHANGED_IDLE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 40(%rbx)
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_iwlagn_lift_passive_no_rx
LBB0_3:
	movq	%r15, %rdi
	callq	_iwl_is_ready
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_6:
	xorl	%edi, %edi
	cmpl	$0, 52(%r13)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	movq	%r15, %rdi
	callq	_IWL_DEBUG_MAC80211
LBB0_52:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
LBB0_8:
	movq	_BSS_CHANGED_BEACON_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_BSS_CHANGED_QOS@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_10
## %bb.9:
	movl	36(%rbx), %eax
	movl	%eax, 48(%r13)
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_iwlagn_update_qos
LBB0_10:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	24(%rbx), %edi
	callq	_cpu_to_le16
	movl	%eax, 24(%r13)
	cmpq	$0, 16(%rbx)
	movq	_RXON_FLG_SHORT_PREAMBLE_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	je	LBB0_12
## %bb.11:
	orl	%eax, 20(%r13)
	jmp	LBB0_13
LBB0_12:
	notl	%eax
	andl	%eax, 20(%r13)
LBB0_13:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	leaq	12(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_BSS_CHANGED_ASSOC@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_19
## %bb.14:
	cmpq	$0, 16(%rbx)
	je	LBB0_16
## %bb.15:
	movl	32(%rbx), %eax
	movl	%eax, 44(%r15)
	movq	_RXON_FILTER_ASSOC_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	jmp	LBB0_18
LBB0_16:
	movq	_RXON_FILTER_ASSOC_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 12(%r13)
	movq	(%r13), %rax
	movq	_IWL_RXON_CTX_BSS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.17:
	movl	$0, (%r15)
LBB0_18:
	movq	%r15, %rdi
	callq	_iwlagn_bt_coex_rssi_monitor
LBB0_19:
	cmpq	$0, 40(%r13)
	je	LBB0_21
## %bb.20:
	movl	(%rbx), %eax
	movq	_IEEE80211_HT_OP_MODE_PROTECTION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%ecx, 32(%r13)
	movq	_IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movl	%edx, 36(%r13)
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_iwlagn_check_needed_chains
	movq	%r15, %rsi
	addq	$40, %rsi
	movq	%r15, %rdi
	callq	_iwl_set_rxon_ht
LBB0_21:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_iwlagn_set_rxon_chain
	cmpq	$0, 24(%rbx)
	je	LBB0_26
## %bb.22:
	movq	8(%r15), %rcx
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rdx
	movq	_RXON_FLG_TGG_PROTECT_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_23
## %bb.24:
	notl	%eax
	andl	20(%r13), %eax
	jmp	LBB0_25
LBB0_26:
	movq	_RXON_FLG_TGG_PROTECT_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_RXON_FLG_SELF_CTS_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, 20(%r13)
	jmp	LBB0_27
LBB0_23:
	orl	20(%r13), %eax
LBB0_25:
	movq	_RXON_FLG_SELF_CTS_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 20(%r13)
LBB0_27:
	movl	16(%r13), %edi
	movl	4(%rbx), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_29
## %bb.28:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_33
LBB0_29:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, 8(%rcx)
	movq	_RXON_FILTER_ASSOC_MSK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	je	LBB0_31
## %bb.30:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	orl	%ecx, (%rdx)
	movq	%r13, %rcx
	jmp	LBB0_32
LBB0_31:
	notl	%ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	andl	%ecx, (%rdx)
	xorl	%ecx, %ecx
LBB0_32:
	movq	%rcx, 24(%r15)
LBB0_33:
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_37
## %bb.34:
	cmpq	$0, 16(%rbx)
	movq	_RXON_FILTER_BCON_AWARE_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	je	LBB0_35
## %bb.36:
	notl	%eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	andl	%eax, (%rcx)
LBB0_37:
	testl	%r12d, -60(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_39
LBB0_38:
	leaq	8(%r13), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$16, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_39
	jmp	LBB0_40
LBB0_35:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	testl	%r12d, -60(%rbp)                ## 4-byte Folded Reload
	je	LBB0_38
LBB0_39:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_iwlagn_commit_rxon
LBB0_40:
	movq	_BSS_CHANGED_ASSOC@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_45
## %bb.41:
	cmpq	$0, 16(%rbx)
	je	LBB0_45
## %bb.42:
	movq	32(%r15), %rax
	movq	_IWL_CHAIN_NOISE_DONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_44
## %bb.43:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_iwl_power_update_mode
LBB0_44:
	movq	%r15, %rdi
	callq	_iwlagn_chain_noise_reset
	movl	$1, 16(%r15)
LBB0_45:
	movq	_BSS_CHANGED_IBSS@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_48
## %bb.46:
	movq	8(%rbx), %rdx
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_iwlagn_manage_ibss_station
	testl	%eax, %eax
	je	LBB0_48
## %bb.47:
	cmpq	$0, 8(%rbx)
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rdx
	cmoveq	%rax, %rdx
	movl	4(%rbx), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_IWL_ERR
LBB0_48:
	movq	_BSS_CHANGED_BEACON@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_52
## %bb.49:
	cmpq	%r13, 24(%r15)
	jne	LBB0_52
## %bb.50:
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_iwlagn_update_beacon
	testq	%rax, %rax
	je	LBB0_52
## %bb.51:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_IWL_ERR
	jmp	LBB0_52
	.cfi_endproc
                                        ## -- End function
	.comm	_BSS_CHANGED_IDLE,4,2           ## @BSS_CHANGED_IDLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"leave - not ready\n"

L_.str.1:                               ## @.str.1
	.asciz	"leave - vif is NULL\n"

	.comm	_BSS_CHANGED_BEACON_INT,4,2     ## @BSS_CHANGED_BEACON_INT
	.comm	_BSS_CHANGED_QOS,4,2            ## @BSS_CHANGED_QOS
	.comm	_RXON_FLG_SHORT_PREAMBLE_MSK,4,2 ## @RXON_FLG_SHORT_PREAMBLE_MSK
	.comm	_BSS_CHANGED_ASSOC,4,2          ## @BSS_CHANGED_ASSOC
	.comm	_RXON_FILTER_ASSOC_MSK,4,2      ## @RXON_FILTER_ASSOC_MSK
	.comm	_IWL_RXON_CTX_BSS,8,3           ## @IWL_RXON_CTX_BSS
	.comm	_IEEE80211_HT_OP_MODE_PROTECTION,4,2 ## @IEEE80211_HT_OP_MODE_PROTECTION
	.comm	_IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT,4,2 ## @IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_RXON_FLG_TGG_PROTECT_MSK,4,2   ## @RXON_FLG_TGG_PROTECT_MSK
	.comm	_RXON_FLG_SELF_CTS_EN,4,2       ## @RXON_FLG_SELF_CTS_EN
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_RXON_FILTER_BCON_AWARE_MSK,4,2 ## @RXON_FILTER_BCON_AWARE_MSK
	.comm	_IWL_CHAIN_NOISE_DONE,8,3       ## @IWL_CHAIN_NOISE_DONE
	.comm	_BSS_CHANGED_IBSS,4,2           ## @BSS_CHANGED_IBSS
L_.str.2:                               ## @.str.2
	.asciz	"failed to %s IBSS station %pM\n"

L_.str.3:                               ## @.str.3
	.asciz	"add"

L_.str.4:                               ## @.str.4
	.asciz	"remove"

	.comm	_BSS_CHANGED_BEACON,4,2         ## @BSS_CHANGED_BEACON
L_.str.5:                               ## @.str.5
	.asciz	"Error updating beacon\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwlagn_bss_info_changed        ; -- Begin function iwlagn_bss_info_changed
	.p2align	2
_iwlagn_bss_info_changed:               ; @iwlagn_bss_info_changed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x24, x2
	mov	x21, x1
	bl	_IWL_MAC80211_GET_DVM
	mov	x20, x0
	mov	x0, x21
	bl	_iwl_rxon_ctx_from_vif
	mov	x23, x0
	add	x19, x20, #20
	mov	x0, x19
	bl	_mutex_lock
Lloh0:
	adrp	x8, _BSS_CHANGED_IDLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BSS_CHANGED_IDLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x24, #40]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_iwlagn_lift_passive_no_rx
LBB0_3:
	mov	x0, x20
	bl	_iwl_is_ready
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_5:
	ldr	w8, [x23, #52]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.6:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x20
	bl	_IWL_DEBUG_MAC80211
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_mutex_unlock
LBB0_9:
Lloh7:
	adrp	x8, _BSS_CHANGED_BEACON_INT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BSS_CHANGED_BEACON_INT@GOTPAGEOFF]
Lloh9:
	ldr	w27, [x8]
Lloh10:
	adrp	x8, _BSS_CHANGED_QOS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BSS_CHANGED_QOS@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_11
; %bb.10:
	ldr	w8, [x24, #36]
	str	w8, [x23, #48]
	mov	x0, x20
	mov	x1, x23
	bl	_iwlagn_update_qos
LBB0_11:
	ldr	w0, [x21, #24]
	bl	_cpu_to_le16
	str	w0, [x23, #24]
	ldr	x9, [x21, #16]
Lloh13:
	adrp	x8, _RXON_FLG_SHORT_PREAMBLE_MSK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RXON_FLG_SHORT_PREAMBLE_MSK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cbz	x9, LBB0_13
; %bb.12:
	ldr	w9, [x23, #20]
	orr	w8, w9, w8
	b	LBB0_14
LBB0_13:
	ldr	w9, [x23, #20]
	bic	w8, w9, w8
LBB0_14:
	str	w8, [x23, #20]
	add	x25, x23, #12
Lloh16:
	adrp	x26, _BSS_CHANGED_ASSOC@GOTPAGE
Lloh17:
	ldr	x26, [x26, _BSS_CHANGED_ASSOC@GOTPAGEOFF]
	ldr	w8, [x26]
	tst	w8, w22
	b.eq	LBB0_20
; %bb.15:
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_17
; %bb.16:
	ldr	w8, [x24, #32]
	str	w8, [x20, #44]
Lloh18:
	adrp	x8, _RXON_FILTER_ASSOC_MSK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RXON_FILTER_ASSOC_MSK@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x25]
	orr	w8, w9, w8
	str	w8, [x25]
	b	LBB0_19
LBB0_17:
Lloh21:
	adrp	x8, _RXON_FILTER_ASSOC_MSK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RXON_FILTER_ASSOC_MSK@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x23, #12]
	bic	w8, w9, w8
	str	w8, [x23, #12]
	ldr	x8, [x23]
Lloh24:
	adrp	x9, _IWL_RXON_CTX_BSS@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IWL_RXON_CTX_BSS@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.18:
	str	wzr, [x20]
LBB0_19:
	mov	x0, x20
	bl	_iwlagn_bt_coex_rssi_monitor
LBB0_20:
	ldr	x8, [x23, #40]
	cbz	x8, LBB0_22
; %bb.21:
	ldr	w8, [x24]
Lloh27:
	adrp	x9, _IEEE80211_HT_OP_MODE_PROTECTION@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IEEE80211_HT_OP_MODE_PROTECTION@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT@GOTPAGE
Lloh31:
	ldr	x10, [x10, _IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT@GOTPAGEOFF]
	and	w9, w9, w8
Lloh32:
	ldr	w10, [x10]
	tst	w10, w8
	cset	w8, ne
	stp	w9, w8, [x23, #32]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	bl	_iwlagn_check_needed_chains
	add	x1, x20, #40
	mov	x0, x20
	bl	_iwl_set_rxon_ht
LBB0_22:
	mov	x0, x20
	mov	x1, x23
	bl	_iwlagn_set_rxon_chain
	ldr	x8, [x24, #24]
	cbz	x8, LBB0_25
; %bb.23:
Lloh33:
	adrp	x8, _NL80211_BAND_5GHZ@GOTPAGE
Lloh34:
	ldr	x8, [x8, _NL80211_BAND_5GHZ@GOTPAGEOFF]
	ldr	x9, [x20, #8]
Lloh35:
	ldr	x10, [x8]
Lloh36:
	adrp	x8, _RXON_FLG_TGG_PROTECT_MSK@GOTPAGE
Lloh37:
	ldr	x8, [x8, _RXON_FLG_TGG_PROTECT_MSK@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	cmp	x9, x10
	b.ne	LBB0_26
; %bb.24:
	ldr	w9, [x23, #20]
	bic	w8, w9, w8
	b	LBB0_27
LBB0_25:
Lloh39:
	adrp	x8, _RXON_FLG_TGG_PROTECT_MSK@GOTPAGE
Lloh40:
	ldr	x8, [x8, _RXON_FLG_TGG_PROTECT_MSK@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	ldr	w9, [x23, #20]
Lloh42:
	adrp	x10, _RXON_FLG_SELF_CTS_EN@GOTPAGE
Lloh43:
	ldr	x10, [x10, _RXON_FLG_SELF_CTS_EN@GOTPAGEOFF]
Lloh44:
	ldr	w10, [x10]
	orr	w8, w8, w10
	bic	w8, w9, w8
	b	LBB0_28
LBB0_26:
	ldr	w9, [x23, #20]
	orr	w8, w9, w8
LBB0_27:
Lloh45:
	adrp	x9, _RXON_FLG_SELF_CTS_EN@GOTPAGE
Lloh46:
	ldr	x9, [x9, _RXON_FLG_SELF_CTS_EN@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	orr	w8, w8, w9
LBB0_28:
	str	w8, [x23, #20]
	ldr	w0, [x23, #16]
	ldr	w1, [x24, #4]
Lloh48:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	x8, [x21]
Lloh51:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh52:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_30
; %bb.29:
Lloh54:
	adrp	x9, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh55:
	ldr	x9, [x9, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_34
LBB0_30:
	ldr	x9, [x21, #8]
Lloh57:
	adrp	x10, _RXON_FILTER_ASSOC_MSK@GOTPAGE
Lloh58:
	ldr	x10, [x10, _RXON_FILTER_ASSOC_MSK@GOTPAGEOFF]
Lloh59:
	ldr	w10, [x10]
	cbz	x9, LBB0_32
; %bb.31:
	ldr	w9, [x25]
	orr	w9, w9, w10
	str	w9, [x25]
	mov	x9, x23
	b	LBB0_33
LBB0_32:
	ldr	w11, [x25]
	bic	w10, w11, w10
	str	w10, [x25]
LBB0_33:
	str	x9, [x20, #24]
LBB0_34:
	and	w9, w27, w22
Lloh60:
	adrp	x10, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh61:
	ldr	x10, [x10, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh62:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_39
; %bb.35:
	ldr	x10, [x24, #16]
Lloh63:
	adrp	x8, _RXON_FILTER_BCON_AWARE_MSK@GOTPAGE
Lloh64:
	ldr	x8, [x8, _RXON_FILTER_BCON_AWARE_MSK@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	cbz	x10, LBB0_37
; %bb.36:
	ldr	w10, [x25]
	bic	w8, w10, w8
	b	LBB0_38
LBB0_37:
	ldr	w10, [x25]
	orr	w8, w10, w8
LBB0_38:
	str	w8, [x25]
LBB0_39:
	cbnz	w9, LBB0_41
; %bb.40:
	add	x1, x23, #8
	mov	x0, x25
	mov	w2, #16
	bl	_memcmp
	cbz	x0, LBB0_42
LBB0_41:
	mov	x0, x20
	mov	x1, x23
	bl	_iwlagn_commit_rxon
LBB0_42:
	ldr	w8, [x26]
	tst	w8, w22
	b.eq	LBB0_47
; %bb.43:
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_47
; %bb.44:
	ldr	x8, [x20, #32]
Lloh66:
	adrp	x9, _IWL_CHAIN_NOISE_DONE@GOTPAGE
Lloh67:
	ldr	x9, [x9, _IWL_CHAIN_NOISE_DONE@GOTPAGEOFF]
Lloh68:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_46
; %bb.45:
	mov	x0, x20
	mov	w1, #0
	bl	_iwl_power_update_mode
LBB0_46:
	mov	x0, x20
	bl	_iwlagn_chain_noise_reset
	mov	w8, #1
	str	w8, [x20, #16]
LBB0_47:
Lloh69:
	adrp	x8, _BSS_CHANGED_IBSS@GOTPAGE
Lloh70:
	ldr	x8, [x8, _BSS_CHANGED_IBSS@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_50
; %bb.48:
	ldr	x2, [x24, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_iwlagn_manage_ibss_station
	cbz	w0, LBB0_50
; %bb.49:
Lloh72:
	adrp	x8, l_.str.3@PAGE
Lloh73:
	add	x8, x8, l_.str.3@PAGEOFF
	ldr	x9, [x24, #8]
Lloh74:
	adrp	x10, l_.str.4@PAGE
Lloh75:
	add	x10, x10, l_.str.4@PAGEOFF
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w9, [x24, #4]
	stp	x8, x9, [sp]
Lloh76:
	adrp	x1, l_.str.2@PAGE
Lloh77:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_IWL_ERR
LBB0_50:
Lloh78:
	adrp	x8, _BSS_CHANGED_BEACON@GOTPAGE
Lloh79:
	ldr	x8, [x8, _BSS_CHANGED_BEACON@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_8
; %bb.51:
	ldr	x8, [x20, #24]
	cmp	x8, x23
	b.ne	LBB0_8
; %bb.52:
	mov	x0, x20
	mov	x1, x21
	bl	_iwlagn_update_beacon
	cbz	x0, LBB0_8
; %bb.53:
Lloh81:
	adrp	x1, l_.str.5@PAGE
Lloh82:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_IWL_ERR
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.cfi_endproc
                                        ; -- End function
	.comm	_BSS_CHANGED_IDLE,4,2           ; @BSS_CHANGED_IDLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"leave - not ready\n"

l_.str.1:                               ; @.str.1
	.asciz	"leave - vif is NULL\n"

	.comm	_BSS_CHANGED_BEACON_INT,4,2     ; @BSS_CHANGED_BEACON_INT
	.comm	_BSS_CHANGED_QOS,4,2            ; @BSS_CHANGED_QOS
	.comm	_RXON_FLG_SHORT_PREAMBLE_MSK,4,2 ; @RXON_FLG_SHORT_PREAMBLE_MSK
	.comm	_BSS_CHANGED_ASSOC,4,2          ; @BSS_CHANGED_ASSOC
	.comm	_RXON_FILTER_ASSOC_MSK,4,2      ; @RXON_FILTER_ASSOC_MSK
	.comm	_IWL_RXON_CTX_BSS,8,3           ; @IWL_RXON_CTX_BSS
	.comm	_IEEE80211_HT_OP_MODE_PROTECTION,4,2 ; @IEEE80211_HT_OP_MODE_PROTECTION
	.comm	_IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT,4,2 ; @IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_RXON_FLG_TGG_PROTECT_MSK,4,2   ; @RXON_FLG_TGG_PROTECT_MSK
	.comm	_RXON_FLG_SELF_CTS_EN,4,2       ; @RXON_FLG_SELF_CTS_EN
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_RXON_FILTER_BCON_AWARE_MSK,4,2 ; @RXON_FILTER_BCON_AWARE_MSK
	.comm	_IWL_CHAIN_NOISE_DONE,8,3       ; @IWL_CHAIN_NOISE_DONE
	.comm	_BSS_CHANGED_IBSS,4,2           ; @BSS_CHANGED_IBSS
l_.str.2:                               ; @.str.2
	.asciz	"failed to %s IBSS station %pM\n"

l_.str.3:                               ; @.str.3
	.asciz	"add"

l_.str.4:                               ; @.str.4
	.asciz	"remove"

	.comm	_BSS_CHANGED_BEACON,4,2         ; @BSS_CHANGED_BEACON
l_.str.5:                               ; @.str.5
	.asciz	"Error updating beacon\n"

.subsections_via_symbols
