	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_ops_bss_info_changed
_rtw_ops_bss_info_changed:              ## @rtw_ops_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, %r13
	movq	(%rdi), %rbx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %r14
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_BSS_CHANGED_ASSOC@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_1
## %bb.2:
	cmpq	$0, 8(%r13)
	je	LBB0_4
## %bb.3:
	movq	8(%rbx), %r15
	movq	_COEX_ASSOCIATE_FINISH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtw_coex_connect_notify
	movq	_RTW_NET_MGD_LINKED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%r15), %rax
	movl	%ecx, %r15d
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	16(%r13), %rax
	movq	%rax, 8(%r14)
	movq	_RSVD_PS_POLL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_rtw_add_rsvd_page
	movq	_RSVD_QOS_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_rtw_add_rsvd_page
	movq	_RSVD_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_rtw_add_rsvd_page
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_rtw_fw_download_rsvd_page
	movq	%rbx, %rdi
	callq	_rtw_send_rsvd_page_h2c
	movq	8(%r13), %rsi
	movq	%rbx, %rdi
	callq	_rtw_coex_media_status_notify
	jmp	LBB0_5
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_6
LBB0_4:
	movq	_RTW_NET_NO_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	$0, 8(%r14)
	movq	%rbx, %rdi
	callq	_rtw_reset_rsvd_page
LBB0_5:
	movl	%r15d, (%r14)
	movq	_PORT_SET_NET_TYPE@GOTPCREL(%rip), %rax
	movq	_PORT_SET_AID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	orl	(%rax), %r15d
LBB0_6:
	movq	_BSS_CHANGED_BSSID@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_8
## %bb.7:
	movl	4(%r14), %edi
	movl	(%r13), %esi
	callq	_ether_addr_copy
	movq	_PORT_SET_BSSID@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
LBB0_8:
	movq	_BSS_CHANGED_BEACON@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_rtw_fw_download_rsvd_page
LBB0_10:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_rtw_vif_port_config
	movq	%rbx, %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	_BSS_CHANGED_ASSOC,4,2          ## @BSS_CHANGED_ASSOC
	.comm	_COEX_ASSOCIATE_FINISH,4,2      ## @COEX_ASSOCIATE_FINISH
	.comm	_RTW_NET_MGD_LINKED,4,2         ## @RTW_NET_MGD_LINKED
	.comm	_RSVD_PS_POLL,4,2               ## @RSVD_PS_POLL
	.comm	_RSVD_QOS_NULL,4,2              ## @RSVD_QOS_NULL
	.comm	_RSVD_NULL,4,2                  ## @RSVD_NULL
	.comm	_RTW_NET_NO_LINK,4,2            ## @RTW_NET_NO_LINK
	.comm	_PORT_SET_NET_TYPE,4,2          ## @PORT_SET_NET_TYPE
	.comm	_PORT_SET_AID,4,2               ## @PORT_SET_AID
	.comm	_BSS_CHANGED_BSSID,4,2          ## @BSS_CHANGED_BSSID
	.comm	_PORT_SET_BSSID,4,2             ## @PORT_SET_BSSID
	.comm	_BSS_CHANGED_BEACON,4,2         ## @BSS_CHANGED_BEACON
	.no_dead_strip	_rtw_ops_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 rtw_ops_bss_info_changed
_rtw_ops_bss_info_changed:              ; @rtw_ops_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	x22, x3
	mov	x23, x2
	mov	x21, x1
	ldr	x19, [x0]
	ldr	x20, [x1]
	mov	x0, x19
	bl	_mutex_lock
Lloh0:
	adrp	x8, _BSS_CHANGED_ASSOC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BSS_CHANGED_ASSOC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x25, [x19, #8]
Lloh3:
	adrp	x8, _COEX_ASSOCIATE_FINISH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COEX_ASSOCIATE_FINISH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtw_coex_connect_notify
Lloh6:
	adrp	x8, _RTW_NET_MGD_LINKED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RTW_NET_MGD_LINKED@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x8]
	ldr	x8, [x25]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	ldr	x8, [x23, #16]
	str	x8, [x20, #8]
Lloh9:
	adrp	x8, _RSVD_PS_POLL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RSVD_PS_POLL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_rtw_add_rsvd_page
Lloh12:
	adrp	x8, _RSVD_QOS_NULL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RSVD_QOS_NULL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_rtw_add_rsvd_page
Lloh15:
	adrp	x8, _RSVD_NULL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RSVD_NULL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_rtw_add_rsvd_page
	mov	x0, x19
	mov	x1, x21
	bl	_rtw_fw_download_rsvd_page
	mov	x0, x19
	bl	_rtw_send_rsvd_page_h2c
	ldr	x1, [x23, #8]
	mov	x0, x19
	bl	_rtw_coex_media_status_notify
	b	LBB0_5
LBB0_3:
	mov	w24, #0
	b	LBB0_6
LBB0_4:
Lloh18:
	adrp	x8, _RTW_NET_NO_LINK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RTW_NET_NO_LINK@GOTPAGEOFF]
Lloh20:
	ldr	w24, [x8]
	str	xzr, [x20, #8]
	mov	x0, x19
	bl	_rtw_reset_rsvd_page
LBB0_5:
Lloh21:
	adrp	x8, _PORT_SET_NET_TYPE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PORT_SET_NET_TYPE@GOTPAGEOFF]
	str	w24, [x20]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _PORT_SET_AID@GOTPAGE
Lloh25:
	ldr	x9, [x9, _PORT_SET_AID@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w24, w9, w8
LBB0_6:
Lloh27:
	adrp	x8, _BSS_CHANGED_BSSID@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BSS_CHANGED_BSSID@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x20, #4]
	ldr	w1, [x23]
	bl	_ether_addr_copy
Lloh30:
	adrp	x8, _PORT_SET_BSSID@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PORT_SET_BSSID@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	orr	w24, w8, w24
LBB0_8:
Lloh33:
	adrp	x8, _BSS_CHANGED_BEACON@GOTPAGE
Lloh34:
	ldr	x8, [x8, _BSS_CHANGED_BEACON@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x19
	mov	x1, x21
	bl	_rtw_fw_download_rsvd_page
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x24
	bl	_rtw_vif_port_config
	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 AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_BSS_CHANGED_ASSOC,4,2          ; @BSS_CHANGED_ASSOC
	.comm	_COEX_ASSOCIATE_FINISH,4,2      ; @COEX_ASSOCIATE_FINISH
	.comm	_RTW_NET_MGD_LINKED,4,2         ; @RTW_NET_MGD_LINKED
	.comm	_RSVD_PS_POLL,4,2               ; @RSVD_PS_POLL
	.comm	_RSVD_QOS_NULL,4,2              ; @RSVD_QOS_NULL
	.comm	_RSVD_NULL,4,2                  ; @RSVD_NULL
	.comm	_RTW_NET_NO_LINK,4,2            ; @RTW_NET_NO_LINK
	.comm	_PORT_SET_NET_TYPE,4,2          ; @PORT_SET_NET_TYPE
	.comm	_PORT_SET_AID,4,2               ; @PORT_SET_AID
	.comm	_BSS_CHANGED_BSSID,4,2          ; @BSS_CHANGED_BSSID
	.comm	_PORT_SET_BSSID,4,2             ; @PORT_SET_BSSID
	.comm	_BSS_CHANGED_BEACON,4,2         ; @BSS_CHANGED_BEACON
	.no_dead_strip	_rtw_ops_bss_info_changed
.subsections_via_symbols
