	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_op_bss_info_changed
_b43_op_bss_info_changed:               ## @b43_op_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
	pushq	%rax
	.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, %r15
	movq	%rsi, %rbx
	callq	_hw_to_b43_wl
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_mutex_lock
	movq	16(%r13), %r14
	testq	%r14, %r14
	je	LBB0_27
## %bb.1:
	movq	%r14, %rdi
	callq	_b43_status
	movq	_B43_STAT_STARTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_27
## %bb.2:
	xorl	%edi, %edi
	cmpq	%rbx, 8(%r13)
	setne	%dil
	callq	_B43_WARN_ON
	movq	_BSS_CHANGED_BSSID@GOTPCREL(%rip), %rbx
	testl	%r12d, (%rbx)
	je	LBB0_6
## %bb.3:
	movl	16(%r15), %esi
	movl	4(%r13), %edi
	testl	%esi, %esi
	je	LBB0_5
## %bb.4:
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	jmp	LBB0_6
LBB0_5:
	callq	_eth_zero_addr
LBB0_6:
	movq	%r14, %rdi
	callq	_b43_status
	movq	_B43_STAT_INITIALIZED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_14
## %bb.7:
	movq	_BSS_CHANGED_BEACON@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_12
## %bb.8:
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_is_mode
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:
	movq	_NL80211_IFTYPE_MESH_POINT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_is_mode
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_is_mode
	testq	%rax, %rax
	je	LBB0_12
LBB0_11:
	movq	%r13, %rdi
	callq	_b43_update_templates
LBB0_12:
	testl	%r12d, (%rbx)
	je	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	callq	_b43_write_mac_bssid_templates
LBB0_14:
	movq	%r14, %rdi
	callq	_b43_mac_suspend
	movq	_BSS_CHANGED_BEACON_INT@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_20
## %bb.15:
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_is_mode
	testq	%rax, %rax
	jne	LBB0_18
## %bb.16:
	movq	_NL80211_IFTYPE_MESH_POINT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_is_mode
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_is_mode
	testq	%rax, %rax
	je	LBB0_20
LBB0_18:
	movl	12(%r15), %esi
	testl	%esi, %esi
	je	LBB0_20
## %bb.19:
	movq	%r14, %rdi
	callq	_b43_set_beacon_int
LBB0_20:
	movq	_BSS_CHANGED_BASIC_RATES@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_22
## %bb.21:
	movl	8(%r15), %esi
	movq	%r14, %rdi
	callq	_b43_update_basic_rates
LBB0_22:
	movq	_BSS_CHANGED_ERP_SLOT@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_26
## %bb.23:
	cmpq	$0, (%r15)
	je	LBB0_25
## %bb.24:
	movq	%r14, %rdi
	callq	_b43_short_slot_timing_enable
	jmp	LBB0_26
LBB0_25:
	movq	%r14, %rdi
	callq	_b43_short_slot_timing_disable
LBB0_26:
	movq	%r14, %rdi
	callq	_b43_mac_enable
LBB0_27:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_STAT_STARTED,8,3           ## @B43_STAT_STARTED
	.comm	_BSS_CHANGED_BSSID,4,2          ## @BSS_CHANGED_BSSID
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_B43_STAT_INITIALIZED,8,3       ## @B43_STAT_INITIALIZED
	.comm	_BSS_CHANGED_BEACON,4,2         ## @BSS_CHANGED_BEACON
	.comm	_NL80211_IFTYPE_AP,4,2          ## @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_MESH_POINT,4,2  ## @NL80211_IFTYPE_MESH_POINT
	.comm	_NL80211_IFTYPE_ADHOC,4,2       ## @NL80211_IFTYPE_ADHOC
	.comm	_BSS_CHANGED_BEACON_INT,4,2     ## @BSS_CHANGED_BEACON_INT
	.comm	_BSS_CHANGED_BASIC_RATES,4,2    ## @BSS_CHANGED_BASIC_RATES
	.comm	_BSS_CHANGED_ERP_SLOT,4,2       ## @BSS_CHANGED_ERP_SLOT
	.no_dead_strip	_b43_op_bss_info_changed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_op_bss_info_changed
_b43_op_bss_info_changed:               ; @b43_op_bss_info_changed
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	bl	_hw_to_b43_wl
	mov	x19, x0
	bl	_mutex_lock
	ldr	x20, [x19, #16]
	cbz	x20, LBB0_27
; %bb.1:
	mov	x0, x20
	bl	_b43_status
Lloh0:
	adrp	x8, _B43_STAT_STARTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_STAT_STARTED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_27
; %bb.2:
	ldr	x8, [x19, #8]
	cmp	x8, x23
	cset	w0, ne
	bl	_B43_WARN_ON
Lloh3:
	adrp	x23, _BSS_CHANGED_BSSID@GOTPAGE
Lloh4:
	ldr	x23, [x23, _BSS_CHANGED_BSSID@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w22
	b.eq	LBB0_6
; %bb.3:
	ldr	w1, [x21, #16]
	ldr	w0, [x19, #4]
	cbz	w1, LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_memcpy
	b	LBB0_6
LBB0_5:
	bl	_eth_zero_addr
LBB0_6:
	mov	x0, x20
	bl	_b43_status
Lloh8:
	adrp	x8, _B43_STAT_INITIALIZED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _B43_STAT_INITIALIZED@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_14
; %bb.7:
Lloh11:
	adrp	x8, _BSS_CHANGED_BEACON@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BSS_CHANGED_BEACON@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_12
; %bb.8:
Lloh14:
	adrp	x8, _NL80211_IFTYPE_AP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_is_mode
	cbnz	x0, LBB0_11
; %bb.9:
Lloh17:
	adrp	x8, _NL80211_IFTYPE_MESH_POINT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NL80211_IFTYPE_MESH_POINT@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_is_mode
	cbnz	x0, LBB0_11
; %bb.10:
Lloh20:
	adrp	x8, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_is_mode
	cbz	x0, LBB0_12
LBB0_11:
	mov	x0, x19
	bl	_b43_update_templates
LBB0_12:
	ldr	w8, [x23]
	tst	w8, w22
	b.eq	LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_b43_write_mac_bssid_templates
LBB0_14:
	mov	x0, x20
	bl	_b43_mac_suspend
Lloh23:
	adrp	x8, _BSS_CHANGED_BEACON_INT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BSS_CHANGED_BEACON_INT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_20
; %bb.15:
Lloh26:
	adrp	x8, _NL80211_IFTYPE_AP@GOTPAGE
Lloh27:
	ldr	x8, [x8, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_is_mode
	cbnz	x0, LBB0_18
; %bb.16:
Lloh29:
	adrp	x8, _NL80211_IFTYPE_MESH_POINT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NL80211_IFTYPE_MESH_POINT@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_is_mode
	cbnz	x0, LBB0_18
; %bb.17:
Lloh32:
	adrp	x8, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_is_mode
	cbz	x0, LBB0_20
LBB0_18:
	ldr	w1, [x21, #12]
	cbz	w1, LBB0_20
; %bb.19:
	mov	x0, x20
	bl	_b43_set_beacon_int
LBB0_20:
Lloh35:
	adrp	x8, _BSS_CHANGED_BASIC_RATES@GOTPAGE
Lloh36:
	ldr	x8, [x8, _BSS_CHANGED_BASIC_RATES@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_22
; %bb.21:
	ldr	w1, [x21, #8]
	mov	x0, x20
	bl	_b43_update_basic_rates
LBB0_22:
Lloh38:
	adrp	x8, _BSS_CHANGED_ERP_SLOT@GOTPAGE
Lloh39:
	ldr	x8, [x8, _BSS_CHANGED_ERP_SLOT@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_26
; %bb.23:
	ldr	x8, [x21]
	cbz	x8, LBB0_25
; %bb.24:
	mov	x0, x20
	bl	_b43_short_slot_timing_enable
	b	LBB0_26
LBB0_25:
	mov	x0, x20
	bl	_b43_short_slot_timing_disable
LBB0_26:
	mov	x0, x20
	bl	_b43_mac_enable
LBB0_27:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_STAT_STARTED,8,3           ; @B43_STAT_STARTED
	.comm	_BSS_CHANGED_BSSID,4,2          ; @BSS_CHANGED_BSSID
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_B43_STAT_INITIALIZED,8,3       ; @B43_STAT_INITIALIZED
	.comm	_BSS_CHANGED_BEACON,4,2         ; @BSS_CHANGED_BEACON
	.comm	_NL80211_IFTYPE_AP,4,2          ; @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_MESH_POINT,4,2  ; @NL80211_IFTYPE_MESH_POINT
	.comm	_NL80211_IFTYPE_ADHOC,4,2       ; @NL80211_IFTYPE_ADHOC
	.comm	_BSS_CHANGED_BEACON_INT,4,2     ; @BSS_CHANGED_BEACON_INT
	.comm	_BSS_CHANGED_BASIC_RATES,4,2    ; @BSS_CHANGED_BASIC_RATES
	.comm	_BSS_CHANGED_ERP_SLOT,4,2       ; @BSS_CHANGED_ERP_SLOT
	.no_dead_strip	_b43_op_bss_info_changed
.subsections_via_symbols
