	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPsecIkeClientManageL2TPServer ## -- Begin function IPsecIkeClientManageL2TPServer
	.p2align	4, 0x90
_IPsecIkeClientManageL2TPServer:        ## @IPsecIkeClientManageL2TPServer
	.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
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.2:
	movq	%rdi, %r14
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.9:
	cmpq	$0, 16(%rbx)
	je	LBB0_10
LBB0_11:
	cmpq	$0, 8(%rbx)
	jne	LBB0_13
LBB0_12:
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	callq	_SetL2TPServerSockEvent
LBB0_13:
	movl	(%r14), %eax
	movl	%eax, (%rbx)
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	8(%rax), %rax
	addq	$4, %rax
	jmp	LBB0_6
LBB0_4:
	movq	_IKE_MAX_BLOCK_SIZE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %r12d
	movl	16(%r14), %ebx
	leaq	16(%r15), %r13
	movq	%r13, %rdi
	callq	_IsIP6
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	movl	%r12d, %ecx
	callq	_NewL2TPServerEx
	movq	%rax, (%r15)
	movq	%r15, 32(%rax)
	leaq	28(%r15), %rdi
	leaq	24(%r15), %rsi
	movl	$4, %edx
	callq	_Copy
	leaq	20(%r15), %rdi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_Copy
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	(%r15), %rcx
	movl	24(%rcx), %edi
	movq	8(%rax), %rcx
	movl	(%rcx), %ecx
	movl	(%rax), %r8d
	shll	$3, %r8d
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	callq	_Format
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_Debug
	leaq	L_.str.2(%rip), %r8
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_IPsecLog
	movq	(%r15), %rbx
	cmpq	$0, 16(%rbx)
	jne	LBB0_11
LBB0_10:
	movq	8(%r14), %rax
	movq	%rax, 16(%rbx)
	cmpq	$0, 8(%rbx)
	jne	LBB0_13
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.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: L2TP Server Started.\n"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPsecIkeClientManageL2TPServer ; -- Begin function IPsecIkeClientManageL2TPServer
	.p2align	2
_IPsecIkeClientManageL2TPServer:        ; @IPsecIkeClientManageL2TPServer
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_7
; %bb.2:
	mov	x19, x0
	ldr	x21, [x20]
	cbz	x21, LBB0_8
; %bb.3:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_14
LBB0_4:
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_6
LBB0_5:
	ldr	w1, [x19, #4]
	mov	x0, x21
	bl	_SetL2TPServerSockEvent
LBB0_6:
	ldr	w8, [x19]
	str	w8, [x21]
LBB0_7:
	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_8:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	x8, [x8, #8]
	add	x8, x8, #4
	b	LBB0_11
LBB0_10:
Lloh0:
	adrp	x8, _IKE_MAX_BLOCK_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IKE_MAX_BLOCK_SIZE@GOTPAGEOFF]
LBB0_11:
	ldr	w21, [x8]
	ldr	w22, [x19, #16]
	add	x23, x20, #16
	mov	x0, x23
	bl	_IsIP6
	mov	x2, x0
	mov	x0, x22
	mov	x1, x19
	mov	x3, x21
	bl	_NewL2TPServerEx
	str	x0, [x20]
	str	x20, [x0, #32]
	add	x0, x20, #28
	add	x1, x20, #24
	mov	w2, #4
	bl	_Copy
	add	x0, x20, #20
	mov	x1, x23
	mov	w2, #4
	bl	_Copy
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	x9, [x20]
	ldr	w0, [x9, #24]
	ldr	x9, [x8, #8]
	ldr	w3, [x9]
	ldr	w8, [x8]
	lsl	w4, w8, #3
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_Format
LBB0_13:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_Debug
Lloh6:
	adrp	x4, l_.str.2@PAGE
Lloh7:
	add	x4, x4, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	mov	x3, #0
	bl	_IPsecLog
	ldr	x21, [x20]
	ldr	x8, [x21, #16]
	cbnz	x8, LBB0_4
LBB0_14:
	ldr	x8, [x19, #8]
	str	x8, [x21, #16]
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_6
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.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: L2TP Server Started.\n"

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

.subsections_via_symbols
