	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_gen_wpa_ie_rsn
_wpa_gen_wpa_ie_rsn:                    ## @wpa_gen_wpa_ie_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	16(%rbp), %rax
	movq	_RSN_SELECTOR_LEN@GOTPCREL(%rip), %rdx
	movq	8(%rax), %rax
	movq	_PMKID_LEN@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	$2, %rcx
	testq	%rax, %rax
	cmoveq	%rax, %rcx
	movslq	(%rdx), %rax
	leaq	(%rax,%rax,2), %rax
	addq	%rcx, %rax
	addq	$30, %rax
	cmpq	%rsi, %rax
	jbe	LBB0_2
## %bb.1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	jmp	LBB0_24
LBB0_2:
	movq	%rdi, %r12
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	_WLAN_EID_RSN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movq	8(%rdi), %rdi
	movq	_RSN_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WPA_PUT_LE16
	movq	_WPA_PROTO_RSN@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	%r15d, %esi
	callq	_wpa_cipher_to_suite
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leaq	24(%r12), %rdi
	movq	%rax, %rsi
	callq	_RSN_SELECTOR_PUT
	movq	_RSN_SELECTOR_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %r15
	movq	$1, 24(%r12,%r15,4)
	movl	(%r14), %edi
	movl	%r13d, %esi
	callq	_wpa_cipher_to_suite
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rax, %rbx
	movl	%r13d, %edi
	callq	_wpa_cipher_valid_pairwise
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movq	_WPA_CIPHER_NONE@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	je	LBB0_8
LBB0_7:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edx
	jmp	LBB0_24
LBB0_3:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
LBB0_24:
	callq	_wpa_printf
	movl	$-1, %ebx
LBB0_25:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	(%r12,%r15,4), %r13
	addq	$32, %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_RSN_SELECTOR_PUT
	movq	_RSN_SELECTOR_LEN@GOTPCREL(%rip), %r14
	movslq	(%r14), %rax
	movq	$1, (%r13,%rax,4)
	movq	_WPA_KEY_MGMT_IEEE8021X@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, (%rcx)
	jne	LBB0_15
## %bb.9:
	movq	_RSN_AUTH_KEY_MGMT_UNSPEC_802_1X@GOTPCREL(%rip), %rcx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_15:
	movq	_WPA_KEY_MGMT_PSK@GOTPCREL(%rip), %rcx
	cmpl	%edx, (%rcx)
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_17
## %bb.16:
	movq	_RSN_AUTH_KEY_MGMT_PSK_OVER_802_1X@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_17:
	movq	_WPA_KEY_MGMT_CCKM@GOTPCREL(%rip), %rcx
	cmpl	%edx, (%rcx)
	jne	LBB0_19
## %bb.18:
	movq	_RSN_AUTH_KEY_MGMT_CCKM@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_19:
	movq	_WPA_KEY_MGMT_IEEE8021X_SUITE_B_192@GOTPCREL(%rip), %rcx
	cmpl	%edx, (%rcx)
	jne	LBB0_21
## %bb.20:
	movq	_RSN_AUTH_KEY_MGMT_802_1X_SUITE_B_192@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_21:
	movq	_WPA_KEY_MGMT_IEEE8021X_SUITE_B@GOTPCREL(%rip), %rcx
	cmpl	%edx, (%rcx)
	jne	LBB0_23
## %bb.22:
	movq	_RSN_AUTH_KEY_MGMT_802_1X_SUITE_B@GOTPCREL(%rip), %rcx
LBB0_10:
	leaq	8(,%rax,4), %rbx
	addq	%r13, %rbx
	movq	(%rcx), %rsi
	movq	%rbx, %rdi
	callq	_RSN_SELECTOR_PUT
	movslq	(%r14), %r14
	leaq	(%rbx,%r14,4), %rdi
	xorl	%esi, %esi
	movq	16(%rbp), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_12
## %bb.11:
	movq	_WPA_CAPABILITY_OCVC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_12:
	callq	_WPA_PUT_LE16
	leaq	(%rbx,%r14,4), %rbx
	addq	$8, %rbx
	movq	16(%rbp), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	$1, (%rbx)
	leaq	8(%rbx), %rdi
	movl	(%rax), %esi
	movq	_PMKID_LEN@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_os_memcpy
	movslq	(%r14), %rax
	leaq	(%rbx,%rax,4), %rbx
	addq	$8, %rbx
LBB0_14:
	subq	%r12, %rbx
	sarq	$2, %rbx
	leal	-2(%rbx), %eax
	movl	%eax, (%r12)
	xorl	%edi, %edi
	cmpq	%r15, %rbx
	setbe	%dil
	callq	_WPA_ASSERT
	jmp	LBB0_25
LBB0_23:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_RSN_SELECTOR_LEN,4,2           ## @RSN_SELECTOR_LEN
	.comm	_PMKID_LEN,4,2                  ## @PMKID_LEN
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RSN: Too short IE buffer (%lu bytes)"

	.comm	_WLAN_EID_RSN,4,2               ## @WLAN_EID_RSN
	.comm	_RSN_VERSION,4,2                ## @RSN_VERSION
	.comm	_WPA_PROTO_RSN,4,2              ## @WPA_PROTO_RSN
	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"Invalid group cipher (%d)."

	.comm	_WPA_CIPHER_NONE,4,2            ## @WPA_CIPHER_NONE
L_.str.2:                               ## @.str.2
	.asciz	"Invalid pairwise cipher (%d)."

	.comm	_WPA_KEY_MGMT_IEEE8021X,4,2     ## @WPA_KEY_MGMT_IEEE8021X
	.comm	_RSN_AUTH_KEY_MGMT_UNSPEC_802_1X,8,3 ## @RSN_AUTH_KEY_MGMT_UNSPEC_802_1X
	.comm	_WPA_KEY_MGMT_PSK,4,2           ## @WPA_KEY_MGMT_PSK
	.comm	_RSN_AUTH_KEY_MGMT_PSK_OVER_802_1X,8,3 ## @RSN_AUTH_KEY_MGMT_PSK_OVER_802_1X
	.comm	_WPA_KEY_MGMT_CCKM,4,2          ## @WPA_KEY_MGMT_CCKM
	.comm	_RSN_AUTH_KEY_MGMT_CCKM,8,3     ## @RSN_AUTH_KEY_MGMT_CCKM
	.comm	_WPA_KEY_MGMT_IEEE8021X_SUITE_B_192,4,2 ## @WPA_KEY_MGMT_IEEE8021X_SUITE_B_192
	.comm	_RSN_AUTH_KEY_MGMT_802_1X_SUITE_B_192,8,3 ## @RSN_AUTH_KEY_MGMT_802_1X_SUITE_B_192
	.comm	_WPA_KEY_MGMT_IEEE8021X_SUITE_B,4,2 ## @WPA_KEY_MGMT_IEEE8021X_SUITE_B
	.comm	_RSN_AUTH_KEY_MGMT_802_1X_SUITE_B,8,3 ## @RSN_AUTH_KEY_MGMT_802_1X_SUITE_B
L_.str.3:                               ## @.str.3
	.asciz	"Invalid key management type (%d)."

	.comm	_WPA_CAPABILITY_OCVC,4,2        ## @WPA_CAPABILITY_OCVC
	.comm	_RSN_AUTH_KEY_MGMT_802_1X_SHA256,8,3 ## @RSN_AUTH_KEY_MGMT_802_1X_SHA256
	.comm	_RSN_AUTH_KEY_MGMT_DPP,8,3      ## @RSN_AUTH_KEY_MGMT_DPP
	.comm	_RSN_AUTH_KEY_MGMT_FILS_SHA256,8,3 ## @RSN_AUTH_KEY_MGMT_FILS_SHA256
	.comm	_RSN_AUTH_KEY_MGMT_FILS_SHA384,8,3 ## @RSN_AUTH_KEY_MGMT_FILS_SHA384
	.comm	_RSN_AUTH_KEY_MGMT_FT_802_1X,8,3 ## @RSN_AUTH_KEY_MGMT_FT_802_1X
	.comm	_RSN_AUTH_KEY_MGMT_FT_802_1X_SHA384,8,3 ## @RSN_AUTH_KEY_MGMT_FT_802_1X_SHA384
	.comm	_RSN_AUTH_KEY_MGMT_FT_FILS_SHA256,8,3 ## @RSN_AUTH_KEY_MGMT_FT_FILS_SHA256
	.comm	_RSN_AUTH_KEY_MGMT_FT_FILS_SHA384,8,3 ## @RSN_AUTH_KEY_MGMT_FT_FILS_SHA384
	.comm	_RSN_AUTH_KEY_MGMT_FT_PSK,8,3   ## @RSN_AUTH_KEY_MGMT_FT_PSK
	.comm	_RSN_AUTH_KEY_MGMT_FT_SAE,8,3   ## @RSN_AUTH_KEY_MGMT_FT_SAE
	.comm	_RSN_AUTH_KEY_MGMT_OSEN,8,3     ## @RSN_AUTH_KEY_MGMT_OSEN
	.comm	_RSN_AUTH_KEY_MGMT_OWE,8,3      ## @RSN_AUTH_KEY_MGMT_OWE
	.comm	_RSN_AUTH_KEY_MGMT_PSK_SHA256,8,3 ## @RSN_AUTH_KEY_MGMT_PSK_SHA256
	.comm	_RSN_AUTH_KEY_MGMT_SAE,8,3      ## @RSN_AUTH_KEY_MGMT_SAE
	.comm	_WPA_CAPABILITY_MFPC,4,2        ## @WPA_CAPABILITY_MFPC
	.comm	_WPA_CAPABILITY_MFPR,4,2        ## @WPA_CAPABILITY_MFPR
	.comm	_WPA_KEY_MGMT_DPP,4,2           ## @WPA_KEY_MGMT_DPP
	.comm	_WPA_KEY_MGMT_FILS_SHA256,4,2   ## @WPA_KEY_MGMT_FILS_SHA256
	.comm	_WPA_KEY_MGMT_FILS_SHA384,4,2   ## @WPA_KEY_MGMT_FILS_SHA384
	.comm	_WPA_KEY_MGMT_FT_FILS_SHA256,4,2 ## @WPA_KEY_MGMT_FT_FILS_SHA256
	.comm	_WPA_KEY_MGMT_FT_FILS_SHA384,4,2 ## @WPA_KEY_MGMT_FT_FILS_SHA384
	.comm	_WPA_KEY_MGMT_FT_IEEE8021X,4,2  ## @WPA_KEY_MGMT_FT_IEEE8021X
	.comm	_WPA_KEY_MGMT_FT_IEEE8021X_SHA384,4,2 ## @WPA_KEY_MGMT_FT_IEEE8021X_SHA384
	.comm	_WPA_KEY_MGMT_FT_PSK,4,2        ## @WPA_KEY_MGMT_FT_PSK
	.comm	_WPA_KEY_MGMT_FT_SAE,4,2        ## @WPA_KEY_MGMT_FT_SAE
	.comm	_WPA_KEY_MGMT_IEEE8021X_SHA256,4,2 ## @WPA_KEY_MGMT_IEEE8021X_SHA256
	.comm	_WPA_KEY_MGMT_OSEN,4,2          ## @WPA_KEY_MGMT_OSEN
	.comm	_WPA_KEY_MGMT_OWE,4,2           ## @WPA_KEY_MGMT_OWE
	.comm	_WPA_KEY_MGMT_PSK_SHA256,4,2    ## @WPA_KEY_MGMT_PSK_SHA256
	.comm	_WPA_KEY_MGMT_SAE,4,2           ## @WPA_KEY_MGMT_SAE
	.no_dead_strip	_wpa_gen_wpa_ie_rsn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function wpa_gen_wpa_ie_rsn
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_wpa_gen_wpa_ie_rsn:                    ; @wpa_gen_wpa_ie_rsn
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x1
Lloh0:
	adrp	x27, _RSN_SELECTOR_LEN@GOTPAGE
Lloh1:
	ldr	x27, [x27, _RSN_SELECTOR_LEN@GOTPAGEOFF]
	ldrsw	x8, [x27]
	ldr	x9, [x6, #8]
Lloh2:
	adrp	x26, _PMKID_LEN@GOTPAGE
Lloh3:
	ldr	x26, [x26, _PMKID_LEN@GOTPAGEOFF]
	ldrsw	x10, [x26]
	add	x10, x10, #2
	cmp	x9, #0
	csel	x9, xzr, x10, eq
	add	x8, x8, x8, lsl #1
	add	x8, x8, x9
	add	x8, x8, #30
	cmp	x8, x1
	b.ls	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	b	LBB0_8
LBB0_2:
	mov	x21, x6
	mov	x22, x4
	mov	x24, x3
	mov	x23, x2
	mov	x20, x0
Lloh9:
	adrp	x8, _WLAN_EID_RSN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WLAN_EID_RSN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	ldr	x0, [x0, #8]
Lloh12:
	adrp	x8, _RSN_VERSION@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RSN_VERSION@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_WPA_PUT_LE16
Lloh15:
	adrp	x25, _WPA_PROTO_RSN@GOTPAGE
Lloh16:
	ldr	x25, [x25, _WPA_PROTO_RSN@GOTPAGEOFF]
	ldr	w0, [x25]
	mov	x1, x24
	bl	_wpa_cipher_to_suite
	cbz	x0, LBB0_7
; %bb.3:
	mov	x1, x0
	add	x24, x20, #24
	mov	x0, x24
	bl	_RSN_SELECTOR_PUT
	ldrsw	x8, [x27]
	add	x24, x24, x8, lsl #2
Lloh17:
	adrp	x8, lCPI0_0@PAGE
Lloh18:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
	str	d8, [x24], #8
	ldr	w0, [x25]
	mov	x1, x23
	bl	_wpa_cipher_to_suite
	cbz	x0, LBB0_6
; %bb.4:
	mov	x25, x0
	mov	x0, x23
	bl	_wpa_cipher_valid_pairwise
	cbnz	w0, LBB0_10
; %bb.5:
Lloh19:
	adrp	x8, _WPA_CIPHER_NONE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _WPA_CIPHER_NONE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w8, w23
	b.eq	LBB0_10
LBB0_6:
Lloh22:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x23
	b	LBB0_8
LBB0_7:
Lloh27:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.1@PAGE
Lloh31:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x24
LBB0_8:
	bl	_wpa_printf
	mov	w21, #-1
LBB0_9:
	mov	x0, x21
	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
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x24
	mov	x1, x25
	bl	_RSN_SELECTOR_PUT
	ldrsw	x8, [x27]
	add	x23, x24, x8, lsl #2
	str	d8, [x23], #8
Lloh32:
	adrp	x8, _WPA_KEY_MGMT_IEEE8021X@GOTPAGE
Lloh33:
	ldr	x8, [x8, _WPA_KEY_MGMT_IEEE8021X@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_12
; %bb.11:
Lloh35:
	adrp	x8, _RSN_AUTH_KEY_MGMT_UNSPEC_802_1X@GOTPAGE
Lloh36:
	ldr	x8, [x8, _RSN_AUTH_KEY_MGMT_UNSPEC_802_1X@GOTPAGEOFF]
	b	LBB0_20
LBB0_12:
Lloh37:
	adrp	x8, _WPA_KEY_MGMT_PSK@GOTPAGE
Lloh38:
	ldr	x8, [x8, _WPA_KEY_MGMT_PSK@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_14
; %bb.13:
Lloh40:
	adrp	x8, _RSN_AUTH_KEY_MGMT_PSK_OVER_802_1X@GOTPAGE
Lloh41:
	ldr	x8, [x8, _RSN_AUTH_KEY_MGMT_PSK_OVER_802_1X@GOTPAGEOFF]
	b	LBB0_20
LBB0_14:
Lloh42:
	adrp	x8, _WPA_KEY_MGMT_CCKM@GOTPAGE
Lloh43:
	ldr	x8, [x8, _WPA_KEY_MGMT_CCKM@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_16
; %bb.15:
Lloh45:
	adrp	x8, _RSN_AUTH_KEY_MGMT_CCKM@GOTPAGE
Lloh46:
	ldr	x8, [x8, _RSN_AUTH_KEY_MGMT_CCKM@GOTPAGEOFF]
	b	LBB0_20
LBB0_16:
Lloh47:
	adrp	x8, _WPA_KEY_MGMT_IEEE8021X_SUITE_B_192@GOTPAGE
Lloh48:
	ldr	x8, [x8, _WPA_KEY_MGMT_IEEE8021X_SUITE_B_192@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_18
; %bb.17:
Lloh50:
	adrp	x8, _RSN_AUTH_KEY_MGMT_802_1X_SUITE_B_192@GOTPAGE
Lloh51:
	ldr	x8, [x8, _RSN_AUTH_KEY_MGMT_802_1X_SUITE_B_192@GOTPAGEOFF]
	b	LBB0_20
LBB0_18:
Lloh52:
	adrp	x8, _WPA_KEY_MGMT_IEEE8021X_SUITE_B@GOTPAGE
Lloh53:
	ldr	x8, [x8, _WPA_KEY_MGMT_IEEE8021X_SUITE_B@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_23
; %bb.19:
Lloh55:
	adrp	x8, _RSN_AUTH_KEY_MGMT_802_1X_SUITE_B@GOTPAGE
Lloh56:
	ldr	x8, [x8, _RSN_AUTH_KEY_MGMT_802_1X_SUITE_B@GOTPAGEOFF]
LBB0_20:
	ldr	x1, [x8]
	mov	x0, x23
	bl	_RSN_SELECTOR_PUT
	ldrsw	x8, [x27]
	add	x22, x23, x8, lsl #2
	ldr	x8, [x21, #16]
Lloh57:
	adrp	x9, _WPA_CAPABILITY_OCVC@GOTPAGE
Lloh58:
	ldr	x9, [x9, _WPA_CAPABILITY_OCVC@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w1, wzr, w9, eq
	mov	x0, x22
	bl	_WPA_PUT_LE16
	add	x22, x22, #8
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_22
; %bb.21:
	mov	w9, #1
	str	x9, [x22], #8
	ldr	w1, [x8]
	ldr	w2, [x26]
	mov	x0, x22
	bl	_os_memcpy
	ldrsw	x8, [x26]
	add	x22, x22, x8, lsl #2
LBB0_22:
	sub	x8, x22, x20
	asr	x21, x8, #2
	sub	w8, w21, #2
	str	w8, [x20]
	cmp	x21, x19
	cset	w0, ls
	bl	_WPA_ASSERT
	b	LBB0_9
LBB0_23:
Lloh60:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh61:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh62:
	ldr	w0, [x8]
Lloh63:
	adrp	x1, l_.str.3@PAGE
Lloh64:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x22
	b	LBB0_8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.comm	_RSN_SELECTOR_LEN,4,2           ; @RSN_SELECTOR_LEN
	.comm	_PMKID_LEN,4,2                  ; @PMKID_LEN
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RSN: Too short IE buffer (%lu bytes)"

	.comm	_WLAN_EID_RSN,4,2               ; @WLAN_EID_RSN
	.comm	_RSN_VERSION,4,2                ; @RSN_VERSION
	.comm	_WPA_PROTO_RSN,4,2              ; @WPA_PROTO_RSN
	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"Invalid group cipher (%d)."

	.comm	_WPA_CIPHER_NONE,4,2            ; @WPA_CIPHER_NONE
l_.str.2:                               ; @.str.2
	.asciz	"Invalid pairwise cipher (%d)."

	.comm	_WPA_KEY_MGMT_IEEE8021X,4,2     ; @WPA_KEY_MGMT_IEEE8021X
	.comm	_RSN_AUTH_KEY_MGMT_UNSPEC_802_1X,8,3 ; @RSN_AUTH_KEY_MGMT_UNSPEC_802_1X
	.comm	_WPA_KEY_MGMT_PSK,4,2           ; @WPA_KEY_MGMT_PSK
	.comm	_RSN_AUTH_KEY_MGMT_PSK_OVER_802_1X,8,3 ; @RSN_AUTH_KEY_MGMT_PSK_OVER_802_1X
	.comm	_WPA_KEY_MGMT_CCKM,4,2          ; @WPA_KEY_MGMT_CCKM
	.comm	_RSN_AUTH_KEY_MGMT_CCKM,8,3     ; @RSN_AUTH_KEY_MGMT_CCKM
	.comm	_WPA_KEY_MGMT_IEEE8021X_SUITE_B_192,4,2 ; @WPA_KEY_MGMT_IEEE8021X_SUITE_B_192
	.comm	_RSN_AUTH_KEY_MGMT_802_1X_SUITE_B_192,8,3 ; @RSN_AUTH_KEY_MGMT_802_1X_SUITE_B_192
	.comm	_WPA_KEY_MGMT_IEEE8021X_SUITE_B,4,2 ; @WPA_KEY_MGMT_IEEE8021X_SUITE_B
	.comm	_RSN_AUTH_KEY_MGMT_802_1X_SUITE_B,8,3 ; @RSN_AUTH_KEY_MGMT_802_1X_SUITE_B
l_.str.3:                               ; @.str.3
	.asciz	"Invalid key management type (%d)."

	.comm	_WPA_CAPABILITY_OCVC,4,2        ; @WPA_CAPABILITY_OCVC
	.comm	_RSN_AUTH_KEY_MGMT_802_1X_SHA256,8,3 ; @RSN_AUTH_KEY_MGMT_802_1X_SHA256
	.comm	_RSN_AUTH_KEY_MGMT_DPP,8,3      ; @RSN_AUTH_KEY_MGMT_DPP
	.comm	_RSN_AUTH_KEY_MGMT_FILS_SHA256,8,3 ; @RSN_AUTH_KEY_MGMT_FILS_SHA256
	.comm	_RSN_AUTH_KEY_MGMT_FILS_SHA384,8,3 ; @RSN_AUTH_KEY_MGMT_FILS_SHA384
	.comm	_RSN_AUTH_KEY_MGMT_FT_802_1X,8,3 ; @RSN_AUTH_KEY_MGMT_FT_802_1X
	.comm	_RSN_AUTH_KEY_MGMT_FT_802_1X_SHA384,8,3 ; @RSN_AUTH_KEY_MGMT_FT_802_1X_SHA384
	.comm	_RSN_AUTH_KEY_MGMT_FT_FILS_SHA256,8,3 ; @RSN_AUTH_KEY_MGMT_FT_FILS_SHA256
	.comm	_RSN_AUTH_KEY_MGMT_FT_FILS_SHA384,8,3 ; @RSN_AUTH_KEY_MGMT_FT_FILS_SHA384
	.comm	_RSN_AUTH_KEY_MGMT_FT_PSK,8,3   ; @RSN_AUTH_KEY_MGMT_FT_PSK
	.comm	_RSN_AUTH_KEY_MGMT_FT_SAE,8,3   ; @RSN_AUTH_KEY_MGMT_FT_SAE
	.comm	_RSN_AUTH_KEY_MGMT_OSEN,8,3     ; @RSN_AUTH_KEY_MGMT_OSEN
	.comm	_RSN_AUTH_KEY_MGMT_OWE,8,3      ; @RSN_AUTH_KEY_MGMT_OWE
	.comm	_RSN_AUTH_KEY_MGMT_PSK_SHA256,8,3 ; @RSN_AUTH_KEY_MGMT_PSK_SHA256
	.comm	_RSN_AUTH_KEY_MGMT_SAE,8,3      ; @RSN_AUTH_KEY_MGMT_SAE
	.comm	_WPA_CAPABILITY_MFPC,4,2        ; @WPA_CAPABILITY_MFPC
	.comm	_WPA_CAPABILITY_MFPR,4,2        ; @WPA_CAPABILITY_MFPR
	.comm	_WPA_KEY_MGMT_DPP,4,2           ; @WPA_KEY_MGMT_DPP
	.comm	_WPA_KEY_MGMT_FILS_SHA256,4,2   ; @WPA_KEY_MGMT_FILS_SHA256
	.comm	_WPA_KEY_MGMT_FILS_SHA384,4,2   ; @WPA_KEY_MGMT_FILS_SHA384
	.comm	_WPA_KEY_MGMT_FT_FILS_SHA256,4,2 ; @WPA_KEY_MGMT_FT_FILS_SHA256
	.comm	_WPA_KEY_MGMT_FT_FILS_SHA384,4,2 ; @WPA_KEY_MGMT_FT_FILS_SHA384
	.comm	_WPA_KEY_MGMT_FT_IEEE8021X,4,2  ; @WPA_KEY_MGMT_FT_IEEE8021X
	.comm	_WPA_KEY_MGMT_FT_IEEE8021X_SHA384,4,2 ; @WPA_KEY_MGMT_FT_IEEE8021X_SHA384
	.comm	_WPA_KEY_MGMT_FT_PSK,4,2        ; @WPA_KEY_MGMT_FT_PSK
	.comm	_WPA_KEY_MGMT_FT_SAE,4,2        ; @WPA_KEY_MGMT_FT_SAE
	.comm	_WPA_KEY_MGMT_IEEE8021X_SHA256,4,2 ; @WPA_KEY_MGMT_IEEE8021X_SHA256
	.comm	_WPA_KEY_MGMT_OSEN,4,2          ; @WPA_KEY_MGMT_OSEN
	.comm	_WPA_KEY_MGMT_OWE,4,2           ; @WPA_KEY_MGMT_OWE
	.comm	_WPA_KEY_MGMT_PSK_SHA256,4,2    ; @WPA_KEY_MGMT_PSK_SHA256
	.comm	_WPA_KEY_MGMT_SAE,4,2           ; @WPA_KEY_MGMT_SAE
	.no_dead_strip	_wpa_gen_wpa_ie_rsn
.subsections_via_symbols
