	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmksa_cache_add_okc            ## -- Begin function pmksa_cache_add_okc
	.p2align	4, 0x90
_pmksa_cache_add_okc:                   ## @pmksa_cache_add_okc
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$88, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	80(%rax), %rdi
	movq	_PMKID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_os_memcpy
	movq	72(%rbx), %rdi
	movq	72(%r15), %rsi
	movl	64(%r15), %edx
	callq	_os_memcpy
	movl	64(%r15), %eax
	movl	%eax, 64(%rbx)
	movl	60(%r15), %eax
	movl	%eax, 60(%rbx)
	movl	56(%r15), %eax
	movl	%eax, 56(%rbx)
	movq	48(%rbx), %rdi
	movq	48(%r15), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_os_memcpy
	movl	$1, (%rbx)
	cmpq	$0, 40(%r15)
	je	LBB0_5
## %bb.3:
	movl	32(%r15), %edi
	callq	_os_malloc
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	32(%r15), %ecx
	movl	%ecx, 32(%rbx)
	movq	40(%r15), %rsi
	movl	32(%r15), %edx
	movq	%rax, %rdi
	callq	_os_memcpy
LBB0_5:
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_wpabuf_dup
	movq	%rax, 24(%rbx)
LBB0_7:
	movq	%rbx, %rdi
	addq	$20, %rdi
	leaq	20(%r15), %rsi
	callq	_radius_copy_class
	movl	16(%r15), %eax
	movl	%eax, 16(%rbx)
	cmpq	$0, 8(%r15)
	je	LBB0_10
## %bb.8:
	movl	$4, %edi
	callq	_os_zalloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	8(%r15), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	jmp	LBB0_11
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_10:
	movq	$0, 8(%rbx)
LBB0_11:
	movl	$1, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_pmksa_cache_link_entry
LBB0_12:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PMKID_LEN,4,2                  ## @PMKID_LEN
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmksa_cache_add_okc            ; -- Begin function pmksa_cache_add_okc
	.p2align	2
_pmksa_cache_add_okc:                   ; @pmksa_cache_add_okc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x3
	mov	x21, x1
	mov	x20, x0
	mov	w0, #88
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_11
; %bb.1:
	ldr	x0, [x19, #80]
Lloh0:
	adrp	x8, _PMKID_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PMKID_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_os_memcpy
	ldr	x0, [x19, #72]
	ldr	x1, [x21, #72]
	ldr	w2, [x21, #64]
	bl	_os_memcpy
	ldr	w8, [x21, #64]
	str	w8, [x19, #64]
	ldr	d0, [x21, #56]
	str	d0, [x19, #56]
	ldr	x0, [x19, #48]
	ldr	x1, [x21, #48]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_os_memcpy
	mov	w8, #1
	str	w8, [x19]
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w0, [x21, #32]
	bl	_os_malloc
	str	x0, [x19, #40]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x21, #32]
	str	w8, [x19, #32]
	ldr	x1, [x21, #40]
	ldr	w2, [x21, #32]
	bl	_os_memcpy
LBB0_4:
	ldr	x0, [x21, #24]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_wpabuf_dup
	str	x0, [x19, #24]
LBB0_6:
	add	x0, x19, #20
	add	x1, x21, #20
	bl	_radius_copy_class
	ldr	w8, [x21, #16]
	str	w8, [x19, #16]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_9
; %bb.7:
	mov	w0, #4
	bl	_os_zalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_10
; %bb.8:
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	str	w8, [x0]
	b	LBB0_10
LBB0_9:
	str	xzr, [x19, #8]
LBB0_10:
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x20
	mov	x1, x19
	bl	_pmksa_cache_link_entry
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PMKID_LEN,4,2                  ; @PMKID_LEN
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
.subsections_via_symbols
