	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcIPsecUdpPacketRecv         ## -- Begin function ProcIPsecUdpPacketRecv
	.p2align	4, 0x90
_ProcIPsecUdpPacketRecv:                ## @ProcIPsecUdpPacketRecv
	.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	$40, %rsp
	.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_9
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.2:
	movq	%rdx, %r13
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.3:
	movl	%ecx, %ebx
	testl	%ecx, %ecx
	je	LBB0_9
## %bb.4:
	cmpl	$13, %ebx
	jb	LBB0_9
## %bb.5:
	movq	%rdi, %r15
	movl	8(%r13), %edi
	callq	_Endian16
	cmpl	$13, %eax
	jb	LBB0_9
## %bb.6:
	movl	%eax, %r12d
	movslq	%ebx, %rax
	addl	$-12, %r12d
	movslq	%r12d, %rcx
	addq	$12, %rcx
	cmpq	%rax, %rcx
	ja	LBB0_9
## %bb.7:
	movl	4(%r13), %edi
	callq	_Endian16
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	_Endian16
	movq	_IPSEC_PORT_L2TP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rcx, %r15
	callq	_IPsecIkeClientManageL2TPServer
	movl	%ebx, (%r14)
	movq	$0, -48(%rbp)
	addq	$48, %r13
	movq	%r13, -64(%rbp)
	movl	(%r15), %eax
	movl	%eax, -80(%rbp)
	leaq	-52(%rbp), %rdi
	leaq	12(%r14), %rsi
	movl	$4, %edx
	callq	_Copy
	movl	%r12d, -76(%rbp)
	leaq	-56(%rbp), %rdi
	leaq	8(%r14), %rsi
	movl	$4, %edx
	callq	_Copy
	movl	(%r15), %eax
	movl	%eax, -72(%rbp)
	movl	4(%r14), %edi
	leaq	-80(%rbp), %rsi
	callq	_ProcL2TPPacketRecv
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPSEC_PORT_L2TP,4,2            ## @IPSEC_PORT_L2TP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcIPsecUdpPacketRecv         ; -- Begin function ProcIPsecUdpPacketRecv
	.p2align	2
_ProcIPsecUdpPacketRecv:                ; @ProcIPsecUdpPacketRecv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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_9
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_9
; %bb.2:
	mov	x20, x2
	cbz	x2, LBB0_9
; %bb.3:
	mov	x22, x3
	cbz	w3, LBB0_9
; %bb.4:
	cmp	w22, #13
	b.lo	LBB0_9
; %bb.5:
	mov	x21, x0
	ldr	w0, [x20, #8]
	bl	_Endian16
	cmp	w0, #13
	b.lo	LBB0_9
; %bb.6:
	sxtw	x8, w22
	sub	w23, w0, #12
	sxtw	x9, w23
	add	x9, x9, #12
	cmp	x9, x8
	b.hi	LBB0_9
; %bb.7:
	ldr	w0, [x20, #4]
	bl	_Endian16
	mov	x22, x0
	ldr	w0, [x20]
	bl	_Endian16
Lloh0:
	adrp	x24, _IPSEC_PORT_L2TP@GOTPAGE
Lloh1:
	ldr	x24, [x24, _IPSEC_PORT_L2TP@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x21
	mov	x1, x19
	bl	_IPsecIkeClientManageL2TPServer
	str	w22, [x19]
	add	x8, x20, #48
	str	xzr, [sp, #40]
	str	x8, [sp, #24]
	ldr	w8, [x24]
	str	w8, [sp, #8]
	add	x20, sp, #8
	add	x0, x20, #28
	add	x1, x19, #12
	mov	w2, #4
	bl	_Copy
	str	w23, [sp, #12]
	add	x0, x20, #24
	add	x1, x19, #8
	mov	w2, #4
	bl	_Copy
	ldr	w8, [x24]
	str	w8, [sp, #16]
	ldr	w0, [x19, #4]
	add	x1, sp, #8
	bl	_ProcL2TPPacketRecv
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IPSEC_PORT_L2TP,4,2            ; @IPSEC_PORT_L2TP
.subsections_via_symbols
