	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uip_arp_findentry
_uip_arp_findentry:                     ## @uip_arp_findentry
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r8
	movq	_UIP_ARPTAB_SIZE@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	$16, %r12d
	xorl	%ecx, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	_arp_table@GOTPCREL(%rip), %rdx
	movq	_ARP_STATE_EMPTY@GOTPCREL(%rip), %r9
	movq	_ARP_STATE_PENDING@GOTPCREL(%rip), %r10
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movq	%rax, %r15
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %r14
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %r15
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	(%rdi), %rax
	addq	$24, %r12
	cmpq	%rax, %rbx
	jae	LBB0_17
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rsi
	movq	-16(%rsi,%r12), %rcx
	cmpq	%rax, %r15
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	(%r9), %rcx
	je	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	(%r10), %rcx
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%r8, %r8
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%r12, %rsi
	movq	%r8, %rdi
	callq	_ip_addr_cmp
	testq	%rax, %rax
	jne	LBB0_25
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_arp_table@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	_UIP_ARPTAB_SIZE@GOTPCREL(%rip), %rdi
	movq	_ARP_STATE_EMPTY@GOTPCREL(%rip), %r9
	movq	_ARP_STATE_PENDING@GOTPCREL(%rip), %r10
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-8(%rsi,%r12), %rax
	cmpq	%r13, %rax
	cmovaeq	%rbx, %r14
	cmovaq	%rax, %r13
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_ARP_STATE_STABLE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	testq	%r8, %r8
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	%r12, %rsi
	movq	%r8, %rdi
	callq	_ip_addr_cmp
	testq	%rax, %rax
	jne	LBB0_25
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_arp_table@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	_UIP_ARPTAB_SIZE@GOTPCREL(%rip), %rdi
	movq	_ARP_STATE_EMPTY@GOTPCREL(%rip), %r9
	movq	_ARP_STATE_PENDING@GOTPCREL(%rip), %r10
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-8(%rsi,%r12), %rax
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	cmpq	%rsi, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmovaeq	%rbx, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	cmovaq	%rax, %rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_16
LBB0_17:
	cmpq	%rax, %r15
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_18
	jmp	LBB0_20
LBB0_1:
	xorl	%eax, %eax
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	xorl	%r14d, %r14d
LBB0_18:
	movq	_ARP_TRY_HARD@GOTPCREL(%rip), %rcx
	testq	%rsi, (%rcx)
	je	LBB0_19
LBB0_20:
	movq	%r15, %rbx
	cmpq	%rax, %r15
	jb	LBB0_23
## %bb.21:
	movq	%rdi, %rbx
	cmpq	%rax, %rdi
	jb	LBB0_23
## %bb.22:
	movq	%r14, %rbx
	cmpq	%rax, %r14
	jae	LBB0_19
LBB0_23:
	movq	_arp_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rbx,%rbx,2), %rcx
	movq	$0, 8(%rax,%rcx,8)
	movq	_ARP_STATE_EMPTY@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, (%rax,%rcx,8)
	testq	%r8, %r8
	je	LBB0_25
## %bb.24:
	leaq	(%rax,%rcx,8), %rdi
	addq	$16, %rdi
	movq	%r8, %rsi
	callq	_ip_addr_set
	jmp	LBB0_25
LBB0_19:
	movq	_UIP_ERR_MEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_25:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UIP_ARPTAB_SIZE,8,3            ## @UIP_ARPTAB_SIZE
	.comm	_arp_table,8,3                  ## @arp_table
	.comm	_ARP_STATE_EMPTY,8,3            ## @ARP_STATE_EMPTY
	.comm	_ARP_STATE_PENDING,8,3          ## @ARP_STATE_PENDING
	.comm	_ARP_STATE_STABLE,8,3           ## @ARP_STATE_STABLE
	.comm	_ARP_TRY_HARD,8,3               ## @ARP_TRY_HARD
	.comm	_UIP_ERR_MEM,8,3                ## @UIP_ERR_MEM
	.no_dead_strip	_uip_arp_findentry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uip_arp_findentry
_uip_arp_findentry:                     ; @uip_arp_findentry
	.cfi_startproc
; %bb.0:
	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
Lloh0:
	adrp	x27, _UIP_ARPTAB_SIZE@GOTPAGE
Lloh1:
	ldr	x27, [x27, _UIP_ARPTAB_SIZE@GOTPAGEOFF]
	ldr	x8, [x27]
Lloh2:
	adrp	x23, _arp_table@GOTPAGE
Lloh3:
	ldr	x23, [x23, _arp_table@GOTPAGEOFF]
Lloh4:
	adrp	x11, _ARP_STATE_EMPTY@GOTPAGE
Lloh5:
	ldr	x11, [x11, _ARP_STATE_EMPTY@GOTPAGEOFF]
	cbz	x8, LBB0_17
; %bb.1:
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	mov	x28, #0
	mov	x21, #0
	mov	x25, #0
	mov	x20, #0
Lloh6:
	adrp	x12, _ARP_STATE_PENDING@GOTPAGE
Lloh7:
	ldr	x12, [x12, _ARP_STATE_PENDING@GOTPAGEOFF]
	mov	x26, x8
	mov	x22, x8
	mov	x24, x8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x20
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	ldr	x8, [x27]
	add	x28, x28, #24
	cmp	x20, x8
	b.hs	LBB0_16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	ldr	x10, [x9, x28]
	cmp	x26, x8
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x11]
	cmp	x10, x8
	b.eq	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x12]
	cmp	x10, x8
	b.ne	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x19, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x9, x28
	add	x1, x8, #16
	mov	x0, x19
	bl	_ip_addr_cmp
	cbnz	x0, LBB0_25
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x23]
Lloh8:
	adrp	x11, _ARP_STATE_EMPTY@GOTPAGE
Lloh9:
	ldr	x11, [x11, _ARP_STATE_EMPTY@GOTPAGEOFF]
Lloh10:
	adrp	x12, _ARP_STATE_PENDING@GOTPAGE
Lloh11:
	ldr	x12, [x12, _ARP_STATE_PENDING@GOTPAGEOFF]
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x9, x28
	ldr	x8, [x8, #8]
	cmp	x8, x25
	csel	x24, x24, x20, lo
	csel	x25, x8, x25, hi
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh12:
	adrp	x8, _ARP_STATE_STABLE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ARP_STATE_STABLE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x10, x8
	b.ne	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	cbz	x19, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x9, x28
	add	x1, x8, #16
	mov	x0, x19
	bl	_ip_addr_cmp
	cbnz	x0, LBB0_25
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x23]
Lloh15:
	adrp	x11, _ARP_STATE_EMPTY@GOTPAGE
Lloh16:
	ldr	x11, [x11, _ARP_STATE_EMPTY@GOTPAGEOFF]
Lloh17:
	adrp	x12, _ARP_STATE_PENDING@GOTPAGE
Lloh18:
	ldr	x12, [x12, _ARP_STATE_PENDING@GOTPAGEOFF]
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x9, x28
	ldr	x8, [x8, #8]
	cmp	x8, x21
	csel	x22, x22, x20, lo
	csel	x21, x8, x21, hi
	b	LBB0_3
LBB0_16:
	cmp	x26, x8
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	b.eq	LBB0_18
	b	LBB0_19
LBB0_17:
	mov	x26, #0
	mov	x22, #0
	mov	x24, #0
LBB0_18:
Lloh19:
	adrp	x9, _ARP_TRY_HARD@GOTPAGE
Lloh20:
	ldr	x9, [x9, _ARP_TRY_HARD@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	tst	x9, x1
	b.eq	LBB0_24
LBB0_19:
	mov	x20, x26
	cmp	x26, x8
	b.lo	LBB0_22
; %bb.20:
	mov	x20, x22
	cmp	x22, x8
	b.lo	LBB0_22
; %bb.21:
	mov	x20, x24
	cmp	x24, x8
	b.hs	LBB0_24
LBB0_22:
	ldr	x8, [x23]
	mov	w9, #24
	madd	x9, x20, x9, x8
	str	xzr, [x9, #8]
	ldr	x10, [x11]
	str	x10, [x9]
	cbz	x19, LBB0_25
; %bb.23:
	mov	w9, #24
	madd	x8, x20, x9, x8
	add	x0, x8, #16
	mov	x1, x19
	bl	_ip_addr_set
	b	LBB0_25
LBB0_24:
Lloh22:
	adrp	x8, _UIP_ERR_MEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _UIP_ERR_MEM@GOTPAGEOFF]
Lloh24:
	ldr	x20, [x8]
LBB0_25:
	mov	x0, x20
	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
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_UIP_ARPTAB_SIZE,8,3            ; @UIP_ARPTAB_SIZE
	.comm	_arp_table,8,3                  ; @arp_table
	.comm	_ARP_STATE_EMPTY,8,3            ; @ARP_STATE_EMPTY
	.comm	_ARP_STATE_PENDING,8,3          ; @ARP_STATE_PENDING
	.comm	_ARP_STATE_STABLE,8,3           ; @ARP_STATE_STABLE
	.comm	_ARP_TRY_HARD,8,3               ; @ARP_TRY_HARD
	.comm	_UIP_ERR_MEM,8,3                ; @UIP_ERR_MEM
	.no_dead_strip	_uip_arp_findentry
.subsections_via_symbols
