	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_bss_assoc
_ath10k_bss_assoc:                      ## @ath10k_bss_assoc
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	(%rdi), %r14
	movq	(%rsi), %r12
	movq	%r14, %rdi
	callq	_lockdep_assert_held
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r12), %ecx
	movl	8(%r12), %r8d
	movl	12(%r12), %r9d
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_ath10k_dbg
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_ieee80211_find_sta
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	movl	4(%rax), %ecx
	movl	%ecx, -56(%rbp)
	movl	(%rax), %r13d
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_ath10k_peer_assoc_prepare
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	(%r15), %edx
	movl	4(%r12), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_ath10k_warn
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	jmp	LBB0_15
LBB0_16:
	movl	(%r15), %edx
	movl	4(%r12), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ath10k_warn
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
LBB0_3:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ath10k_wmi_peer_assoc
	movl	(%r15), %edx
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	4(%r12), %ecx
	leaq	L_.str.3(%rip), %rsi
LBB0_14:
	movq	%r14, %rdi
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_ath10k_warn
	jmp	LBB0_15
LBB0_5:
	leaq	-56(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ath10k_setup_peer_smps
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movl	4(%r12), %edx
	leaq	L_.str.4(%rip), %rsi
LBB0_7:
	movq	%r14, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_ath10k_mac_vif_recalc_txbf
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	4(%r12), %edx
	movl	(%r15), %ecx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_14
LBB0_10:
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r12), %ecx
	movl	(%r15), %r8d
	movl	4(%r15), %r9d
	leaq	L_.str.6(%rip), %rdx
	movq	%r14, %rdi
	callq	_ath10k_dbg
	movl	(%r12), %edi
	callq	_WARN_ON
	movl	4(%r15), %eax
	movl	%eax, 12(%r12)
	movl	8(%r12), %edi
	movl	(%r15), %esi
	callq	_ether_addr_copy
	movl	12(%r12), %edx
	movl	4(%r12), %esi
	movl	8(%r12), %ecx
	movq	%r14, %rdi
	callq	_ath10k_wmi_vdev_up
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	4(%r12), %edx
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_7
LBB0_12:
	movl	$1, (%r12)
	movl	4(%r12), %esi
	movl	8(%r12), %edx
	movq	_WMI_PEER_DUMMY_VAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$1, %r8d
	callq	_ath10k_wmi_peer_set_param
	testl	%eax, %eax
	je	LBB0_15
## %bb.13:
	movl	4(%r12), %ecx
	movl	8(%r12), %edx
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_DBG_MAC,4,2             ## @ATH10K_DBG_MAC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac vdev %i assoc bssid %pM aid %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to find station entry for bss %pM vdev %i\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to prepare peer assoc for %pM vdev %i: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"failed to run peer assoc for %pM vdev %i: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"failed to setup peer SMPS for vdev %i: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"failed to recalc txbf for vdev %i on bss %pM: %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"mac vdev %d up (associated) bssid %pM aid %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"failed to set vdev %d up: %d\n"

	.comm	_WMI_PEER_DUMMY_VAR,4,2         ## @WMI_PEER_DUMMY_VAR
L_.str.8:                               ## @.str.8
	.asciz	"failed to poke peer %pM param for ps workaround on vdev %i: %d\n"

	.no_dead_strip	_ath10k_bss_assoc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_bss_assoc
_ath10k_bss_assoc:                      ; @ath10k_bss_assoc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x2
	mov	x22, x1
	ldr	x19, [x0]
	ldr	x20, [x1]
	mov	x0, x19
	bl	_lockdep_assert_held
Lloh0:
	adrp	x24, _ATH10K_DBG_MAC@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ATH10K_DBG_MAC@GOTPAGEOFF]
	ldr	w1, [x24]
	ldp	w3, w4, [x20, #4]
	ldr	w5, [x20, #12]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_dbg
	bl	_rcu_read_lock
	ldr	w1, [x21]
	mov	x0, x22
	bl	_ieee80211_find_sta
	cbz	x0, LBB0_3
; %bb.1:
	mov	x2, x0
	ldr	w8, [x0, #4]
	str	w8, [sp, #24]
	ldr	w23, [x0]
	add	x3, sp, #16
	mov	x0, x19
	mov	x1, x22
	bl	_ath10k_peer_assoc_prepare
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w2, [x21]
	ldr	w3, [x20, #4]
	str	x0, [sp]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
	bl	_rcu_read_unlock
	b	LBB0_15
LBB0_3:
	ldr	w2, [x21]
	ldr	w3, [x20, #4]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_rcu_read_unlock
LBB0_4:
	bl	_rcu_read_unlock
	add	x1, sp, #16
	mov	x0, x19
	bl	_ath10k_wmi_peer_assoc
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w2, [x21]
	cbz	w0, LBB0_6
; %bb.5:
	ldr	w3, [x20, #4]
	str	x0, [sp]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_6:
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, x20
	bl	_ath10k_setup_peer_smps
	cbz	w0, LBB0_8
; %bb.7:
	mov	x3, x0
	ldr	w2, [x20, #4]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_14
LBB0_8:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_ath10k_mac_vif_recalc_txbf
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_10
; %bb.9:
	ldr	w2, [x20, #4]
	ldr	w3, [x21]
	str	x0, [sp]
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_14
LBB0_10:
	ldr	w1, [x24]
	ldr	w3, [x20, #4]
	ldp	w4, w5, [x21]
Lloh14:
	adrp	x2, l_.str.6@PAGE
Lloh15:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_ath10k_dbg
	ldr	w0, [x20]
	bl	_WARN_ON
	ldp	w1, w8, [x21]
	str	w8, [x20, #12]
	ldr	w0, [x20, #8]
	bl	_ether_addr_copy
	ldp	w3, w2, [x20, #8]
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_ath10k_wmi_vdev_up
	cbz	w0, LBB0_12
; %bb.11:
	mov	x3, x0
	ldr	w2, [x20, #4]
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_14
LBB0_12:
	mov	w8, #1
	str	w8, [x20]
	ldp	w1, w2, [x20, #4]
Lloh18:
	adrp	x8, _WMI_PEER_DUMMY_VAR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WMI_PEER_DUMMY_VAR@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w4, #1
	bl	_ath10k_wmi_peer_set_param
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_15
; %bb.13:
	ldp	w3, w2, [x20, #4]
	str	x0, [sp]
Lloh21:
	adrp	x1, l_.str.8@PAGE
Lloh22:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_14:
	mov	x0, x19
	bl	_ath10k_warn
LBB0_15:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_DBG_MAC,4,2             ; @ATH10K_DBG_MAC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac vdev %i assoc bssid %pM aid %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to find station entry for bss %pM vdev %i\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to prepare peer assoc for %pM vdev %i: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"failed to run peer assoc for %pM vdev %i: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"failed to setup peer SMPS for vdev %i: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"failed to recalc txbf for vdev %i on bss %pM: %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"mac vdev %d up (associated) bssid %pM aid %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"failed to set vdev %d up: %d\n"

	.comm	_WMI_PEER_DUMMY_VAR,4,2         ; @WMI_PEER_DUMMY_VAR
l_.str.8:                               ; @.str.8
	.asciz	"failed to poke peer %pM param for ps workaround on vdev %i: %d\n"

	.no_dead_strip	_ath10k_bss_assoc
.subsections_via_symbols
