	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_station_assoc
_ath10k_station_assoc:                  ## @ath10k_station_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
	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
	movq	%rdi, %r14
	movq	(%rsi), %r15
	callq	_lockdep_assert_held
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_ath10k_peer_assoc_prepare
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	movl	(%r12), %edx
	movl	4(%r15), %ecx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ath10k_wmi_peer_assoc
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	movl	(%r12), %edx
	movl	4(%r15), %ecx
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movq	%r14, %rdi
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%ebx, %ebx
	testl	%r13d, %r13d
	jne	LBB0_18
## %bb.6:
	movl	(%r12), %edx
	leaq	12(%r12), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ath10k_setup_peer_smps
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movl	%eax, %r13d
	movl	4(%r15), %edx
	leaq	L_.str.2(%rip), %rsi
LBB0_8:
	movq	%r14, %rdi
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
	movl	%r13d, %ebx
	jmp	LBB0_18
LBB0_9:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_ath10k_peer_assoc_qos_ap
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %r13d
	movl	(%r12), %edx
	movl	4(%r15), %ecx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_ath10k_warn
	movl	%r13d, %ebx
	jmp	LBB0_18
LBB0_11:
	cmpl	$0, 8(%r12)
	je	LBB0_12
LBB0_14:
	cmpl	$-1, (%r15)
	je	LBB0_18
## %bb.15:
	cmpl	$0, 4(%r12)
	jne	LBB0_18
## %bb.16:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_ath10k_install_peer_wep_keys
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	%eax, %r12d
	movl	4(%r15), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
	movl	%r12d, %ebx
	jmp	LBB0_18
LBB0_12:
	incl	8(%r15)
	movq	%r15, %rdi
	callq	_ath10k_recalc_rtscts_prot
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	%eax, %r13d
	movl	4(%r15), %edx
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to prepare WMI peer assoc for %pM vdev %i: %i\n"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"failed to set qos params for STA %pM for vdev %i: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"failed to recalculate rts/cts prot for vdev %d: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"failed to install peer wep keys for vdev %i: %d\n"

	.no_dead_strip	_ath10k_station_assoc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_station_assoc
_ath10k_station_assoc:                  ; @ath10k_station_assoc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x23, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x20, [x1]
	bl	_lockdep_assert_held
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_ath10k_peer_assoc_prepare
	cbz	w0, LBB0_3
; %bb.1:
	mov	x22, x0
	ldr	w2, [x21]
	ldr	w3, [x20, #4]
	str	x22, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
LBB0_2:
	bl	_ath10k_warn
	b	LBB0_8
LBB0_3:
	add	x1, sp, #8
	mov	x0, x19
	bl	_ath10k_wmi_peer_assoc
	cbz	w0, LBB0_6
; %bb.4:
	mov	x22, x0
	ldr	w2, [x21]
	ldr	w3, [x20, #4]
	str	x22, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_ath10k_warn
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_8
LBB0_6:
	cbz	w23, LBB0_9
LBB0_7:
	mov	w22, #0
LBB0_8:
	mov	x0, x22
	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
	add	sp, sp, #80
	ret
LBB0_9:
	mov	x3, x21
	ldr	w2, [x3], #12
	mov	x0, x19
	mov	x1, x20
	bl	_ath10k_setup_peer_smps
	cbz	w0, LBB0_12
; %bb.10:
	mov	x22, x0
	ldr	w2, [x20, #4]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_11:
	mov	x0, x19
	mov	x3, x22
	b	LBB0_2
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_ath10k_peer_assoc_qos_ap
	cbz	w0, LBB0_14
; %bb.13:
	mov	x22, x0
	ldr	w2, [x21]
	ldr	w3, [x20, #4]
	str	x22, [sp]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_14:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_19
LBB0_15:
	ldr	w8, [x20]
	cmn	w8, #1
	b.eq	LBB0_7
; %bb.16:
	ldr	w8, [x21, #4]
	cbnz	w8, LBB0_7
; %bb.17:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_ath10k_install_peer_wep_keys
	mov	x22, x0
	cbz	w0, LBB0_8
; %bb.18:
	ldr	w2, [x20, #4]
Lloh8:
	adrp	x1, l_.str.5@PAGE
Lloh9:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_11
LBB0_19:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	mov	x0, x20
	bl	_ath10k_recalc_rtscts_prot
	cbz	w0, LBB0_15
; %bb.20:
	mov	x22, x0
	ldr	w2, [x20, #4]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to prepare WMI peer assoc for %pM vdev %i: %i\n"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"failed to set qos params for STA %pM for vdev %i: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"failed to recalculate rts/cts prot for vdev %d: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"failed to install peer wep keys for vdev %i: %d\n"

	.no_dead_strip	_ath10k_station_assoc
.subsections_via_symbols
