	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AliasHandlePptpGreOut
_AliasHandlePptpGreOut:                 ## @AliasHandlePptpGreOut
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_ip_next
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ntohl
	movq	_PPTP_INIT_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_PPTP_INIT_VALUE@GOTPCREL(%rip), %rcx
	movl	$-1, %r14d
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.1:
	movl	(%r12), %esi
	movl	8(%r12), %edx
	movq	%r15, %rdi
	movl	%ebx, %ecx
	callq	_FindPptpOutByPeerCallId
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rdi
	callq	_GetAliasAddress
	movl	%eax, -40(%rbp)
	leaq	4(%r12), %rdi
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdx
	movl	$2, %ecx
	callq	_DifferentialChecksum
	movl	-40(%rbp), %eax
	movl	%eax, (%r12)
LBB0_3:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PPTP_INIT_MASK,4,2             ## @PPTP_INIT_MASK
	.comm	_PPTP_INIT_VALUE,4,2            ## @PPTP_INIT_VALUE
	.no_dead_strip	_AliasHandlePptpGreOut
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AliasHandlePptpGreOut
_AliasHandlePptpGreOut:                 ; @AliasHandlePptpGreOut
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_ip_next
	ldr	w21, [x0]
	mov	x0, x21
	bl	_ntohl
Lloh0:
	adrp	x8, _PPTP_INIT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPTP_INIT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh3:
	adrp	x9, _PPTP_INIT_VALUE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PPTP_INIT_VALUE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.1:
	ldr	w2, [x19, #8]
	ldr	w1, [x19]
	mov	x0, x20
	mov	x3, x21
	bl	_FindPptpOutByPeerCallId
	cbz	x0, LBB0_4
; %bb.2:
	bl	_GetAliasAddress
	str	w0, [sp, #8]
	add	x0, x19, #4
	add	x1, sp, #8
	mov	x2, x19
	mov	w3, #2
	bl	_DifferentialChecksum
	mov	w0, #0
	ldr	w8, [sp, #8]
	str	w8, [x19]
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PPTP_INIT_MASK,4,2             ; @PPTP_INIT_MASK
	.comm	_PPTP_INIT_VALUE,4,2            ; @PPTP_INIT_VALUE
	.no_dead_strip	_AliasHandlePptpGreOut
.subsections_via_symbols
