	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_L3InsertArpTable               ## -- Begin function L3InsertArpTable
	.p2align	4, 0x90
_L3InsertArpTable:                      ## @L3InsertArpTable
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r12
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.2:
	movl	%esi, %r15d
	leal	1(%r15), %eax
	cmpl	$2, %eax
	jb	LBB0_6
## %bb.3:
	movq	%rdx, %r14
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_Zero
	movl	%r15d, -56(%rbp)
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_Search
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	$24, %edi
	callq	_ZeroMalloc
	movq	%rax, %rbx
	movl	%r15d, (%rax)
	movl	16(%rax), %edi
	movq	%r14, %rsi
	movl	$6, %edx
	callq	_Copy
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_Insert
LBB0_5:
	xorl	%eax, %eax
	callq	_Tick64
	movq	_ARP_ENTRY_EXPIRES@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, 8(%rbx)
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	movq	%rbx, %rcx
	callq	_L3SendWaitingIp
LBB0_6:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARP_ENTRY_EXPIRES,8,3          ## @ARP_ENTRY_EXPIRES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_L3InsertArpTable               ; -- Begin function L3InsertArpTable
	.p2align	2
_L3InsertArpTable:                      ; @L3InsertArpTable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x2, LBB0_6
; %bb.1:
	mov	x21, x0
	cbz	x0, LBB0_6
; %bb.2:
	mov	x19, x1
	add	w8, w1, #1
	cmp	w8, #2
	b.lo	LBB0_6
; %bb.3:
	mov	x20, x2
	add	x0, sp, #8
	mov	w1, #24
	bl	_Zero
	str	w19, [sp, #8]
	ldr	w0, [x21]
	add	x1, sp, #8
	bl	_Search
	mov	x22, x0
	cbnz	x0, LBB0_5
; %bb.4:
	mov	w0, #24
	bl	_ZeroMalloc
	mov	x22, x0
	str	w19, [x0]
	ldr	w0, [x0, #16]
	mov	x1, x20
	mov	w2, #6
	bl	_Copy
	ldr	w0, [x21]
	mov	x1, x22
	bl	_Insert
LBB0_5:
	bl	_Tick64
Lloh0:
	adrp	x8, _ARP_ENTRY_EXPIRES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARP_ENTRY_EXPIRES@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, x0
	str	x8, [x22, #8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x22
	bl	_L3SendWaitingIp
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARP_ENTRY_EXPIRES,8,3          ; @ARP_ENTRY_EXPIRES
.subsections_via_symbols
