	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee802_1x_kay_set_latest_sa_attr ## -- Begin function ieee802_1x_kay_set_latest_sa_attr
	.p2align	4, 0x90
_ieee802_1x_kay_set_latest_sa_attr:     ## @ieee802_1x_kay_set_latest_sa_attr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	callq	_ieee802_1x_kay_get_principal_participant
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$24, %rdi
	testq	%r15, %r15
	je	LBB0_3
## %bb.4:
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_os_memcpy
	movq	(%r15), %r15
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_6
LBB0_3:
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_os_memset
LBB0_5:
	movq	%r14, 16(%rbx)
	movq	%r12, 8(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rbx)
	movq	%r15, 24(%r13)
	movq	%r15, 16(%r13)
	movq	%r14, 8(%r13)
	movq	%r14, (%r13)
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee802_1x_kay_set_latest_sa_attr ; -- Begin function ieee802_1x_kay_set_latest_sa_attr
	.p2align	2
_ieee802_1x_kay_set_latest_sa_attr:     ; @ieee802_1x_kay_set_latest_sa_attr
	.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
	mov	x21, x4
	mov	x22, x3
	mov	x19, x2
	mov	x24, x1
	mov	x20, x0
	bl	_ieee802_1x_kay_get_principal_participant
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, x0
	add	x0, x0, #24
	cbz	x24, LBB0_4
; %bb.2:
	mov	x1, x24
	mov	w2, #4
	bl	_os_memcpy
	ldr	x8, [x24]
	b	LBB0_5
LBB0_3:
	mov	w0, #-1
	b	LBB0_6
LBB0_4:
	mov	w1, #0
	mov	w2, #4
	bl	_os_memset
	mov	x8, #0
LBB0_5:
	mov	w0, #0
	stp	x22, x19, [x23, #8]
	str	x21, [x23]
	stp	x8, x8, [x20, #16]
	stp	x19, x19, [x20]
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
