	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_bss_info_changed
_ath10k_bss_info_changed:               ## @ath10k_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	$40, %rsp
	.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
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r15
	movq	32(%rsi), %r14
	leaq	4(%r15), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	movq	_BSS_CHANGED_IBSS@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_2
## %bb.1:
	movl	24(%rbx), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ath10k_control_ibss
LBB0_2:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	_BSS_CHANGED_BEACON_INT@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_5
## %bb.3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	8(%r15), %rax
	movl	(%rax), %edx
	movl	32(%r14), %esi
	movq	%r15, %rdi
	callq	_ath10k_wmi_vdev_set_param
	movl	%eax, %r12d
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %r8d
	movl	32(%r14), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_ath10k_dbg
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.4:
	movl	32(%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_5:
	movq	_BSS_CHANGED_BEACON@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	movq	%rbx, %r12
	je	LBB0_12
## %bb.6:
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%r14), %ecx
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_ath10k_dbg
	movq	24(%r15), %rax
	movl	(%rax), %esi
	movq	_WMI_BEACON_STAGGERED_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_ath10k_wmi_pdev_set_param
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	32(%r14), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_8:
	movq	%r14, %rdi
	callq	_ath10k_mac_setup_bcn_tmpl
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_10:
	movq	%r12, %rdi
	callq	_ieee80211_vif_is_mesh
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	68(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	$4, %edx
	callq	_strncpy
	movl	$4, 60(%r14)
LBB0_12:
	movq	_BSS_CHANGED_AP_PROBE_RESP@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_15
## %bb.13:
	movq	%r14, %rdi
	callq	_ath10k_mac_setup_prb_tmpl
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movl	32(%r14), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_15:
	movq	_BSS_CHANGED_BEACON_INFO@GOTPCREL(%rip), %rax
	movq	_BSS_CHANGED_BEACON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r13d, %ecx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_18
## %bb.16:
	movq	8(%rbx), %r8
	movq	%r8, 8(%r14)
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%r14), %ecx
	leaq	L_.str.7(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_ath10k_dbg
	movq	8(%r15), %rax
	movl	4(%rax), %edx
	movl	8(%r14), %ecx
	movl	32(%r14), %esi
	movq	%r15, %rdi
	callq	_ath10k_wmi_vdev_set_param
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	32(%r14), %edx
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_18:
	movq	_BSS_CHANGED_SSID@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_23
## %bb.19:
	movq	(%r12), %rax
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.20:
	movl	16(%rbx), %edx
	movl	%edx, 60(%r14)
	testl	%edx, %edx
	je	LBB0_22
## %bb.21:
	movl	68(%r14), %edi
	movl	76(%rbx), %esi
	callq	_memcpy
LBB0_22:
	movl	72(%rbx), %eax
	movl	%eax, 64(%r14)
LBB0_23:
	movq	_BSS_CHANGED_BSSID@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_26
## %bb.24:
	movl	68(%rbx), %edi
	callq	_is_zero_ether_addr
	testl	%eax, %eax
	jne	LBB0_26
## %bb.25:
	movl	56(%r14), %edi
	movl	68(%rbx), %esi
	callq	_ether_addr_copy
LBB0_26:
	movq	_BSS_CHANGED_FTM_RESPONDER@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_30
## %bb.27:
	movq	16(%r14), %rax
	cmpq	24(%rbx), %rax
	je	LBB0_30
## %bb.28:
	movq	_WMI_SERVICE_RTT_RESPONDER_ROLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r15), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:
	movq	24(%rbx), %rcx
	movq	%rcx, 16(%r14)
	movq	8(%r15), %rax
	movl	8(%rax), %edx
	movl	32(%r14), %esi
	movq	%r15, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_ath10k_wmi_vdev_set_param
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	32(%r14), %ecx
	movq	16(%r14), %r8
	leaq	L_.str.9(%rip), %rdx
	movq	%r15, %rdi
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_ath10k_dbg
LBB0_30:
	movq	_BSS_CHANGED_BEACON_ENABLED@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_32
## %bb.31:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ath10k_control_beaconing
LBB0_32:
	movq	_BSS_CHANGED_ERP_CTS_PROT@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_38
## %bb.33:
	movl	64(%rbx), %eax
	movl	%eax, 52(%r14)
	movq	%r14, %rdi
	callq	_ath10k_recalc_rtscts_prot
	testl	%eax, %eax
	je	LBB0_35
## %bb.34:
	movl	32(%r14), %edx
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_35:
	movq	%r14, %rdi
	callq	_ath10k_mac_can_set_cts_prot
	testq	%rax, %rax
	je	LBB0_38
## %bb.36:
	movq	%r14, %rdi
	callq	_ath10k_mac_set_cts_prot
	testl	%eax, %eax
	je	LBB0_38
## %bb.37:
	movl	32(%r14), %edx
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_38:
	movq	_BSS_CHANGED_ERP_SLOT@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_44
## %bb.39:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 56(%rax)
	jne	LBB0_40
## %bb.41:
	movq	_WMI_VDEV_SLOT_TIME_LONG@GOTPCREL(%rip), %rax
	jmp	LBB0_42
LBB0_40:
	movq	_WMI_VDEV_SLOT_TIME_SHORT@GOTPCREL(%rip), %rax
LBB0_42:
	movl	(%rax), %ebx
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%r14), %ecx
	leaq	L_.str.12(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_ath10k_dbg
	movq	8(%r15), %rax
	movl	12(%rax), %edx
	movl	32(%r14), %esi
	movq	%r15, %rdi
	movl	%ebx, %ecx
	callq	_ath10k_wmi_vdev_set_param
	testl	%eax, %eax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_44
## %bb.43:
	movl	32(%r14), %edx
	leaq	L_.str.13(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_44:
	movq	_BSS_CHANGED_ERP_PREAMBLE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_50
## %bb.45:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 48(%rax)
	jne	LBB0_46
## %bb.47:
	movq	_WMI_VDEV_PREAMBLE_LONG@GOTPCREL(%rip), %rax
	jmp	LBB0_48
LBB0_46:
	movq	_WMI_VDEV_PREAMBLE_SHORT@GOTPCREL(%rip), %rax
LBB0_48:
	movl	(%rax), %ebx
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%r14), %ecx
	leaq	L_.str.14(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_ath10k_dbg
	movq	8(%r15), %rax
	movl	16(%rax), %edx
	movl	32(%r14), %esi
	movq	%r15, %rdi
	movl	%ebx, %ecx
	callq	_ath10k_wmi_vdev_set_param
	testl	%eax, %eax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_50
## %bb.49:
	movl	32(%r14), %edx
	leaq	L_.str.15(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_50:
	movq	_BSS_CHANGED_ASSOC@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_56
## %bb.51:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 40(%rax)
	je	LBB0_55
## %bb.52:
	cmpq	$0, 40(%r15)
	je	LBB0_54
## %bb.53:
	movq	%r15, %rdi
	callq	_ath10k_monitor_stop
LBB0_54:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_ath10k_bss_assoc
	movq	%r15, %rdi
	callq	_ath10k_monitor_recalc
	jmp	LBB0_56
LBB0_55:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_ath10k_bss_disassoc
LBB0_56:
	movq	_BSS_CHANGED_TXPOWER@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_59
## %bb.57:
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%r14), %ecx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	32(%rbx), %r8
	leaq	L_.str.16(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_ath10k_dbg
	movq	32(%rbx), %rax
	movq	%rax, 24(%r14)
	movq	%r15, %rdi
	callq	_ath10k_mac_txpower_recalc
	testl	%eax, %eax
	je	LBB0_59
## %bb.58:
	leaq	L_.str.17(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_59:
	movq	_BSS_CHANGED_PS@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_62
## %bb.60:
	movl	20(%r12), %eax
	movl	%eax, 48(%r14)
	movq	%r15, %rdi
	callq	_ath10k_config_ps
	testl	%eax, %eax
	je	LBB0_62
## %bb.61:
	movl	32(%r14), %edx
	leaq	L_.str.18(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_62:
	movq	_BSS_CHANGED_MCAST_RATE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_77
## %bb.63:
	movq	40(%r14), %rdi
	leaq	-64(%rbp), %rsi
	callq	_ath10k_mac_vif_chan
	testq	%rax, %rax
	jne	LBB0_77
## %bb.64:
	movq	-64(%rbp), %rax
	movl	(%rax), %eax
	movq	8(%r12), %rcx
	movl	(%rcx,%rax,4), %eax
	testl	%eax, %eax
	jle	LBB0_66
## %bb.65:
	decl	%eax
	jmp	LBB0_67
LBB0_66:
	movl	16(%r12), %eax
	bsfl	%eax, %eax
	movl	$-1, %ecx
	cmovnel	%eax, %ecx
	movslq	%ecx, %rax
LBB0_67:
	movq	_WHAL_WLAN_11A_CAPABILITY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%r15), %ecx
	je	LBB0_68
## %bb.69:
	movq	_ATH10K_MAC_FIRST_OFDM_RATE_IDX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	jmp	LBB0_70
LBB0_68:
	xorl	%ecx, %ecx
LBB0_70:
	addq	%rax, %rcx
	movq	_ath10k_wmi_legacy_rates@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,8), %edi
	movl	4(%rax,%rcx,8), %ebx
	callq	_ath10k_mac_bitrate_is_cck
	testq	%rax, %rax
	jne	LBB0_71
## %bb.72:
	movq	_WMI_RATE_PREAMBLE_OFDM@GOTPCREL(%rip), %rax
	jmp	LBB0_73
LBB0_71:
	movq	_WMI_RATE_PREAMBLE_CCK@GOTPCREL(%rip), %rax
LBB0_73:
	movl	(%rax), %edx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, %rbx
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%r14), %ecx
	leaq	L_.str.19(%rip), %rdx
	movq	%r15, %rdi
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_ath10k_dbg
	movq	8(%r15), %rax
	movl	20(%rax), %edx
	movl	32(%r14), %esi
	movq	%r15, %rdi
	movl	%ebx, %ecx
	callq	_ath10k_wmi_vdev_set_param
	testl	%eax, %eax
	je	LBB0_75
## %bb.74:
	movl	32(%r14), %edx
	leaq	L_.str.20(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_75:
	movq	8(%r15), %rax
	movl	24(%rax), %edx
	movl	32(%r14), %esi
	movq	%r15, %rdi
	movl	%ebx, %ecx
	callq	_ath10k_wmi_vdev_set_param
	testl	%eax, %eax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_77
## %bb.76:
	movl	32(%r14), %edx
	leaq	L_.str.21(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_77:
	movq	_BSS_CHANGED_BASIC_RATES@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_84
## %bb.78:
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	callq	_ath10k_mac_vif_chan
	testq	%rax, %rax
	jne	LBB0_84
## %bb.79:
	movq	32(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	16(%r12), %ecx
	bsfl	%ecx, %ecx
	movl	$-1, %edx
	cmovnel	%ecx, %edx
	movq	-64(%rbp), %rcx
	movslq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movslq	%edx, %rcx
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %ebx
	movl	%ebx, %edi
	callq	_ath10k_mac_get_rate_hw_value
	testl	%eax, %eax
	js	LBB0_80
## %bb.81:
	movq	8(%r15), %rcx
	movl	28(%rcx), %edx
	movl	32(%r14), %esi
	movq	%r15, %rdi
	movl	%eax, %ecx
	callq	_ath10k_wmi_vdev_set_param
	testl	%eax, %eax
	je	LBB0_84
## %bb.82:
	leaq	L_.str.23(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	jmp	LBB0_83
LBB0_80:
	leaq	L_.str.22(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
LBB0_83:
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_84:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BSS_CHANGED_IBSS,4,2           ## @BSS_CHANGED_IBSS
	.comm	_BSS_CHANGED_BEACON_INT,4,2     ## @BSS_CHANGED_BEACON_INT
	.comm	_ATH10K_DBG_MAC,4,2             ## @ATH10K_DBG_MAC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac vdev %d beacon_interval %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to set beacon interval for vdev %d: %i\n"

	.comm	_BSS_CHANGED_BEACON,4,2         ## @BSS_CHANGED_BEACON
L_.str.2:                               ## @.str.2
	.asciz	"vdev %d set beacon tx mode to staggered\n"

	.comm	_WMI_BEACON_STAGGERED_MODE,4,2  ## @WMI_BEACON_STAGGERED_MODE
L_.str.3:                               ## @.str.3
	.asciz	"failed to set beacon mode for vdev %d: %i\n"

L_.str.4:                               ## @.str.4
	.asciz	"failed to update beacon template: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"mesh"

	.comm	_BSS_CHANGED_AP_PROBE_RESP,4,2  ## @BSS_CHANGED_AP_PROBE_RESP
L_.str.6:                               ## @.str.6
	.asciz	"failed to setup probe resp template on vdev %i: %d\n"

	.comm	_BSS_CHANGED_BEACON_INFO,4,2    ## @BSS_CHANGED_BEACON_INFO
L_.str.7:                               ## @.str.7
	.asciz	"mac vdev %d dtim_period %d\n"

L_.str.8:                               ## @.str.8
	.asciz	"failed to set dtim period for vdev %d: %i\n"

	.comm	_BSS_CHANGED_SSID,4,2           ## @BSS_CHANGED_SSID
	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_BSS_CHANGED_BSSID,4,2          ## @BSS_CHANGED_BSSID
	.comm	_BSS_CHANGED_FTM_RESPONDER,4,2  ## @BSS_CHANGED_FTM_RESPONDER
	.comm	_WMI_SERVICE_RTT_RESPONDER_ROLE,4,2 ## @WMI_SERVICE_RTT_RESPONDER_ROLE
L_.str.9:                               ## @.str.9
	.asciz	"mac vdev %d ftm_responder %d:ret %d\n"

	.comm	_BSS_CHANGED_BEACON_ENABLED,4,2 ## @BSS_CHANGED_BEACON_ENABLED
	.comm	_BSS_CHANGED_ERP_CTS_PROT,4,2   ## @BSS_CHANGED_ERP_CTS_PROT
L_.str.10:                              ## @.str.10
	.asciz	"failed to recalculate rts/cts prot for vdev %d: %d\n"

L_.str.11:                              ## @.str.11
	.asciz	"failed to set cts protection for vdev %d: %d\n"

	.comm	_BSS_CHANGED_ERP_SLOT,4,2       ## @BSS_CHANGED_ERP_SLOT
	.comm	_WMI_VDEV_SLOT_TIME_SHORT,4,2   ## @WMI_VDEV_SLOT_TIME_SHORT
	.comm	_WMI_VDEV_SLOT_TIME_LONG,4,2    ## @WMI_VDEV_SLOT_TIME_LONG
L_.str.12:                              ## @.str.12
	.asciz	"mac vdev %d slot_time %d\n"

L_.str.13:                              ## @.str.13
	.asciz	"failed to set erp slot for vdev %d: %i\n"

	.comm	_BSS_CHANGED_ERP_PREAMBLE,4,2   ## @BSS_CHANGED_ERP_PREAMBLE
	.comm	_WMI_VDEV_PREAMBLE_SHORT,4,2    ## @WMI_VDEV_PREAMBLE_SHORT
	.comm	_WMI_VDEV_PREAMBLE_LONG,4,2     ## @WMI_VDEV_PREAMBLE_LONG
L_.str.14:                              ## @.str.14
	.asciz	"mac vdev %d preamble %dn"

L_.str.15:                              ## @.str.15
	.asciz	"failed to set preamble for vdev %d: %i\n"

	.comm	_BSS_CHANGED_ASSOC,4,2          ## @BSS_CHANGED_ASSOC
	.comm	_BSS_CHANGED_TXPOWER,4,2        ## @BSS_CHANGED_TXPOWER
L_.str.16:                              ## @.str.16
	.asciz	"mac vdev_id %i txpower %d\n"

L_.str.17:                              ## @.str.17
	.asciz	"failed to recalc tx power: %d\n"

	.comm	_BSS_CHANGED_PS,4,2             ## @BSS_CHANGED_PS
L_.str.18:                              ## @.str.18
	.asciz	"failed to setup ps on vdev %i: %d\n"

	.comm	_BSS_CHANGED_MCAST_RATE,4,2     ## @BSS_CHANGED_MCAST_RATE
	.comm	_WHAL_WLAN_11A_CAPABILITY,4,2   ## @WHAL_WLAN_11A_CAPABILITY
	.comm	_ATH10K_MAC_FIRST_OFDM_RATE_IDX,8,3 ## @ATH10K_MAC_FIRST_OFDM_RATE_IDX
	.comm	_ath10k_wmi_legacy_rates,8,3    ## @ath10k_wmi_legacy_rates
	.comm	_WMI_RATE_PREAMBLE_CCK,4,2      ## @WMI_RATE_PREAMBLE_CCK
	.comm	_WMI_RATE_PREAMBLE_OFDM,4,2     ## @WMI_RATE_PREAMBLE_OFDM
L_.str.19:                              ## @.str.19
	.asciz	"mac vdev %d mcast_rate %x\n"

L_.str.20:                              ## @.str.20
	.asciz	"failed to set mcast rate on vdev %i: %d\n"

L_.str.21:                              ## @.str.21
	.asciz	"failed to set bcast rate on vdev %i: %d\n"

	.comm	_BSS_CHANGED_BASIC_RATES,4,2    ## @BSS_CHANGED_BASIC_RATES
L_.str.22:                              ## @.str.22
	.asciz	"bitrate not supported %d\n"

L_.str.23:                              ## @.str.23
	.asciz	"failed to set mgmt tx rate %d\n"

	.no_dead_strip	_ath10k_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 ath10k_bss_info_changed
_ath10k_bss_info_changed:               ; @ath10k_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	x23, x3
	mov	x24, x2
	mov	x22, x1
	mov	x25, x0
	ldr	x20, [x0]
	ldr	x21, [x1, #32]
	add	x19, x20, #4
	mov	x0, x19
	bl	_mutex_lock
Lloh0:
	adrp	x8, _BSS_CHANGED_IBSS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BSS_CHANGED_IBSS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_2
; %bb.1:
	ldr	w2, [x22, #24]
	mov	x0, x21
	mov	x1, x24
	bl	_ath10k_control_ibss
LBB0_2:
Lloh3:
	adrp	x8, _BSS_CHANGED_BEACON_INT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BSS_CHANGED_BEACON_INT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x27, _ATH10K_DBG_MAC@GOTPAGE
Lloh7:
	ldr	x27, [x27, _ATH10K_DBG_MAC@GOTPAGEOFF]
	tst	w8, w23
	b.eq	LBB0_5
; %bb.3:
	ldr	w3, [x24]
	str	w3, [x21]
	ldr	x8, [x20, #8]
	ldr	w2, [x8]
	ldr	w1, [x21, #32]
	mov	x0, x20
	bl	_ath10k_wmi_vdev_set_param
	mov	x26, x0
	ldr	w1, [x27]
	ldr	w3, [x21, #32]
	ldr	w8, [x21]
	str	x8, [sp]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_ath10k_dbg
	cbz	w26, LBB0_5
; %bb.4:
	ldr	w2, [x21, #32]
	str	x26, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
LBB0_5:
Lloh12:
	adrp	x26, _BSS_CHANGED_BEACON@GOTPAGE
Lloh13:
	ldr	x26, [x26, _BSS_CHANGED_BEACON@GOTPAGEOFF]
	ldr	w8, [x26]
	tst	w8, w23
	b.eq	LBB0_12
; %bb.6:
	ldr	w1, [x27]
	ldr	w3, [x21, #32]
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_ath10k_dbg
	ldr	x8, [x20, #24]
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _WMI_BEACON_STAGGERED_MODE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WMI_BEACON_STAGGERED_MODE@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_ath10k_wmi_pdev_set_param
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_8
; %bb.7:
	ldr	w2, [x21, #32]
	str	x0, [sp]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
LBB0_8:
	mov	x0, x21
	bl	_ath10k_mac_setup_bcn_tmpl
	cbz	w0, LBB0_10
; %bb.9:
	mov	x2, x0
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
LBB0_10:
	mov	x0, x22
	bl	_ieee80211_vif_is_mesh
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w0, [x21, #68]
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w28, #4
	mov	w2, #4
	bl	_strncpy
	str	w28, [x21, #60]
LBB0_12:
Lloh25:
	adrp	x8, _BSS_CHANGED_AP_PROBE_RESP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _BSS_CHANGED_AP_PROBE_RESP@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_15
; %bb.13:
	mov	x0, x21
	bl	_ath10k_mac_setup_prb_tmpl
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_15
; %bb.14:
	ldr	w2, [x21, #32]
	str	x0, [sp]
Lloh28:
	adrp	x1, l_.str.6@PAGE
Lloh29:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
LBB0_15:
Lloh30:
	adrp	x8, _BSS_CHANGED_BEACON_INFO@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BSS_CHANGED_BEACON_INFO@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	ldr	w9, [x26]
	orr	w8, w9, w8
	tst	w8, w23
	b.eq	LBB0_18
; %bb.16:
	ldr	x8, [x24, #8]
	str	x8, [x21, #8]
	ldr	w1, [x27]
	ldr	w3, [x21, #32]
	str	x8, [sp]
Lloh33:
	adrp	x2, l_.str.7@PAGE
Lloh34:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_ath10k_dbg
	ldr	x8, [x20, #8]
	ldr	w2, [x8, #4]
	ldr	w1, [x21, #32]
	ldr	w3, [x21, #8]
	mov	x0, x20
	bl	_ath10k_wmi_vdev_set_param
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_18
; %bb.17:
	ldr	w2, [x21, #32]
	str	x0, [sp]
Lloh35:
	adrp	x1, l_.str.8@PAGE
Lloh36:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
LBB0_18:
Lloh37:
	adrp	x8, _BSS_CHANGED_SSID@GOTPAGE
Lloh38:
	ldr	x8, [x8, _BSS_CHANGED_SSID@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_23
; %bb.19:
	ldr	x8, [x22]
Lloh40:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh41:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.20:
	ldr	w2, [x24, #16]
	str	w2, [x21, #60]
	cbz	w2, LBB0_22
; %bb.21:
	ldr	w0, [x21, #68]
	ldr	w1, [x24, #76]
	bl	_memcpy
LBB0_22:
	ldr	w8, [x24, #72]
	str	w8, [x21, #64]
LBB0_23:
Lloh43:
	adrp	x8, _BSS_CHANGED_BSSID@GOTPAGE
Lloh44:
	ldr	x8, [x8, _BSS_CHANGED_BSSID@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_26
; %bb.24:
	ldr	w0, [x24, #68]
	bl	_is_zero_ether_addr
	cbnz	w0, LBB0_26
; %bb.25:
	ldr	w0, [x21, #56]
	ldr	w1, [x24, #68]
	bl	_ether_addr_copy
LBB0_26:
Lloh46:
	adrp	x8, _BSS_CHANGED_FTM_RESPONDER@GOTPAGE
Lloh47:
	ldr	x8, [x8, _BSS_CHANGED_FTM_RESPONDER@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_30
; %bb.27:
	ldr	x8, [x21, #16]
	ldr	x9, [x24, #24]
	cmp	x8, x9
	b.eq	LBB0_30
; %bb.28:
Lloh49:
	adrp	x8, _WMI_SERVICE_RTT_RESPONDER_ROLE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _WMI_SERVICE_RTT_RESPONDER_ROLE@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	ldr	w1, [x20, #16]
	bl	_test_bit
	cbz	x0, LBB0_30
; %bb.29:
	ldr	x3, [x24, #24]
	str	x3, [x21, #16]
	ldr	x8, [x20, #8]
	ldr	w2, [x8, #8]
	ldr	w1, [x21, #32]
	mov	x0, x20
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_ath10k_wmi_vdev_set_param
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x27]
	ldr	w3, [x21, #32]
	ldr	x8, [x21, #16]
	stp	x8, x0, [sp]
Lloh52:
	adrp	x2, l_.str.9@PAGE
Lloh53:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_ath10k_dbg
LBB0_30:
Lloh54:
	adrp	x8, _BSS_CHANGED_BEACON_ENABLED@GOTPAGE
Lloh55:
	ldr	x8, [x8, _BSS_CHANGED_BEACON_ENABLED@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_32
; %bb.31:
	mov	x0, x21
	mov	x1, x24
	bl	_ath10k_control_beaconing
LBB0_32:
Lloh57:
	adrp	x8, _BSS_CHANGED_ERP_CTS_PROT@GOTPAGE
Lloh58:
	ldr	x8, [x8, _BSS_CHANGED_ERP_CTS_PROT@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_38
; %bb.33:
	ldr	w8, [x24, #64]
	str	w8, [x21, #52]
	mov	x0, x21
	bl	_ath10k_recalc_rtscts_prot
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_35
; %bb.34:
	ldr	w2, [x21, #32]
	str	x0, [sp]
Lloh60:
	adrp	x1, l_.str.10@PAGE
Lloh61:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
LBB0_35:
	mov	x0, x21
	bl	_ath10k_mac_can_set_cts_prot
	cbz	x0, LBB0_38
; %bb.36:
	mov	x0, x21
	bl	_ath10k_mac_set_cts_prot
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_38
; %bb.37:
	ldr	w2, [x21, #32]
	str	x0, [sp]
Lloh62:
	adrp	x1, l_.str.11@PAGE
Lloh63:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
LBB0_38:
Lloh64:
	adrp	x8, _BSS_CHANGED_ERP_SLOT@GOTPAGE
Lloh65:
	ldr	x8, [x8, _BSS_CHANGED_ERP_SLOT@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_41
; %bb.39:
Lloh67:
	adrp	x8, _WMI_VDEV_SLOT_TIME_LONG@GOTPAGE
Lloh68:
	ldr	x8, [x8, _WMI_VDEV_SLOT_TIME_LONG@GOTPAGEOFF]
Lloh69:
	adrp	x9, _WMI_VDEV_SLOT_TIME_SHORT@GOTPAGE
Lloh70:
	ldr	x9, [x9, _WMI_VDEV_SLOT_TIME_SHORT@GOTPAGEOFF]
	ldr	x10, [x24, #56]
	cmp	x10, #0
	csel	x8, x8, x9, eq
	ldr	w26, [x8]
	ldr	w1, [x27]
	ldr	w3, [x21, #32]
	str	x26, [sp]
Lloh71:
	adrp	x2, l_.str.12@PAGE
Lloh72:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_ath10k_dbg
	ldr	x8, [x20, #8]
	ldr	w2, [x8, #12]
	ldr	w1, [x21, #32]
	mov	x0, x20
	mov	x3, x26
	bl	_ath10k_wmi_vdev_set_param
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_41
; %bb.40:
	ldr	w2, [x21, #32]
	str	x0, [sp]
Lloh73:
	adrp	x1, l_.str.13@PAGE
Lloh74:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
LBB0_41:
Lloh75:
	adrp	x8, _BSS_CHANGED_ERP_PREAMBLE@GOTPAGE
Lloh76:
	ldr	x8, [x8, _BSS_CHANGED_ERP_PREAMBLE@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_44
; %bb.42:
Lloh78:
	adrp	x8, _WMI_VDEV_PREAMBLE_LONG@GOTPAGE
Lloh79:
	ldr	x8, [x8, _WMI_VDEV_PREAMBLE_LONG@GOTPAGEOFF]
Lloh80:
	adrp	x9, _WMI_VDEV_PREAMBLE_SHORT@GOTPAGE
Lloh81:
	ldr	x9, [x9, _WMI_VDEV_PREAMBLE_SHORT@GOTPAGEOFF]
	ldr	x10, [x24, #48]
	cmp	x10, #0
	csel	x8, x8, x9, eq
	ldr	w26, [x8]
	ldr	w1, [x27]
	ldr	w3, [x21, #32]
	str	x26, [sp]
Lloh82:
	adrp	x2, l_.str.14@PAGE
Lloh83:
	add	x2, x2, l_.str.14@PAGEOFF
	mov	x0, x20
	bl	_ath10k_dbg
	ldr	x8, [x20, #8]
	ldr	w2, [x8, #16]
	ldr	w1, [x21, #32]
	mov	x0, x20
	mov	x3, x26
	bl	_ath10k_wmi_vdev_set_param
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_44
; %bb.43:
	ldr	w2, [x21, #32]
	str	x0, [sp]
Lloh84:
	adrp	x1, l_.str.15@PAGE
Lloh85:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
LBB0_44:
Lloh86:
	adrp	x8, _BSS_CHANGED_ASSOC@GOTPAGE
Lloh87:
	ldr	x8, [x8, _BSS_CHANGED_ASSOC@GOTPAGEOFF]
Lloh88:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_50
; %bb.45:
	ldr	x8, [x24, #40]
	cbz	x8, LBB0_49
; %bb.46:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_48
; %bb.47:
	mov	x0, x20
	bl	_ath10k_monitor_stop
LBB0_48:
	mov	x0, x25
	mov	x1, x22
	mov	x2, x24
	bl	_ath10k_bss_assoc
	mov	x0, x20
	bl	_ath10k_monitor_recalc
	b	LBB0_50
LBB0_49:
	mov	x0, x25
	mov	x1, x22
	bl	_ath10k_bss_disassoc
LBB0_50:
Lloh89:
	adrp	x8, _BSS_CHANGED_TXPOWER@GOTPAGE
Lloh90:
	ldr	x8, [x8, _BSS_CHANGED_TXPOWER@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_53
; %bb.51:
	ldr	w1, [x27]
	ldr	w3, [x21, #32]
	ldr	x8, [x24, #32]
	str	x8, [sp]
Lloh92:
	adrp	x2, l_.str.16@PAGE
Lloh93:
	add	x2, x2, l_.str.16@PAGEOFF
	mov	x0, x20
	bl	_ath10k_dbg
	ldr	x8, [x24, #32]
	str	x8, [x21, #24]
	mov	x0, x20
	bl	_ath10k_mac_txpower_recalc
	cbz	w0, LBB0_53
; %bb.52:
	mov	x2, x0
Lloh94:
	adrp	x1, l_.str.17@PAGE
Lloh95:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
LBB0_53:
Lloh96:
	adrp	x8, _BSS_CHANGED_PS@GOTPAGE
Lloh97:
	ldr	x8, [x8, _BSS_CHANGED_PS@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_56
; %bb.54:
	ldr	w8, [x22, #20]
	str	w8, [x21, #48]
	mov	x0, x20
	bl	_ath10k_config_ps
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_56
; %bb.55:
	ldr	w2, [x21, #32]
	str	x0, [sp]
Lloh99:
	adrp	x1, l_.str.18@PAGE
Lloh100:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
LBB0_56:
Lloh101:
	adrp	x8, _BSS_CHANGED_MCAST_RATE@GOTPAGE
Lloh102:
	ldr	x8, [x8, _BSS_CHANGED_MCAST_RATE@GOTPAGEOFF]
Lloh103:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_64
; %bb.57:
	ldr	x0, [x21, #40]
	add	x1, sp, #24
	bl	_ath10k_mac_vif_chan
	cbnz	x0, LBB0_64
; %bb.58:
	ldr	x8, [sp, #24]
	ldr	w8, [x8]
	ldr	x9, [x22, #8]
	ldr	w8, [x9, x8, lsl #2]
	subs	w8, w8, #1
	b.ge	LBB0_60
; %bb.59:
	ldr	w8, [x22, #16]
	rbit	w9, w8
	clz	w9, w9
	cmp	w8, #0
	csinv	w8, w9, wzr, ne
	sxtw	x8, w8
LBB0_60:
	ldr	w9, [x20]
Lloh104:
	adrp	x10, _WHAL_WLAN_11A_CAPABILITY@GOTPAGE
Lloh105:
	ldr	x10, [x10, _WHAL_WLAN_11A_CAPABILITY@GOTPAGEOFF]
Lloh106:
	ldr	w10, [x10]
Lloh107:
	adrp	x11, _ATH10K_MAC_FIRST_OFDM_RATE_IDX@GOTPAGE
Lloh108:
	ldr	x11, [x11, _ATH10K_MAC_FIRST_OFDM_RATE_IDX@GOTPAGEOFF]
Lloh109:
	ldr	x11, [x11]
	tst	w10, w9
	csel	x9, xzr, x11, eq
	add	x8, x9, x8
Lloh110:
	adrp	x9, _ath10k_wmi_legacy_rates@GOTPAGE
Lloh111:
	ldr	x9, [x9, _ath10k_wmi_legacy_rates@GOTPAGEOFF]
Lloh112:
	ldr	x9, [x9]
	add	x8, x9, x8, lsl #3
	ldp	w0, w24, [x8]
	bl	_ath10k_mac_bitrate_is_cck
Lloh113:
	adrp	x8, _WMI_RATE_PREAMBLE_OFDM@GOTPAGE
Lloh114:
	ldr	x8, [x8, _WMI_RATE_PREAMBLE_OFDM@GOTPAGEOFF]
Lloh115:
	adrp	x9, _WMI_RATE_PREAMBLE_CCK@GOTPAGE
Lloh116:
	ldr	x9, [x9, _WMI_RATE_PREAMBLE_CCK@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w2, [x8]
	mov	x0, x24
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	mov	x24, x0
	ldr	w1, [x27]
	ldr	w3, [x21, #32]
	str	x0, [sp]
Lloh117:
	adrp	x2, l_.str.19@PAGE
Lloh118:
	add	x2, x2, l_.str.19@PAGEOFF
	mov	x0, x20
	bl	_ath10k_dbg
	ldr	x8, [x20, #8]
	ldr	w2, [x8, #20]
	ldr	w1, [x21, #32]
	mov	x0, x20
	mov	x3, x24
	bl	_ath10k_wmi_vdev_set_param
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_62
; %bb.61:
	ldr	w2, [x21, #32]
	str	x0, [sp]
Lloh119:
	adrp	x1, l_.str.20@PAGE
Lloh120:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
LBB0_62:
	ldr	x8, [x20, #8]
	ldr	w2, [x8, #24]
	ldr	w1, [x21, #32]
	mov	x0, x20
	mov	x3, x24
	bl	_ath10k_wmi_vdev_set_param
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_64
; %bb.63:
	ldr	w2, [x21, #32]
	str	x0, [sp]
Lloh121:
	adrp	x1, l_.str.21@PAGE
Lloh122:
	add	x1, x1, l_.str.21@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
LBB0_64:
Lloh123:
	adrp	x8, _BSS_CHANGED_BASIC_RATES@GOTPAGE
Lloh124:
	ldr	x8, [x8, _BSS_CHANGED_BASIC_RATES@GOTPAGEOFF]
Lloh125:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_71
; %bb.65:
	add	x1, sp, #24
	mov	x0, x22
	bl	_ath10k_mac_vif_chan
	cbnz	x0, LBB0_71
; %bb.66:
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x9, [sp, #24]
	ldrsw	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w9, [x22, #16]
	rbit	w10, w9
	clz	w10, w10
	cmp	w9, #0
	csinv	w9, w10, wzr, ne
	ldr	x8, [x8]
	ldr	w22, [x8, w9, sxtw #2]
	mov	x0, x22
	bl	_ath10k_mac_get_rate_hw_value
	tbnz	w0, #31, LBB0_69
; %bb.67:
	mov	x3, x0
	ldr	x8, [x20, #8]
	ldr	w2, [x8, #28]
	ldr	w1, [x21, #32]
	mov	x0, x20
	bl	_ath10k_wmi_vdev_set_param
	cbz	w0, LBB0_71
; %bb.68:
	mov	x2, x0
Lloh126:
	adrp	x1, l_.str.23@PAGE
Lloh127:
	add	x1, x1, l_.str.23@PAGEOFF
	mov	x0, x20
	b	LBB0_70
LBB0_69:
Lloh128:
	adrp	x1, l_.str.22@PAGE
Lloh129:
	add	x1, x1, l_.str.22@PAGEOFF
	mov	x0, x20
	mov	x2, x22
LBB0_70:
	bl	_ath10k_warn
LBB0_71:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpAdd	Lloh117, Lloh118
	.loh AdrpLdrGot	Lloh115, Lloh116
	.loh AdrpLdrGot	Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpAdd	Lloh119, Lloh120
	.loh AdrpAdd	Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpAdd	Lloh126, Lloh127
	.loh AdrpAdd	Lloh128, Lloh129
	.cfi_endproc
                                        ; -- End function
	.comm	_BSS_CHANGED_IBSS,4,2           ; @BSS_CHANGED_IBSS
	.comm	_BSS_CHANGED_BEACON_INT,4,2     ; @BSS_CHANGED_BEACON_INT
	.comm	_ATH10K_DBG_MAC,4,2             ; @ATH10K_DBG_MAC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac vdev %d beacon_interval %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to set beacon interval for vdev %d: %i\n"

	.comm	_BSS_CHANGED_BEACON,4,2         ; @BSS_CHANGED_BEACON
l_.str.2:                               ; @.str.2
	.asciz	"vdev %d set beacon tx mode to staggered\n"

	.comm	_WMI_BEACON_STAGGERED_MODE,4,2  ; @WMI_BEACON_STAGGERED_MODE
l_.str.3:                               ; @.str.3
	.asciz	"failed to set beacon mode for vdev %d: %i\n"

l_.str.4:                               ; @.str.4
	.asciz	"failed to update beacon template: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"mesh"

	.comm	_BSS_CHANGED_AP_PROBE_RESP,4,2  ; @BSS_CHANGED_AP_PROBE_RESP
l_.str.6:                               ; @.str.6
	.asciz	"failed to setup probe resp template on vdev %i: %d\n"

	.comm	_BSS_CHANGED_BEACON_INFO,4,2    ; @BSS_CHANGED_BEACON_INFO
l_.str.7:                               ; @.str.7
	.asciz	"mac vdev %d dtim_period %d\n"

l_.str.8:                               ; @.str.8
	.asciz	"failed to set dtim period for vdev %d: %i\n"

	.comm	_BSS_CHANGED_SSID,4,2           ; @BSS_CHANGED_SSID
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_BSS_CHANGED_BSSID,4,2          ; @BSS_CHANGED_BSSID
	.comm	_BSS_CHANGED_FTM_RESPONDER,4,2  ; @BSS_CHANGED_FTM_RESPONDER
	.comm	_WMI_SERVICE_RTT_RESPONDER_ROLE,4,2 ; @WMI_SERVICE_RTT_RESPONDER_ROLE
l_.str.9:                               ; @.str.9
	.asciz	"mac vdev %d ftm_responder %d:ret %d\n"

	.comm	_BSS_CHANGED_BEACON_ENABLED,4,2 ; @BSS_CHANGED_BEACON_ENABLED
	.comm	_BSS_CHANGED_ERP_CTS_PROT,4,2   ; @BSS_CHANGED_ERP_CTS_PROT
l_.str.10:                              ; @.str.10
	.asciz	"failed to recalculate rts/cts prot for vdev %d: %d\n"

l_.str.11:                              ; @.str.11
	.asciz	"failed to set cts protection for vdev %d: %d\n"

	.comm	_BSS_CHANGED_ERP_SLOT,4,2       ; @BSS_CHANGED_ERP_SLOT
	.comm	_WMI_VDEV_SLOT_TIME_SHORT,4,2   ; @WMI_VDEV_SLOT_TIME_SHORT
	.comm	_WMI_VDEV_SLOT_TIME_LONG,4,2    ; @WMI_VDEV_SLOT_TIME_LONG
l_.str.12:                              ; @.str.12
	.asciz	"mac vdev %d slot_time %d\n"

l_.str.13:                              ; @.str.13
	.asciz	"failed to set erp slot for vdev %d: %i\n"

	.comm	_BSS_CHANGED_ERP_PREAMBLE,4,2   ; @BSS_CHANGED_ERP_PREAMBLE
	.comm	_WMI_VDEV_PREAMBLE_SHORT,4,2    ; @WMI_VDEV_PREAMBLE_SHORT
	.comm	_WMI_VDEV_PREAMBLE_LONG,4,2     ; @WMI_VDEV_PREAMBLE_LONG
l_.str.14:                              ; @.str.14
	.asciz	"mac vdev %d preamble %dn"

l_.str.15:                              ; @.str.15
	.asciz	"failed to set preamble for vdev %d: %i\n"

	.comm	_BSS_CHANGED_ASSOC,4,2          ; @BSS_CHANGED_ASSOC
	.comm	_BSS_CHANGED_TXPOWER,4,2        ; @BSS_CHANGED_TXPOWER
l_.str.16:                              ; @.str.16
	.asciz	"mac vdev_id %i txpower %d\n"

l_.str.17:                              ; @.str.17
	.asciz	"failed to recalc tx power: %d\n"

	.comm	_BSS_CHANGED_PS,4,2             ; @BSS_CHANGED_PS
l_.str.18:                              ; @.str.18
	.asciz	"failed to setup ps on vdev %i: %d\n"

	.comm	_BSS_CHANGED_MCAST_RATE,4,2     ; @BSS_CHANGED_MCAST_RATE
	.comm	_WHAL_WLAN_11A_CAPABILITY,4,2   ; @WHAL_WLAN_11A_CAPABILITY
	.comm	_ATH10K_MAC_FIRST_OFDM_RATE_IDX,8,3 ; @ATH10K_MAC_FIRST_OFDM_RATE_IDX
	.comm	_ath10k_wmi_legacy_rates,8,3    ; @ath10k_wmi_legacy_rates
	.comm	_WMI_RATE_PREAMBLE_CCK,4,2      ; @WMI_RATE_PREAMBLE_CCK
	.comm	_WMI_RATE_PREAMBLE_OFDM,4,2     ; @WMI_RATE_PREAMBLE_OFDM
l_.str.19:                              ; @.str.19
	.asciz	"mac vdev %d mcast_rate %x\n"

l_.str.20:                              ; @.str.20
	.asciz	"failed to set mcast rate on vdev %i: %d\n"

l_.str.21:                              ; @.str.21
	.asciz	"failed to set bcast rate on vdev %i: %d\n"

	.comm	_BSS_CHANGED_BASIC_RATES,4,2    ; @BSS_CHANGED_BASIC_RATES
l_.str.22:                              ; @.str.22
	.asciz	"bitrate not supported %d\n"

l_.str.23:                              ; @.str.23
	.asciz	"failed to set mgmt tx rate %d\n"

	.no_dead_strip	_ath10k_bss_info_changed
.subsections_via_symbols
