	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FreeIKEServer                  ## -- Begin function FreeIKEServer
	.p2align	4, 0x90
_FreeIKEServer:                         ## @FreeIKEServer
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %r8
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_IPsecLog
	movl	28(%r14), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	28(%r14), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	movq	%rax, %rdi
	callq	_FreeUdpPacket
	incq	%rbx
	movl	28(%r14), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	movl	28(%r14), %edi
	callq	_ReleaseList
	movl	24(%r14), %edi
	callq	_LIST_NUM
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_Debug
	movl	24(%r14), %edi
	callq	_LIST_NUM
	leaq	L_.str.2(%rip), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%rax, %r9
	xorl	%eax, %eax
	callq	_IPsecLog
	movl	24(%r14), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	24(%r14), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	movq	%rax, %rdi
	callq	_FreeIPsecSa
	incq	%rbx
	movl	24(%r14), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	movl	24(%r14), %edi
	callq	_ReleaseList
	movl	20(%r14), %edi
	callq	_LIST_NUM
	leaq	L_.str.3(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_Debug
	movl	20(%r14), %edi
	callq	_LIST_NUM
	leaq	L_.str.4(%rip), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%rax, %r9
	xorl	%eax, %eax
	callq	_IPsecLog
	movl	20(%r14), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_10
## %bb.8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	20(%r14), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	movq	%rax, %rdi
	callq	_FreeIkeSa
	incq	%rbx
	movl	20(%r14), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jl	LBB0_9
LBB0_10:
	movl	20(%r14), %edi
	callq	_ReleaseList
	movl	16(%r14), %edi
	callq	_LIST_NUM
	leaq	L_.str.5(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_Debug
	movl	16(%r14), %edi
	callq	_LIST_NUM
	leaq	L_.str.6(%rip), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%rax, %r9
	xorl	%eax, %eax
	callq	_IPsecLog
	movl	16(%r14), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_13
## %bb.11:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	16(%r14), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_FreeIkeClient
	incq	%rbx
	movl	16(%r14), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jl	LBB0_12
LBB0_13:
	movl	16(%r14), %edi
	callq	_ReleaseList
	movl	12(%r14), %edi
	callq	_ReleaseSockEvent
	leaq	L_.str.7(%rip), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_IPsecLog
	movl	8(%r14), %edi
	callq	_ReleaseCedar
	movl	4(%r14), %edi
	callq	_FreeIkeEngine
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_Debug
	movl	(%r14), %edi
	callq	_FreeThreadList
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_Debug
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Free                           ## TAILCALL
LBB0_14:
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LI_STOPPING"

L_.str.1:                               ## @.str.1
	.asciz	"Num of IPsec SAs: %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"LI_NUM_IPSEC_SA"

L_.str.3:                               ## @.str.3
	.asciz	"Num of IKE SAs: %u\n"

L_.str.4:                               ## @.str.4
	.asciz	"LI_NUM_IKE_SA"

L_.str.5:                               ## @.str.5
	.asciz	"Num of IKE_CLIENTs: %u\n"

L_.str.6:                               ## @.str.6
	.asciz	"LI_NUM_IKE_CLIENTS"

L_.str.7:                               ## @.str.7
	.asciz	"LI_STOP"

L_.str.8:                               ## @.str.8
	.asciz	"FreeThreadList()...\n"

L_.str.9:                               ## @.str.9
	.asciz	"FreeThreadList() Done.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FreeIKEServer                  ; -- Begin function FreeIKEServer
	.p2align	2
_FreeIKEServer:                         ; @FreeIKEServer
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_14
; %bb.1:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x4, l_.str@PAGE
Lloh1:
	add	x4, x4, l_.str@PAGEOFF
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_IPsecLog
	ldr	w0, [x19, #28]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x20, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #28]
	mov	x1, x20
	bl	_LIST_DATA
	bl	_FreeUdpPacket
	add	x20, x20, #1
	ldr	w0, [x19, #28]
	bl	_LIST_NUM
	cmp	x20, x0
	b.lt	LBB0_3
LBB0_4:
	ldr	w0, [x19, #28]
	bl	_ReleaseList
	ldr	w0, [x19, #24]
	bl	_LIST_NUM
	str	x0, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Debug
	ldr	w0, [x19, #24]
	bl	_LIST_NUM
Lloh4:
	adrp	x4, l_.str.2@PAGE
Lloh5:
	add	x4, x4, l_.str.2@PAGEOFF
	str	x0, [sp]
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_IPsecLog
	ldr	w0, [x19, #24]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #24]
	mov	x1, x20
	bl	_LIST_DATA
	bl	_FreeIPsecSa
	add	x20, x20, #1
	ldr	w0, [x19, #24]
	bl	_LIST_NUM
	cmp	x20, x0
	b.lt	LBB0_6
LBB0_7:
	ldr	w0, [x19, #24]
	bl	_ReleaseList
	ldr	w0, [x19, #20]
	bl	_LIST_NUM
	str	x0, [sp]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_Debug
	ldr	w0, [x19, #20]
	bl	_LIST_NUM
Lloh8:
	adrp	x4, l_.str.4@PAGE
Lloh9:
	add	x4, x4, l_.str.4@PAGEOFF
	str	x0, [sp]
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_IPsecLog
	ldr	w0, [x19, #20]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_10
; %bb.8:
	mov	x20, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #20]
	mov	x1, x20
	bl	_LIST_DATA
	bl	_FreeIkeSa
	add	x20, x20, #1
	ldr	w0, [x19, #20]
	bl	_LIST_NUM
	cmp	x20, x0
	b.lt	LBB0_9
LBB0_10:
	ldr	w0, [x19, #20]
	bl	_ReleaseList
	ldr	w0, [x19, #16]
	bl	_LIST_NUM
	str	x0, [sp]
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_Debug
	ldr	w0, [x19, #16]
	bl	_LIST_NUM
Lloh12:
	adrp	x4, l_.str.6@PAGE
Lloh13:
	add	x4, x4, l_.str.6@PAGEOFF
	str	x0, [sp]
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_IPsecLog
	ldr	w0, [x19, #16]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x20, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #16]
	mov	x1, x20
	bl	_LIST_DATA
	mov	x1, x0
	mov	x0, x19
	bl	_FreeIkeClient
	add	x20, x20, #1
	ldr	w0, [x19, #16]
	bl	_LIST_NUM
	cmp	x20, x0
	b.lt	LBB0_12
LBB0_13:
	ldr	w0, [x19, #16]
	bl	_ReleaseList
	ldr	w0, [x19, #12]
	bl	_ReleaseSockEvent
Lloh14:
	adrp	x4, l_.str.7@PAGE
Lloh15:
	add	x4, x4, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_IPsecLog
	ldr	w0, [x19, #8]
	bl	_ReleaseCedar
	ldr	w0, [x19, #4]
	bl	_FreeIkeEngine
Lloh16:
	adrp	x0, l_.str.8@PAGE
Lloh17:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_Debug
	ldr	w0, [x19]
	bl	_FreeThreadList
Lloh18:
	adrp	x0, l_.str.9@PAGE
Lloh19:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_Debug
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_Free
LBB0_14:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LI_STOPPING"

l_.str.1:                               ; @.str.1
	.asciz	"Num of IPsec SAs: %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"LI_NUM_IPSEC_SA"

l_.str.3:                               ; @.str.3
	.asciz	"Num of IKE SAs: %u\n"

l_.str.4:                               ; @.str.4
	.asciz	"LI_NUM_IKE_SA"

l_.str.5:                               ; @.str.5
	.asciz	"Num of IKE_CLIENTs: %u\n"

l_.str.6:                               ; @.str.6
	.asciz	"LI_NUM_IKE_CLIENTS"

l_.str.7:                               ; @.str.7
	.asciz	"LI_STOP"

l_.str.8:                               ; @.str.8
	.asciz	"FreeThreadList()...\n"

l_.str.9:                               ; @.str.9
	.asciz	"FreeThreadList() Done.\n"

.subsections_via_symbols
