	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AliasHandlePptpIn
_AliasHandlePptpIn:                     ## @AliasHandlePptpIn
	.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	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	callq	_AliasVerifyPptp
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rax, %r15
	movl	-44(%rbp), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_14
## %bb.2:
	movl	$19, %ecx
	btl	%eax, %ecx
	jae	LBB0_3
## %bb.7:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %r14
	jmp	LBB0_8
LBB0_3:
	movl	$12, %ecx
	btl	%eax, %ecx
	jae	LBB0_5
## %bb.4:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %r14
	addq	$4, %r14
LBB0_8:
	movq	%rbx, %rdi
	callq	_GetDestAddress
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_GetAliasAddress
	movl	(%r14), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_FindPptpInByPeerCallId
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movq	%rax, %r13
	movl	(%r14), %ebx
	movq	%rax, %rdi
	callq	_GetOriginalPort
	movl	%eax, (%r14)
	movq	%r12, %rdi
	callq	_ip_next
	subl	(%r14), %ebx
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_ADJUST_CHECKSUM
	movl	-44(%rbp), %eax
	andl	$-2, %eax
	cmpl	$130, %eax
	jne	LBB0_14
## %bb.10:
	cmpl	$1, 8(%r15)
	jne	LBB0_12
## %bb.11:
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_SetDestCallId
	jmp	LBB0_14
LBB0_5:
	movq	%rbx, %rdi
	callq	_GetDestAddress
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_GetAliasAddress
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_FindPptpInByCallId
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:
	movq	%rax, %rdi
	jmp	LBB0_13
LBB0_12:
	movq	%r13, %rdi
LBB0_13:
	xorl	%esi, %esi
	callq	_SetExpire
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_AliasHandlePptpIn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AliasHandlePptpIn
_AliasHandlePptpIn:                     ; @AliasHandlePptpIn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	add	x1, sp, #12
	mov	x0, x20
	bl	_AliasVerifyPptp
	cbz	x0, LBB0_13
; %bb.1:
	ldr	w8, [sp, #12]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_13
; %bb.2:
	mov	x19, x0
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #19
	tst	w8, w9
	b.eq	LBB0_4
; %bb.3:
	mov	x24, x19
	b	LBB0_6
LBB0_4:
	tst	w8, #0xc
	b.eq	LBB0_10
; %bb.5:
	add	x24, x19, #4
LBB0_6:
	mov	x0, x22
	bl	_GetDestAddress
	mov	x23, x0
	mov	x0, x22
	bl	_GetAliasAddress
	mov	x2, x0
	ldr	w3, [x24]
	mov	x0, x21
	mov	x1, x23
	bl	_FindPptpInByPeerCallId
	cbz	x0, LBB0_13
; %bb.7:
	mov	x21, x0
	ldr	w22, [x24]
	bl	_GetOriginalPort
	str	w0, [x24]
	mov	x0, x20
	bl	_ip_next
	ldr	w8, [x24]
	sub	w8, w22, w8
	ldr	w1, [x0]
	mov	x0, x8
	bl	_ADJUST_CHECKSUM
	ldr	w8, [sp, #12]
	and	w8, w8, #0xfffffffe
	cmp	w8, #130
	b.ne	LBB0_13
; %bb.8:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.ne	LBB0_11
; %bb.9:
	ldr	w1, [x19]
	mov	x0, x21
	bl	_SetDestCallId
	b	LBB0_13
LBB0_10:
	mov	x0, x22
	bl	_GetDestAddress
	mov	x20, x0
	mov	x0, x22
	bl	_GetAliasAddress
	mov	x2, x0
	ldr	w3, [x19]
	mov	x0, x21
	mov	x1, x20
	bl	_FindPptpInByCallId
	cbnz	x0, LBB0_12
	b	LBB0_13
LBB0_11:
	mov	x0, x21
LBB0_12:
	mov	w1, #0
	bl	_SetExpire
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_AliasHandlePptpIn
.subsections_via_symbols
