	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uip_arp_update
_uip_arp_update:                        ## @uip_arp_update
	.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
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_ip_addr_isany
	movq	_UIP_ERR_ARG@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	jne	LBB0_18
## %bb.1:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ip_addr_isbroadcast
	testq	%rax, %rax
	jne	LBB0_18
## %bb.2:
	movq	%rbx, %rdi
	callq	_ip_addr_ismulticast
	testq	%rax, %rax
	je	LBB0_3
LBB0_18:
	movq	(%r13), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_uip_arp_findentry
	movq	_arp_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	leaq	(%rax,%rax,2), %rax
	movq	$0, 16(%rdx,%rax,8)
	movq	_ARP_STATE_STABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rdx,%rax,8)
	movq	(%r12), %r8
	movq	_UIP_ERR_OK@GOTPCREL(%rip), %r13
	testq	%r8, %r8
	je	LBB0_18
## %bb.4:
	movq	(%r14), %rcx
	movq	(%rdx,%rax,8), %rdx
	xorl	%esi, %esi
	cmpq	$8, %r8
	jb	LBB0_14
## %bb.5:
	movq	%rdx, %rax
	subq	%rcx, %rax
	cmpq	$32, %rax
	jb	LBB0_14
## %bb.6:
	movq	%r8, %rsi
	andq	$-8, %rsi
	leaq	-8(%rsi), %rax
	movq	%rax, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r9d
	andl	$3, %r9d
	cmpq	$24, %rax
	jae	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_8:
	andq	$-4, %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rcx,%rax,4), %xmm0
	movups	16(%rcx,%rax,4), %xmm1
	movups	%xmm0, (%rdx,%rax,4)
	movups	%xmm1, 16(%rdx,%rax,4)
	movups	32(%rcx,%rax,4), %xmm0
	movups	48(%rcx,%rax,4), %xmm1
	movups	%xmm0, 32(%rdx,%rax,4)
	movups	%xmm1, 48(%rdx,%rax,4)
	movups	64(%rcx,%rax,4), %xmm0
	movups	80(%rcx,%rax,4), %xmm1
	movups	%xmm0, 64(%rdx,%rax,4)
	movups	%xmm1, 80(%rdx,%rax,4)
	movups	96(%rcx,%rax,4), %xmm0
	movups	112(%rcx,%rax,4), %xmm1
	movups	%xmm0, 96(%rdx,%rax,4)
	movups	%xmm1, 112(%rdx,%rax,4)
	addq	$32, %rax
	addq	$-4, %rdi
	jne	LBB0_9
LBB0_10:
	testq	%r9, %r9
	je	LBB0_13
## %bb.11:
	leaq	(%rdx,%rax,4), %rdi
	addq	$16, %rdi
	leaq	(%rcx,%rax,4), %rax
	addq	$16, %rax
	shlq	$5, %r9
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rax,%rbx), %xmm0
	movups	(%rax,%rbx), %xmm1
	movups	%xmm0, -16(%rdi,%rbx)
	movups	%xmm1, (%rdi,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r9
	jne	LBB0_12
LBB0_13:
	cmpq	%rsi, %r8
	je	LBB0_18
LBB0_14:
	movq	%rsi, %rax
	notq	%rax
	addq	%r8, %rax
	movq	%r8, %rdi
	andq	$3, %rdi
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rsi,4), %ebx
	movl	%ebx, (%rdx,%rsi,4)
	incq	%rsi
	decq	%rdi
	jne	LBB0_15
LBB0_16:
	cmpq	$3, %rax
	jb	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rsi,4), %eax
	movl	%eax, (%rdx,%rsi,4)
	movl	4(%rcx,%rsi,4), %eax
	movl	%eax, 4(%rdx,%rsi,4)
	movl	8(%rcx,%rsi,4), %eax
	movl	%eax, 8(%rdx,%rsi,4)
	movl	12(%rcx,%rsi,4), %eax
	movl	%eax, 12(%rdx,%rsi,4)
	addq	$4, %rsi
	cmpq	%rsi, %r8
	jne	LBB0_17
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_UIP_ERR_ARG,8,3                ## @UIP_ERR_ARG
	.comm	_arp_table,8,3                  ## @arp_table
	.comm	_ARP_STATE_STABLE,4,2           ## @ARP_STATE_STABLE
	.comm	_UIP_ERR_OK,8,3                 ## @UIP_ERR_OK
	.no_dead_strip	_uip_arp_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uip_arp_update
_uip_arp_update:                        ; @uip_arp_update
	.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
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x1
	bl	_ip_addr_isany
	cbnz	x0, LBB0_3
; %bb.1:
	mov	x0, x22
	mov	x1, x20
	bl	_ip_addr_isbroadcast
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x22
	bl	_ip_addr_ismulticast
	cbz	x0, LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _UIP_ERR_ARG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UIP_ERR_ARG@GOTPAGEOFF]
LBB0_4:
	ldr	x0, [x8]
	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_5:
	mov	x0, x22
	mov	x1, x21
	bl	_uip_arp_findentry
Lloh2:
	adrp	x8, _arp_table@GOTPAGE
Lloh3:
	ldr	x8, [x8, _arp_table@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x8]
	mov	w8, #24
	madd	x8, x0, x8, x11
	str	xzr, [x8, #16]
Lloh5:
	adrp	x9, _ARP_STATE_STABLE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ARP_STATE_STABLE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	str	w9, [x8, #8]
	ldr	x9, [x20]
	cbz	x9, LBB0_11
; %bb.6:
	mov	x10, #0
	ldr	x8, [x19]
	mov	w12, #24
	mul	x12, x0, x12
	ldr	x11, [x11, x12]
	cmp	x9, #16
	b.lo	LBB0_12
; %bb.7:
	sub	x12, x11, x8
	cmp	x12, #64
	b.lo	LBB0_12
; %bb.8:
	and	x10, x9, #0xfffffffffffffff0
	add	x12, x8, #32
	add	x13, x11, #32
	mov	x14, x10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x13, #-32]
	stp	q2, q3, [x13], #64
	subs	x14, x14, #16
	b.ne	LBB0_9
; %bb.10:
	cmp	x9, x10
	b.ne	LBB0_12
LBB0_11:
Lloh8:
	adrp	x8, _UIP_ERR_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UIP_ERR_OK@GOTPAGEOFF]
	b	LBB0_4
LBB0_12:
	sub	x9, x9, x10
	lsl	x12, x10, #2
	add	x10, x11, x12
	add	x11, x8, x12
Lloh10:
	adrp	x8, _UIP_ERR_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UIP_ERR_OK@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11], #4
	str	w12, [x10], #4
	subs	x9, x9, #1
	b.ne	LBB0_13
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_UIP_ERR_ARG,8,3                ; @UIP_ERR_ARG
	.comm	_arp_table,8,3                  ; @arp_table
	.comm	_ARP_STATE_STABLE,4,2           ; @ARP_STATE_STABLE
	.comm	_UIP_ERR_OK,8,3                 ; @UIP_ERR_OK
	.no_dead_strip	_uip_arp_update
.subsections_via_symbols
