	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_parse_wpa
_ieee80211_parse_wpa:                   ## @ieee80211_parse_wpa
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdi, %rbx
	movl	(%rdi), %r9d
	movq	_IEEE80211_F_WPA1@GOTPCREL(%rip), %rax
	testl	%r9d, (%rax)
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r15
	movl	4(%rsi), %r14d
	cmpl	$13, %r14d
	jg	LBB0_5
## %bb.2:
	movq	_IEEE80211_MSG_ELEMID@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_WPA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.2(%rip), %r8
	movq	%rbx, %rdi
	movq	%r12, %rdx
LBB0_3:
	movl	%r14d, %r9d
	jmp	LBB0_9
LBB0_4:
	movq	_IEEE80211_MSG_ELEMID@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_WPA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.1(%rip), %r8
	movq	%rbx, %rdi
	movq	%r12, %rdx
	jmp	LBB0_9
LBB0_5:
	movq	%rdx, %r13
	leaq	24(%r15), %rdi
	callq	_le16dec
	movq	_WPA_VERSION@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jne	LBB0_8
## %bb.6:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rbx
	leaq	32(%r15), %r13
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	leaq	28(%rbx), %rsi
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_wpa_cipher
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:
	movq	_IEEE80211_MSG_ELEMID@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_WPA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	orl	(%rax), %r15d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_le32dec
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.4(%rip), %r8
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movq	%r12, %rdx
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_IEEE80211_DISCARD_IE
	movq	_IEEE80211_REASON_GROUP_CIPHER_INVALID@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_IEEE80211_MSG_ELEMID@GOTPCREL(%rip), %rcx
	movq	_IEEE80211_MSG_WPA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.3(%rip), %r8
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movl	%eax, %r9d
LBB0_9:
	xorl	%eax, %eax
	callq	_IEEE80211_DISCARD_IE
	movq	_IEEE80211_REASON_IE_INVALID@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	leaq	48(%r15), %rdi
	callq	_le16dec
	movq	%rax, %r12
	addl	$-12, %r14d
	leal	2(,%rax,4), %eax
	cmpl	%eax, %r14d
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jge	LBB0_14
## %bb.13:
	movq	_IEEE80211_MSG_ELEMID@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_WPA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	%r12d, (%rsp)
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.5(%rip), %r8
	movq	%r13, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_3
LBB0_14:
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_22
## %bb.15:
	leal	(,%r12,4), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	24(%rax), %r14
	incl	%r12d
	addq	$64, %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	leaq	-8(%r15), %rdi
	movq	%r14, %rsi
	leaq	-72(%rbp), %rdx
	callq	_wpa_cipher
	movzbl	-72(%rbp), %ecx
	movl	$1, %edx
	shll	%cl, %edx
	testl	%eax, %eax
	movl	$0, %eax
	cmovnel	%eax, %edx
	orl	%edx, %ebx
	decl	%r12d
	addq	$16, %r15
	cmpl	$1, %r12d
	ja	LBB0_16
## %bb.17:
	testl	%ebx, %ebx
	je	LBB0_22
## %bb.18:
	leaq	-8(%r15), %rdi
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	subl	%eax, -52(%rbp)                 ## 4-byte Folded Spill
	movq	_IEEE80211_CIPHER_AES_CCM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %ebx
	jb	LBB0_20
## %bb.19:
	movq	_IEEE80211_CIPHER_TKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_20:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 4(%rcx)
	callq	_le16dec
	movq	%rax, %r12
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	addl	$-2, %r9d
	leal	(,%rax,4), %eax
	movl	%r9d, %r14d
	subl	%eax, %r14d
	jge	LBB0_23
## %bb.21:
	movq	_IEEE80211_MSG_ELEMID@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_WPA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	%r12d, (%rsp)
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.7(%rip), %r8
	movq	%r13, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_22:
	movq	_IEEE80211_MSG_ELEMID@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_WPA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.6(%rip), %r8
	movq	%r13, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	callq	_IEEE80211_DISCARD_IE
	movq	_IEEE80211_REASON_PAIRWISE_CIPHER_INVALID@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_23:
	testl	%r12d, %r12d
	jle	LBB0_26
## %bb.24:
	incl	%r12d
	xorl	%ebx, %ebx
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_wpa_keymgmt
	orl	%eax, %ebx
	addq	$16, %r15
	decl	%r12d
	cmpl	$1, %r12d
	ja	LBB0_25
	jmp	LBB0_27
LBB0_26:
	xorl	%ebx, %ebx
	movl	%r9d, %r14d
LBB0_27:
	movq	_WPA_ASE_8021X_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ebx, %eax
	jne	LBB0_29
## %bb.28:
	movq	_WPA_ASE_8021X_PSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_29:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	%eax, 8(%r12)
	xorl	%ebx, %ebx
	cmpl	$3, %r14d
	jl	LBB0_11
## %bb.30:
	movq	%r15, %rdi
	callq	_le16dec
	movq	%rax, 16(%r12)
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_F_WPA1,4,2           ## @IEEE80211_F_WPA1
	.comm	_IEEE80211_MSG_ELEMID,4,2       ## @IEEE80211_MSG_ELEMID
	.comm	_IEEE80211_MSG_WPA,4,2          ## @IEEE80211_MSG_WPA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPA"

L_.str.1:                               ## @.str.1
	.asciz	"not WPA, flags 0x%x"

	.comm	_IEEE80211_REASON_IE_INVALID,4,2 ## @IEEE80211_REASON_IE_INVALID
L_.str.2:                               ## @.str.2
	.asciz	"too short, len %u"

	.comm	_WPA_VERSION,4,2                ## @WPA_VERSION
L_.str.3:                               ## @.str.3
	.asciz	"bad version %u"

L_.str.4:                               ## @.str.4
	.asciz	"unknown mcast cipher suite %08X"

	.comm	_IEEE80211_REASON_GROUP_CIPHER_INVALID,4,2 ## @IEEE80211_REASON_GROUP_CIPHER_INVALID
L_.str.5:                               ## @.str.5
	.asciz	"ucast cipher data too short; len %u, n %u"

L_.str.6:                               ## @.str.6
	.asciz	"no usable pairwise cipher suite found (w=%d)"

	.comm	_IEEE80211_REASON_PAIRWISE_CIPHER_INVALID,4,2 ## @IEEE80211_REASON_PAIRWISE_CIPHER_INVALID
	.comm	_IEEE80211_CIPHER_AES_CCM,4,2   ## @IEEE80211_CIPHER_AES_CCM
	.comm	_IEEE80211_CIPHER_TKIP,4,2      ## @IEEE80211_CIPHER_TKIP
L_.str.7:                               ## @.str.7
	.asciz	"key mgmt alg data too short; len %u, n %u"

	.comm	_WPA_ASE_8021X_UNSPEC,4,2       ## @WPA_ASE_8021X_UNSPEC
	.comm	_WPA_ASE_8021X_PSK,4,2          ## @WPA_ASE_8021X_PSK
	.no_dead_strip	_ieee80211_parse_wpa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_parse_wpa
_ieee80211_parse_wpa:                   ; @ieee80211_parse_wpa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x3
	mov	x20, x0
	ldr	w5, [x0]
Lloh0:
	adrp	x8, _IEEE80211_F_WPA1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_F_WPA1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w5
	b.eq	LBB0_4
; %bb.1:
	mov	x22, x1
	ldr	w23, [x1, #4]
	cmp	w23, #13
	b.gt	LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _IEEE80211_MSG_ELEMID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_MSG_ELEMID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _IEEE80211_MSG_WPA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_MSG_WPA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
Lloh11:
	adrp	x4, l_.str.2@PAGE
Lloh12:
	add	x4, x4, l_.str.2@PAGEOFF
LBB0_3:
	mov	x0, x20
	mov	x2, x19
	mov	x5, x23
	b	LBB0_10
LBB0_4:
Lloh13:
	adrp	x8, _IEEE80211_MSG_ELEMID@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IEEE80211_MSG_ELEMID@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _IEEE80211_MSG_WPA@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IEEE80211_MSG_WPA@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh19:
	adrp	x3, l_.str@PAGE
Lloh20:
	add	x3, x3, l_.str@PAGEOFF
Lloh21:
	adrp	x4, l_.str.1@PAGE
Lloh22:
	add	x4, x4, l_.str.1@PAGEOFF
LBB0_5:
	mov	x0, x20
	mov	x2, x19
	b	LBB0_10
LBB0_6:
	mov	x21, x2
	add	x0, x22, #24
	bl	_le16dec
	mov	x5, x0
Lloh23:
	adrp	x8, _WPA_VERSION@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WPA_VERSION@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmp	w8, w5
	b.ne	LBB0_9
; %bb.7:
	add	x24, x22, #32
	mov	x0, x21
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	add	x1, x21, #28
	mov	x0, x24
	mov	x2, x21
	bl	_wpa_cipher
	cbz	w0, LBB0_13
; %bb.8:
Lloh26:
	adrp	x8, _IEEE80211_MSG_ELEMID@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IEEE80211_MSG_ELEMID@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _IEEE80211_MSG_WPA@GOTPAGE
Lloh30:
	ldr	x9, [x9, _IEEE80211_MSG_WPA@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w21, w9, w8
	mov	x0, x24
	bl	_le32dec
	mov	x5, x0
Lloh32:
	adrp	x3, l_.str@PAGE
Lloh33:
	add	x3, x3, l_.str@PAGEOFF
Lloh34:
	adrp	x4, l_.str.4@PAGE
Lloh35:
	add	x4, x4, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_IEEE80211_DISCARD_IE
Lloh36:
	adrp	x8, _IEEE80211_REASON_GROUP_CIPHER_INVALID@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IEEE80211_REASON_GROUP_CIPHER_INVALID@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh38:
	adrp	x8, _IEEE80211_MSG_ELEMID@GOTPAGE
Lloh39:
	ldr	x8, [x8, _IEEE80211_MSG_ELEMID@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	adrp	x9, _IEEE80211_MSG_WPA@GOTPAGE
Lloh42:
	ldr	x9, [x9, _IEEE80211_MSG_WPA@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh44:
	adrp	x3, l_.str@PAGE
Lloh45:
	add	x3, x3, l_.str@PAGEOFF
Lloh46:
	adrp	x4, l_.str.3@PAGE
Lloh47:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x19
                                        ; kill: def $w5 killed $w5 killed $x5
LBB0_10:
	bl	_IEEE80211_DISCARD_IE
Lloh48:
	adrp	x8, _IEEE80211_REASON_IE_INVALID@GOTPAGE
Lloh49:
	ldr	x8, [x8, _IEEE80211_REASON_IE_INVALID@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_13:
	add	x0, x22, #48
	bl	_le16dec
	sub	w23, w23, #12
	mov	w8, #2
	bfi	w8, w0, #2, #30
	cmp	w23, w8
	b.ge	LBB0_15
; %bb.14:
Lloh50:
	adrp	x8, _IEEE80211_MSG_ELEMID@GOTPAGE
Lloh51:
	ldr	x8, [x8, _IEEE80211_MSG_ELEMID@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
Lloh53:
	adrp	x9, _IEEE80211_MSG_WPA@GOTPAGE
Lloh54:
	ldr	x9, [x9, _IEEE80211_MSG_WPA@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	orr	w1, w9, w8
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	str	x0, [sp]
Lloh56:
	adrp	x3, l_.str@PAGE
Lloh57:
	add	x3, x3, l_.str@PAGEOFF
Lloh58:
	adrp	x4, l_.str.5@PAGE
Lloh59:
	add	x4, x4, l_.str.5@PAGEOFF
	b	LBB0_3
LBB0_15:
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.16:
	mov	w25, #0
	lsl	w26, w0, #2
	add	x24, x21, #24
	add	w27, w0, #1
	add	x22, x22, #64
	mov	w28, #1
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	sub	x0, x22, #8
	add	x2, sp, #12
	mov	x1, x24
	bl	_wpa_cipher
	ldr	w8, [sp, #12]
	lsl	w8, w28, w8
	cmp	w0, #0
	csel	w8, w8, wzr, eq
	orr	w25, w8, w25
	sub	w27, w27, #1
	add	x22, x22, #16
	cmp	w27, #1
	b.hi	LBB0_17
; %bb.18:
	cbz	w25, LBB0_21
; %bb.19:
	sub	x0, x22, #8
	sub	w23, w23, w26
Lloh60:
	adrp	x8, _IEEE80211_CIPHER_AES_CCM@GOTPAGE
Lloh61:
	ldr	x8, [x8, _IEEE80211_CIPHER_AES_CCM@GOTPAGEOFF]
Lloh62:
	adrp	x9, _IEEE80211_CIPHER_TKIP@GOTPAGE
Lloh63:
	ldr	x9, [x9, _IEEE80211_CIPHER_TKIP@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
Lloh65:
	ldr	w9, [x9]
	lsr	w10, w25, w8
	tst	w10, #0x1
	csel	w8, w9, w8, eq
	str	w8, [x21, #4]
	bl	_le16dec
	sub	w5, w23, #2
	lsl	w8, w0, #2
	subs	w23, w5, w8
	b.ge	LBB0_22
; %bb.20:
Lloh66:
	adrp	x8, _IEEE80211_MSG_ELEMID@GOTPAGE
Lloh67:
	ldr	x8, [x8, _IEEE80211_MSG_ELEMID@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
Lloh69:
	adrp	x9, _IEEE80211_MSG_WPA@GOTPAGE
Lloh70:
	ldr	x9, [x9, _IEEE80211_MSG_WPA@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	orr	w1, w9, w8
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	str	x0, [sp]
Lloh72:
	adrp	x3, l_.str@PAGE
Lloh73:
	add	x3, x3, l_.str@PAGEOFF
Lloh74:
	adrp	x4, l_.str.7@PAGE
Lloh75:
	add	x4, x4, l_.str.7@PAGEOFF
	b	LBB0_5
LBB0_21:
Lloh76:
	adrp	x8, _IEEE80211_MSG_ELEMID@GOTPAGE
Lloh77:
	ldr	x8, [x8, _IEEE80211_MSG_ELEMID@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
Lloh79:
	adrp	x9, _IEEE80211_MSG_WPA@GOTPAGE
Lloh80:
	ldr	x9, [x9, _IEEE80211_MSG_WPA@GOTPAGEOFF]
Lloh81:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh82:
	adrp	x3, l_.str@PAGE
Lloh83:
	add	x3, x3, l_.str@PAGEOFF
Lloh84:
	adrp	x4, l_.str.6@PAGE
Lloh85:
	add	x4, x4, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	w5, #0
	bl	_IEEE80211_DISCARD_IE
Lloh86:
	adrp	x8, _IEEE80211_REASON_PAIRWISE_CIPHER_INVALID@GOTPAGE
Lloh87:
	ldr	x8, [x8, _IEEE80211_REASON_PAIRWISE_CIPHER_INVALID@GOTPAGEOFF]
	b	LBB0_11
LBB0_22:
	cmp	w0, #1
	b.lt	LBB0_26
; %bb.23:
	mov	w19, #0
	add	w20, w0, #1
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_wpa_keymgmt
	orr	w19, w0, w19
	add	x22, x22, #16
	sub	w20, w20, #1
	cmp	w20, #1
	b.hi	LBB0_24
; %bb.25:
	mov	x5, x23
	b	LBB0_27
LBB0_26:
	mov	w19, #0
LBB0_27:
Lloh88:
	adrp	x8, _WPA_ASE_8021X_UNSPEC@GOTPAGE
Lloh89:
	ldr	x8, [x8, _WPA_ASE_8021X_UNSPEC@GOTPAGEOFF]
Lloh90:
	adrp	x9, _WPA_ASE_8021X_PSK@GOTPAGE
Lloh91:
	ldr	x9, [x9, _WPA_ASE_8021X_PSK@GOTPAGEOFF]
Lloh92:
	ldr	w8, [x8]
Lloh93:
	ldr	w9, [x9]
	tst	w8, w19
	csel	w8, w9, w8, eq
	str	w8, [x21, #8]
	cmp	w5, #3
	b.lt	LBB0_29
; %bb.28:
	mov	x0, x22
	bl	_le16dec
	mov	x8, x0
	mov	w0, #0
	str	x8, [x21, #16]
	b	LBB0_12
LBB0_29:
	mov	w0, #0
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh64
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh92
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_F_WPA1,4,2           ; @IEEE80211_F_WPA1
	.comm	_IEEE80211_MSG_ELEMID,4,2       ; @IEEE80211_MSG_ELEMID
	.comm	_IEEE80211_MSG_WPA,4,2          ; @IEEE80211_MSG_WPA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPA"

l_.str.1:                               ; @.str.1
	.asciz	"not WPA, flags 0x%x"

	.comm	_IEEE80211_REASON_IE_INVALID,4,2 ; @IEEE80211_REASON_IE_INVALID
l_.str.2:                               ; @.str.2
	.asciz	"too short, len %u"

	.comm	_WPA_VERSION,4,2                ; @WPA_VERSION
l_.str.3:                               ; @.str.3
	.asciz	"bad version %u"

l_.str.4:                               ; @.str.4
	.asciz	"unknown mcast cipher suite %08X"

	.comm	_IEEE80211_REASON_GROUP_CIPHER_INVALID,4,2 ; @IEEE80211_REASON_GROUP_CIPHER_INVALID
l_.str.5:                               ; @.str.5
	.asciz	"ucast cipher data too short; len %u, n %u"

l_.str.6:                               ; @.str.6
	.asciz	"no usable pairwise cipher suite found (w=%d)"

	.comm	_IEEE80211_REASON_PAIRWISE_CIPHER_INVALID,4,2 ; @IEEE80211_REASON_PAIRWISE_CIPHER_INVALID
	.comm	_IEEE80211_CIPHER_AES_CCM,4,2   ; @IEEE80211_CIPHER_AES_CCM
	.comm	_IEEE80211_CIPHER_TKIP,4,2      ; @IEEE80211_CIPHER_TKIP
l_.str.7:                               ; @.str.7
	.asciz	"key mgmt alg data too short; len %u, n %u"

	.comm	_WPA_ASE_8021X_UNSPEC,4,2       ; @WPA_ASE_8021X_UNSPEC
	.comm	_WPA_ASE_8021X_PSK,4,2          ; @WPA_ASE_8021X_PSK
	.no_dead_strip	_ieee80211_parse_wpa
.subsections_via_symbols
