	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43legacy_op_bss_info_changed
_b43legacy_op_bss_info_changed:         ## @b43legacy_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, %r13d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	callq	_hw_to_b43legacy_wl
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_mutex_lock
	xorl	%edi, %edi
	cmpq	%rbx, 24(%r14)
	setne	%dil
	callq	_B43legacy_WARN_ON
	movq	16(%r14), %r15
	movq	%r14, %rbx
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	%r15, %rdi
	callq	_b43legacy_status
	movq	_B43legacy_STAT_STARTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_23
## %bb.1:
	movq	_B43legacy_MMIO_GEN_IRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_b43legacy_write32
	movq	_BSS_CHANGED_BSSID@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_5
## %bb.2:
	movq	%r15, %rdi
	callq	_b43legacy_synchronize_irq
	movl	16(%r12), %esi
	movl	8(%r14), %edi
	testl	%esi, %esi
	je	LBB0_4
## %bb.3:
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	jmp	LBB0_5
LBB0_4:
	callq	_eth_zero_addr
LBB0_5:
	movq	%r15, %rdi
	callq	_b43legacy_status
	movq	_B43legacy_STAT_INITIALIZED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_12
## %bb.6:
	movq	_BSS_CHANGED_BEACON@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_10
## %bb.7:
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_b43legacy_is_mode
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_b43legacy_is_mode
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	movq	%r14, %rdi
	callq	_b43legacy_update_templates
LBB0_10:
	movq	_BSS_CHANGED_BSSID@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	callq	_b43legacy_write_mac_bssid_templates
LBB0_12:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	callq	_b43legacy_mac_suspend
	movq	_BSS_CHANGED_BEACON_INT@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_16
## %bb.13:
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_b43legacy_is_mode
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_b43legacy_is_mode
	testq	%rax, %rax
	je	LBB0_16
LBB0_15:
	movl	12(%r12), %esi
	movq	%r15, %rdi
	callq	_b43legacy_set_beacon_int
LBB0_16:
	movq	_BSS_CHANGED_BASIC_RATES@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_18
## %bb.17:
	movl	8(%r12), %esi
	movq	%r15, %rdi
	callq	_b43legacy_update_basic_rates
LBB0_18:
	movq	_BSS_CHANGED_ERP_SLOT@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_22
## %bb.19:
	cmpq	$0, (%r12)
	je	LBB0_21
## %bb.20:
	movq	%r15, %rdi
	callq	_b43legacy_short_slot_timing_enable
	jmp	LBB0_22
LBB0_21:
	movq	%r15, %rdi
	callq	_b43legacy_short_slot_timing_disable
LBB0_22:
	movq	%r15, %rdi
	callq	_b43legacy_mac_enable
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	_B43legacy_MMIO_GEN_IRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%r15, %rdi
	callq	_b43legacy_write32
LBB0_23:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r14, %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	_B43legacy_STAT_STARTED,8,3     ## @B43legacy_STAT_STARTED
	.comm	_B43legacy_MMIO_GEN_IRQ_MASK,4,2 ## @B43legacy_MMIO_GEN_IRQ_MASK
	.comm	_BSS_CHANGED_BSSID,4,2          ## @BSS_CHANGED_BSSID
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_B43legacy_STAT_INITIALIZED,8,3 ## @B43legacy_STAT_INITIALIZED
	.comm	_BSS_CHANGED_BEACON,4,2         ## @BSS_CHANGED_BEACON
	.comm	_NL80211_IFTYPE_AP,4,2          ## @NL80211_IFTYPE_AP
	.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	_b43legacy_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 b43legacy_op_bss_info_changed
_b43legacy_op_bss_info_changed:         ; @b43legacy_op_bss_info_changed
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x23, x3
	mov	x22, x2
	mov	x20, x1
	bl	_hw_to_b43legacy_wl
	mov	x19, x0
	bl	_mutex_lock
	ldr	x8, [x19, #24]
	cmp	x8, x20
	cset	w0, ne
	bl	_B43legacy_WARN_ON
	ldr	x21, [x19, #16]
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x21
	bl	_b43legacy_status
Lloh0:
	adrp	x8, _B43legacy_STAT_STARTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43legacy_STAT_STARTED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_23
; %bb.1:
Lloh3:
	adrp	x24, _B43legacy_MMIO_GEN_IRQ_MASK@GOTPAGE
Lloh4:
	ldr	x24, [x24, _B43legacy_MMIO_GEN_IRQ_MASK@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x21
	mov	w2, #0
	bl	_b43legacy_write32
Lloh5:
	adrp	x25, _BSS_CHANGED_BSSID@GOTPAGE
Lloh6:
	ldr	x25, [x25, _BSS_CHANGED_BSSID@GOTPAGEOFF]
	ldr	w8, [x25]
	tst	w8, w23
	b.eq	LBB0_5
; %bb.2:
	mov	x0, x21
	bl	_b43legacy_synchronize_irq
	ldr	w1, [x22, #16]
	ldr	w0, [x19, #8]
	cbz	w1, LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	bl	_memcpy
	b	LBB0_5
LBB0_4:
	bl	_eth_zero_addr
LBB0_5:
	mov	x0, x21
	bl	_b43legacy_status
Lloh10:
	adrp	x8, _B43legacy_STAT_INITIALIZED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _B43legacy_STAT_INITIALIZED@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_12
; %bb.6:
Lloh13:
	adrp	x8, _BSS_CHANGED_BEACON@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BSS_CHANGED_BEACON@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_10
; %bb.7:
Lloh16:
	adrp	x8, _NL80211_IFTYPE_AP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43legacy_is_mode
	cbnz	x0, LBB0_9
; %bb.8:
Lloh19:
	adrp	x8, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43legacy_is_mode
	cbz	x0, LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_b43legacy_update_templates
LBB0_10:
	ldr	w8, [x25]
	tst	w8, w23
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x21
	bl	_b43legacy_write_mac_bssid_templates
LBB0_12:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x21
	bl	_b43legacy_mac_suspend
Lloh22:
	adrp	x8, _BSS_CHANGED_BEACON_INT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _BSS_CHANGED_BEACON_INT@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_16
; %bb.13:
Lloh25:
	adrp	x8, _NL80211_IFTYPE_AP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43legacy_is_mode
	cbnz	x0, LBB0_15
; %bb.14:
Lloh28:
	adrp	x8, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh29:
	ldr	x8, [x8, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43legacy_is_mode
	cbz	x0, LBB0_16
LBB0_15:
	ldr	w1, [x22, #12]
	mov	x0, x21
	bl	_b43legacy_set_beacon_int
LBB0_16:
Lloh31:
	adrp	x8, _BSS_CHANGED_BASIC_RATES@GOTPAGE
Lloh32:
	ldr	x8, [x8, _BSS_CHANGED_BASIC_RATES@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_18
; %bb.17:
	ldr	w1, [x22, #8]
	mov	x0, x21
	bl	_b43legacy_update_basic_rates
LBB0_18:
Lloh34:
	adrp	x8, _BSS_CHANGED_ERP_SLOT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _BSS_CHANGED_ERP_SLOT@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_22
; %bb.19:
	ldr	x8, [x22]
	cbz	x8, LBB0_21
; %bb.20:
	mov	x0, x21
	bl	_b43legacy_short_slot_timing_enable
	b	LBB0_22
LBB0_21:
	mov	x0, x21
	bl	_b43legacy_short_slot_timing_disable
LBB0_22:
	mov	x0, x21
	bl	_b43legacy_mac_enable
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w1, [x24]
	ldr	w2, [x21]
	mov	x0, x21
	bl	_b43legacy_write32
LBB0_23:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_B43legacy_STAT_STARTED,8,3     ; @B43legacy_STAT_STARTED
	.comm	_B43legacy_MMIO_GEN_IRQ_MASK,4,2 ; @B43legacy_MMIO_GEN_IRQ_MASK
	.comm	_BSS_CHANGED_BSSID,4,2          ; @BSS_CHANGED_BSSID
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_B43legacy_STAT_INITIALIZED,8,3 ; @B43legacy_STAT_INITIALIZED
	.comm	_BSS_CHANGED_BEACON,4,2         ; @BSS_CHANGED_BEACON
	.comm	_NL80211_IFTYPE_AP,4,2          ; @NL80211_IFTYPE_AP
	.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	_b43legacy_op_bss_info_changed
.subsections_via_symbols
