	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmksa_cache_from_eapol_data
_pmksa_cache_from_eapol_data:           ## @pmksa_cache_from_eapol_data
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	$0, 40(%rsi)
	je	LBB0_4
## %bb.2:
	movl	32(%rbx), %edi
	callq	_os_malloc
	movq	%rax, 32(%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	32(%rbx), %edx
	movl	%edx, 40(%r14)
	movq	40(%rbx), %rsi
	movq	%rax, %rdi
	callq	_os_memcpy
LBB0_4:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_wpabuf_dup
	movl	%eax, 24(%r14)
LBB0_6:
	leaq	20(%r14), %rdi
	leaq	20(%rbx), %rsi
	callq	_radius_copy_class
	movl	16(%rbx), %eax
	movl	%eax, 16(%r14)
	movq	8(%rbx), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_10
## %bb.7:
	cmpq	$0, (%r15)
	je	LBB0_10
## %bb.8:
	movl	$8, %edi
	callq	_os_zalloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	(%r15), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_11
LBB0_10:
	movq	$0, 8(%r14)
LBB0_11:
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_12:
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pmksa_cache_from_eapol_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmksa_cache_from_eapol_data
_pmksa_cache_from_eapol_data:           ; @pmksa_cache_from_eapol_data
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_12
; %bb.1:
	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	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #40]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w0, [x20, #32]
	bl	_os_malloc
	str	x0, [x19, #32]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w2, [x20, #32]
	str	w2, [x19, #40]
	ldr	x1, [x20, #40]
	bl	_os_memcpy
LBB0_4:
	ldr	x0, [x20, #24]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_wpabuf_dup
	str	w0, [x19, #24]
LBB0_6:
	add	x0, x19, #20
	add	x1, x20, #20
	bl	_radius_copy_class
	ldr	w8, [x20, #16]
	str	w8, [x19, #16]
	ldr	x8, [x20, #8]
	ldr	x21, [x8]
	cbz	x21, LBB0_10
; %bb.7:
	ldr	x8, [x21]
	cbz	x8, LBB0_10
; %bb.8:
	mov	w0, #8
	bl	_os_zalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_11
; %bb.9:
	ldr	x8, [x21]
	str	x8, [x0]
	b	LBB0_11
LBB0_10:
	str	xzr, [x19, #8]
LBB0_11:
	ldr	w8, [x20]
	str	w8, [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
LBB0_12:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pmksa_cache_from_eapol_data
.subsections_via_symbols
