	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmksa_cache_auth_create_entry  ## -- Begin function pmksa_cache_auth_create_entry
	.p2align	4, 0x90
_pmksa_cache_auth_create_entry:         ## @pmksa_cache_auth_create_entry
	.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
	movq	_PMK_LEN_MAX@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jb	LBB0_1
## %bb.2:
	movq	%r9, %rbx
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	40(%rbp), %edi
	callq	_wpa_key_mgmt_suite_b
	testq	%r15, %r15
	jne	LBB0_5
## %bb.3:
	testq	%rax, %rax
	jne	LBB0_1
LBB0_5:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	$32, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movq	%rax, %rbx
	movl	24(%rax), %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_os_memcpy
	movq	%r14, (%rbx)
	testq	%r13, %r13
	je	LBB0_9
## %bb.7:
	movl	20(%rbx), %edi
	movq	_PMKID_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r13, %rsi
	callq	_os_memcpy
	movq	16(%rbp), %r15
	jmp	LBB0_14
LBB0_1:
	xorl	%ebx, %ebx
LBB0_17:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_WPA_KEY_MGMT_IEEE8021X_SUITE_B_192@GOTPCREL(%rip), %rax
	movl	40(%rbp), %r13d
	cmpl	%r13d, (%rax)
	jne	LBB0_11
## %bb.10:
	movl	20(%rbx), %r8d
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rbp), %r15
	movq	%r15, %rcx
	callq	_rsn_pmkid_suite_b_192
	jmp	LBB0_14
LBB0_11:
	movl	%r13d, %edi
	callq	_wpa_key_mgmt_suite_b
	movl	20(%rbx), %r8d
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rbp), %r15
	movq	%r15, %rcx
	callq	_rsn_pmkid_suite_b
	jmp	LBB0_14
LBB0_13:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rbp), %r15
	movq	%r15, %rcx
	movl	%r13d, %r9d
	callq	_rsn_pmkid
LBB0_14:
	movq	32(%rbp), %r14
	leaq	-56(%rbp), %rdi
	callq	_os_get_reltime
	movl	24(%rbp), %eax
	testl	%eax, %eax
	jg	LBB0_16
## %bb.15:
	movq	_dot11RSNAConfigPMKLifetime@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_16:
	addl	-56(%rbp), %eax
	movl	%eax, 8(%rbx)
	movl	40(%rbp), %eax
	movl	%eax, 12(%rbx)
	movl	16(%rbx), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r15, %rsi
	callq	_os_memcpy
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_pmksa_cache_from_eapol_data
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_PMK_LEN_MAX,8,3                ## @PMK_LEN_MAX
	.comm	_PMKID_LEN,8,3                  ## @PMKID_LEN
	.comm	_WPA_KEY_MGMT_IEEE8021X_SUITE_B_192,4,2 ## @WPA_KEY_MGMT_IEEE8021X_SUITE_B_192
	.comm	_dot11RSNAConfigPMKLifetime,8,3 ## @dot11RSNAConfigPMKLifetime
	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmksa_cache_auth_create_entry  ; -- Begin function pmksa_cache_auth_create_entry
	.p2align	2
_pmksa_cache_auth_create_entry:         ; @pmksa_cache_auth_create_entry
	.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
Lloh0:
	adrp	x8, _PMK_LEN_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PMK_LEN_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.lo	LBB0_3
; %bb.1:
	mov	x20, x7
	mov	x19, x6
	mov	x24, x5
	mov	x25, x4
	mov	x26, x3
	mov	x23, x2
	mov	x27, x1
	mov	x28, x0
	ldr	w22, [x29, #24]
	mov	x0, x22
	bl	_wpa_key_mgmt_suite_b
	cbnz	x26, LBB0_5
; %bb.2:
	cbz	x0, LBB0_5
LBB0_3:
	mov	x21, #0
LBB0_4:
	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
	add	sp, sp, #112
	ret
LBB0_5:
	mov	w0, #32
	bl	_os_zalloc
	mov	x21, x0
	cbz	x0, LBB0_4
; %bb.6:
	ldr	x8, [x29, #16]
	str	x8, [sp]                        ; 8-byte Folded Spill
	ldr	w0, [x21, #24]
	mov	x1, x28
	mov	x2, x27
	bl	_os_memcpy
	str	x27, [x21]
	cbz	x23, LBB0_8
; %bb.7:
	ldr	w0, [x21, #20]
Lloh3:
	adrp	x8, _PMKID_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PMKID_LEN@GOTPAGEOFF]
Lloh5:
	ldr	x2, [x8]
	mov	x1, x23
	bl	_os_memcpy
	b	LBB0_13
LBB0_8:
Lloh6:
	adrp	x8, _WPA_KEY_MGMT_IEEE8021X_SUITE_B_192@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WPA_KEY_MGMT_IEEE8021X_SUITE_B_192@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_10
; %bb.9:
	ldr	w4, [x21, #20]
	mov	x0, x26
	mov	x1, x25
	mov	x2, x24
	mov	x3, x19
	bl	_rsn_pmkid_suite_b_192
	b	LBB0_13
LBB0_10:
	mov	x0, x22
	bl	_wpa_key_mgmt_suite_b
	ldr	w4, [x21, #20]
	cbz	x0, LBB0_12
; %bb.11:
	mov	x0, x26
	mov	x1, x25
	mov	x2, x24
	mov	x3, x19
	bl	_rsn_pmkid_suite_b
	b	LBB0_13
LBB0_12:
	mov	x0, x28
	mov	x1, x27
	mov	x2, x24
	mov	x3, x19
	mov	x5, x22
	bl	_rsn_pmkid
LBB0_13:
	add	x0, sp, #8
	bl	_os_get_reltime
	ldr	w8, [sp, #8]
Lloh9:
	adrp	x9, _dot11RSNAConfigPMKLifetime@GOTPAGE
Lloh10:
	ldr	x9, [x9, _dot11RSNAConfigPMKLifetime@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w20, #0
	csel	w9, w20, w9, gt
	add	w8, w9, w8
	stp	w8, w22, [x21, #8]
	ldr	w0, [x21, #16]
Lloh12:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh14:
	ldr	x2, [x8]
	mov	x1, x19
	bl	_os_memcpy
	mov	x0, x21
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	bl	_pmksa_cache_from_eapol_data
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PMK_LEN_MAX,8,3                ; @PMK_LEN_MAX
	.comm	_PMKID_LEN,8,3                  ; @PMKID_LEN
	.comm	_WPA_KEY_MGMT_IEEE8021X_SUITE_B_192,4,2 ; @WPA_KEY_MGMT_IEEE8021X_SUITE_B_192
	.comm	_dot11RSNAConfigPMKLifetime,8,3 ; @dot11RSNAConfigPMKLifetime
	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
.subsections_via_symbols
