	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPCAssociateOnArpTable         ## -- Begin function IPCAssociateOnArpTable
	.p2align	4, 0x90
_IPCAssociateOnArpTable:                ## @IPCAssociateOnArpTable
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.2:
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	%rbx, %rdi
	callq	_IsValidUnicastIPAddress4
	testl	%eax, %eax
	je	LBB0_14
## %bb.3:
	movq	%r14, %rdi
	callq	_IsValidUnicastMacAddress
	testl	%eax, %eax
	je	LBB0_14
## %bb.4:
	leaq	12(%r15), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_CmpIpAddr
	testq	%rax, %rax
	je	LBB0_14
## %bb.5:
	movl	16(%r15), %edi
	movq	%r14, %rsi
	movl	$6, %edx
	callq	_Cmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:
	leaq	8(%r15), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_IsInSameNetwork4
	testl	%eax, %eax
	je	LBB0_14
## %bb.7:
	leaq	4(%r15), %rdi
	movq	%rbx, %rsi
	callq	_CmpIpAddr
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_IPCSearchArpTable
	testq	%rax, %rax
	je	LBB0_15
## %bb.9:
	movq	%rax, %r12
	movl	16(%rax), %edi
	movq	%r14, %rsi
	movl	$6, %edx
	callq	_Copy
	cmpl	$0, (%r12)
	jne	LBB0_13
## %bb.10:
	movl	$1, (%r12)
	movq	$0, 24(%r12)
	movl	20(%r12), %edi
	callq	_GetNext
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	%rax, %rbx
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movl	16(%r12), %ecx
	movq	%r15, %rdi
	callq	_IPCSendIPv4WithDestMacAddr
	movq	%rbx, %rdi
	callq	_FreeBlock
	movl	20(%r12), %edi
	callq	_GetNext
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_12
LBB0_13:
	xorl	%eax, %eax
	callq	_Tick64
	movq	_IPC_ARP_LIFETIME@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, 8(%r12)
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_IPCNewARP
	movl	(%r15), %edi
	movq	%rax, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Insert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPC_ARP_LIFETIME,8,3           ## @IPC_ARP_LIFETIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPCAssociateOnArpTable         ; -- Begin function IPCAssociateOnArpTable
	.p2align	2
_IPCAssociateOnArpTable:                ; @IPCAssociateOnArpTable
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x0, LBB0_14
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_14
; %bb.2:
	mov	x20, x2
	mov	x19, x0
	mov	x0, x21
	bl	_IsValidUnicastIPAddress4
	cbz	w0, LBB0_14
; %bb.3:
	mov	x0, x20
	bl	_IsValidUnicastMacAddress
	cbz	w0, LBB0_14
; %bb.4:
	add	x22, x19, #12
	mov	x0, x22
	mov	x1, x21
	bl	_CmpIpAddr
	cbz	x0, LBB0_14
; %bb.5:
	ldr	w0, [x19, #16]
	mov	x1, x20
	mov	w2, #6
	bl	_Cmp
	cbz	x0, LBB0_14
; %bb.6:
	add	x2, x19, #8
	mov	x0, x21
	mov	x1, x22
	bl	_IsInSameNetwork4
	cbz	w0, LBB0_14
; %bb.7:
	add	x0, x19, #4
	mov	x1, x21
	bl	_CmpIpAddr
	cbz	x0, LBB0_14
; %bb.8:
	mov	x0, x19
	mov	x1, x21
	bl	_IPCSearchArpTable
	cbz	x0, LBB0_15
; %bb.9:
	mov	x22, x0
	ldr	w0, [x0, #16]
	mov	x1, x20
	mov	w2, #6
	bl	_Copy
	ldr	w8, [x22]
	cbnz	w8, LBB0_13
; %bb.10:
	mov	w8, #1
	str	w8, [x22]
	str	xzr, [x22, #24]
	ldr	w0, [x22, #20]
	bl	_GetNext
	cbz	x0, LBB0_13
; %bb.11:
	mov	x20, x0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	w2, w1, [x20]
	ldr	w3, [x22, #16]
	mov	x0, x19
	bl	_IPCSendIPv4WithDestMacAddr
	mov	x0, x20
	bl	_FreeBlock
	ldr	w0, [x22, #20]
	bl	_GetNext
	mov	x20, x0
	cbnz	x0, LBB0_12
LBB0_13:
	bl	_Tick64
Lloh0:
	adrp	x8, _IPC_ARP_LIFETIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPC_ARP_LIFETIME@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, x0
	str	x8, [x22, #8]
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	x0, x21
	mov	x1, x20
	bl	_IPCNewARP
	mov	x1, x0
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Insert
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPC_ARP_LIFETIME,8,3           ; @IPC_ARP_LIFETIME
.subsections_via_symbols
