	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPsecProcPacket                ## -- Begin function IPsecProcPacket
	.p2align	4, 0x90
_IPsecProcPacket:                       ## @IPsecProcPacket
	.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_19
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.2:
	movq	16(%rbx), %r14
	movq	(%rbx), %r13
	movq	(%rdi), %r15
	movq	8(%rdi), %rdi
	movl	8(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_8
## %bb.3:
	cmpl	$131, %eax
	je	LBB0_16
## %bb.4:
	cmpl	$130, %eax
	jne	LBB0_13
## %bb.5:
	movq	_IKE_UDP_TYPE_ESP@GOTPCREL(%rip), %r12
	cmpq	$4, %r13
	jl	LBB0_12
## %bb.6:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_IsZero
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	_IKE_UDP_TYPE_ISAKMP@GOTPCREL(%rip), %r12
	movq	$-4, %rax
	movl	$4, %ecx
	jmp	LBB0_11
LBB0_8:
	movq	_IKE_UDP_TYPE_ISAKMP@GOTPCREL(%rip), %r12
	cmpq	$8, %r13
	jl	LBB0_12
## %bb.9:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_IsZero
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	_IKE_UDP_TYPE_ESP@GOTPCREL(%rip), %r12
	movq	$-8, %rax
	movl	$8, %ecx
LBB0_11:
	shlq	$2, %rcx
	addq	%rcx, 16(%rbx)
	addq	%rax, (%rbx)
LBB0_12:
	movq	(%r12), %rax
	movq	%rax, 24(%rbx)
	movl	8(%rbx), %eax
LBB0_13:
	leal	-129(%rax), %ecx
	cmpl	$3, %ecx
	jb	LBB0_17
## %bb.14:
	cmpl	$128, %eax
	jne	LBB0_18
## %bb.15:
	movq	%rbx, %rsi
	callq	_ProcL2TPPacketRecv
	jmp	LBB0_18
LBB0_16:
	movq	_IKE_UDP_TYPE_ESP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
LBB0_17:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ProcIKEPacketRecv
LBB0_18:
	movq	%r14, 16(%rbx)
	movq	%r13, (%rbx)
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IKE_UDP_TYPE_ISAKMP,8,3        ## @IKE_UDP_TYPE_ISAKMP
	.comm	_IKE_UDP_TYPE_ESP,8,3           ## @IKE_UDP_TYPE_ESP
	.comm	_WFP_ESP_PACKET_TAG_1,8,3       ## @WFP_ESP_PACKET_TAG_1
	.comm	_WFP_ESP_PACKET_TAG_2,8,3       ## @WFP_ESP_PACKET_TAG_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPsecProcPacket                ; -- Begin function IPsecProcPacket
	.p2align	2
_IPsecProcPacket:                       ; @IPsecProcPacket
	.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_19
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_19
; %bb.2:
	ldr	x20, [x19, #16]
	ldr	x23, [x19]
	ldp	x22, x21, [x0]
	ldr	w8, [x19, #8]
	cmp	w8, #129
	b.eq	LBB0_8
; %bb.3:
	cmp	w8, #131
	b.eq	LBB0_12
; %bb.4:
	cmp	w8, #130
	b.ne	LBB0_16
; %bb.5:
	cmp	x23, #4
	b.lt	LBB0_13
; %bb.6:
	mov	w24, #4
	mov	x0, x20
	mov	w1, #4
	bl	_IsZero
	cbz	x0, LBB0_13
; %bb.7:
Lloh0:
	adrp	x8, _IKE_UDP_TYPE_ISAKMP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IKE_UDP_TYPE_ISAKMP@GOTPAGEOFF]
	mov	x9, #-4
	b	LBB0_11
LBB0_8:
	cmp	x23, #8
	b.lt	LBB0_14
; %bb.9:
	mov	w24, #8
	mov	x0, x20
	mov	w1, #8
	bl	_IsZero
	cbz	x0, LBB0_14
; %bb.10:
Lloh2:
	adrp	x8, _IKE_UDP_TYPE_ESP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IKE_UDP_TYPE_ESP@GOTPAGEOFF]
	mov	x9, #-8
LBB0_11:
	ldr	x10, [x19, #16]
	add	x10, x10, x24, lsl #2
	str	x10, [x19, #16]
	ldr	x10, [x19]
	add	x9, x10, x9
	str	x9, [x19]
	b	LBB0_15
LBB0_12:
Lloh4:
	adrp	x8, _IKE_UDP_TYPE_ESP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IKE_UDP_TYPE_ESP@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	b	LBB0_17
LBB0_13:
Lloh7:
	adrp	x8, _IKE_UDP_TYPE_ESP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IKE_UDP_TYPE_ESP@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh9:
	adrp	x8, _IKE_UDP_TYPE_ISAKMP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IKE_UDP_TYPE_ISAKMP@GOTPAGEOFF]
LBB0_15:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	ldr	w8, [x19, #8]
LBB0_16:
	sub	w9, w8, #129
	cmp	w9, #3
	b.hs	LBB0_20
LBB0_17:
	mov	x0, x22
	mov	x1, x19
	bl	_ProcIKEPacketRecv
LBB0_18:
	str	x20, [x19, #16]
	str	x23, [x19]
LBB0_19:
	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_20:
	cmp	w8, #128
	b.ne	LBB0_18
; %bb.21:
	mov	x0, x21
	mov	x1, x19
	bl	_ProcL2TPPacketRecv
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IKE_UDP_TYPE_ISAKMP,8,3        ; @IKE_UDP_TYPE_ISAKMP
	.comm	_IKE_UDP_TYPE_ESP,8,3           ; @IKE_UDP_TYPE_ESP
	.comm	_WFP_ESP_PACKET_TAG_1,8,3       ; @WFP_ESP_PACKET_TAG_1
	.comm	_WFP_ESP_PACKET_TAG_2,8,3       ; @WFP_ESP_PACKET_TAG_2
.subsections_via_symbols
