	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_parse_rsn
_ieee80211_parse_rsn:                   ## @ieee80211_parse_rsn
	.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_WPA2@GOTPCREL(%rip), %rax
	testl	%r9d, (%rax)
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r15
	movl	4(%rsi), %r13d
	cmpl	$9, %r13d
	jg	LBB0_8
## %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.2(%rip), %rcx
	leaq	L_.str.3(%rip), %r8
	movq	%rbx, %rdi
LBB0_3:
	movq	%r12, %rdx
	movl	%r13d, %r9d
	jmp	LBB0_5
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
LBB0_5:
	xorl	%eax, %eax
	callq	_IEEE80211_DISCARD_IE
	movq	_IEEE80211_REASON_IE_INVALID@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rdx, %r14
	leaq	8(%r15), %rdi
	callq	_le16dec
	movq	_RSN_VERSION@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jne	LBB0_11
## %bb.9:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rbx
	leaq	16(%r15), %r14
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	leaq	28(%rbx), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_rsn_cipher
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:
	movq	_IEEE80211_MSG_ELEMID@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_WPA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	orl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_le32dec
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.5(%rip), %r8
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movq	%r12, %rdx
	movl	%eax, %r9d
	jmp	LBB0_14
LBB0_11:
	movq	_IEEE80211_MSG_ELEMID@GOTPCREL(%rip), %rcx
	movq	_IEEE80211_MSG_WPA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.4(%rip), %r8
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_IEEE80211_DISCARD_IE
	movq	_IEEE80211_REASON_UNSUPP_RSN_IE_VERSION@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_12:
	movl	(%rbx), %r9d
	movq	_IEEE80211_CIPHER_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r9d
	jne	LBB0_15
## %bb.13:
	movq	_IEEE80211_MSG_ELEMID@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_WPA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.6(%rip), %r8
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
LBB0_14:
	xorl	%eax, %eax
	callq	_IEEE80211_DISCARD_IE
	movq	_IEEE80211_REASON_GROUP_CIPHER_INVALID@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_15:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leaq	32(%r15), %rdi
	callq	_le16dec
	movq	%rax, %r14
	addl	$-8, %r13d
	leal	2(,%rax,4), %eax
	cmpl	%eax, %r13d
	jge	LBB0_17
## %bb.16:
	movq	_IEEE80211_MSG_ELEMID@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_WPA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	%r14d, (%rsp)
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.7(%rip), %r8
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_3
LBB0_17:
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	addq	$40, %r15
	testl	%r14d, %r14d
	jle	LBB0_21
## %bb.18:
	leal	(,%r14,4), %r13d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	24(%rax), %rbx
	incl	%r14d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	leaq	-68(%rbp), %rdx
	callq	_rsn_cipher
	movzbl	-68(%rbp), %ecx
	movl	$1, %edx
	shll	%cl, %edx
	testl	%eax, %eax
	movl	$0, %eax
	cmovnel	%eax, %edx
	orl	%edx, %r12d
	addq	$16, %r15
	decl	%r14d
	cmpl	$1, %r14d
	ja	LBB0_19
## %bb.20:
	subl	%r13d, -52(%rbp)                ## 4-byte Folded Spill
	jmp	LBB0_22
LBB0_21:
	xorl	%r12d, %r12d
LBB0_22:
	movq	_IEEE80211_CIPHER_AES_CCM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %r12d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jb	LBB0_26
## %bb.23:
	movq	_IEEE80211_CIPHER_AES_OCB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %r12d
	jb	LBB0_26
## %bb.24:
	movq	_IEEE80211_CIPHER_TKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	btl	%ecx, %r12d
	jae	LBB0_36
## %bb.25:
	movl	%ecx, %eax
LBB0_26:
	movl	%eax, 4(%rdi)
	movq	%r15, %rdi
	callq	_le16dec
	movq	%rax, %r14
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	addl	$-2, %r9d
	leal	(,%rax,4), %eax
	movl	%r9d, %r12d
	subl	%eax, %r12d
	jge	LBB0_28
## %bb.27:
	movq	_IEEE80211_MSG_ELEMID@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_WPA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	%r14d, (%rsp)
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.9(%rip), %r8
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_28:
	addq	$8, %r15
	testl	%r14d, %r14d
	jle	LBB0_31
## %bb.29:
	incl	%r14d
	xorl	%ebx, %ebx
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_rsn_keymgmt
	orl	%eax, %ebx
	addq	$16, %r15
	decl	%r14d
	cmpl	$1, %r14d
	ja	LBB0_30
	jmp	LBB0_32
LBB0_31:
	xorl	%ebx, %ebx
	movl	%r9d, %r12d
LBB0_32:
	movq	_RSN_ASE_8021X_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ebx, %eax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_34
## %bb.33:
	movq	_RSN_ASE_8021X_PSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_34:
	movl	%eax, 8(%r14)
	xorl	%ebx, %ebx
	cmpl	$3, %r12d
	jl	LBB0_7
## %bb.35:
	movq	%r15, %rdi
	callq	_le16dec
	movq	%rax, 16(%r14)
	jmp	LBB0_7
LBB0_36:
	movq	_IEEE80211_CIPHER_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %r12d
	jae	LBB0_39
## %bb.37:
	movl	(%rdi), %edx
	movq	_IEEE80211_CIPHER_WEP@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	je	LBB0_26
## %bb.38:
	cmpl	%ecx, %edx
	je	LBB0_26
LBB0_39:
	movq	_IEEE80211_MSG_ELEMID@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_WPA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.8(%rip), %r8
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%r12d, %r9d
	xorl	%eax, %eax
	callq	_IEEE80211_DISCARD_IE
	movq	_IEEE80211_REASON_PAIRWISE_CIPHER_INVALID@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_F_WPA2,4,2           ## @IEEE80211_F_WPA2
	.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 RSN, flags 0x%x"

	.comm	_IEEE80211_REASON_IE_INVALID,4,2 ## @IEEE80211_REASON_IE_INVALID
L_.str.2:                               ## @.str.2
	.asciz	"RSN"

L_.str.3:                               ## @.str.3
	.asciz	"too short, len %u"

	.comm	_RSN_VERSION,4,2                ## @RSN_VERSION
L_.str.4:                               ## @.str.4
	.asciz	"bad version %u"

	.comm	_IEEE80211_REASON_UNSUPP_RSN_IE_VERSION,4,2 ## @IEEE80211_REASON_UNSUPP_RSN_IE_VERSION
L_.str.5:                               ## @.str.5
	.asciz	"unknown mcast cipher suite %08X"

	.comm	_IEEE80211_REASON_GROUP_CIPHER_INVALID,4,2 ## @IEEE80211_REASON_GROUP_CIPHER_INVALID
	.comm	_IEEE80211_CIPHER_NONE,4,2      ## @IEEE80211_CIPHER_NONE
L_.str.6:                               ## @.str.6
	.asciz	"invalid mcast cipher suite %d"

L_.str.7:                               ## @.str.7
	.asciz	"ucast cipher data too short; len %u, n %u"

	.comm	_IEEE80211_CIPHER_AES_CCM,4,2   ## @IEEE80211_CIPHER_AES_CCM
	.comm	_IEEE80211_CIPHER_AES_OCB,4,2   ## @IEEE80211_CIPHER_AES_OCB
	.comm	_IEEE80211_CIPHER_TKIP,4,2      ## @IEEE80211_CIPHER_TKIP
	.comm	_IEEE80211_CIPHER_WEP,4,2       ## @IEEE80211_CIPHER_WEP
L_.str.8:                               ## @.str.8
	.asciz	"no usable pairwise cipher suite found (w=%d)"

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

	.comm	_RSN_ASE_8021X_UNSPEC,4,2       ## @RSN_ASE_8021X_UNSPEC
	.comm	_RSN_ASE_8021X_PSK,4,2          ## @RSN_ASE_8021X_PSK
	.no_dead_strip	_ieee80211_parse_rsn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_parse_rsn
_ieee80211_parse_rsn:                   ; @ieee80211_parse_rsn
	.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_WPA2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_F_WPA2@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w5
	b.eq	LBB0_4
; %bb.1:
	mov	x23, x1
	ldr	w22, [x1, #4]
	cmp	w22, #9
	b.gt	LBB0_9
; %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.2@PAGE
Lloh10:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh11:
	adrp	x4, l_.str.3@PAGE
Lloh12:
	add	x4, x4, l_.str.3@PAGEOFF
LBB0_3:
	mov	x0, x20
	mov	x2, x19
	mov	x5, x22
	b	LBB0_6
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
LBB0_6:
	bl	_IEEE80211_DISCARD_IE
Lloh23:
	adrp	x8, _IEEE80211_REASON_IE_INVALID@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IEEE80211_REASON_IE_INVALID@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
	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_9:
	mov	x21, x2
	add	x0, x23, #8
	bl	_le16dec
	mov	x5, x0
Lloh25:
	adrp	x8, _RSN_VERSION@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RSN_VERSION@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cmp	w8, w5
	b.ne	LBB0_12
; %bb.10:
	add	x24, x23, #16
	mov	x0, x21
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	add	x1, x21, #28
	mov	x0, x24
	mov	x2, x21
	bl	_rsn_cipher
	cbz	w0, LBB0_13
; %bb.11:
Lloh28:
	adrp	x8, _IEEE80211_MSG_ELEMID@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IEEE80211_MSG_ELEMID@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _IEEE80211_MSG_WPA@GOTPAGE
Lloh32:
	ldr	x9, [x9, _IEEE80211_MSG_WPA@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w21, w9, w8
	mov	x0, x24
	bl	_le32dec
	mov	x5, x0
Lloh34:
	adrp	x3, l_.str.2@PAGE
Lloh35:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh36:
	adrp	x4, l_.str.5@PAGE
Lloh37:
	add	x4, x4, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	b	LBB0_15
LBB0_12:
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.2@PAGE
Lloh45:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh46:
	adrp	x4, l_.str.4@PAGE
Lloh47:
	add	x4, x4, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x19
                                        ; kill: def $w5 killed $w5 killed $x5
	bl	_IEEE80211_DISCARD_IE
Lloh48:
	adrp	x8, _IEEE80211_REASON_UNSUPP_RSN_IE_VERSION@GOTPAGE
Lloh49:
	ldr	x8, [x8, _IEEE80211_REASON_UNSUPP_RSN_IE_VERSION@GOTPAGEOFF]
	b	LBB0_7
LBB0_13:
	ldr	w5, [x21]
Lloh50:
	adrp	x26, _IEEE80211_CIPHER_NONE@GOTPAGE
Lloh51:
	ldr	x26, [x26, _IEEE80211_CIPHER_NONE@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w5, w8
	b.ne	LBB0_16
; %bb.14:
Lloh52:
	adrp	x8, _IEEE80211_MSG_ELEMID@GOTPAGE
Lloh53:
	ldr	x8, [x8, _IEEE80211_MSG_ELEMID@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
Lloh55:
	adrp	x9, _IEEE80211_MSG_WPA@GOTPAGE
Lloh56:
	ldr	x9, [x9, _IEEE80211_MSG_WPA@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh58:
	adrp	x3, l_.str.2@PAGE
Lloh59:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh60:
	adrp	x4, l_.str.6@PAGE
Lloh61:
	add	x4, x4, l_.str.6@PAGEOFF
	mov	x0, x20
LBB0_15:
	mov	x2, x19
	bl	_IEEE80211_DISCARD_IE
Lloh62:
	adrp	x8, _IEEE80211_REASON_GROUP_CIPHER_INVALID@GOTPAGE
Lloh63:
	ldr	x8, [x8, _IEEE80211_REASON_GROUP_CIPHER_INVALID@GOTPAGEOFF]
	b	LBB0_7
LBB0_16:
	add	x0, x23, #32
	bl	_le16dec
	sub	w22, w22, #8
	mov	w8, #2
	bfi	w8, w0, #2, #30
	cmp	w22, w8
	b.ge	LBB0_18
; %bb.17:
Lloh64:
	adrp	x8, _IEEE80211_MSG_ELEMID@GOTPAGE
Lloh65:
	ldr	x8, [x8, _IEEE80211_MSG_ELEMID@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
Lloh67:
	adrp	x9, _IEEE80211_MSG_WPA@GOTPAGE
Lloh68:
	ldr	x9, [x9, _IEEE80211_MSG_WPA@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	orr	w1, w9, w8
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	str	x0, [sp]
Lloh70:
	adrp	x3, l_.str.2@PAGE
Lloh71:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh72:
	adrp	x4, l_.str.7@PAGE
Lloh73:
	add	x4, x4, l_.str.7@PAGEOFF
	b	LBB0_3
LBB0_18:
	add	x23, x23, #40
	cmp	w0, #1
	b.lt	LBB0_22
; %bb.19:
	mov	w24, #0
	lsl	w8, w0, #2
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	add	x25, x21, #24
	add	w28, w0, #1
	mov	w27, #1
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #12
	mov	x0, x23
	mov	x1, x25
	bl	_rsn_cipher
	ldr	w8, [sp, #12]
	lsl	w8, w27, w8
	cmp	w0, #0
	csel	w8, w8, wzr, eq
	orr	w24, w8, w24
	add	x23, x23, #16
	sub	w28, w28, #1
	cmp	w28, #1
	b.hi	LBB0_20
; %bb.21:
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	sub	w22, w22, w8
	b	LBB0_23
LBB0_22:
	mov	w24, #0
LBB0_23:
Lloh74:
	adrp	x8, _IEEE80211_CIPHER_AES_CCM@GOTPAGE
Lloh75:
	ldr	x8, [x8, _IEEE80211_CIPHER_AES_CCM@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
	lsr	w9, w24, w8
	tbnz	w9, #0, LBB0_27
; %bb.24:
Lloh77:
	adrp	x8, _IEEE80211_CIPHER_AES_OCB@GOTPAGE
Lloh78:
	ldr	x8, [x8, _IEEE80211_CIPHER_AES_OCB@GOTPAGEOFF]
Lloh79:
	ldr	w8, [x8]
	lsr	w9, w24, w8
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	tbnz	w9, #0, LBB0_27
; %bb.25:
Lloh80:
	adrp	x8, _IEEE80211_CIPHER_TKIP@GOTPAGE
Lloh81:
	ldr	x8, [x8, _IEEE80211_CIPHER_TKIP@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x8]
	lsr	w8, w24, w9
	tbz	w8, #0, LBB0_37
; %bb.26:
	mov	x8, x9
LBB0_27:
	str	w8, [x21, #4]
	mov	x0, x23
	bl	_le16dec
	sub	w5, w22, #2
	lsl	w8, w0, #2
	subs	w22, w5, w8
	b.ge	LBB0_29
; %bb.28:
Lloh83:
	adrp	x8, _IEEE80211_MSG_ELEMID@GOTPAGE
Lloh84:
	ldr	x8, [x8, _IEEE80211_MSG_ELEMID@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
Lloh86:
	adrp	x9, _IEEE80211_MSG_WPA@GOTPAGE
Lloh87:
	ldr	x9, [x9, _IEEE80211_MSG_WPA@GOTPAGEOFF]
Lloh88:
	ldr	w9, [x9]
	orr	w1, w9, w8
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	str	x0, [sp]
Lloh89:
	adrp	x3, l_.str.2@PAGE
Lloh90:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh91:
	adrp	x4, l_.str.9@PAGE
Lloh92:
	add	x4, x4, l_.str.9@PAGEOFF
	b	LBB0_5
LBB0_29:
	add	x19, x23, #8
	cmp	w0, #1
	b.lt	LBB0_33
; %bb.30:
	mov	w20, #0
	add	w23, w0, #1
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_rsn_keymgmt
	orr	w20, w0, w20
	add	x19, x19, #16
	sub	w23, w23, #1
	cmp	w23, #1
	b.hi	LBB0_31
; %bb.32:
	mov	x5, x22
	b	LBB0_34
LBB0_33:
	mov	w20, #0
LBB0_34:
Lloh93:
	adrp	x8, _RSN_ASE_8021X_UNSPEC@GOTPAGE
Lloh94:
	ldr	x8, [x8, _RSN_ASE_8021X_UNSPEC@GOTPAGEOFF]
Lloh95:
	adrp	x9, _RSN_ASE_8021X_PSK@GOTPAGE
Lloh96:
	ldr	x9, [x9, _RSN_ASE_8021X_PSK@GOTPAGEOFF]
Lloh97:
	ldr	w8, [x8]
Lloh98:
	ldr	w9, [x9]
	tst	w8, w20
	csel	w8, w9, w8, eq
	str	w8, [x21, #8]
	cmp	w5, #3
	b.lt	LBB0_36
; %bb.35:
	mov	x0, x19
	bl	_le16dec
	mov	x8, x0
	mov	w0, #0
	str	x8, [x21, #16]
	b	LBB0_8
LBB0_36:
	mov	w0, #0
	b	LBB0_8
LBB0_37:
	ldr	w8, [x26]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	lsr	w10, w24, w8
	tbz	w10, #0, LBB0_39
; %bb.38:
	ldr	w10, [x21]
Lloh99:
	adrp	x11, _IEEE80211_CIPHER_WEP@GOTPAGE
Lloh100:
	ldr	x11, [x11, _IEEE80211_CIPHER_WEP@GOTPAGEOFF]
Lloh101:
	ldr	w11, [x11]
	cmp	w10, w11
	ccmp	w10, w9, #4, ne
	b.eq	LBB0_27
LBB0_39:
Lloh102:
	adrp	x8, _IEEE80211_MSG_ELEMID@GOTPAGE
Lloh103:
	ldr	x8, [x8, _IEEE80211_MSG_ELEMID@GOTPAGEOFF]
Lloh104:
	ldr	w8, [x8]
Lloh105:
	adrp	x9, _IEEE80211_MSG_WPA@GOTPAGE
Lloh106:
	ldr	x9, [x9, _IEEE80211_MSG_WPA@GOTPAGEOFF]
Lloh107:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh108:
	adrp	x3, l_.str.2@PAGE
Lloh109:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh110:
	adrp	x4, l_.str.8@PAGE
Lloh111:
	add	x4, x4, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x5, x24
	bl	_IEEE80211_DISCARD_IE
Lloh112:
	adrp	x8, _IEEE80211_REASON_PAIRWISE_CIPHER_INVALID@GOTPAGE
Lloh113:
	ldr	x8, [x8, _IEEE80211_REASON_PAIRWISE_CIPHER_INVALID@GOTPAGEOFF]
	b	LBB0_7
	.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 AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh97
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh112, Lloh113
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_F_WPA2,4,2           ; @IEEE80211_F_WPA2
	.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 RSN, flags 0x%x"

	.comm	_IEEE80211_REASON_IE_INVALID,4,2 ; @IEEE80211_REASON_IE_INVALID
l_.str.2:                               ; @.str.2
	.asciz	"RSN"

l_.str.3:                               ; @.str.3
	.asciz	"too short, len %u"

	.comm	_RSN_VERSION,4,2                ; @RSN_VERSION
l_.str.4:                               ; @.str.4
	.asciz	"bad version %u"

	.comm	_IEEE80211_REASON_UNSUPP_RSN_IE_VERSION,4,2 ; @IEEE80211_REASON_UNSUPP_RSN_IE_VERSION
l_.str.5:                               ; @.str.5
	.asciz	"unknown mcast cipher suite %08X"

	.comm	_IEEE80211_REASON_GROUP_CIPHER_INVALID,4,2 ; @IEEE80211_REASON_GROUP_CIPHER_INVALID
	.comm	_IEEE80211_CIPHER_NONE,4,2      ; @IEEE80211_CIPHER_NONE
l_.str.6:                               ; @.str.6
	.asciz	"invalid mcast cipher suite %d"

l_.str.7:                               ; @.str.7
	.asciz	"ucast cipher data too short; len %u, n %u"

	.comm	_IEEE80211_CIPHER_AES_CCM,4,2   ; @IEEE80211_CIPHER_AES_CCM
	.comm	_IEEE80211_CIPHER_AES_OCB,4,2   ; @IEEE80211_CIPHER_AES_OCB
	.comm	_IEEE80211_CIPHER_TKIP,4,2      ; @IEEE80211_CIPHER_TKIP
	.comm	_IEEE80211_CIPHER_WEP,4,2       ; @IEEE80211_CIPHER_WEP
l_.str.8:                               ; @.str.8
	.asciz	"no usable pairwise cipher suite found (w=%d)"

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

	.comm	_RSN_ASE_8021X_UNSPEC,4,2       ; @RSN_ASE_8021X_UNSPEC
	.comm	_RSN_ASE_8021X_PSK,4,2          ; @RSN_ASE_8021X_PSK
	.no_dead_strip	_ieee80211_parse_rsn
.subsections_via_symbols
