	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetIkeClientEndpoint           ## -- Begin function SetIkeClientEndpoint
	.p2align	4, 0x90
_SetIkeClientEndpoint:                  ## @SetIkeClientEndpoint
	.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
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	xorl	%r13d, %r13d
	testq	%rbx, %rbx
	je	LBB0_31
## %bb.1:
	testq	%r14, %r14
	je	LBB0_31
## %bb.2:
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_31
## %bb.3:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_31
## %bb.4:
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_31
## %bb.5:
	testq	%r12, %r12
	je	LBB0_31
## %bb.6:
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	leaq	24(%r14), %r12
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_CmpIpAddr
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:
	leaq	20(%r14), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_CmpIpAddr
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, (%r14)
	jne	LBB0_10
## %bb.9:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, 8(%r14)
	je	LBB0_30
LBB0_10:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_IS_SPECIAL_PORT
	testq	%rax, %rax
	jne	LBB0_30
## %bb.11:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_IS_SPECIAL_PORT
	testq	%rax, %rax
	jne	LBB0_30
## %bb.12:
	leaq	-136(%rbp), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	$4, %edx
	callq	_Copy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -160(%rbp)
	leaq	-140(%rbp), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	$4, %edx
	callq	_Copy
	movq	%r13, -152(%rbp)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	leaq	-160(%rbp), %rsi
	callq	_Search
	testq	%rax, %rax
	je	LBB0_29
## %bb.13:
	movq	%rax, %r13
	cmpq	%r14, %rax
	je	LBB0_29
## %bb.14:
	cmpl	$0, 16(%r13)
	jne	LBB0_29
## %bb.15:
	cmpq	$0, 48(%r14)
	je	LBB0_16
LBB0_29:
	movq	%r12, %rdi
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_Copy
	leaq	20(%r14), %rdi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_Copy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r14)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r14)
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r13, %rdx
	callq	_IPToStr
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	callq	_IPToStr
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	xorl	%eax, %eax
	callq	_Debug
	leaq	L_.str.3(%rip), %r8
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_IPsecLog
	movq	(%rbx), %rax
	movl	$0, (%rax)
LBB0_30:
	movq	%r14, %r13
LBB0_31:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_33
## %bb.32:
	movq	%r13, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movl	12(%r12), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_21
## %bb.17:
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	incq	%rbx
	movl	12(%r12), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jge	LBB0_21
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	12(%r12), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	cmpq	%r14, (%rax)
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r13, (%rax)
	jmp	LBB0_20
LBB0_21:
	movl	8(%r12), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_26
## %bb.22:
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_25:                                ##   in Loop: Header=BB0_23 Depth=1
	incq	%rbx
	movl	8(%r12), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jge	LBB0_26
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%r12), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	cmpq	%r14, (%rax)
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%r13, (%rax)
	jmp	LBB0_25
LBB0_26:
	movq	32(%r13), %rax
	cmpq	32(%r14), %rax
	jge	LBB0_28
## %bb.27:
	movl	44(%r13), %edi
	movl	44(%r14), %edx
	movl	$4, %esi
	callq	_StrCpy
LBB0_28:
	movl	40(%r13), %edi
	movl	40(%r14), %esi
	callq	_MIN
	movl	%eax, 40(%r13)
	movq	32(%r13), %rdi
	movq	32(%r14), %rsi
	callq	_MAX
	movq	%rax, 32(%r13)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_IPToStr
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_IPToStr
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	%rbx, %r9
	xorl	%eax, %eax
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_Debug
	addq	$16, %rsp
	movl	28(%r14), %r9d
	movl	28(%r13), %ebx
	leaq	L_.str.1(%rip), %r8
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%rbx
	callq	_IPsecLog
	addq	$16, %rsp
	movq	(%r12), %rdi
	movq	%r14, %rsi
	callq	_Delete
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_FreeIkeClient
	jmp	LBB0_31
LBB0_33:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SIZE,4,2                   ## @MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Merge IKE_CLIENT: %p->%p: %s:%u -> %s:%u\n"

L_.str.1:                               ## @.str.1
	.asciz	"LI_CLIENT_MERGE"

L_.str.2:                               ## @.str.2
	.asciz	"Update IKE_CLIENT: %p: %s:%u -> %s:%u\n"

L_.str.3:                               ## @.str.3
	.asciz	"LI_CLIENT_UPDATE"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetIkeClientEndpoint           ; -- Begin function SetIkeClientEndpoint
	.p2align	2
_SetIkeClientEndpoint:                  ; @SetIkeClientEndpoint
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #80
	mov	x23, x4
	mov	x21, x3
	mov	x27, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	mov	x9, x25
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x25, #15
	and	x12, x9, #0x1fffffff0
	sub	x24, x8, x12
	mov	sp, x24
	mov	x9, x25
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x26, x8, x12
	mov	sp, x26
	mov	x28, #0
	cbz	x0, LBB0_18
; %bb.1:
	cbz	x19, LBB0_18
; %bb.2:
	cbz	x27, LBB0_18
; %bb.3:
	cbz	x21, LBB0_18
; %bb.4:
	cbz	x23, LBB0_18
; %bb.5:
	cbz	x5, LBB0_18
; %bb.6:
	stur	x5, [x29, #-152]                ; 8-byte Folded Spill
	add	x22, x19, #24
	mov	x0, x22
	mov	x1, x27
	bl	_CmpIpAddr
	cbnz	x0, LBB0_10
; %bb.7:
	add	x0, x19, #20
	mov	x1, x23
	bl	_CmpIpAddr
	cbnz	x0, LBB0_10
; %bb.8:
	ldr	x8, [x19]
	cmp	x8, x21
	b.ne	LBB0_10
; %bb.9:
	ldr	x8, [x19, #8]
	ldur	x9, [x29, #-152]                ; 8-byte Folded Reload
	cmp	x8, x9
	b.eq	LBB0_17
LBB0_10:
	mov	x0, x21
	bl	_IS_SPECIAL_PORT
	cbnz	x0, LBB0_17
; %bb.11:
	ldur	x28, [x29, #-152]               ; 8-byte Folded Reload
	mov	x0, x28
	bl	_IS_SPECIAL_PORT
	cbnz	x0, LBB0_17
; %bb.12:
	sub	x8, x29, #144
	add	x0, x8, #24
	mov	x1, x27
	mov	w2, #4
	bl	_Copy
	stur	x21, [x29, #-144]
	sub	x8, x29, #144
	add	x0, x8, #20
	mov	x1, x23
	mov	w2, #4
	bl	_Copy
	stur	x28, [x29, #-136]
	ldr	x0, [x20]
	sub	x1, x29, #144
	bl	_Search
	cbz	x0, LBB0_16
; %bb.13:
	mov	x28, x0
	cmp	x0, x19
	b.eq	LBB0_16
; %bb.14:
	ldr	w8, [x28, #16]
	cbnz	w8, LBB0_16
; %bb.15:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_20
LBB0_16:
	mov	x0, x22
	mov	x1, x27
	mov	w2, #4
	bl	_Copy
	add	x0, x19, #20
	mov	x1, x23
	mov	w2, #4
	bl	_Copy
	ldur	x22, [x29, #-152]               ; 8-byte Folded Reload
	stp	x21, x22, [x19]
	mov	x0, x24
	mov	x1, x25
	mov	x2, x27
	bl	_IPToStr
	mov	x0, x26
	mov	x1, x25
	mov	x2, x23
	bl	_IPToStr
	sub	sp, sp, #32
	stp	x26, x22, [sp, #16]
	stp	x24, x21, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_Debug
	add	sp, sp, #32
Lloh12:
	adrp	x4, l_.str.3@PAGE
Lloh13:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	mov	x3, #0
	bl	_IPsecLog
	ldr	x8, [x20]
	str	wzr, [x8]
LBB0_17:
	mov	x28, x19
LBB0_18:
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.19:
	mov	x0, x28
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_20:
	ldr	w0, [x20, #12]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_25
; %bb.21:
	mov	x22, #0
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	add	x22, x22, #1
	ldr	w0, [x20, #12]
	bl	_LIST_NUM
	cmp	x22, x0
	b.ge	LBB0_25
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #12]
	mov	x1, x22
	bl	_LIST_DATA
	ldr	x8, [x0]
	cmp	x8, x19
	b.ne	LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	str	x28, [x0]
	b	LBB0_22
LBB0_25:
	ldr	w0, [x20, #8]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_30
; %bb.26:
	mov	x22, #0
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=1
	add	x22, x22, #1
	ldr	w0, [x20, #8]
	bl	_LIST_NUM
	cmp	x22, x0
	b.ge	LBB0_30
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #8]
	mov	x1, x22
	bl	_LIST_DATA
	ldr	x8, [x0]
	cmp	x8, x19
	b.ne	LBB0_27
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	str	x28, [x0]
	b	LBB0_27
LBB0_30:
	ldr	x8, [x28, #32]
	ldr	x9, [x19, #32]
	cmp	x8, x9
	b.ge	LBB0_32
; %bb.31:
	ldr	w0, [x28, #44]
	ldr	w2, [x19, #44]
	mov	w1, #4
	bl	_StrCpy
LBB0_32:
	ldr	w0, [x28, #40]
	ldr	w1, [x19, #40]
	bl	_MIN
	str	w0, [x28, #40]
	ldr	x0, [x28, #32]
	ldr	x1, [x19, #32]
	bl	_MAX
	str	x0, [x28, #32]
	mov	x0, x24
	mov	x1, x25
	mov	x2, x27
	bl	_IPToStr
	mov	x0, x26
	mov	x1, x25
	mov	x2, x23
	bl	_IPToStr
	sub	sp, sp, #48
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	stp	x26, x8, [sp, #24]
	stp	x24, x21, [sp, #8]
	str	x28, [sp]
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_Debug
	add	sp, sp, #48
	ldr	w8, [x19, #28]
	ldr	w9, [x28, #28]
	sub	sp, sp, #32
	stp	x9, x9, [sp, #8]
Lloh19:
	adrp	x4, l_.str.1@PAGE
Lloh20:
	add	x4, x4, l_.str.1@PAGEOFF
	str	x8, [sp]
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	mov	x3, #0
	bl	_IPsecLog
	add	sp, sp, #32
	ldr	x0, [x20]
	mov	x1, x19
	bl	_Delete
	mov	x0, x20
	mov	x1, x19
	bl	_FreeIkeClient
	b	LBB0_18
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SIZE,4,2                   ; @MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Merge IKE_CLIENT: %p->%p: %s:%u -> %s:%u\n"

l_.str.1:                               ; @.str.1
	.asciz	"LI_CLIENT_MERGE"

l_.str.2:                               ; @.str.2
	.asciz	"Update IKE_CLIENT: %p: %s:%u -> %s:%u\n"

l_.str.3:                               ; @.str.3
	.asciz	"LI_CLIENT_UPDATE"

.subsections_via_symbols
