	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPsecIkeClientManageEtherIPServer ## -- Begin function IPsecIkeClientManageEtherIPServer
	.p2align	4, 0x90
_IPsecIkeClientManageEtherIPServer:     ## @IPsecIkeClientManageEtherIPServer
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.2:
	movq	%rdi, %r14
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movl	24(%rax), %edi
	movl	8(%rbx), %edx
	movl	$4, %esi
	callq	_StrCpy
	jmp	LBB0_7
LBB0_3:
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_IKE_MAX_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_Zero
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	8(%rax), %rcx
	movl	4(%rcx), %ecx
	movl	(%rax), %r8d
	shll	$3, %r8d
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_Format
	movq	32(%rbx), %rax
	movq	8(%rax), %rax
	movl	(%rax), %r13d
LBB0_5:
	movl	24(%r14), %edi
	movl	16(%r14), %eax
	movl	20(%r14), %esi
	leaq	28(%rbx), %rcx
	movl	24(%rbx), %r8d
	leaq	20(%rbx), %r9
	movl	16(%rbx), %r10d
	movl	8(%rbx), %r11d
	movl	12(%rbx), %r12d
	incl	%eax
	movl	%eax, 16(%r14)
	movq	%r14, %rdx
	pushq	%rax
	pushq	%r11
	pushq	%r13
	pushq	%r12
	pushq	%r15
	pushq	%r10
	callq	_NewEtherIPServer
	addq	$48, %rsp
	movq	%rax, (%rbx)
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_Debug
	movl	16(%r14), %eax
	subq	$8, %rsp
	leaq	L_.str.2(%rip), %r9
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	%rax
	callq	_IPsecLog
	addq	$16, %rsp
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
LBB0_7:
	movq	(%rbx), %rbx
	cmpq	$0, 16(%rbx)
	je	LBB0_8
## %bb.9:
	cmpq	$0, 8(%rbx)
	je	LBB0_10
LBB0_11:
	movl	(%r14), %eax
	movl	%eax, (%rbx)
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	8(%r14), %rax
	movq	%rax, 16(%rbx)
	cmpq	$0, 8(%rbx)
	jne	LBB0_11
LBB0_10:
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	callq	_SetEtherIPServerSockEvent
	jmp	LBB0_11
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SIZE,4,2                   ## @MAX_SIZE
	.comm	_IKE_MAX_BLOCK_SIZE,4,2         ## @IKE_MAX_BLOCK_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IPsec - %s (%u bits)"

L_.str.1:                               ## @.str.1
	.asciz	"IKE_CLIENT 0x%X: EtherIP Server Started.\n"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPsecIkeClientManageEtherIPServer ; -- Begin function IPsecIkeClientManageEtherIPServer
	.p2align	2
_IPsecIkeClientManageEtherIPServer:     ; @IPsecIkeClientManageEtherIPServer
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_10
; %bb.2:
	mov	x19, x0
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x8, #24]
	ldr	w2, [x20, #8]
	mov	w1, #4
	bl	_StrCpy
	b	LBB0_7
LBB0_4:
	mov	x23, sp
Lloh3:
	adrp	x8, _MAX_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
Lloh8:
	adrp	x8, _IKE_MAX_BLOCK_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IKE_MAX_BLOCK_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w24, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_Zero
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x9, [x8, #8]
	ldr	w3, [x9, #4]
	ldr	w8, [x8]
	lsl	w4, w8, #3
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_Format
	ldr	x8, [x20, #32]
	ldr	x8, [x8, #8]
	ldr	w24, [x8]
LBB0_6:
	ldp	w1, w0, [x19, #20]
	add	x3, x20, #28
	ldr	w4, [x20, #24]
	add	x5, x20, #20
	ldp	w8, w6, [x20, #12]
	ldr	w9, [x20, #8]
	ldr	w10, [x19, #16]
	add	w10, w10, #1
	str	w10, [x19, #16]
	sub	sp, sp, #16
	stp	w9, w10, [sp, #8]
	stp	w8, w24, [sp]
	mov	x2, x19
	mov	x7, x21
	bl	_NewEtherIPServer
	add	sp, sp, #16
	str	x0, [x20]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_Debug
	ldr	w6, [x19, #16]
Lloh15:
	adrp	x5, l_.str.2@PAGE
Lloh16:
	add	x5, x5, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_IPsecLog
	mov	sp, x23
LBB0_7:
	ldr	x20, [x20]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_12
; %bb.8:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_13
LBB0_9:
	ldr	w8, [x19]
	str	w8, [x20]
LBB0_10:
	ldur	x8, [x29, #-56]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.11:
	sub	sp, x29, #48
	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
LBB0_12:
	ldr	x8, [x19, #8]
	str	x8, [x20, #16]
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_9
LBB0_13:
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_SetEtherIPServerSockEvent
	b	LBB0_9
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SIZE,4,2                   ; @MAX_SIZE
	.comm	_IKE_MAX_BLOCK_SIZE,4,2         ; @IKE_MAX_BLOCK_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IPsec - %s (%u bits)"

l_.str.1:                               ; @.str.1
	.asciz	"IKE_CLIENT 0x%X: EtherIP Server Started.\n"

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

.subsections_via_symbols
