	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_node_join            ## -- Begin function ieee80211_node_join
	.p2align	4, 0x90
_ieee80211_node_join:                   ## @ieee80211_node_join
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	24(%rdi), %r15
	movq	32(%rdi), %r13
	xorl	%eax, %eax
	cmpq	$0, (%rdi)
	jne	LBB0_15
## %bb.1:
	xorl	%edi, %edi
	cmpq	$0, 24(%r15)
	setne	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movl	(%r15), %eax
	movl	$1, %ebx
	cmpl	$2, %eax
	jl	LBB0_6
## %bb.2:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_IEEE80211_AID_ISSET
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	movl	(%r15), %eax
	cmpl	%eax, %ebx
	jl	LBB0_3
LBB0_6:
	cmpl	%eax, %ebx
	jge	LBB0_22
LBB0_7:
	orl	$49152, %ebx                    ## imm = 0xC000
	movq	%rbx, (%r12)
	movq	_time_uptime@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	%r13, %rdi
	callq	_IEEE80211_LOCK
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_IEEE80211_AID_SET
	incl	16(%r15)
	incl	20(%r13)
	movl	16(%r13), %edi
	callq	_IEEE80211_IS_CHAN_HT
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r12, %rdi
	callq	_ieee80211_ht_node_join
LBB0_9:
	movl	16(%r13), %edi
	callq	_IEEE80211_IS_CHAN_VHT
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%r12, %rdi
	callq	_ieee80211_vht_node_join
LBB0_11:
	movl	16(%r13), %edi
	callq	_IEEE80211_IS_CHAN_ANYG
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movl	16(%r13), %edi
	callq	_IEEE80211_IS_CHAN_FULL
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%r12, %rdi
	callq	_ieee80211_node_join_11g
LBB0_14:
	movq	%r13, %rdi
	callq	_IEEE80211_UNLOCK
	movl	$1, %eax
LBB0_15:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movq	_IEEE80211_MSG_ASSOC@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_IEEE80211_NODE_AID
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movl	(%r13), %ecx
	movq	_IEEE80211_F_SHPREAMBLE@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	leaq	L_.str.3(%rip), %rdx
	leaq	L_.str.2(%rip), %rdi
	movq	%rdi, %rsi
	cmoveq	%rdx, %rsi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	_IEEE80211_F_SHSLOT@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	cmoveq	%rdx, %rdi
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	_IEEE80211_F_USEPROT@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	leaq	L_.str.5(%rip), %rsi
	leaq	L_.str.4(%rip), %rcx
	cmoveq	%rsi, %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	8(%r12), %ecx
	movq	_IEEE80211_NODE_QOS@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	leaq	L_.str.6(%rip), %rdx
	cmoveq	%rsi, %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_IEEE80211_NODE_HT@GOTPCREL(%rip), %rax
	movq	%rsi, %rdx
	testl	%ecx, (%rax)
	je	LBB0_17
## %bb.16:
	cmpl	$40, 12(%r12)
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.8(%rip), %rdx
	cmoveq	%rax, %rdx
LBB0_17:
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	_IEEE80211_NODE_AMPDU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	leaq	L_.str.9(%rip), %rax
	cmoveq	%rsi, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_IEEE80211_NODE_MIMO_RTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	movq	_IEEE80211_NODE_MIMO_PS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ecx, %edx
	leaq	L_.str.11(%rip), %rdx
	cmoveq	%rsi, %rdx
	testl	%eax, %eax
	leaq	L_.str.10(%rip), %r13
	cmoveq	%rdx, %r13
	movq	_IEEE80211_NODE_RIFS@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	leaq	L_.str.12(%rip), %rbx
	cmoveq	%rsi, %rbx
	movq	_IEEE80211_NODE_FF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_IEEE80211_ATH_CAP
	testq	%rax, %rax
	leaq	L_.str.13(%rip), %r14
	leaq	L_.str.5(%rip), %rax
	cmoveq	%rax, %r14
	movq	_IEEE80211_NODE_TURBOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_IEEE80211_ATH_CAP
	testq	%rax, %rax
	leaq	L_.str.14(%rip), %rax
	leaq	L_.str.5(%rip), %rcx
	cmoveq	%rcx, %rax
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %rdx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	pushq	%rax
	pushq	%r14
	pushq	%rbx
	pushq	%r13
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	callq	_IEEE80211_NOTE
	addq	$80, %rsp
	movq	%r12, %rdi
	callq	_ieee80211_node_setuptxparms
	movq	%r12, %rdi
	callq	_ieee80211_ratectl_node_init
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	*%rax
LBB0_19:
	movq	_IEEE80211_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_IEEE80211_SEND_MGMT
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	%r12, %rdi
	callq	*%rax
LBB0_21:
	movq	_IEEE80211_FC0_SUBTYPE_ASSOC_RESP@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	cmpl	%ebx, (%rax)
	sete	%sil
	movq	%r12, %rdi
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_notify_node_join     ## TAILCALL
LBB0_4:
	movl	(%r15), %eax
	cmpl	%eax, %ebx
	jl	LBB0_7
LBB0_22:
	movq	_IEEE80211_STATUS_TOOMANY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_IEEE80211_SEND_MGMT
	movq	%r12, %rdi
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_node_leave           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no aid bitmap"

	.comm	_IEEE80211_STATUS_TOOMANY,4,2   ## @IEEE80211_STATUS_TOOMANY
	.comm	_time_uptime,4,2                ## @time_uptime
	.comm	_IEEE80211_MSG_ASSOC,4,2        ## @IEEE80211_MSG_ASSOC
	.comm	_IEEE80211_MSG_DEBUG,4,2        ## @IEEE80211_MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"station associated at aid %d: %s preamble, %s slot time%s%s%s%s%s%s%s%s"

	.comm	_IEEE80211_F_SHPREAMBLE,4,2     ## @IEEE80211_F_SHPREAMBLE
L_.str.2:                               ## @.str.2
	.asciz	"short"

L_.str.3:                               ## @.str.3
	.asciz	"long"

	.comm	_IEEE80211_F_SHSLOT,4,2         ## @IEEE80211_F_SHSLOT
	.comm	_IEEE80211_F_USEPROT,4,2        ## @IEEE80211_F_USEPROT
L_.str.4:                               ## @.str.4
	.asciz	", protection"

L_.str.5:                               ## @.str.5
	.space	1

	.comm	_IEEE80211_NODE_QOS,4,2         ## @IEEE80211_NODE_QOS
L_.str.6:                               ## @.str.6
	.asciz	", QoS"

	.comm	_IEEE80211_NODE_HT,4,2          ## @IEEE80211_NODE_HT
L_.str.7:                               ## @.str.7
	.asciz	", HT40"

L_.str.8:                               ## @.str.8
	.asciz	", HT20"

	.comm	_IEEE80211_NODE_AMPDU,4,2       ## @IEEE80211_NODE_AMPDU
L_.str.9:                               ## @.str.9
	.asciz	" (+AMPDU)"

	.comm	_IEEE80211_NODE_MIMO_RTS,4,2    ## @IEEE80211_NODE_MIMO_RTS
L_.str.10:                              ## @.str.10
	.asciz	" (+SMPS-DYN)"

	.comm	_IEEE80211_NODE_MIMO_PS,4,2     ## @IEEE80211_NODE_MIMO_PS
L_.str.11:                              ## @.str.11
	.asciz	" (+SMPS)"

	.comm	_IEEE80211_NODE_RIFS,4,2        ## @IEEE80211_NODE_RIFS
L_.str.12:                              ## @.str.12
	.asciz	" (+RIFS)"

	.comm	_IEEE80211_NODE_FF,4,2          ## @IEEE80211_NODE_FF
L_.str.13:                              ## @.str.13
	.asciz	", fast-frames"

	.comm	_IEEE80211_NODE_TURBOP,4,2      ## @IEEE80211_NODE_TURBOP
L_.str.14:                              ## @.str.14
	.asciz	", turbo"

	.comm	_IEEE80211_STATUS_SUCCESS,4,2   ## @IEEE80211_STATUS_SUCCESS
	.comm	_IEEE80211_FC0_SUBTYPE_ASSOC_RESP,4,2 ## @IEEE80211_FC0_SUBTYPE_ASSOC_RESP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_node_join            ; -- Begin function ieee80211_node_join
	.p2align	2
_ieee80211_node_join:                   ; @ieee80211_node_join
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x20, x1
	mov	x19, x0
	ldp	x21, x28, [x0, #24]
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	stur	w20, [x29, #-84]                ; 4-byte Folded Spill
	str	wzr, [sp, #68]                  ; 4-byte Folded Spill
	b	LBB0_14
LBB0_2:
	ldr	x8, [x21, #24]
	cmp	x8, #0
	cset	w0, ne
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	ldr	w8, [x21]
	mov	w23, #1
	cmp	w8, #2
	b.lt	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_IEEE80211_AID_ISSET
	cbz	w0, LBB0_22
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w23, #1
	ldr	w8, [x21]
	cmp	w23, w8
	b.lt	LBB0_3
LBB0_5:
	cmp	w23, w8
	b.ge	LBB0_23
LBB0_6:
	orr	w8, w23, #0xc000
	str	x8, [x19]
Lloh2:
	adrp	x8, _time_uptime@GOTPAGE
Lloh3:
	ldr	x8, [x8, _time_uptime@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	mov	x0, x28
	bl	_IEEE80211_LOCK
	ldr	w1, [x19]
	mov	x0, x21
	bl	_IEEE80211_AID_SET
	ldr	w8, [x21, #16]
	add	w8, w8, #1
	str	w8, [x21, #16]
	ldp	w0, w8, [x28, #16]
	add	w8, w8, #1
	str	w8, [x28, #20]
	bl	_IEEE80211_IS_CHAN_HT
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_ieee80211_ht_node_join
LBB0_8:
	ldr	w0, [x28, #16]
	bl	_IEEE80211_IS_CHAN_VHT
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_ieee80211_vht_node_join
LBB0_10:
	ldr	w0, [x28, #16]
	bl	_IEEE80211_IS_CHAN_ANYG
	cbz	x0, LBB0_13
; %bb.11:
	ldr	w0, [x28, #16]
	bl	_IEEE80211_IS_CHAN_FULL
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_ieee80211_node_join_11g
LBB0_13:
	stur	w20, [x29, #-84]                ; 4-byte Folded Spill
	mov	x0, x28
	bl	_IEEE80211_UNLOCK
	mov	w8, #1
	str	w8, [sp, #68]                   ; 4-byte Folded Spill
LBB0_14:
Lloh5:
	adrp	x8, _IEEE80211_MSG_ASSOC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IEEE80211_MSG_ASSOC@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _IEEE80211_MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IEEE80211_MSG_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
	stur	w8, [x29, #-88]                 ; 4-byte Folded Spill
	mov	x0, x19
	bl	_IEEE80211_NODE_AID
	stur	w0, [x29, #-92]                 ; 4-byte Folded Spill
	ldr	w8, [x28]
Lloh11:
	adrp	x9, _IEEE80211_F_SHPREAMBLE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IEEE80211_F_SHPREAMBLE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, l_.str.2@PAGE
Lloh15:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh16:
	adrp	x11, l_.str.3@PAGE
Lloh17:
	add	x11, x11, l_.str.3@PAGEOFF
	tst	w9, w8
	csel	x9, x11, x10, eq
	str	x9, [sp, #88]                   ; 8-byte Folded Spill
Lloh18:
	adrp	x9, _IEEE80211_F_SHSLOT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IEEE80211_F_SHSLOT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	csel	x9, x11, x10, eq
	str	x9, [sp, #80]                   ; 8-byte Folded Spill
Lloh21:
	adrp	x9, _IEEE80211_F_USEPROT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IEEE80211_F_USEPROT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, l_.str.4@PAGE
Lloh25:
	add	x10, x10, l_.str.4@PAGEOFF
Lloh26:
	adrp	x20, l_.str.5@PAGE
Lloh27:
	add	x20, x20, l_.str.5@PAGEOFF
	tst	w9, w8
	csel	x8, x20, x10, eq
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	ldr	w8, [x19, #8]
Lloh28:
	adrp	x9, _IEEE80211_NODE_QOS@GOTPAGE
Lloh29:
	ldr	x9, [x9, _IEEE80211_NODE_QOS@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
Lloh31:
	adrp	x10, l_.str.6@PAGE
Lloh32:
	add	x10, x10, l_.str.6@PAGEOFF
	tst	w9, w8
	csel	x23, x20, x10, eq
Lloh33:
	adrp	x9, _IEEE80211_NODE_HT@GOTPAGE
Lloh34:
	ldr	x9, [x9, _IEEE80211_NODE_HT@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
	ldr	w9, [x19, #12]
Lloh36:
	adrp	x10, l_.str.8@PAGE
Lloh37:
	add	x10, x10, l_.str.8@PAGEOFF
Lloh38:
	adrp	x11, l_.str.7@PAGE
Lloh39:
	add	x11, x11, l_.str.7@PAGEOFF
	cmp	w9, #40
	csel	x24, x11, x10, eq
	b	LBB0_17
LBB0_16:
	mov	x24, x20
LBB0_17:
Lloh40:
	adrp	x9, _IEEE80211_NODE_AMPDU@GOTPAGE
Lloh41:
	ldr	x9, [x9, _IEEE80211_NODE_AMPDU@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
Lloh43:
	adrp	x10, l_.str.9@PAGE
Lloh44:
	add	x10, x10, l_.str.9@PAGEOFF
	tst	w9, w8
	csel	x25, x20, x10, eq
Lloh45:
	adrp	x9, _IEEE80211_NODE_MIMO_RTS@GOTPAGE
Lloh46:
	ldr	x9, [x9, _IEEE80211_NODE_MIMO_RTS@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
Lloh48:
	adrp	x10, _IEEE80211_NODE_MIMO_PS@GOTPAGE
Lloh49:
	ldr	x10, [x10, _IEEE80211_NODE_MIMO_PS@GOTPAGEOFF]
Lloh50:
	ldr	w10, [x10]
Lloh51:
	adrp	x11, l_.str.11@PAGE
Lloh52:
	add	x11, x11, l_.str.11@PAGEOFF
	tst	w10, w8
	csel	x10, x20, x11, eq
Lloh53:
	adrp	x11, l_.str.10@PAGE
Lloh54:
	add	x11, x11, l_.str.10@PAGEOFF
	tst	w9, w8
	csel	x22, x10, x11, eq
Lloh55:
	adrp	x9, _IEEE80211_NODE_RIFS@GOTPAGE
Lloh56:
	ldr	x9, [x9, _IEEE80211_NODE_RIFS@GOTPAGEOFF]
Lloh57:
	adrp	x10, l_.str.12@PAGE
Lloh58:
	add	x10, x10, l_.str.12@PAGEOFF
Lloh59:
	ldr	w9, [x9]
	tst	w9, w8
	csel	x26, x20, x10, eq
Lloh60:
	adrp	x8, _IEEE80211_NODE_FF@GOTPAGE
Lloh61:
	ldr	x8, [x8, _IEEE80211_NODE_FF@GOTPAGEOFF]
Lloh62:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x19
	bl	_IEEE80211_ATH_CAP
Lloh63:
	adrp	x8, l_.str.13@PAGE
Lloh64:
	add	x8, x8, l_.str.13@PAGEOFF
	cmp	x0, #0
	csel	x27, x20, x8, eq
Lloh65:
	adrp	x8, _IEEE80211_NODE_TURBOP@GOTPAGE
Lloh66:
	ldr	x8, [x8, _IEEE80211_NODE_TURBOP@GOTPAGEOFF]
Lloh67:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x19
	bl	_IEEE80211_ATH_CAP
Lloh68:
	adrp	x8, l_.str.14@PAGE
Lloh69:
	add	x8, x8, l_.str.14@PAGEOFF
	cmp	x0, #0
	csel	x8, x20, x8, eq
	stp	x27, x8, [sp, #40]
Lloh70:
	adrp	x3, l_.str.1@PAGE
Lloh71:
	add	x3, x3, l_.str.1@PAGEOFF
	stp	x22, x26, [sp, #24]
	stp	x24, x25, [sp, #8]
	str	x23, [sp]
	mov	x0, x21
	ldp	w4, w1, [x29, #-92]             ; 8-byte Folded Reload
	mov	x2, x19
	ldp	x6, x5, [sp, #80]               ; 16-byte Folded Reload
	ldr	x7, [sp, #72]                   ; 8-byte Folded Reload
	bl	_IEEE80211_NOTE
	mov	x0, x19
	bl	_ieee80211_node_setuptxparms
	mov	x0, x19
	bl	_ieee80211_ratectl_node_init
	ldr	x8, [x28, #8]
	cbz	x8, LBB0_19
; %bb.18:
	mov	x0, x19
	ldr	w1, [sp, #68]                   ; 4-byte Folded Reload
	blr	x8
LBB0_19:
Lloh72:
	adrp	x8, _IEEE80211_STATUS_SUCCESS@GOTPAGE
Lloh73:
	ldr	x8, [x8, _IEEE80211_STATUS_SUCCESS@GOTPAGEOFF]
Lloh74:
	ldr	w2, [x8]
	mov	x0, x19
	ldur	w20, [x29, #-84]                ; 4-byte Folded Reload
	mov	x1, x20
	bl	_IEEE80211_SEND_MGMT
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_21
; %bb.20:
	mov	x0, x19
	blr	x8
LBB0_21:
Lloh75:
	adrp	x8, _IEEE80211_FC0_SUBTYPE_ASSOC_RESP@GOTPAGE
Lloh76:
	ldr	x8, [x8, _IEEE80211_FC0_SUBTYPE_ASSOC_RESP@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	cmp	w8, w20
	cset	w1, eq
	mov	x0, x19
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	b	_ieee80211_notify_node_join
LBB0_22:
	ldr	w8, [x21]
	cmp	w23, w8
	b.lt	LBB0_6
LBB0_23:
Lloh78:
	adrp	x8, _IEEE80211_STATUS_TOOMANY@GOTPAGE
Lloh79:
	ldr	x8, [x8, _IEEE80211_STATUS_TOOMANY@GOTPAGEOFF]
Lloh80:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_IEEE80211_SEND_MGMT
	mov	x0, x19
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	b	_ieee80211_node_leave
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh59
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no aid bitmap"

	.comm	_IEEE80211_STATUS_TOOMANY,4,2   ; @IEEE80211_STATUS_TOOMANY
	.comm	_time_uptime,4,2                ; @time_uptime
	.comm	_IEEE80211_MSG_ASSOC,4,2        ; @IEEE80211_MSG_ASSOC
	.comm	_IEEE80211_MSG_DEBUG,4,2        ; @IEEE80211_MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"station associated at aid %d: %s preamble, %s slot time%s%s%s%s%s%s%s%s"

	.comm	_IEEE80211_F_SHPREAMBLE,4,2     ; @IEEE80211_F_SHPREAMBLE
l_.str.2:                               ; @.str.2
	.asciz	"short"

l_.str.3:                               ; @.str.3
	.asciz	"long"

	.comm	_IEEE80211_F_SHSLOT,4,2         ; @IEEE80211_F_SHSLOT
	.comm	_IEEE80211_F_USEPROT,4,2        ; @IEEE80211_F_USEPROT
l_.str.4:                               ; @.str.4
	.asciz	", protection"

l_.str.5:                               ; @.str.5
	.space	1

	.comm	_IEEE80211_NODE_QOS,4,2         ; @IEEE80211_NODE_QOS
l_.str.6:                               ; @.str.6
	.asciz	", QoS"

	.comm	_IEEE80211_NODE_HT,4,2          ; @IEEE80211_NODE_HT
l_.str.7:                               ; @.str.7
	.asciz	", HT40"

l_.str.8:                               ; @.str.8
	.asciz	", HT20"

	.comm	_IEEE80211_NODE_AMPDU,4,2       ; @IEEE80211_NODE_AMPDU
l_.str.9:                               ; @.str.9
	.asciz	" (+AMPDU)"

	.comm	_IEEE80211_NODE_MIMO_RTS,4,2    ; @IEEE80211_NODE_MIMO_RTS
l_.str.10:                              ; @.str.10
	.asciz	" (+SMPS-DYN)"

	.comm	_IEEE80211_NODE_MIMO_PS,4,2     ; @IEEE80211_NODE_MIMO_PS
l_.str.11:                              ; @.str.11
	.asciz	" (+SMPS)"

	.comm	_IEEE80211_NODE_RIFS,4,2        ; @IEEE80211_NODE_RIFS
l_.str.12:                              ; @.str.12
	.asciz	" (+RIFS)"

	.comm	_IEEE80211_NODE_FF,4,2          ; @IEEE80211_NODE_FF
l_.str.13:                              ; @.str.13
	.asciz	", fast-frames"

	.comm	_IEEE80211_NODE_TURBOP,4,2      ; @IEEE80211_NODE_TURBOP
l_.str.14:                              ; @.str.14
	.asciz	", turbo"

	.comm	_IEEE80211_STATUS_SUCCESS,4,2   ; @IEEE80211_STATUS_SUCCESS
	.comm	_IEEE80211_FC0_SUBTYPE_ASSOC_RESP,4,2 ; @IEEE80211_FC0_SUBTYPE_ASSOC_RESP
.subsections_via_symbols
