	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmksa_cache_to_eapol_data      ## -- Begin function pmksa_cache_to_eapol_data
	.p2align	4, 0x90
_pmksa_cache_to_eapol_data:             ## @pmksa_cache_to_eapol_data
	.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
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.1:
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %r15
	cmpq	$0, 32(%rsi)
	je	LBB0_7
## %bb.3:
	movq	40(%rbx), %rdi
	callq	_os_free
	movl	24(%r14), %edi
	callq	_os_malloc
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	24(%r14), %edx
	movl	%edx, 36(%rbx)
	movq	32(%r14), %rsi
	movq	%rax, %rdi
	callq	_os_memcpy
	movq	40(%rbx), %rdx
	jmp	LBB0_6
LBB0_4:
	xorl	%edx, %edx
LBB0_6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	36(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_wpa_hexdump_ascii
LBB0_7:
	cmpq	$0, 16(%r14)
	je	LBB0_9
## %bb.8:
	movl	32(%rbx), %edi
	callq	_wpabuf_free
	movq	16(%r14), %rdi
	callq	_wpabuf_dup
	movl	%eax, 32(%rbx)
LBB0_9:
	leaq	16(%rbx), %r12
	movq	%r12, %rdi
	callq	_radius_free_class
	leaq	12(%r14), %rsi
	movq	%r12, %rdi
	callq	_radius_copy_class
	cmpq	$0, 24(%rbx)
	je	LBB0_11
## %bb.10:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
LBB0_11:
	movl	8(%r14), %eax
	movl	%eax, 8(%rbx)
	movl	4(%rbx), %esi
	movl	4(%r14), %edx
	movq	%r15, %rdi
	callq	_ap_sta_set_vlan
	movl	(%r14), %eax
	movl	%eax, (%rbx)
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"STA identity from PMKSA"

L_.str.1:                               ## @.str.1
	.asciz	"Copied %lu Class attribute(s) from PMKSA"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmksa_cache_to_eapol_data      ; -- Begin function pmksa_cache_to_eapol_data
	.p2align	2
_pmksa_cache_to_eapol_data:             ; @pmksa_cache_to_eapol_data
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x1, LBB0_12
; %bb.1:
	mov	x19, x2
	cbz	x2, LBB0_12
; %bb.2:
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x1, #32]
Lloh0:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	cbz	x8, LBB0_7
; %bb.3:
	ldr	x0, [x19, #40]
	bl	_os_free
	ldr	w0, [x20, #24]
	bl	_os_malloc
	str	x0, [x19, #40]
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w2, [x20, #24]
	str	w2, [x19, #36]
	ldr	x1, [x20, #32]
	bl	_os_memcpy
	ldr	x2, [x19, #40]
	b	LBB0_6
LBB0_5:
	mov	x2, #0
LBB0_6:
	ldr	w0, [x23]
	ldr	w3, [x19, #36]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_hexdump_ascii
LBB0_7:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	w0, [x19, #32]
	bl	_wpabuf_free
	ldr	x0, [x20, #16]
	bl	_wpabuf_dup
	str	w0, [x19, #32]
LBB0_9:
	add	x22, x19, #16
	mov	x0, x22
	bl	_radius_free_class
	add	x1, x20, #12
	mov	x0, x22
	bl	_radius_copy_class
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	w0, [x23]
	ldr	x2, [x22]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_11:
	ldp	w2, w8, [x20, #4]
	str	w8, [x19, #8]
	ldr	w1, [x19, #4]
	mov	x0, x21
	bl	_ap_sta_set_vlan
	ldr	w8, [x20]
	str	w8, [x19]
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"STA identity from PMKSA"

l_.str.1:                               ; @.str.1
	.asciz	"Copied %lu Class attribute(s) from PMKSA"

.subsections_via_symbols
