	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPsecServerUdpPacketRecvProc   ## -- Begin function IPsecServerUdpPacketRecvProc
	.p2align	4, 0x90
_IPsecServerUdpPacketRecvProc:          ## @IPsecServerUdpPacketRecvProc
	.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
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_28
## %bb.2:
	movq	%rdi, %rbx
	movq	16(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_28
## %bb.3:
	cmpl	$0, (%rbx)
	je	LBB0_5
## %bb.4:
	movl	$0, (%rbx)
	movl	$1, (%r12)
	movl	24(%r12), %edi
	callq	_Set
LBB0_5:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_Tick64
	movq	%rax, %r14
	movq	16(%r12), %rbx
	cmpq	$0, 24(%rbx)
	je	LBB0_6
## %bb.7:
	cmpq	$0, 16(%rbx)
	je	LBB0_8
LBB0_9:
	movq	%r14, 8(%rbx)
	movq	8(%r12), %r13
	cmpq	$0, 24(%r13)
	je	LBB0_10
## %bb.11:
	cmpq	$0, 16(%r13)
	je	LBB0_12
LBB0_13:
	movq	%r14, 8(%r13)
	movq	_ipsec_disable@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_17
## %bb.14:
	movq	%r15, %rdi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_17
## %bb.15:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_LIST_DATA
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_IPsecProcPacket
	incq	%r14
	movq	%r15, %rdi
	callq	_LIST_NUM
	cmpq	%rax, %r14
	jl	LBB0_16
LBB0_17:
	movq	%rbx, %rdi
	callq	_L2TPProcessInterrupts
	movq	(%rbx), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_UdpListenerSendPackets
	movq	(%rbx), %rdi
	callq	_DeleteAll
	movq	%r13, %rdi
	callq	_ProcessIKEInterrupts
	movq	(%r13), %rdi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_27
## %bb.18:
	xorl	%ebx, %ebx
	movq	_IKE_UDP_TYPE_ISAKMP@GOTPCREL(%rip), %r14
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	24(%r12), %r15
	movq	%r12, %r14
	addq	$16, %r14
	movl	16(%r12), %esi
	movl	$4, %r13d
	movq	%r15, %rdi
	leaq	_IPsecServerUdpPacketRecvProc.zero8(%rip), %rdx
	movl	$4, %ecx
LBB0_25:                                ##   in Loop: Header=BB0_19 Depth=1
	callq	_AddHead
	movq	%rax, 24(%r12)
	addl	%r13d, (%r14)
	movq	%r15, %rdi
	callq	_Free
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	_IKE_UDP_TYPE_ISAKMP@GOTPCREL(%rip), %r14
LBB0_26:                                ##   in Loop: Header=BB0_19 Depth=1
	incq	%rbx
	movq	(%r13), %rdi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jge	LBB0_27
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	movq	%rax, %r12
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	jne	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r12), %rcx
	movq	_IPSEC_PORT_IPSEC_ESP_UDP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_21
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	_IKE_UDP_TYPE_ESP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r12), %rax
	movq	_IPSEC_PORT_IPSEC_ISAKMP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	24(%r12), %r15
	movq	%r12, %r14
	addq	$16, %r14
	movl	16(%r12), %esi
	movl	$8, %r13d
	movq	%r15, %rdi
	leaq	_IPsecServerUdpPacketRecvProc.zero8(%rip), %rdx
	movl	$8, %ecx
	jmp	LBB0_25
LBB0_28:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	(%r13), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_UdpListenerSendPackets
	movq	(%r13), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DeleteAll                      ## TAILCALL
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	%rax, 24(%rbx)
	cmpq	$0, 16(%rbx)
	jne	LBB0_9
LBB0_8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	callq	_SetL2TPServerSockEvent
	jmp	LBB0_9
LBB0_10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	%rax, 24(%r13)
	cmpq	$0, 16(%r13)
	jne	LBB0_13
LBB0_12:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	movq	%r13, %rdi
	callq	_SetIKEServerSockEvent
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_IPsecServerUdpPacketRecvProc.zero8,32,4 ## @IPsecServerUdpPacketRecvProc.zero8
	.comm	_ipsec_disable,4,2              ## @ipsec_disable
	.comm	_IKE_UDP_TYPE_ISAKMP,8,3        ## @IKE_UDP_TYPE_ISAKMP
	.comm	_IPSEC_PORT_IPSEC_ESP_UDP,8,3   ## @IPSEC_PORT_IPSEC_ESP_UDP
	.comm	_IKE_UDP_TYPE_ESP,8,3           ## @IKE_UDP_TYPE_ESP
	.comm	_IPSEC_PORT_IPSEC_ISAKMP,8,3    ## @IPSEC_PORT_IPSEC_ISAKMP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPsecServerUdpPacketRecvProc   ; -- Begin function IPsecServerUdpPacketRecvProc
	.p2align	2
_IPsecServerUdpPacketRecvProc:          ; @IPsecServerUdpPacketRecvProc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_23
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_23
; %bb.2:
	mov	x19, x0
	ldr	x22, [x0, #16]
	cbz	x22, LBB0_23
; %bb.3:
	ldr	w8, [x19]
	cbz	w8, LBB0_5
; %bb.4:
	str	wzr, [x19]
	mov	w8, #1
	str	w8, [x22]
	ldr	w0, [x22, #24]
	bl	_Set
LBB0_5:
	bl	_Tick64
	mov	x24, x0
	ldr	x23, [x22, #16]
	ldr	x8, [x23, #24]
	cbz	x8, LBB0_25
; %bb.6:
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_26
LBB0_7:
	str	x24, [x23, #8]
	ldr	x20, [x22, #8]
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_27
; %bb.8:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_28
LBB0_9:
	str	x24, [x20, #8]
Lloh0:
	adrp	x8, _ipsec_disable@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ipsec_disable@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_13
; %bb.10:
	mov	x0, x21
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x24, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_LIST_DATA
	mov	x1, x0
	mov	x0, x22
	bl	_IPsecProcPacket
	add	x24, x24, #1
	mov	x0, x21
	bl	_LIST_NUM
	cmp	x24, x0
	b.lt	LBB0_12
LBB0_13:
	mov	x0, x23
	bl	_L2TPProcessInterrupts
	ldr	x1, [x23]
	mov	x0, x19
	bl	_UdpListenerSendPackets
	ldr	x0, [x23]
	bl	_DeleteAll
	mov	x0, x20
	bl	_ProcessIKEInterrupts
	ldr	x0, [x20]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_24
; %bb.14:
	mov	x21, #0
Lloh3:
	adrp	x25, _IKE_UDP_TYPE_ISAKMP@GOTPAGE
Lloh4:
	ldr	x25, [x25, _IKE_UDP_TYPE_ISAKMP@GOTPAGEOFF]
Lloh5:
	adrp	x26, _IPSEC_PORT_IPSEC_ESP_UDP@GOTPAGE
Lloh6:
	ldr	x26, [x26, _IPSEC_PORT_IPSEC_ESP_UDP@GOTPAGEOFF]
Lloh7:
	adrp	x22, _IPsecServerUdpPacketRecvProc.zero8@PAGE
Lloh8:
	add	x22, x22, _IPsecServerUdpPacketRecvProc.zero8@PAGEOFF
Lloh9:
	adrp	x27, _IKE_UDP_TYPE_ESP@GOTPAGE
Lloh10:
	ldr	x27, [x27, _IKE_UDP_TYPE_ESP@GOTPAGEOFF]
	b	LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w1, [x23, #16]!
	ldr	x24, [x23, #8]
	mov	w28, #4
	mov	x0, x24
	mov	x2, x22
	mov	w3, #4
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	bl	_AddHead
	str	x0, [x23, #8]
	ldr	w8, [x23]
	add	w8, w8, w28
	str	w8, [x23]
	mov	x0, x24
	bl	_Free
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x21, x21, #1
	ldr	x0, [x20]
	bl	_LIST_NUM
	cmp	x21, x0
	b.ge	LBB0_24
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	mov	x1, x21
	bl	_LIST_DATA
	mov	x23, x0
	ldr	x8, [x0]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x9, [x23, #8]
	ldr	x10, [x26]
	cmp	x9, x10
	b.eq	LBB0_15
LBB0_20:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x23, #8]
Lloh11:
	adrp	x9, _IPSEC_PORT_IPSEC_ISAKMP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IPSEC_PORT_IPSEC_ISAKMP@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	w1, [x23, #16]!
	ldr	x24, [x23, #8]
	mov	w28, #8
	mov	x0, x24
	mov	x2, x22
	mov	w3, #8
	b	LBB0_16
LBB0_23:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_24:
	ldr	x1, [x20]
	mov	x0, x19
	bl	_UdpListenerSendPackets
	ldr	x0, [x20]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_DeleteAll
LBB0_25:
	ldr	x8, [x19, #8]
	str	x8, [x23, #24]
	ldr	x8, [x23, #16]
	cbnz	x8, LBB0_7
LBB0_26:
	ldr	w1, [x19, #4]
	mov	x0, x23
	bl	_SetL2TPServerSockEvent
	b	LBB0_7
LBB0_27:
	ldr	x8, [x19, #8]
	str	x8, [x20, #24]
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_9
LBB0_28:
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_SetIKEServerSockEvent
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_IPsecServerUdpPacketRecvProc.zero8,32,2 ; @IPsecServerUdpPacketRecvProc.zero8
	.comm	_ipsec_disable,4,2              ; @ipsec_disable
	.comm	_IKE_UDP_TYPE_ISAKMP,8,3        ; @IKE_UDP_TYPE_ISAKMP
	.comm	_IPSEC_PORT_IPSEC_ESP_UDP,8,3   ; @IPSEC_PORT_IPSEC_ESP_UDP
	.comm	_IKE_UDP_TYPE_ESP,8,3           ; @IKE_UDP_TYPE_ESP
	.comm	_IPSEC_PORT_IPSEC_ISAKMP,8,3    ; @IPSEC_PORT_IPSEC_ISAKMP
.subsections_via_symbols
