	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPCProcessL3EventsEx           ## -- Begin function IPCProcessL3EventsEx
	.p2align	4, 0x90
_IPCProcessL3EventsEx:                  ## @IPCProcessL3EventsEx
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.1:
	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
	movq	%rdi, %r12
	testl	%esi, %esi
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_Tick64
	movl	%eax, %esi
LBB0_3:
	movq	%r12, %rdi
	callq	_IPCFlushArpTableEx
	movq	%r12, %rdi
	callq	_IPCRecvL2
	testq	%rax, %rax
	je	LBB0_26
## %bb.4:
	movq	%rax, %rbx
	leaq	8(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	16(%r12), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_MAC_PROTO_ARPV4@GOTPCREL(%rip), %r15
	jmp	LBB0_5
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_IPCProcessArp
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_FreeBlock
	movq	%r12, %rdi
	callq	_IPCRecvL2
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_26
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$14, (%rbx)
	jl	LBB0_25
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %r13
	leaq	48(%r13), %rdi
	callq	_READ_USHORT
	movq	%rax, %r14
	movl	24(%r12), %esi
	movq	%r13, %rdi
	movl	$6, %edx
	callq	_Cmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	testb	$1, (%r13)
	je	LBB0_25
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$24, %r13
	movl	24(%r12), %esi
	movq	%r13, %rdi
	movl	$6, %edx
	callq	_Cmp
	testq	%rax, %rax
	je	LBB0_25
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_IsValidUnicastMacAddress
	testq	%rax, %rax
	je	LBB0_25
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	(%r15), %r14
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_MAC_PROTO_IPV4@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_25
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rbx), %esi
	cmpl	$34, %esi
	jl	LBB0_25
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rdi
	addq	$56, %rdi
	addl	$-14, %esi
	callq	_Clone
	movq	%rax, %r15
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	48(%r15), %esi
	leaq	-80(%rbp), %rdi
	callq	_UINTToIP
	movl	64(%r15), %esi
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	callq	_UINTToIP
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_CmpIpAddr
	testq	%rax, %rax
	je	LBB0_22
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rax
	movl	(%rax), %ecx
	cmpl	$255, %ecx
	jne	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$255, 4(%rax)
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$255, 8(%rax)
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$255, 12(%rax)
	jne	LBB0_20
	jmp	LBB0_22
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	andl	$-16, %ecx
	cmpl	$224, %ecx
	je	LBB0_22
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	-64(%rbp), %rsi
	callq	_CmpIpAddr
	movq	%rax, %r14
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_IsZeroIP
	testq	%rax, %rax
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	testq	%r14, %r14
	je	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_Free
	jmp	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	addl	$-14, %r14d
	movq	%r12, %rdi
	leaq	-80(%rbp), %rsi
	movq	%r13, %rdx
	callq	_IPCAssociateOnArpTable
	movl	(%r12), %r13d
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_NewBlock
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_InsertQueue
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_MAC_PROTO_ARPV4@GOTPCREL(%rip), %r15
	jmp	LBB0_25
LBB0_26:
	movq	%r12, %rdi
	callq	_IPCProcessInterrupts
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_27:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_PROTO_ARPV4,8,3            ## @MAC_PROTO_ARPV4
	.comm	_MAC_PROTO_IPV4,8,3             ## @MAC_PROTO_IPV4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPCProcessL3EventsEx           ; -- Begin function IPCProcessL3EventsEx
	.p2align	2
_IPCProcessL3EventsEx:                  ; @IPCProcessL3EventsEx
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_26
; %bb.1:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	cbnz	w1, LBB0_3
; %bb.2:
	bl	_Tick64
	mov	x1, x0
LBB0_3:
	mov	x0, x19
	bl	_IPCFlushArpTableEx
	mov	x0, x19
	bl	_IPCRecvL2
	cbz	x0, LBB0_25
; %bb.4:
	mov	x22, x0
	add	x20, x19, #8
	add	x21, x19, #16
Lloh0:
	adrp	x26, _MAC_PROTO_ARPV4@GOTPAGE
Lloh1:
	ldr	x26, [x26, _MAC_PROTO_ARPV4@GOTPAGEOFF]
Lloh2:
	adrp	x27, _MAC_PROTO_IPV4@GOTPAGE
Lloh3:
	ldr	x27, [x27, _MAC_PROTO_IPV4@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_IPCProcessArp
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_FreeBlock
	mov	x0, x19
	bl	_IPCRecvL2
	mov	x22, x0
	cbz	x0, LBB0_25
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cmp	w8, #14
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x23, [x22, #8]
	add	x0, x23, #48
	bl	_READ_USHORT
	mov	x24, x0
	ldr	w1, [x19, #24]
	mov	x0, x23
	mov	w2, #6
	bl	_Cmp
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x23]
	tbz	w8, #0, LBB0_6
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x23, x23, #24
	ldr	w1, [x19, #24]
	mov	x0, x23
	mov	w2, #6
	bl	_Cmp
	cbz	x0, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
	bl	_IsValidUnicastMacAddress
	cbz	x0, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x26]
	cmp	x24, x8
	b.eq	LBB0_5
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x27]
	cmp	x24, x8
	b.ne	LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x22]
	cmp	w8, #34
	b.lt	LBB0_6
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x22, #8]
	add	x0, x9, #56
	sub	w1, w8, #14
	bl	_Clone
	mov	x24, x0
	ldr	w28, [x22]
	ldr	w1, [x0, #48]
	add	x0, sp, #8
	bl	_UINTToIP
	ldr	w1, [x24, #64]
	mov	x0, sp
	bl	_UINTToIP
	mov	x0, sp
	mov	x1, x20
	bl	_CmpIpAddr
	cbz	x0, LBB0_24
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp]
	ldr	w9, [x8]
	cmp	w9, #255
	b.ne	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x8, #4]
	cmp	w9, #255
	b.ne	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x8, #8]
	cmp	w9, #255
	b.ne	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x8, #12]
	cmp	w8, #255
	b.ne	LBB0_21
	b	LBB0_24
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=1
	and	w8, w9, #0xfffffff0
	cmp	w8, #224
	b.eq	LBB0_24
LBB0_21:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x1, sp
	mov	x0, x21
	bl	_CmpIpAddr
	mov	x25, x0
	mov	x0, x20
	bl	_IsZeroIP
	cbnz	x0, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_7 Depth=1
	cbz	x25, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x24
	bl	_Free
	b	LBB0_6
LBB0_24:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	w25, w28, #14
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x23
	bl	_IPCAssociateOnArpTable
	ldr	w23, [x19]
	mov	x0, x24
	mov	x1, x25
	mov	w2, #0
	bl	_NewBlock
	mov	x1, x0
	mov	x0, x23
	bl	_InsertQueue
	b	LBB0_6
LBB0_25:
	mov	x0, x19
	bl	_IPCProcessInterrupts
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
LBB0_26:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	.cfi_same_value w25
	.cfi_same_value w26
	.cfi_same_value w27
	.cfi_same_value w28
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_PROTO_ARPV4,8,3            ; @MAC_PROTO_ARPV4
	.comm	_MAC_PROTO_IPV4,8,3             ; @MAC_PROTO_IPV4
.subsections_via_symbols
