	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_assoc
_handle_assoc:                          ## @handle_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	$104, %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	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	24(%rdi), %r15
	movq	8(%rsi), %r12
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	movl	%r13d, %r8d
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r13d
	movq	_IEEE80211_MGMT_HDR_LEN@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	testl	%r8d, %r8d
	movl	$4, %eax
	movl	$10, %ecx
	cmovel	%eax, %ecx
	cmpl	%ecx, %r13d
	jge	LBB0_2
## %bb.1:
	movq	_DEBUG_AP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	movl	(%r12), %r9d
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_PDEBUG
	movq	-112(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_51
LBB0_2:
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movl	%r8d, -84(%rbp)                 ## 4-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	_WLAN_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	8(%r14), %rdi
	addq	$4, %rdi
	callq	_spin_lock_bh
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rdi
	movl	(%r12), %esi
	callq	_ap_get_sta
	testq	%rax, %rax
	je	LBB0_53
## %bb.3:
	movq	%rax, %rbx
	movq	_WLAN_STA_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_53
## %bb.4:
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	addq	$8, %rdi
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	callq	_atomic_inc
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	addq	$4, %rdi
	callq	_spin_unlock_bh
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r12
	movq	_IEEE80211_MGMT_HDR_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %r15
	movzbl	(%r12,%r15), %edi
	callq	___le16_to_cpu
	movq	%rax, 32(%rbx)
	movzbl	1(%r12,%r15), %edi
	callq	___le16_to_cpu
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, 24(%rbx)
	leaq	(%r12,%r15), %r14
	addq	$2, %r14
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_6
## %bb.5:
	addq	%r15, %r12
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	callq	_memcpy
	addq	$5, %r12
	addl	$-10, %r13d
	movq	%r12, %r14
	jmp	LBB0_7
LBB0_53:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	addq	$4, %rdi
	callq	_spin_unlock_bh
	movq	_WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_cpu_to_le16
	movb	%al, -60(%rbp)
	movq	_IEEE80211_FTYPE_MGMT@GOTPCREL(%rip), %rax
	movq	_IEEE80211_STYPE_DEAUTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	(%r12), %r8d
	leaq	-60(%rbp), %rdx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_prism2_send_mgmt
	movq	-112(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_51
LBB0_6:
	addl	$-4, %r13d
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_eth_zero_addr
LBB0_7:
	cmpl	$2, %r13d
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jl	LBB0_11
## %bb.8:
	movb	(%r14), %al
	movq	_WLAN_EID_SSID@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_19
## %bb.9:
	movzbl	1(%r14), %ebx
	addl	$-2, %r13d
	subl	%ebx, %r13d
	jb	LBB0_11
## %bb.10:
	movq	_MAX_SSID_LEN@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jb	LBB0_11
## %bb.13:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %edi
	callq	_strlen
	cmpl	%ebx, %eax
	jne	LBB0_15
## %bb.14:
	addq	$2, %r14
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_16
LBB0_15:
	movq	_WLAN_STATUS_ASSOC_DENIED_UNSPEC@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_16:
	movl	%ebx, %eax
	addq	%rax, %r14
	cmpl	$2, %r13d
	jl	LBB0_17
## %bb.18:
	movb	(%r14), %al
	movq	-96(%rbp), %r12                 ## 8-byte Reload
LBB0_19:
	movq	_WLAN_EID_SUPP_RATES@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_25
## %bb.20:
	movzbl	1(%r14), %ebx
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.21:
	addl	$-2, %r13d
	subl	%ebx, %r13d
	jb	LBB0_11
## %bb.22:
	movq	_WLAN_SUPP_RATES_MAX@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jb	LBB0_11
## %bb.23:
	leaq	2(%r14), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	16(%r12), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	16(%r12), %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	movq	%r12, %rdi
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	callq	_prism2_check_tx_rates
	movl	%ebx, %eax
	addq	%rax, %r14
	addq	$2, %r14
	testl	%r13d, %r13d
	jle	LBB0_28
LBB0_25:
	movq	_DEBUG_AP@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%r12), %edx
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %ecx
	leaq	L_.str.6(%rip), %rsi
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_PDEBUG
	incl	%r13d
	leaq	L_.str.7(%rip), %rbx
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movzbl	(%r14), %edx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_PDEBUG2
	incq	%r14
	decl	%r13d
	cmpl	$1, %r13d
	ja	LBB0_26
## %bb.27:
	movl	(%r15), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_PDEBUG2
	movq	-112(%rbp), %r15                ## 8-byte Reload
LBB0_28:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	cmpl	$0, 4(%r14)
	jle	LBB0_30
## %bb.29:
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_36
LBB0_11:
	movq	_WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPCREL(%rip), %rax
LBB0_12:
	movq	(%rax), %rbx
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
LBB0_36:
	movq	_WLAN_CAPABILITY_ESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_cpu_to_le16
	movb	%al, -60(%rbp)
	movq	%rbx, %r12
	movq	%rbx, %rdi
	callq	_cpu_to_le16
	movb	%al, -59(%rbp)
	movl	4(%r14), %eax
	xorl	%r14d, %r14d
	testl	%eax, %eax
	cmovgl	%eax, %r14d
	movl	$14, %edi
	callq	_BIT
	movq	%rax, %rbx
	movl	$15, %edi
	callq	_BIT
	orq	%rax, %rbx
	orq	%r14, %rbx
	movq	%rbx, %rdi
	callq	_cpu_to_le16
	movb	%al, -58(%rbp)
	movq	_WLAN_EID_SUPP_RATES@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, -57(%rbp)
	movb	$0, -56(%rbp)
	movl	(%r13), %eax
	movq	_WLAN_RATE_1M@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_37
## %bb.38:
	andl	4(%r13), %ecx
	movl	$2, %ecx
	movl	$130, %edx
	cmovel	%ecx, %edx
	leaq	-54(%rbp), %rcx
	movb	%dl, -55(%rbp)
	movb	$1, -56(%rbp)
	movb	$2, %dl
	jmp	LBB0_39
LBB0_37:
	leaq	-55(%rbp), %rcx
	movb	$1, %dl
LBB0_39:
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
	movq	_WLAN_RATE_2M@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%eax, %esi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_41
## %bb.40:
	andl	4(%r13), %esi
	movl	$4, %esi
	movl	$132, %edi
	cmovel	%esi, %edi
	movb	%dil, (%rcx)
	incq	%rcx
	movb	%dl, -56(%rbp)
LBB0_41:
	movq	_WLAN_RATE_5M5@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%eax, %edx
	je	LBB0_43
## %bb.42:
	andl	4(%r13), %edx
	movl	$11, %eax
	movl	$139, %edx
	cmovel	%eax, %edx
	movb	%dl, (%rcx)
	incq	%rcx
	incb	-56(%rbp)
	movl	(%r13), %eax
LBB0_43:
	movq	_WLAN_RATE_11M@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%eax, %edx
	je	LBB0_45
## %bb.44:
	andl	4(%r13), %edx
	movl	$22, %eax
	movl	$150, %edx
	cmovel	%eax, %edx
	movb	%dl, (%rcx)
	incq	%rcx
	incb	-56(%rbp)
LBB0_45:
	movq	_IEEE80211_FTYPE_MGMT@GOTPCREL(%rip), %rax
	testl	%ebx, %ebx
	jne	LBB0_46
## %bb.47:
	movq	_IEEE80211_STYPE_ASSOC_RESP@GOTPCREL(%rip), %rdx
	jmp	LBB0_48
LBB0_46:
	movq	_IEEE80211_STYPE_REASSOC_RESP@GOTPCREL(%rip), %rdx
LBB0_48:
	movq	_WLAN_STATUS_SUCCESS@GOTPCREL(%rip), %rbx
	movl	(%rdx), %esi
	orl	(%rax), %esi
	leaq	-60(%rbp), %rdx
	subq	%rdx, %rcx
	shrq	$2, %rcx
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %r8d
	movq	8(%r13), %rax
	movl	(%rax), %r9d
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_prism2_send_mgmt
	cmpq	(%rbx), %r12
	jne	LBB0_50
## %bb.49:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
LBB0_50:
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	callq	_atomic_dec
LBB0_51:
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_54
## %bb.52:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	8(%r13), %rdi
	addq	$4, %rdi
	callq	_spin_lock_bh
	movq	_MAX_AID_TABLE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r13), %rdi
	testl	%eax, %eax
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	jle	LBB0_34
## %bb.31:
	movq	8(%rdi), %rcx
	incq	%rax
	movl	$1, %esi
	xorl	%edx, %edx
	movabsq	$4294967296, %r8                ## imm = 0x100000000
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -8(%rcx,%rsi,8)
	je	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	incq	%rsi
	addq	%r8, %rdx
	cmpq	%rsi, %rax
	jne	LBB0_32
LBB0_34:
	movl	$0, 4(%r14)
	addq	$4, %rdi
	callq	_spin_unlock_bh
	movq	_WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_36
LBB0_35:
	movl	%esi, 4(%r14)
	sarq	$29, %rdx
	movq	%r14, (%rcx,%rdx)
	movq	8(%r13), %rdi
	addq	$4, %rdi
	callq	_spin_unlock_bh
	jmp	LBB0_36
LBB0_17:
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	testl	%r13d, %r13d
	jg	LBB0_25
	jmp	LBB0_28
LBB0_54:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_STATUS_SUCCESS,8,3        ## @WLAN_STATUS_SUCCESS
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_IEEE80211_MGMT_HDR_LEN,4,2     ## @IEEE80211_MGMT_HDR_LEN
	.comm	_DEBUG_AP,4,2                   ## @DEBUG_AP
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"%s: handle_assoc - too short payload (len=%d, reassoc=%d) from %pM\n"

	.comm	_WLAN_STA_AUTH,4,2              ## @WLAN_STA_AUTH
	.comm	_WLAN_STATUS_UNSPECIFIED_FAILURE,8,3 ## @WLAN_STATUS_UNSPECIFIED_FAILURE
	.comm	_WLAN_EID_SSID,1,0              ## @WLAN_EID_SSID
	.comm	_MAX_SSID_LEN,4,2               ## @MAX_SSID_LEN
	.comm	_WLAN_STATUS_ASSOC_DENIED_UNSPEC,8,3 ## @WLAN_STATUS_ASSOC_DENIED_UNSPEC
	.comm	_WLAN_EID_SUPP_RATES,1,0        ## @WLAN_EID_SUPP_RATES
	.comm	_WLAN_SUPP_RATES_MAX,4,2        ## @WLAN_SUPP_RATES_MAX
L_.str.6:                               ## @.str.6
	.asciz	"%s: assoc from %pM with extra data (%d bytes) ["

L_.str.7:                               ## @.str.7
	.asciz	"<%02x>"

L_.str.8:                               ## @.str.8
	.asciz	"]\n"

	.comm	_MAX_AID_TABLE_SIZE,4,2         ## @MAX_AID_TABLE_SIZE
	.comm	_WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA,8,3 ## @WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA
	.comm	_WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH,8,3 ## @WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH
	.comm	_WLAN_CAPABILITY_ESS,8,3        ## @WLAN_CAPABILITY_ESS
	.comm	_WLAN_RATE_1M,4,2               ## @WLAN_RATE_1M
	.comm	_WLAN_RATE_2M,4,2               ## @WLAN_RATE_2M
	.comm	_WLAN_RATE_5M5,4,2              ## @WLAN_RATE_5M5
	.comm	_WLAN_RATE_11M,4,2              ## @WLAN_RATE_11M
	.comm	_IEEE80211_FTYPE_MGMT,4,2       ## @IEEE80211_FTYPE_MGMT
	.comm	_IEEE80211_STYPE_DEAUTH,4,2     ## @IEEE80211_STYPE_DEAUTH
	.comm	_IEEE80211_STYPE_REASSOC_RESP,4,2 ## @IEEE80211_STYPE_REASSOC_RESP
	.comm	_IEEE80211_STYPE_ASSOC_RESP,4,2 ## @IEEE80211_STYPE_ASSOC_RESP
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_handle_assoc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_assoc
_handle_assoc:                          ; @handle_assoc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
	mov	x20, x3
	mov	x25, x1
	mov	x21, x0
	mov	x23, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x19, [x0, #24]
	ldr	x24, [x1, #8]
Lloh3:
	adrp	x8, _WLAN_STATUS_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WLAN_STATUS_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
Lloh6:
	adrp	x22, _ETH_ALEN@GOTPAGE
Lloh7:
	ldr	x22, [x22, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x22]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x27, x9, x8
	mov	sp, x27
	ldr	w8, [x1]
Lloh10:
	adrp	x28, _IEEE80211_MGMT_HDR_LEN@GOTPAGE
Lloh11:
	ldr	x28, [x28, _IEEE80211_MGMT_HDR_LEN@GOTPAGEOFF]
	ldr	w9, [x28]
	mov	w10, #10
	mov	w11, #4
	cmp	w3, #0
	csel	w10, w11, w10, eq
	sub	w26, w8, w9
	cmp	w26, w10
	b.ge	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _DEBUG_AP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DEBUG_AP@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w2, [x19]
	ldr	w8, [x24]
	stp	x20, x8, [sp, #-16]!
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x3, x26
	bl	_PDEBUG
	add	sp, sp, #16
	b	LBB0_42
LBB0_2:
	stur	x23, [x29, #-120]               ; 8-byte Folded Spill
	ldr	x8, [x21, #8]
	add	x0, x8, #4
	bl	_spin_lock_bh
	ldr	x0, [x21, #8]
	ldr	w1, [x24]
	bl	_ap_get_sta
	cbz	x0, LBB0_6
; %bb.3:
	mov	x23, x0
	ldr	w8, [x0]
Lloh17:
	adrp	x9, _WLAN_STA_AUTH@GOTPAGE
Lloh18:
	ldr	x9, [x9, _WLAN_STA_AUTH@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	add	x0, x23, #8
	stur	x0, [x29, #-128]                ; 8-byte Folded Spill
	bl	_atomic_inc
	ldr	x8, [x21, #8]
	add	x0, x8, #4
	bl	_spin_unlock_bh
	ldr	x8, [x25, #8]
	ldrsw	x9, [x28]
	add	x28, x8, x9
	ldrb	w0, [x28]
	bl	___le16_to_cpu
	str	x0, [x23, #32]
	ldrb	w0, [x28, #1]
	bl	___le16_to_cpu
	str	x0, [x23, #24]
	add	x25, x28, #2
	cbz	w20, LBB0_7
; %bb.5:
	ldr	w2, [x22]
	mov	x0, x27
	mov	x1, x25
	bl	_memcpy
	add	x25, x28, #5
	sub	w22, w26, #10
	b	LBB0_8
LBB0_6:
	ldr	x8, [x21, #8]
	add	x0, x8, #4
	bl	_spin_unlock_bh
Lloh20:
	adrp	x8, _WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH@GOTPAGEOFF]
Lloh22:
	ldr	x0, [x8]
	bl	_cpu_to_le16
	sturb	w0, [x29, #-100]
Lloh23:
	adrp	x8, _IEEE80211_FTYPE_MGMT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IEEE80211_FTYPE_MGMT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _IEEE80211_STYPE_DEAUTH@GOTPAGE
Lloh27:
	ldr	x9, [x9, _IEEE80211_STYPE_DEAUTH@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w1, w9, w8
	ldr	w4, [x24]
	sub	x2, x29, #100
	mov	x0, x19
	mov	w3, #0
	mov	w5, #0
	bl	_prism2_send_mgmt
	b	LBB0_41
LBB0_7:
	sub	w22, w26, #4
	mov	x0, x27
	bl	_eth_zero_addr
LBB0_8:
Lloh29:
	adrp	x27, _WLAN_EID_SUPP_RATES@GOTPAGE
Lloh30:
	ldr	x27, [x27, _WLAN_EID_SUPP_RATES@GOTPAGEOFF]
	subs	w9, w22, #2
	b.lt	LBB0_27
; %bb.9:
	ldrb	w8, [x25]
Lloh31:
	adrp	x10, _WLAN_EID_SSID@GOTPAGE
Lloh32:
	ldr	x10, [x10, _WLAN_EID_SSID@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w8, w10
	b.ne	LBB0_16
; %bb.10:
	ldrb	w26, [x25, #1]
Lloh33:
	adrp	x8, _MAX_SSID_LEN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MAX_SSID_LEN@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	subs	w22, w9, w26
	ccmp	w8, w26, #0, hs
	b.lo	LBB0_27
; %bb.11:
	ldr	w0, [x21, #16]
	bl	_strlen
	cmp	w0, w26
	b.ne	LBB0_13
; %bb.12:
	add	x25, x25, #2
	ldr	w0, [x21, #16]
	mov	x1, x25
	mov	x2, x26
	bl	_memcmp
	cbz	x0, LBB0_14
LBB0_13:
Lloh36:
	adrp	x8, _WLAN_STATUS_ASSOC_DENIED_UNSPEC@GOTPAGE
Lloh37:
	ldr	x8, [x8, _WLAN_STATUS_ASSOC_DENIED_UNSPEC@GOTPAGEOFF]
	b	LBB0_28
LBB0_14:
	add	x25, x25, w26, uxtw
	cmp	w22, #1
	b.le	LBB0_21
; %bb.15:
	ldrb	w8, [x25]
LBB0_16:
	ldrb	w9, [x27]
	cmp	w8, w9
	b.ne	LBB0_22
; %bb.17:
	ldrb	w26, [x25, #1]
	cbz	w26, LBB0_27
; %bb.18:
	sub	w8, w22, #2
	subs	w22, w8, w26
	b.lo	LBB0_27
; %bb.19:
Lloh38:
	adrp	x8, _WLAN_SUPP_RATES_MAX@GOTPAGE
Lloh39:
	ldr	x8, [x8, _WLAN_SUPP_RATES_MAX@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	w8, w26
	b.lo	LBB0_27
; %bb.20:
	add	x25, x25, #2
	ldr	x0, [x23, #16]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x0, [x23, #16]
	mov	x1, x25
	mov	x2, x26
	bl	_memcpy
	mov	x0, x23
	bl	_prism2_check_tx_rates
	add	x25, x25, w26, uxtw
LBB0_21:
	cmp	w22, #1
	b.lt	LBB0_25
LBB0_22:
Lloh41:
	adrp	x28, _DEBUG_AP@GOTPAGE
Lloh42:
	ldr	x28, [x28, _DEBUG_AP@GOTPAGEOFF]
	ldr	w0, [x28]
	ldr	w2, [x19]
	ldr	w3, [x24]
	str	x22, [sp, #-16]!
Lloh43:
	adrp	x1, l_.str.6@PAGE
Lloh44:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_PDEBUG
	add	sp, sp, #16
	add	w22, w22, #1
Lloh45:
	adrp	x26, l_.str.7@PAGE
Lloh46:
	add	x26, x26, l_.str.7@PAGEOFF
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x28]
	ldrb	w8, [x25], #1
	str	x8, [sp, #-16]!
	mov	x1, x26
	bl	_PDEBUG2
	add	sp, sp, #16
	sub	w22, w22, #1
	cmp	w22, #1
	b.hi	LBB0_23
; %bb.24:
	ldr	w0, [x28]
Lloh47:
	adrp	x1, l_.str.8@PAGE
Lloh48:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_PDEBUG2
LBB0_25:
	ldr	w8, [x23, #4]
	cmp	w8, #0
	b.le	LBB0_44
; %bb.26:
	ldur	x25, [x29, #-112]               ; 8-byte Folded Reload
	b	LBB0_29
LBB0_27:
Lloh49:
	adrp	x8, _WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPAGEOFF]
LBB0_28:
	ldr	x25, [x8]
LBB0_29:
Lloh51:
	adrp	x8, _WLAN_CAPABILITY_ESS@GOTPAGE
Lloh52:
	ldr	x8, [x8, _WLAN_CAPABILITY_ESS@GOTPAGEOFF]
Lloh53:
	ldr	x0, [x8]
	bl	_cpu_to_le16
	sturb	w0, [x29, #-100]
	mov	x0, x25
	bl	_cpu_to_le16
	sturb	w0, [x29, #-99]
	ldr	w8, [x23, #4]
	cmp	w8, #0
	csel	w22, w8, wzr, gt
	mov	w0, #14
	bl	_BIT
	orr	x22, x0, x22
	mov	w0, #15
	bl	_BIT
	orr	x0, x22, x0
	bl	_cpu_to_le16
	sturb	w0, [x29, #-98]
	ldrb	w8, [x27]
	sturb	w8, [x29, #-97]
	sub	x8, x29, #100
	sturb	wzr, [x29, #-96]
	ldr	w9, [x21]
Lloh54:
	adrp	x10, _WLAN_RATE_1M@GOTPAGE
Lloh55:
	ldr	x10, [x10, _WLAN_RATE_1M@GOTPAGEOFF]
Lloh56:
	ldr	w11, [x10]
	mov	w10, #1
	tst	w11, w9
	b.eq	LBB0_31
; %bb.30:
	ldr	w12, [x21, #4]
	tst	w12, w11
	mov	w11, #-126
	mov	w12, #2
	csel	w11, w12, w11, eq
	add	x8, x8, #6
	sturb	w11, [x29, #-95]
	sturb	w10, [x29, #-96]
	mov	w10, #2
	b	LBB0_32
LBB0_31:
	add	x8, x8, #5
LBB0_32:
Lloh57:
	adrp	x11, _WLAN_RATE_2M@GOTPAGE
Lloh58:
	ldr	x11, [x11, _WLAN_RATE_2M@GOTPAGEOFF]
Lloh59:
	ldr	w11, [x11]
	tst	w11, w9
	b.eq	LBB0_34
; %bb.33:
	ldr	w12, [x21, #4]
	tst	w12, w11
	mov	w11, #-124
	mov	w12, #4
	csel	w11, w12, w11, eq
	strb	w11, [x8], #1
	sturb	w10, [x29, #-96]
LBB0_34:
Lloh60:
	adrp	x10, _WLAN_RATE_5M5@GOTPAGE
Lloh61:
	ldr	x10, [x10, _WLAN_RATE_5M5@GOTPAGEOFF]
Lloh62:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_36
; %bb.35:
	ldr	w9, [x21, #4]
	tst	w9, w10
	mov	w9, #-117
	mov	w10, #11
	csel	w9, w10, w9, eq
	strb	w9, [x8], #1
	ldurb	w9, [x29, #-96]
	add	w9, w9, #1
	sturb	w9, [x29, #-96]
	ldr	w9, [x21]
LBB0_36:
Lloh63:
	adrp	x10, _WLAN_RATE_11M@GOTPAGE
Lloh64:
	ldr	x10, [x10, _WLAN_RATE_11M@GOTPAGEOFF]
Lloh65:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_38
; %bb.37:
	ldr	w9, [x21, #4]
	tst	w9, w10
	mov	w9, #-106
	mov	w10, #22
	csel	w9, w10, w9, eq
	strb	w9, [x8], #1
	ldurb	w9, [x29, #-96]
	add	w9, w9, #1
	sturb	w9, [x29, #-96]
LBB0_38:
Lloh66:
	adrp	x9, _IEEE80211_FTYPE_MGMT@GOTPAGE
Lloh67:
	ldr	x9, [x9, _IEEE80211_FTYPE_MGMT@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
Lloh69:
	adrp	x10, _IEEE80211_STYPE_REASSOC_RESP@GOTPAGE
Lloh70:
	ldr	x10, [x10, _IEEE80211_STYPE_REASSOC_RESP@GOTPAGEOFF]
Lloh71:
	adrp	x11, _IEEE80211_STYPE_ASSOC_RESP@GOTPAGE
Lloh72:
	ldr	x11, [x11, _IEEE80211_STYPE_ASSOC_RESP@GOTPAGEOFF]
	cmp	w20, #0
	csel	x10, x11, x10, eq
	ldr	w10, [x10]
	orr	w1, w10, w9
	sub	x9, x29, #100
	sub	x8, x8, x9
	lsr	x3, x8, #2
	ldr	w4, [x24]
	ldr	x8, [x21, #8]
	ldr	w5, [x8]
	sub	x2, x29, #100
	mov	x0, x19
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_prism2_send_mgmt
Lloh73:
	adrp	x8, _WLAN_STATUS_SUCCESS@GOTPAGE
Lloh74:
	ldr	x8, [x8, _WLAN_STATUS_SUCCESS@GOTPAGEOFF]
Lloh75:
	ldr	x8, [x8]
	cmp	x25, x8
	b.ne	LBB0_40
; %bb.39:
Lloh76:
	adrp	x8, _jiffies@GOTPAGE
Lloh77:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
	str	w8, [x23, #12]
LBB0_40:
	ldur	x0, [x29, #-128]                ; 8-byte Folded Reload
	bl	_atomic_dec
LBB0_41:
	ldur	x23, [x29, #-120]               ; 8-byte Folded Reload
LBB0_42:
	mov	sp, x23
	ldur	x8, [x29, #-88]
Lloh79:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh80:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh81:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_50
; %bb.43:
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_44:
	ldr	x8, [x21, #8]
	add	x0, x8, #4
	bl	_spin_lock_bh
Lloh82:
	adrp	x8, _MAX_AID_TABLE_SIZE@GOTPAGE
Lloh83:
	ldr	x8, [x8, _MAX_AID_TABLE_SIZE@GOTPAGEOFF]
Lloh84:
	ldr	w9, [x8]
	ldr	x8, [x21, #8]
	cmp	w9, #1
	ldur	x25, [x29, #-112]               ; 8-byte Folded Reload
	b.lt	LBB0_48
; %bb.45:
	mov	x12, #0
	mov	x10, #0
	ldr	x11, [x8, #8]
	mov	x13, #4294967296
LBB0_46:                                ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x11, x12, lsl #3]
	cbz	x14, LBB0_49
; %bb.47:                               ;   in Loop: Header=BB0_46 Depth=1
	add	x10, x10, x13
	add	x12, x12, #1
	cmp	x9, x12
	b.ne	LBB0_46
LBB0_48:
	str	wzr, [x23, #4]
	add	x0, x8, #4
	bl	_spin_unlock_bh
Lloh85:
	adrp	x8, _WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA@GOTPAGE
Lloh86:
	ldr	x8, [x8, _WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA@GOTPAGEOFF]
	b	LBB0_28
LBB0_49:
	add	w8, w12, #1
	str	w8, [x23, #4]
	asr	x8, x10, #29
	str	x23, [x11, x8]
	ldr	x8, [x21, #8]
	add	x0, x8, #4
	bl	_spin_unlock_bh
	b	LBB0_29
LBB0_50:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh85, Lloh86
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_STATUS_SUCCESS,8,3        ; @WLAN_STATUS_SUCCESS
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_IEEE80211_MGMT_HDR_LEN,4,2     ; @IEEE80211_MGMT_HDR_LEN
	.comm	_DEBUG_AP,4,2                   ; @DEBUG_AP
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"%s: handle_assoc - too short payload (len=%d, reassoc=%d) from %pM\n"

	.comm	_WLAN_STA_AUTH,4,2              ; @WLAN_STA_AUTH
	.comm	_WLAN_STATUS_UNSPECIFIED_FAILURE,8,3 ; @WLAN_STATUS_UNSPECIFIED_FAILURE
	.comm	_WLAN_EID_SSID,1,0              ; @WLAN_EID_SSID
	.comm	_MAX_SSID_LEN,4,2               ; @MAX_SSID_LEN
	.comm	_WLAN_STATUS_ASSOC_DENIED_UNSPEC,8,3 ; @WLAN_STATUS_ASSOC_DENIED_UNSPEC
	.comm	_WLAN_EID_SUPP_RATES,1,0        ; @WLAN_EID_SUPP_RATES
	.comm	_WLAN_SUPP_RATES_MAX,4,2        ; @WLAN_SUPP_RATES_MAX
l_.str.6:                               ; @.str.6
	.asciz	"%s: assoc from %pM with extra data (%d bytes) ["

l_.str.7:                               ; @.str.7
	.asciz	"<%02x>"

l_.str.8:                               ; @.str.8
	.asciz	"]\n"

	.comm	_MAX_AID_TABLE_SIZE,4,2         ; @MAX_AID_TABLE_SIZE
	.comm	_WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA,8,3 ; @WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA
	.comm	_WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH,8,3 ; @WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH
	.comm	_WLAN_CAPABILITY_ESS,8,3        ; @WLAN_CAPABILITY_ESS
	.comm	_WLAN_RATE_1M,4,2               ; @WLAN_RATE_1M
	.comm	_WLAN_RATE_2M,4,2               ; @WLAN_RATE_2M
	.comm	_WLAN_RATE_5M5,4,2              ; @WLAN_RATE_5M5
	.comm	_WLAN_RATE_11M,4,2              ; @WLAN_RATE_11M
	.comm	_IEEE80211_FTYPE_MGMT,4,2       ; @IEEE80211_FTYPE_MGMT
	.comm	_IEEE80211_STYPE_DEAUTH,4,2     ; @IEEE80211_STYPE_DEAUTH
	.comm	_IEEE80211_STYPE_REASSOC_RESP,4,2 ; @IEEE80211_STYPE_REASSOC_RESP
	.comm	_IEEE80211_STYPE_ASSOC_RESP,4,2 ; @IEEE80211_STYPE_ASSOC_RESP
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_handle_assoc
.subsections_via_symbols
