	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee802_1x_kay_create_live_peer
_ieee802_1x_kay_create_live_peer:       ## @ieee802_1x_kay_create_live_peer
	.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	%rdi, %r14
	movq	%rsi, %rdi
	movl	%edx, %esi
	callq	_ieee802_1x_kay_create_peer
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r12
	movq	%rax, %rbx
	addq	$4, %rbx
	leaq	12(%r14), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_os_memcpy
	movq	%rbx, %rdi
	callq	_ieee802_1x_kay_init_receive_sc
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r15
	movl	8(%r14), %edi
	movq	%rax, %rsi
	callq	_secy_create_receive_sc
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%r15, %rdi
	callq	_os_free
LBB0_4:
	movq	%r12, %rdi
	callq	_os_free
LBB0_5:
	xorl	%r12d, %r12d
LBB0_7:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	4(%r14), %rdi
	movq	%r12, %rsi
	callq	_dl_list_add
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_dl_list_add
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	%r12, %rdi
	callq	_ieee802_1x_kay_dump_peer
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"KaY: Live peer created"

	.no_dead_strip	_ieee802_1x_kay_create_live_peer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee802_1x_kay_create_live_peer
_ieee802_1x_kay_create_live_peer:       ; @ieee802_1x_kay_create_live_peer
	.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	x20, x0
	mov	x0, x1
	mov	x1, x2
	bl	_ieee802_1x_kay_create_peer
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
	add	x21, x19, #4
	add	x1, x20, #12
	mov	x0, x21
	mov	w2, #4
	bl	_os_memcpy
	mov	x0, x21
	bl	_ieee802_1x_kay_init_receive_sc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
	ldr	w0, [x20, #8]
	mov	x1, x21
	bl	_secy_create_receive_sc
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x21
	bl	_os_free
LBB0_4:
	mov	x0, x19
	bl	_os_free
	mov	x19, #0
	b	LBB0_6
LBB0_5:
	add	x0, x20, #4
	mov	x1, x19
	bl	_dl_list_add
	mov	x0, x20
	mov	x1, x21
	bl	_dl_list_add
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x0, x19
	bl	_ieee802_1x_kay_dump_peer
LBB0_6:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"KaY: Live peer created"

	.no_dead_strip	_ieee802_1x_kay_create_live_peer
.subsections_via_symbols
