	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AliasVerifyPptp
_AliasVerifyPptp:                       ## @AliasVerifyPptp
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_ip_next
	movq	%rax, %r15
	movl	(%rax), %ebx
	addl	(%r12), %ebx
	movl	4(%r12), %edi
	callq	_ntohs
	movq	%rax, %r12
	shll	$2, %ebx
	subl	%ebx, %r12d
	cmpl	$8, %r12d
	jl	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	callq	_tcp_next
	movq	%rax, %r15
	movl	8(%rax), %edi
	callq	_ntohs
	movq	%rax, (%r14)
	movl	4(%r15), %edi
	callq	_ntohs
	movq	_PPTP_CTRL_MSG_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movl	(%r15), %edi
	callq	_ntohl
	movq	_PPTP_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.4:
	movq	(%r14), %rax
	movq	_PPTP_OutCallReply@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.6:
	movq	_PPTP_InCallReply@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
LBB0_5:
	cmpl	$12, %r12d
	jae	LBB0_8
LBB0_1:
	xorl	%r15d, %r15d
LBB0_9:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	addq	$12, %r15
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_PPTP_CTRL_MSG_TYPE,8,3         ## @PPTP_CTRL_MSG_TYPE
	.comm	_PPTP_MAGIC,8,3                 ## @PPTP_MAGIC
	.comm	_PPTP_OutCallReply,8,3          ## @PPTP_OutCallReply
	.comm	_PPTP_InCallReply,8,3           ## @PPTP_InCallReply
	.no_dead_strip	_AliasVerifyPptp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AliasVerifyPptp
_AliasVerifyPptp:                       ; @AliasVerifyPptp
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x0
	bl	_ip_next
	mov	x20, x0
	ldr	w8, [x0]
	ldp	w9, w0, [x21]
	add	w21, w8, w9
	bl	_ntohs
	sub	w21, w0, w21, lsl #2
	cmp	w21, #8
	b.lt	LBB0_7
; %bb.1:
	mov	x0, x20
	bl	_tcp_next
	mov	x20, x0
	ldr	w0, [x0, #8]
	bl	_ntohs
	str	x0, [x19]
	ldr	w0, [x20, #4]
	bl	_ntohs
Lloh0:
	adrp	x8, _PPTP_CTRL_MSG_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPTP_CTRL_MSG_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.2:
	ldr	w0, [x20]
	bl	_ntohl
Lloh3:
	adrp	x8, _PPTP_MAGIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PPTP_MAGIC@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.3:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _PPTP_OutCallReply@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PPTP_OutCallReply@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	cmp	w21, #12
	b.lo	LBB0_7
LBB0_5:
	add	x0, x20, #12
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x9, _PPTP_InCallReply@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PPTP_InCallReply@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	w21, #12, #2, eq
	b.hs	LBB0_5
LBB0_7:
	mov	x0, #0
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PPTP_CTRL_MSG_TYPE,8,3         ; @PPTP_CTRL_MSG_TYPE
	.comm	_PPTP_MAGIC,8,3                 ; @PPTP_MAGIC
	.comm	_PPTP_OutCallReply,8,3          ; @PPTP_OutCallReply
	.comm	_PPTP_InCallReply,8,3           ; @PPTP_InCallReply
	.no_dead_strip	_AliasVerifyPptp
.subsections_via_symbols
