	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wcn36xx_bss_info_changed
_wcn36xx_bss_info_changed:              ## @wcn36xx_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r12
	movq	%rsi, %rdi
	callq	_wcn36xx_vif_to_priv
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_WCN36XX_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %r14
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_wcn36xx_dbg
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	_BSS_CHANGED_BEACON_INFO@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_WCN36XX_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wcn36xx_dbg
	movl	(%r13), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 16(%rcx)
LBB0_2:
	movq	_BSS_CHANGED_BSSID@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	movq	%r14, %r12
	je	LBB0_6
## %bb.3:
	movq	_WCN36XX_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r13), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wcn36xx_dbg
	movl	8(%r13), %edi
	callq	_is_zero_ether_addr
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	$0, (%r14)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_wcn36xx_smd_delete_bss
	movl	8(%r13), %esi
	movl	8(%r12), %edx
	movq	_WCN36XX_HAL_LINK_IDLE_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_wcn36xx_smd_set_link_st
	movq	_WCN36XX_HAL_ED_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	jmp	LBB0_6
LBB0_4:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	$1, (%rcx)
	movq	_WCN36XX_HAL_BSS_INVALID_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rcx)
	movl	8(%r13), %esi
	movl	8(%r12), %edx
	movq	_WCN36XX_HAL_LINK_PREASSOC_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_wcn36xx_smd_set_link_st
	movl	8(%r13), %ebx
	movl	8(%r12), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_WCN36XX_HW_CHANNEL
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	callq	_wcn36xx_smd_join
	movl	8(%r13), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_wcn36xx_smd_config_bss
LBB0_6:
	movq	_BSS_CHANGED_SSID@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	movq	_WCN36XX_DBG_MAC@GOTPCREL(%rip), %rcx
	je	LBB0_8
## %bb.7:
	movl	(%rcx), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wcn36xx_dbg
	movq	_WCN36XX_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%r13), %ecx
	movl	28(%r13), %edx
	leaq	L_.str.4(%rip), %rsi
	callq	_wcn36xx_dbg_dump
	movl	24(%r13), %edx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %rdi
	addq	$20, %rdi
	movl	%edx, 24(%rax)
	movl	28(%r13), %esi
	callq	_memcpy
	movq	_WCN36XX_DBG_MAC@GOTPCREL(%rip), %rcx
LBB0_8:
	movq	_BSS_CHANGED_ASSOC@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_15
## %bb.9:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	cmpq	$0, 16(%r13)
	movl	(%rcx), %edi
	movl	8(%r13), %edx
	movl	12(%r13), %r8d
	movl	8(%r12), %ecx
	je	LBB0_13
## %bb.10:
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_wcn36xx_dbg
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, 4(%rax)
	movl	8(%r13), %esi
	movq	%r12, %rdi
	callq	_ieee80211_find_sta
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_wcn36xx_sta_to_priv
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_WCN36XX_BAND
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_wcn36xx_update_allowed_rates
	movl	8(%r13), %esi
	movl	8(%r12), %edx
	movq	_WCN36XX_HAL_LINK_POSTASSOC_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_wcn36xx_smd_set_link_st
	movl	8(%r13), %ecx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movl	$1, %r8d
	callq	_wcn36xx_smd_config_bss
	movl	12(%r13), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_wcn36xx_smd_config_sta
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_wcn36xx_dbg
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$0, 4(%rax)
	movl	8(%r13), %esi
	movl	8(%r12), %edx
	movq	_WCN36XX_HAL_LINK_IDLE_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_wcn36xx_smd_set_link_st
LBB0_14:
	movq	_WCN36XX_DBG_MAC@GOTPCREL(%rip), %rcx
LBB0_15:
	movq	_BSS_CHANGED_AP_PROBE_RESP@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_20
## %bb.16:
	movl	(%rcx), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_wcn36xx_dbg
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_ieee80211_proberesp_get
	testq	%rax, %rax
	je	LBB0_17
## %bb.19:
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_wcn36xx_smd_update_proberesp_tmpl
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	movq	_WCN36XX_DBG_MAC@GOTPCREL(%rip), %rcx
LBB0_20:
	movq	_BSS_CHANGED_BEACON_ENABLED@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_22
## %bb.21:
	movq	_BSS_CHANGED_BEACON@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_30
LBB0_22:
	movl	(%rcx), %edi
	movl	4(%r13), %edx
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_wcn36xx_dbg
	cmpl	$0, 4(%r13)
	je	LBB0_28
## %bb.23:
	movl	(%r13), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 16(%rcx)
	movq	_WCN36XX_HAL_BSS_INVALID_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rcx)
	movl	8(%r12), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_wcn36xx_smd_config_bss
	leaq	-68(%rbp), %rdx
	leaq	-84(%rbp), %rcx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_ieee80211_beacon_get_tim
	testq	%rax, %rax
	je	LBB0_24
## %bb.25:
	movq	%rax, %rbx
	movl	-68(%rbp), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rax, %rdx
	xorl	%r8d, %r8d
	callq	_wcn36xx_smd_send_beacon
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	movq	(%r12), %rax
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	movq	_NL80211_IFTYPE_MESH_POINT@GOTPCREL(%rip), %rdi
	movq	_WCN36XX_HAL_LINK_IBSS_STATE@GOTPCREL(%rip), %rdx
	movq	%rdx, %rsi
	cmpq	(%rdi), %rax
	je	LBB0_27
## %bb.26:
	movq	_WCN36XX_HAL_LINK_AP_STATE@GOTPCREL(%rip), %rsi
LBB0_27:
	cmpq	(%rcx), %rax
	cmoveq	%rdx, %rsi
	movl	(%rsi), %ecx
	movl	8(%r12), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_28:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_wcn36xx_smd_delete_bss
	movl	8(%r12), %edx
	movq	_WCN36XX_HAL_LINK_IDLE_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
LBB0_29:
	movl	%edx, %esi
	callq	_wcn36xx_smd_set_link_st
	jmp	LBB0_30
LBB0_17:
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_18
LBB0_12:
	movl	8(%r13), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_wcn36xx_err
	jmp	LBB0_30
LBB0_24:
	leaq	L_.str.11(%rip), %rdi
LBB0_18:
	xorl	%eax, %eax
	callq	_wcn36xx_err
LBB0_30:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WCN36XX_DBG_MAC,4,2            ## @WCN36XX_DBG_MAC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac bss info changed vif %p changed 0x%08x\n"

	.comm	_BSS_CHANGED_BEACON_INFO,4,2    ## @BSS_CHANGED_BEACON_INFO
L_.str.1:                               ## @.str.1
	.asciz	"mac bss changed dtim period %d\n"

	.comm	_BSS_CHANGED_BSSID,4,2          ## @BSS_CHANGED_BSSID
L_.str.2:                               ## @.str.2
	.asciz	"mac bss changed_bssid %pM\n"

	.comm	_WCN36XX_HAL_BSS_INVALID_IDX,8,3 ## @WCN36XX_HAL_BSS_INVALID_IDX
	.comm	_WCN36XX_HAL_LINK_PREASSOC_STATE,4,2 ## @WCN36XX_HAL_LINK_PREASSOC_STATE
	.comm	_WCN36XX_HAL_LINK_IDLE_STATE,4,2 ## @WCN36XX_HAL_LINK_IDLE_STATE
	.comm	_WCN36XX_HAL_ED_NONE,4,2        ## @WCN36XX_HAL_ED_NONE
	.comm	_BSS_CHANGED_SSID,4,2           ## @BSS_CHANGED_SSID
L_.str.3:                               ## @.str.3
	.asciz	"mac bss changed ssid\n"

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

	.comm	_BSS_CHANGED_ASSOC,4,2          ## @BSS_CHANGED_ASSOC
L_.str.5:                               ## @.str.5
	.asciz	"mac assoc bss %pM vif %pM AID=%d\n"

L_.str.6:                               ## @.str.6
	.asciz	"sta %pM is not found\n"

	.comm	_WCN36XX_HAL_LINK_POSTASSOC_STATE,4,2 ## @WCN36XX_HAL_LINK_POSTASSOC_STATE
L_.str.7:                               ## @.str.7
	.asciz	"disassociated bss %pM vif %pM AID=%d\n"

	.comm	_BSS_CHANGED_AP_PROBE_RESP,4,2  ## @BSS_CHANGED_AP_PROBE_RESP
L_.str.8:                               ## @.str.8
	.asciz	"mac bss changed ap probe resp\n"

L_.str.9:                               ## @.str.9
	.asciz	"failed to alloc probereq skb\n"

	.comm	_BSS_CHANGED_BEACON_ENABLED,4,2 ## @BSS_CHANGED_BEACON_ENABLED
	.comm	_BSS_CHANGED_BEACON,4,2         ## @BSS_CHANGED_BEACON
L_.str.10:                              ## @.str.10
	.asciz	"mac bss changed beacon enabled %d\n"

L_.str.11:                              ## @.str.11
	.asciz	"failed to alloc beacon skb\n"

	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.comm	_NL80211_IFTYPE_MESH_POINT,8,3  ## @NL80211_IFTYPE_MESH_POINT
	.comm	_WCN36XX_HAL_LINK_IBSS_STATE,4,2 ## @WCN36XX_HAL_LINK_IBSS_STATE
	.comm	_WCN36XX_HAL_LINK_AP_STATE,4,2  ## @WCN36XX_HAL_LINK_AP_STATE
	.no_dead_strip	_wcn36xx_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 wcn36xx_bss_info_changed
_wcn36xx_bss_info_changed:              ; @wcn36xx_bss_info_changed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x24, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x19, [x0]
	mov	x0, x1
	bl	_wcn36xx_vif_to_priv
	mov	x23, x0
Lloh0:
	adrp	x27, _WCN36XX_DBG_MAC@GOTPAGE
Lloh1:
	ldr	x27, [x27, _WCN36XX_DBG_MAC@GOTPAGEOFF]
	ldr	w0, [x27]
	stp	x20, x24, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wcn36xx_dbg
	mov	x0, x19
	bl	_mutex_lock
Lloh4:
	adrp	x8, _BSS_CHANGED_BEACON_INFO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BSS_CHANGED_BEACON_INFO@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x27]
	ldr	w8, [x22]
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wcn36xx_dbg
	ldr	w8, [x22]
	str	w8, [x23, #16]
LBB0_2:
Lloh9:
	adrp	x8, _BSS_CHANGED_BSSID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BSS_CHANGED_BSSID@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_6
; %bb.3:
	ldr	w0, [x27]
	ldr	w8, [x22, #8]
	str	x8, [sp]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wcn36xx_dbg
	ldr	w0, [x22, #8]
	bl	_is_zero_ether_addr
	cbz	w0, LBB0_5
; %bb.4:
	str	wzr, [x23]
	mov	x0, x19
	mov	x1, x20
	bl	_wcn36xx_smd_delete_bss
	ldr	w1, [x22, #8]
	ldr	w2, [x20, #8]
Lloh14:
	adrp	x8, _WCN36XX_HAL_LINK_IDLE_STATE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WCN36XX_HAL_LINK_IDLE_STATE@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_wcn36xx_smd_set_link_st
Lloh17:
	adrp	x8, _WCN36XX_HAL_ED_NONE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WCN36XX_HAL_ED_NONE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x23, #28]
	b	LBB0_6
LBB0_5:
	mov	w8, #1
	str	w8, [x23]
Lloh20:
	adrp	x8, _WCN36XX_HAL_BSS_INVALID_IDX@GOTPAGE
Lloh21:
	ldr	x8, [x8, _WCN36XX_HAL_BSS_INVALID_IDX@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	str	x8, [x23, #8]
	ldr	w1, [x22, #8]
	ldr	w2, [x20, #8]
Lloh23:
	adrp	x8, _WCN36XX_HAL_LINK_PREASSOC_STATE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WCN36XX_HAL_LINK_PREASSOC_STATE@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_wcn36xx_smd_set_link_st
	ldr	w25, [x22, #8]
	ldr	w26, [x20, #8]
	mov	x0, x19
	bl	_WCN36XX_HW_CHANNEL
	mov	x3, x0
	mov	x0, x19
	mov	x1, x25
	mov	x2, x26
	bl	_wcn36xx_smd_join
	ldr	w3, [x22, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	mov	w4, #0
	bl	_wcn36xx_smd_config_bss
LBB0_6:
Lloh26:
	adrp	x8, _BSS_CHANGED_SSID@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BSS_CHANGED_SSID@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x27]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wcn36xx_dbg
	ldr	w0, [x27]
	ldp	w3, w2, [x22, #24]
Lloh31:
	adrp	x1, l_.str.4@PAGE
Lloh32:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wcn36xx_dbg_dump
	add	x0, x23, #20
	ldp	w2, w1, [x22, #24]
	str	w2, [x23, #24]
	bl	_memcpy
LBB0_8:
Lloh33:
	adrp	x8, _BSS_CHANGED_ASSOC@GOTPAGE
Lloh34:
	ldr	x8, [x8, _BSS_CHANGED_ASSOC@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_13
; %bb.9:
	str	wzr, [x23]
	ldr	x11, [x22, #16]
	ldr	w0, [x27]
	ldr	w9, [x20, #8]
	ldp	w8, w10, [x22, #8]
	cbz	x11, LBB0_12
; %bb.10:
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wcn36xx_dbg
	mov	w8, #1
	str	w8, [x23, #4]
	ldr	w1, [x22, #8]
	mov	x0, x20
	bl	_ieee80211_find_sta
	cbz	x0, LBB0_24
; %bb.11:
	mov	x25, x0
	bl	_wcn36xx_sta_to_priv
	mov	x26, x0
	mov	x0, x19
	bl	_WCN36XX_BAND
	mov	x1, x0
	mov	x0, x25
	bl	_wcn36xx_update_allowed_rates
	ldr	w1, [x22, #8]
	ldr	w2, [x20, #8]
Lloh38:
	adrp	x8, _WCN36XX_HAL_LINK_POSTASSOC_STATE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _WCN36XX_HAL_LINK_POSTASSOC_STATE@GOTPAGEOFF]
Lloh40:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_wcn36xx_smd_set_link_st
	ldr	w3, [x22, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x25
	mov	w4, #1
	bl	_wcn36xx_smd_config_bss
	ldr	w8, [x22, #12]
	str	w8, [x26]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x25
	bl	_wcn36xx_smd_config_sta
	b	LBB0_13
LBB0_12:
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh41:
	adrp	x1, l_.str.7@PAGE
Lloh42:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wcn36xx_dbg
	str	wzr, [x23, #4]
	ldr	w1, [x22, #8]
	ldr	w2, [x20, #8]
Lloh43:
	adrp	x8, _WCN36XX_HAL_LINK_IDLE_STATE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _WCN36XX_HAL_LINK_IDLE_STATE@GOTPAGEOFF]
Lloh45:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_wcn36xx_smd_set_link_st
LBB0_13:
Lloh46:
	adrp	x8, _BSS_CHANGED_AP_PROBE_RESP@GOTPAGE
Lloh47:
	ldr	x8, [x8, _BSS_CHANGED_AP_PROBE_RESP@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_16
; %bb.14:
	ldr	w0, [x27]
Lloh49:
	adrp	x1, l_.str.8@PAGE
Lloh50:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_wcn36xx_dbg
	mov	x0, x21
	mov	x1, x20
	bl	_ieee80211_proberesp_get
	cbz	x0, LBB0_21
; %bb.15:
	mov	x25, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x25
	bl	_wcn36xx_smd_update_proberesp_tmpl
	mov	x0, x25
	bl	_dev_kfree_skb
LBB0_16:
Lloh51:
	adrp	x8, _BSS_CHANGED_BEACON_ENABLED@GOTPAGE
Lloh52:
	ldr	x8, [x8, _BSS_CHANGED_BEACON_ENABLED@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	tst	w8, w24
	b.ne	LBB0_18
; %bb.17:
Lloh54:
	adrp	x8, _BSS_CHANGED_BEACON@GOTPAGE
Lloh55:
	ldr	x8, [x8, _BSS_CHANGED_BEACON@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_27
LBB0_18:
	ldr	w0, [x27]
	ldr	w8, [x22, #4]
	str	x8, [sp]
Lloh57:
	adrp	x1, l_.str.10@PAGE
Lloh58:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wcn36xx_dbg
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_22
; %bb.19:
	ldr	w8, [x22]
	str	w8, [x23, #16]
Lloh59:
	adrp	x8, _WCN36XX_HAL_BSS_INVALID_IDX@GOTPAGE
Lloh60:
	ldr	x8, [x8, _WCN36XX_HAL_BSS_INVALID_IDX@GOTPAGEOFF]
Lloh61:
	ldr	x8, [x8]
	str	x8, [x23, #8]
	ldr	w3, [x20, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	mov	w4, #0
	bl	_wcn36xx_smd_config_bss
	add	x2, sp, #28
	add	x3, sp, #24
	mov	x0, x21
	mov	x1, x20
	bl	_ieee80211_beacon_get_tim
	cbz	x0, LBB0_25
; %bb.20:
	mov	x21, x0
	ldr	w3, [sp, #28]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w4, #0
	bl	_wcn36xx_smd_send_beacon
	mov	x0, x21
	bl	_dev_kfree_skb
	ldr	x8, [x20]
Lloh62:
	adrp	x9, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh63:
	ldr	x9, [x9, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
Lloh65:
	adrp	x10, _NL80211_IFTYPE_MESH_POINT@GOTPAGE
Lloh66:
	ldr	x10, [x10, _NL80211_IFTYPE_MESH_POINT@GOTPAGEOFF]
Lloh67:
	ldr	x10, [x10]
	cmp	x8, x10
Lloh68:
	adrp	x10, _WCN36XX_HAL_LINK_IBSS_STATE@GOTPAGE
Lloh69:
	ldr	x10, [x10, _WCN36XX_HAL_LINK_IBSS_STATE@GOTPAGEOFF]
	ccmp	x8, x9, #4, ne
Lloh70:
	adrp	x8, _WCN36XX_HAL_LINK_AP_STATE@GOTPAGE
Lloh71:
	ldr	x8, [x8, _WCN36XX_HAL_LINK_AP_STATE@GOTPAGEOFF]
	csel	x8, x10, x8, eq
	ldr	w3, [x8]
	ldr	w1, [x20, #8]
	b	LBB0_23
LBB0_21:
Lloh72:
	adrp	x0, l_.str.9@PAGE
Lloh73:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_26
LBB0_22:
	mov	x0, x19
	mov	x1, x20
	bl	_wcn36xx_smd_delete_bss
	ldr	w1, [x20, #8]
Lloh74:
	adrp	x8, _WCN36XX_HAL_LINK_IDLE_STATE@GOTPAGE
Lloh75:
	ldr	x8, [x8, _WCN36XX_HAL_LINK_IDLE_STATE@GOTPAGEOFF]
Lloh76:
	ldr	w3, [x8]
LBB0_23:
	mov	x0, x19
	mov	x2, x1
	bl	_wcn36xx_smd_set_link_st
	b	LBB0_27
LBB0_24:
	ldr	w8, [x22, #8]
	str	x8, [sp]
Lloh77:
	adrp	x0, l_.str.6@PAGE
Lloh78:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_26
LBB0_25:
Lloh79:
	adrp	x0, l_.str.11@PAGE
Lloh80:
	add	x0, x0, l_.str.11@PAGEOFF
LBB0_26:
	bl	_wcn36xx_err
LBB0_27:
	mov	x0, x19
	bl	_mutex_unlock
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh79, Lloh80
	.cfi_endproc
                                        ; -- End function
	.comm	_WCN36XX_DBG_MAC,4,2            ; @WCN36XX_DBG_MAC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac bss info changed vif %p changed 0x%08x\n"

	.comm	_BSS_CHANGED_BEACON_INFO,4,2    ; @BSS_CHANGED_BEACON_INFO
l_.str.1:                               ; @.str.1
	.asciz	"mac bss changed dtim period %d\n"

	.comm	_BSS_CHANGED_BSSID,4,2          ; @BSS_CHANGED_BSSID
l_.str.2:                               ; @.str.2
	.asciz	"mac bss changed_bssid %pM\n"

	.comm	_WCN36XX_HAL_BSS_INVALID_IDX,8,3 ; @WCN36XX_HAL_BSS_INVALID_IDX
	.comm	_WCN36XX_HAL_LINK_PREASSOC_STATE,4,2 ; @WCN36XX_HAL_LINK_PREASSOC_STATE
	.comm	_WCN36XX_HAL_LINK_IDLE_STATE,4,2 ; @WCN36XX_HAL_LINK_IDLE_STATE
	.comm	_WCN36XX_HAL_ED_NONE,4,2        ; @WCN36XX_HAL_ED_NONE
	.comm	_BSS_CHANGED_SSID,4,2           ; @BSS_CHANGED_SSID
l_.str.3:                               ; @.str.3
	.asciz	"mac bss changed ssid\n"

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

	.comm	_BSS_CHANGED_ASSOC,4,2          ; @BSS_CHANGED_ASSOC
l_.str.5:                               ; @.str.5
	.asciz	"mac assoc bss %pM vif %pM AID=%d\n"

l_.str.6:                               ; @.str.6
	.asciz	"sta %pM is not found\n"

	.comm	_WCN36XX_HAL_LINK_POSTASSOC_STATE,4,2 ; @WCN36XX_HAL_LINK_POSTASSOC_STATE
l_.str.7:                               ; @.str.7
	.asciz	"disassociated bss %pM vif %pM AID=%d\n"

	.comm	_BSS_CHANGED_AP_PROBE_RESP,4,2  ; @BSS_CHANGED_AP_PROBE_RESP
l_.str.8:                               ; @.str.8
	.asciz	"mac bss changed ap probe resp\n"

l_.str.9:                               ; @.str.9
	.asciz	"failed to alloc probereq skb\n"

	.comm	_BSS_CHANGED_BEACON_ENABLED,4,2 ; @BSS_CHANGED_BEACON_ENABLED
	.comm	_BSS_CHANGED_BEACON,4,2         ; @BSS_CHANGED_BEACON
l_.str.10:                              ; @.str.10
	.asciz	"mac bss changed beacon enabled %d\n"

l_.str.11:                              ; @.str.11
	.asciz	"failed to alloc beacon skb\n"

	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.comm	_NL80211_IFTYPE_MESH_POINT,8,3  ; @NL80211_IFTYPE_MESH_POINT
	.comm	_WCN36XX_HAL_LINK_IBSS_STATE,4,2 ; @WCN36XX_HAL_LINK_IBSS_STATE
	.comm	_WCN36XX_HAL_LINK_AP_STATE,4,2  ; @WCN36XX_HAL_LINK_AP_STATE
	.no_dead_strip	_wcn36xx_bss_info_changed
.subsections_via_symbols
