	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostap_auth_shared
_hostap_auth_shared:                    ## @hostap_auth_shared
	.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
	movl	%r9d, -56(%rbp)                 ## 4-byte Spill
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movl	16(%rbp), %r14d
	movq	32(%rdi), %rbx
	movq	(%rbx), %rsi
	movq	_IEEE80211_S_RUN@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rsi
	sete	%dil
	callq	_KASSERT
	movq	_IEEE80211_F_PRIVACY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_4
## %bb.1:
	movl	(%r15), %r9d
	movq	_IEEE80211_AUTH_AUTO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r9d
	je	LBB0_5
## %bb.2:
	movq	_IEEE80211_AUTH_SHARED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r9d
	je	LBB0_5
## %bb.3:
	movq	_IEEE80211_MSG_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edx
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.4(%rip), %r8
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_IEEE80211_DISCARD_MAC
	incl	12(%rbx)
	movq	_IEEE80211_STATUS_ALG@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_4:
	movq	_IEEE80211_MSG_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edx
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %r8
	leaq	L_.str.3(%rip), %r9
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_IEEE80211_DISCARD_MAC
	movq	_IEEE80211_STATUS_ALG@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_5:
	leaq	4(%r13), %rax
	cmpq	%r12, %rax
	jae	LBB0_8
## %bb.6:
	movslq	4(%r13), %rax
	addq	$2, %rax
	subq	%r13, %r12
	sarq	$2, %r12
	cmpq	%rax, %r12
	jge	LBB0_9
## %bb.7:
	movq	_IEEE80211_MSG_AUTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	12(%r15), %edx
	movl	(%r13), %r9d
	subq	%r12, %rax
	movq	%rax, (%rsp)
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.5(%rip), %r8
	jmp	LBB0_23
LBB0_8:
	xorl	%esi, %esi
	cmpl	$130, %r14d
	jne	LBB0_10
	jmp	LBB0_12
LBB0_9:
	movl	(%r13), %eax
	movq	_IEEE80211_ELEMID_CHALLENGE@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpl	(%rcx), %eax
	cmoveq	%r13, %rsi
	cmpl	$130, %r14d
	je	LBB0_12
LBB0_10:
	cmpl	$129, %r14d
	je	LBB0_16
## %bb.11:
	cmpl	$128, %r14d
	jne	LBB0_19
LBB0_12:
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.13:
	movl	4(%rsi), %r9d
	movq	_IEEE80211_CHALLENGE_LEN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r9d
	jne	LBB0_22
## %bb.14:
	cmpl	$128, %r14d
	je	LBB0_34
## %bb.15:
	cmpl	$129, %r14d
	jne	LBB0_19
LBB0_16:
	movq	24(%rbx), %r12
	cmpq	%r15, %r12
	je	LBB0_27
## %bb.17:
	movq	_IEEE80211_NODE_AREF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r15, %r13
	testl	%eax, 4(%r15)
	jne	LBB0_28
## %bb.18:
	movq	%r15, %rdi
	callq	_ieee80211_ref_node
	movq	%r15, %r13
	jmp	LBB0_28
LBB0_19:
	movq	_IEEE80211_MSG_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edx
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.17(%rip), %r8
	movq	%rbx, %rdi
	movl	%r14d, %r9d
	xorl	%eax, %eax
	callq	_IEEE80211_DISCARD_MAC
	incl	12(%rbx)
	movq	_IEEE80211_STATUS_SEQUENCE@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_20:
	movq	_IEEE80211_MSG_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edx
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %r8
	leaq	L_.str.6(%rip), %r9
LBB0_21:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_IEEE80211_DISCARD_MAC
	jmp	LBB0_24
LBB0_22:
	movq	_IEEE80211_MSG_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edx
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.7(%rip), %r8
LBB0_23:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_IEEE80211_DISCARD_MAC
LBB0_24:
	incl	12(%rbx)
LBB0_25:
	movq	_IEEE80211_STATUS_CHALLENGE@GOTPCREL(%rip), %rax
LBB0_26:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rax), %ecx
	movl	(%rdx), %esi
	movq	_IEEE80211_FC0_SUBTYPE_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	incl	%r14d
	shll	$16, %ecx
	orl	%r14d, %ecx
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_send_error           ## TAILCALL
LBB0_27:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ieee80211_dup_bss
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_32
LBB0_28:
	movq	_IEEE80211_NODE_AREF@GOTPCREL(%rip), %rax
	movl	4(%r13), %ecx
	movl	24(%r13), %edi
	orl	(%rax), %ecx
	movq	_IEEE80211_NODE_ASSOCID@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%r13)
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_IEEE80211_RSSI_LPF
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r13)
	movq	%r13, %rdi
	callq	_ieee80211_alloc_challenge
	testl	%eax, %eax
	je	LBB0_32
## %bb.29:
	movq	16(%r13), %rdi
	movq	_IEEE80211_CHALLENGE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_get_random_bytes
	movq	_IEEE80211_MSG_DEBUG@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_AUTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	cmpq	%r15, %r12
	leaq	L_.str.9(%rip), %rax
	leaq	L_.str.10(%rip), %r8
	cmoveq	%rax, %r8
	leaq	L_.str.8(%rip), %rcx
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_IEEE80211_NOTE
	movq	32(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_38
## %bb.30:
	movq	%rbx, %rdi
	callq	*(%rcx)
	movq	_IEEE80211_MACCMD_POLICY_RADIUS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_38
## %bb.31:
	movq	_IEEE80211_MSG_ACL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IEEE80211_MSG_AUTH@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	12(%r13), %edx
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.11(%rip), %r8
	movq	%rbx, %rdi
	callq	_IEEE80211_NOTE_MAC
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_notify_node_auth     ## TAILCALL
LBB0_32:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	movq	%r13, %r15
LBB0_39:
	movq	_IEEE80211_FC0_SUBTYPE_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incl	%r14d
	movq	%r15, %rdi
	movl	%r14d, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IEEE80211_SEND_MGMT            ## TAILCALL
LBB0_34:
	cmpq	%r15, 24(%rbx)
	je	LBB0_40
## %bb.35:
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_41
## %bb.36:
	addq	$8, %rsi
	movl	%r9d, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_42
## %bb.37:
	movq	_IEEE80211_MSG_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edx
	leaq	L_.str.12(%rip), %rcx
	leaq	L_.str.2(%rip), %r8
	leaq	L_.str.15(%rip), %r9
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_IEEE80211_DISCARD_MAC
	incl	16(%rbx)
	jmp	LBB0_25
LBB0_40:
	movq	_IEEE80211_MSG_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edx
	leaq	L_.str.12(%rip), %rcx
	leaq	L_.str.2(%rip), %r8
	leaq	L_.str.13(%rip), %r9
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IEEE80211_DISCARD_MAC          ## TAILCALL
LBB0_41:
	movq	_IEEE80211_MSG_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edx
	leaq	L_.str.12(%rip), %rcx
	leaq	L_.str.2(%rip), %r8
	leaq	L_.str.14(%rip), %r9
	jmp	LBB0_21
LBB0_42:
	movq	_IEEE80211_MSG_DEBUG@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_AUTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.16(%rip), %r8
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_IEEE80211_NOTE
	movq	%r15, %rdi
	callq	_ieee80211_node_authorize
	jmp	LBB0_39
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_S_RUN,8,3            ## @IEEE80211_S_RUN
	.comm	_IEEE80211_F_PRIVACY,4,2        ## @IEEE80211_F_PRIVACY
	.comm	_IEEE80211_MSG_AUTH,4,2         ## @IEEE80211_MSG_AUTH
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"shared key auth"

L_.str.2:                               ## @.str.2
	.asciz	"%s"

L_.str.3:                               ## @.str.3
	.asciz	" PRIVACY is disabled"

	.comm	_IEEE80211_STATUS_ALG,4,2       ## @IEEE80211_STATUS_ALG
	.comm	_IEEE80211_AUTH_AUTO,4,2        ## @IEEE80211_AUTH_AUTO
	.comm	_IEEE80211_AUTH_SHARED,4,2      ## @IEEE80211_AUTH_SHARED
L_.str.4:                               ## @.str.4
	.asciz	"bad sta auth mode %u"

L_.str.5:                               ## @.str.5
	.asciz	"ie %d/%d too long"

	.comm	_IEEE80211_STATUS_CHALLENGE,4,2 ## @IEEE80211_STATUS_CHALLENGE
	.comm	_IEEE80211_ELEMID_CHALLENGE,4,2 ## @IEEE80211_ELEMID_CHALLENGE
L_.str.6:                               ## @.str.6
	.asciz	"no challenge"

	.comm	_IEEE80211_CHALLENGE_LEN,4,2    ## @IEEE80211_CHALLENGE_LEN
L_.str.7:                               ## @.str.7
	.asciz	"bad challenge len %d"

	.comm	_IEEE80211_NODE_AREF,4,2        ## @IEEE80211_NODE_AREF
	.comm	_IEEE80211_NODE_ASSOCID,4,2     ## @IEEE80211_NODE_ASSOCID
	.comm	_IEEE80211_MSG_DEBUG,4,2        ## @IEEE80211_MSG_DEBUG
L_.str.8:                               ## @.str.8
	.asciz	"shared key %sauth request"

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

L_.str.10:                              ## @.str.10
	.asciz	"re"

	.comm	_IEEE80211_MACCMD_POLICY_RADIUS,4,2 ## @IEEE80211_MACCMD_POLICY_RADIUS
	.comm	_IEEE80211_MSG_ACL,4,2          ## @IEEE80211_MSG_ACL
L_.str.11:                              ## @.str.11
	.asciz	"station authentication defered (radius acl)"

L_.str.12:                              ## @.str.12
	.asciz	"shared key response"

L_.str.13:                              ## @.str.13
	.asciz	"unknown station"

L_.str.14:                              ## @.str.14
	.asciz	"no challenge recorded"

L_.str.15:                              ## @.str.15
	.asciz	"challenge mismatch"

L_.str.16:                              ## @.str.16
	.asciz	"station authenticated (shared key)"

L_.str.17:                              ## @.str.17
	.asciz	"bad seq %d"

	.comm	_IEEE80211_STATUS_SEQUENCE,4,2  ## @IEEE80211_STATUS_SEQUENCE
	.comm	_IEEE80211_FC0_SUBTYPE_AUTH,4,2 ## @IEEE80211_FC0_SUBTYPE_AUTH
	.no_dead_strip	_hostap_auth_shared
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostap_auth_shared
_hostap_auth_shared:                    ; @hostap_auth_shared
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x6
	mov	x23, x5
	mov	x24, x4
	mov	x26, x3
	mov	x25, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x21, [x0, #32]
	ldr	x1, [x21]
Lloh0:
	adrp	x8, _IEEE80211_S_RUN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_S_RUN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	cset	w0, eq
	bl	_KASSERT
	ldr	w8, [x21, #8]
Lloh3:
	adrp	x9, _IEEE80211_F_PRIVACY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_F_PRIVACY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _IEEE80211_AUTH_AUTO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_AUTH_AUTO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _IEEE80211_AUTH_SHARED@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IEEE80211_AUTH_SHARED@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_6
; %bb.2:
	add	x8, x25, #4
	cmp	x8, x26
	b.hs	LBB0_9
; %bb.3:
	ldrsw	x8, [x25, #4]
	add	x8, x8, #2
	sub	x9, x26, x25
	asr	x9, x9, #2
	cmp	x9, x8
	b.ge	LBB0_10
; %bb.4:
Lloh12:
	adrp	x10, _IEEE80211_MSG_AUTH@GOTPAGE
Lloh13:
	ldr	x10, [x10, _IEEE80211_MSG_AUTH@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x10]
	ldr	w2, [x20, #12]
	sub	x8, x8, x9
	ldr	w9, [x25]
Lloh15:
	adrp	x3, l_.str.1@PAGE
Lloh16:
	add	x3, x3, l_.str.1@PAGEOFF
Lloh17:
	adrp	x4, l_.str.5@PAGE
Lloh18:
	add	x4, x4, l_.str.5@PAGEOFF
	stp	x9, x8, [sp]
	b	LBB0_23
LBB0_5:
Lloh19:
	adrp	x8, _IEEE80211_MSG_AUTH@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IEEE80211_MSG_AUTH@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
Lloh22:
	adrp	x8, l_.str.3@PAGE
Lloh23:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh24:
	adrp	x3, l_.str.1@PAGE
Lloh25:
	add	x3, x3, l_.str.1@PAGEOFF
Lloh26:
	adrp	x4, l_.str.2@PAGE
Lloh27:
	add	x4, x4, l_.str.2@PAGEOFF
	str	x8, [sp]
	mov	x0, x21
	bl	_IEEE80211_DISCARD_MAC
	b	LBB0_7
LBB0_6:
Lloh28:
	adrp	x9, _IEEE80211_MSG_AUTH@GOTPAGE
Lloh29:
	ldr	x9, [x9, _IEEE80211_MSG_AUTH@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x9]
	ldr	w2, [x20, #12]
Lloh31:
	adrp	x3, l_.str.1@PAGE
Lloh32:
	add	x3, x3, l_.str.1@PAGEOFF
Lloh33:
	adrp	x4, l_.str.4@PAGE
Lloh34:
	add	x4, x4, l_.str.4@PAGEOFF
	str	x8, [sp]
	mov	x0, x21
	bl	_IEEE80211_DISCARD_MAC
	ldr	w8, [x21, #12]
	add	w8, w8, #1
	str	w8, [x21, #12]
LBB0_7:
Lloh35:
	adrp	x8, _IEEE80211_STATUS_ALG@GOTPAGE
Lloh36:
	ldr	x8, [x8, _IEEE80211_STATUS_ALG@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	ldr	w1, [x22]
Lloh37:
	adrp	x9, _IEEE80211_FC0_SUBTYPE_AUTH@GOTPAGE
Lloh38:
	ldr	x9, [x9, _IEEE80211_FC0_SUBTYPE_AUTH@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x9]
	add	w9, w19, #1
	orr	w3, w9, w8, lsl #16
	mov	x0, x20
	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
	add	sp, sp, #96
	b	_ieee80211_send_error
LBB0_9:
	mov	x8, #0
	cmp	w19, #130
	b.ne	LBB0_11
	b	LBB0_13
LBB0_10:
	ldr	w8, [x25]
Lloh40:
	adrp	x9, _IEEE80211_ELEMID_CHALLENGE@GOTPAGE
Lloh41:
	ldr	x9, [x9, _IEEE80211_ELEMID_CHALLENGE@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	x8, x25, xzr, eq
	cmp	w19, #130
	b.eq	LBB0_13
LBB0_11:
	cmp	w19, #129
	b.eq	LBB0_17
; %bb.12:
	cmp	w19, #128
	b.ne	LBB0_20
LBB0_13:
	cbz	x8, LBB0_21
; %bb.14:
	ldr	w2, [x8, #4]
Lloh43:
	adrp	x9, _IEEE80211_CHALLENGE_LEN@GOTPAGE
Lloh44:
	ldr	x9, [x9, _IEEE80211_CHALLENGE_LEN@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	cmp	w2, w9
	b.ne	LBB0_24
; %bb.15:
	cmp	w19, #128
	b.eq	LBB0_34
; %bb.16:
	cmp	w19, #129
	b.ne	LBB0_20
LBB0_17:
	ldr	x25, [x21, #24]
Lloh46:
	adrp	x26, _IEEE80211_NODE_AREF@GOTPAGE
Lloh47:
	ldr	x26, [x26, _IEEE80211_NODE_AREF@GOTPAGEOFF]
	cmp	x25, x20
	b.eq	LBB0_27
; %bb.18:
	ldr	w8, [x20, #4]
	ldr	w9, [x26]
	mov	x22, x20
	tst	w9, w8
	b.ne	LBB0_28
; %bb.19:
	mov	x0, x20
	bl	_ieee80211_ref_node
	mov	x22, x20
	b	LBB0_28
LBB0_20:
Lloh48:
	adrp	x8, _IEEE80211_MSG_AUTH@GOTPAGE
Lloh49:
	ldr	x8, [x8, _IEEE80211_MSG_AUTH@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
Lloh51:
	adrp	x3, l_.str.1@PAGE
Lloh52:
	add	x3, x3, l_.str.1@PAGEOFF
Lloh53:
	adrp	x4, l_.str.17@PAGE
Lloh54:
	add	x4, x4, l_.str.17@PAGEOFF
	str	x19, [sp]
	mov	x0, x21
	bl	_IEEE80211_DISCARD_MAC
	ldr	w8, [x21, #12]
	add	w8, w8, #1
	str	w8, [x21, #12]
Lloh55:
	adrp	x8, _IEEE80211_STATUS_SEQUENCE@GOTPAGE
Lloh56:
	ldr	x8, [x8, _IEEE80211_STATUS_SEQUENCE@GOTPAGEOFF]
	b	LBB0_8
LBB0_21:
Lloh57:
	adrp	x8, _IEEE80211_MSG_AUTH@GOTPAGE
Lloh58:
	ldr	x8, [x8, _IEEE80211_MSG_AUTH@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
Lloh60:
	adrp	x8, l_.str.6@PAGE
Lloh61:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh62:
	adrp	x3, l_.str.1@PAGE
Lloh63:
	add	x3, x3, l_.str.1@PAGEOFF
LBB0_22:
Lloh64:
	adrp	x4, l_.str.2@PAGE
Lloh65:
	add	x4, x4, l_.str.2@PAGEOFF
	str	x8, [sp]
LBB0_23:
	mov	x0, x21
	b	LBB0_25
LBB0_24:
Lloh66:
	adrp	x8, _IEEE80211_MSG_AUTH@GOTPAGE
Lloh67:
	ldr	x8, [x8, _IEEE80211_MSG_AUTH@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	ldr	w8, [x20, #12]
Lloh69:
	adrp	x3, l_.str.1@PAGE
Lloh70:
	add	x3, x3, l_.str.1@PAGEOFF
Lloh71:
	adrp	x4, l_.str.7@PAGE
Lloh72:
	add	x4, x4, l_.str.7@PAGEOFF
	str	x2, [sp]
	mov	x0, x21
	mov	x2, x8
LBB0_25:
	bl	_IEEE80211_DISCARD_MAC
	ldr	w8, [x21, #12]
	add	w8, w8, #1
	str	w8, [x21, #12]
LBB0_26:
Lloh73:
	adrp	x8, _IEEE80211_STATUS_CHALLENGE@GOTPAGE
Lloh74:
	ldr	x8, [x8, _IEEE80211_STATUS_CHALLENGE@GOTPAGEOFF]
	b	LBB0_8
LBB0_27:
	ldr	w1, [x22]
	mov	x0, x21
	bl	_ieee80211_dup_bss
	mov	x22, x0
	cbz	x0, LBB0_39
LBB0_28:
	ldr	w8, [x26]
	ldr	w9, [x22, #4]
	orr	w8, w9, w8
Lloh75:
	adrp	x9, _IEEE80211_NODE_ASSOCID@GOTPAGE
Lloh76:
	ldr	x9, [x9, _IEEE80211_NODE_ASSOCID@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x22, #4]
	ldr	w0, [x22, #24]
	mov	x1, x24
	bl	_IEEE80211_RSSI_LPF
	str	w23, [x22, #8]
	mov	x0, x22
	bl	_ieee80211_alloc_challenge
	cbz	w0, LBB0_39
; %bb.29:
	ldr	x0, [x22, #16]
Lloh78:
	adrp	x8, _IEEE80211_CHALLENGE_LEN@GOTPAGE
Lloh79:
	ldr	x8, [x8, _IEEE80211_CHALLENGE_LEN@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	bl	_get_random_bytes
Lloh81:
	adrp	x8, _IEEE80211_MSG_DEBUG@GOTPAGE
Lloh82:
	ldr	x8, [x8, _IEEE80211_MSG_DEBUG@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
Lloh84:
	adrp	x23, _IEEE80211_MSG_AUTH@GOTPAGE
Lloh85:
	ldr	x23, [x23, _IEEE80211_MSG_AUTH@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w1, w9, w8
Lloh86:
	adrp	x8, l_.str.10@PAGE
Lloh87:
	add	x8, x8, l_.str.10@PAGEOFF
Lloh88:
	adrp	x9, l_.str.9@PAGE
Lloh89:
	add	x9, x9, l_.str.9@PAGEOFF
	cmp	x25, x20
	csel	x4, x9, x8, eq
Lloh90:
	adrp	x3, l_.str.8@PAGE
Lloh91:
	add	x3, x3, l_.str.8@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_IEEE80211_NOTE
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_32
; %bb.30:
	ldr	x8, [x8]
	mov	x0, x21
	blr	x8
Lloh92:
	adrp	x8, _IEEE80211_MACCMD_POLICY_RADIUS@GOTPAGE
Lloh93:
	ldr	x8, [x8, _IEEE80211_MACCMD_POLICY_RADIUS@GOTPAGEOFF]
Lloh94:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_32
; %bb.31:
	ldr	w8, [x23]
Lloh95:
	adrp	x9, _IEEE80211_MSG_ACL@GOTPAGE
Lloh96:
	ldr	x9, [x9, _IEEE80211_MSG_ACL@GOTPAGEOFF]
Lloh97:
	ldr	w9, [x9]
	orr	w1, w9, w8
	ldr	w2, [x22, #12]
Lloh98:
	adrp	x3, l_.str.2@PAGE
Lloh99:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh100:
	adrp	x4, l_.str.11@PAGE
Lloh101:
	add	x4, x4, l_.str.11@PAGEOFF
	mov	x0, x21
	bl	_IEEE80211_NOTE_MAC
	mov	x0, x22
	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
	add	sp, sp, #96
	b	_ieee80211_notify_node_auth
LBB0_32:
	mov	x20, x22
LBB0_33:
Lloh102:
	adrp	x8, _IEEE80211_FC0_SUBTYPE_AUTH@GOTPAGE
Lloh103:
	ldr	x8, [x8, _IEEE80211_FC0_SUBTYPE_AUTH@GOTPAGEOFF]
Lloh104:
	ldr	w1, [x8]
	add	w2, w19, #1
	mov	x0, x20
	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
	add	sp, sp, #96
	b	_IEEE80211_SEND_MGMT
LBB0_34:
	ldr	x9, [x21, #24]
	cmp	x9, x20
	b.eq	LBB0_38
; %bb.35:
	ldr	x0, [x20, #16]
	cbz	x0, LBB0_40
; %bb.36:
	add	x1, x8, #8
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcmp
	cbz	w0, LBB0_41
; %bb.37:
Lloh105:
	adrp	x8, _IEEE80211_MSG_AUTH@GOTPAGE
Lloh106:
	ldr	x8, [x8, _IEEE80211_MSG_AUTH@GOTPAGEOFF]
Lloh107:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
Lloh108:
	adrp	x8, l_.str.15@PAGE
Lloh109:
	add	x8, x8, l_.str.15@PAGEOFF
Lloh110:
	adrp	x3, l_.str.12@PAGE
Lloh111:
	add	x3, x3, l_.str.12@PAGEOFF
Lloh112:
	adrp	x4, l_.str.2@PAGE
Lloh113:
	add	x4, x4, l_.str.2@PAGEOFF
	str	x8, [sp]
	mov	x0, x21
	bl	_IEEE80211_DISCARD_MAC
	ldr	w8, [x21, #16]
	add	w8, w8, #1
	str	w8, [x21, #16]
	b	LBB0_26
LBB0_38:
Lloh114:
	adrp	x8, _IEEE80211_MSG_AUTH@GOTPAGE
Lloh115:
	ldr	x8, [x8, _IEEE80211_MSG_AUTH@GOTPAGEOFF]
Lloh116:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
Lloh117:
	adrp	x8, l_.str.13@PAGE
Lloh118:
	add	x8, x8, l_.str.13@PAGEOFF
Lloh119:
	adrp	x3, l_.str.12@PAGE
Lloh120:
	add	x3, x3, l_.str.12@PAGEOFF
Lloh121:
	adrp	x4, l_.str.2@PAGE
Lloh122:
	add	x4, x4, l_.str.2@PAGEOFF
	str	x8, [sp]
	mov	x0, x21
	bl	_IEEE80211_DISCARD_MAC
LBB0_39:
	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
	add	sp, sp, #96
	ret
LBB0_40:
Lloh123:
	adrp	x8, _IEEE80211_MSG_AUTH@GOTPAGE
Lloh124:
	ldr	x8, [x8, _IEEE80211_MSG_AUTH@GOTPAGEOFF]
Lloh125:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
Lloh126:
	adrp	x8, l_.str.14@PAGE
Lloh127:
	add	x8, x8, l_.str.14@PAGEOFF
Lloh128:
	adrp	x3, l_.str.12@PAGE
Lloh129:
	add	x3, x3, l_.str.12@PAGEOFF
	b	LBB0_22
LBB0_41:
Lloh130:
	adrp	x8, _IEEE80211_MSG_DEBUG@GOTPAGE
Lloh131:
	ldr	x8, [x8, _IEEE80211_MSG_DEBUG@GOTPAGEOFF]
Lloh132:
	ldr	w8, [x8]
Lloh133:
	adrp	x9, _IEEE80211_MSG_AUTH@GOTPAGE
Lloh134:
	ldr	x9, [x9, _IEEE80211_MSG_AUTH@GOTPAGEOFF]
Lloh135:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh136:
	adrp	x3, l_.str.2@PAGE
Lloh137:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh138:
	adrp	x4, l_.str.16@PAGE
Lloh139:
	add	x4, x4, l_.str.16@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_IEEE80211_NOTE
	mov	x0, x20
	bl	_ieee80211_node_authorize
	b	LBB0_33
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpAdd	Lloh112, Lloh113
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpAdd	Lloh121, Lloh122
	.loh AdrpAdd	Lloh119, Lloh120
	.loh AdrpAdd	Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpAdd	Lloh128, Lloh129
	.loh AdrpAdd	Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpAdd	Lloh138, Lloh139
	.loh AdrpAdd	Lloh136, Lloh137
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_S_RUN,8,3            ; @IEEE80211_S_RUN
	.comm	_IEEE80211_F_PRIVACY,4,2        ; @IEEE80211_F_PRIVACY
	.comm	_IEEE80211_MSG_AUTH,4,2         ; @IEEE80211_MSG_AUTH
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"shared key auth"

l_.str.2:                               ; @.str.2
	.asciz	"%s"

l_.str.3:                               ; @.str.3
	.asciz	" PRIVACY is disabled"

	.comm	_IEEE80211_STATUS_ALG,4,2       ; @IEEE80211_STATUS_ALG
	.comm	_IEEE80211_AUTH_AUTO,4,2        ; @IEEE80211_AUTH_AUTO
	.comm	_IEEE80211_AUTH_SHARED,4,2      ; @IEEE80211_AUTH_SHARED
l_.str.4:                               ; @.str.4
	.asciz	"bad sta auth mode %u"

l_.str.5:                               ; @.str.5
	.asciz	"ie %d/%d too long"

	.comm	_IEEE80211_STATUS_CHALLENGE,4,2 ; @IEEE80211_STATUS_CHALLENGE
	.comm	_IEEE80211_ELEMID_CHALLENGE,4,2 ; @IEEE80211_ELEMID_CHALLENGE
l_.str.6:                               ; @.str.6
	.asciz	"no challenge"

	.comm	_IEEE80211_CHALLENGE_LEN,4,2    ; @IEEE80211_CHALLENGE_LEN
l_.str.7:                               ; @.str.7
	.asciz	"bad challenge len %d"

	.comm	_IEEE80211_NODE_AREF,4,2        ; @IEEE80211_NODE_AREF
	.comm	_IEEE80211_NODE_ASSOCID,4,2     ; @IEEE80211_NODE_ASSOCID
	.comm	_IEEE80211_MSG_DEBUG,4,2        ; @IEEE80211_MSG_DEBUG
l_.str.8:                               ; @.str.8
	.asciz	"shared key %sauth request"

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

l_.str.10:                              ; @.str.10
	.asciz	"re"

	.comm	_IEEE80211_MACCMD_POLICY_RADIUS,4,2 ; @IEEE80211_MACCMD_POLICY_RADIUS
	.comm	_IEEE80211_MSG_ACL,4,2          ; @IEEE80211_MSG_ACL
l_.str.11:                              ; @.str.11
	.asciz	"station authentication defered (radius acl)"

l_.str.12:                              ; @.str.12
	.asciz	"shared key response"

l_.str.13:                              ; @.str.13
	.asciz	"unknown station"

l_.str.14:                              ; @.str.14
	.asciz	"no challenge recorded"

l_.str.15:                              ; @.str.15
	.asciz	"challenge mismatch"

l_.str.16:                              ; @.str.16
	.asciz	"station authenticated (shared key)"

l_.str.17:                              ; @.str.17
	.asciz	"bad seq %d"

	.comm	_IEEE80211_STATUS_SEQUENCE,4,2  ; @IEEE80211_STATUS_SEQUENCE
	.comm	_IEEE80211_FC0_SUBTYPE_AUTH,4,2 ; @IEEE80211_FC0_SUBTYPE_AUTH
	.no_dead_strip	_hostap_auth_shared
.subsections_via_symbols
