	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getNumArpEntries               ## -- Begin function getNumArpEntries
	.p2align	4, 0x90
_getNumArpEntries:                      ## @getNumArpEntries
	.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	$0, -56(%rbp)
	movq	$0, -72(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movq	_FILE_READ_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdi
	callq	_openTcpFile
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_NT_SUCCESS
	testl	%eax, %eax
	je	LBB0_12
## %bb.1:
	movl	-44(%rbp), %edi
	leaq	-56(%rbp), %rsi
	leaq	-60(%rbp), %rdx
	callq	_tdiGetEntityIDSet
	cmpl	$0, -60(%rbp)
	jle	LBB0_13
## %bb.2:
	xorl	%ebx, %ebx
	movq	_STATUS_SUCCESS@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, %r13d
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	movslq	-60(%rbp), %rax
	addq	$4, %rbx
	movl	%r13d, %r14d
	cmpq	%rax, %r12
	jge	LBB0_14
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi
	addq	%rbx, %rdi
	callq	_isInterface
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %edi
	movq	-56(%rbp), %rsi
	addq	%rbx, %rsi
	callq	_hasArp
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %edi
	movq	_INFO_CLASS_PROTOCOL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INFO_TYPE_PROVIDER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IP_MIB_ARPTABLE_ENTRY_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_AT_ENTITY@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-56(%rbp), %rax
	movl	(%rax,%rbx), %r9d
	leaq	-76(%rbp), %rax
	pushq	%rax
	leaq	-72(%rbp), %rax
	pushq	%rax
	pushq	$4
	pushq	$0
	callq	_tdiGetSetOfThings
	addq	$32, %rsp
	xorl	%r13d, %r13d
	cmpq	(%r15), %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-76(%rbp), %r13d
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	addl	%r14d, %r13d
	movq	-72(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	callq	_tdiFreeThingSet
	movq	$0, -72(%rbp)
	jmp	LBB0_4
LBB0_12:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_ERR
	xorl	%r13d, %r13d
	jmp	LBB0_16
LBB0_13:
	xorl	%r13d, %r13d
LBB0_14:
	movl	-44(%rbp), %edi
	callq	_closeTcpFile
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	callq	_tdiFreeThingSet
LBB0_16:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"called.\n"

	.comm	_FILE_READ_DATA,4,2             ## @FILE_READ_DATA
L_.str.1:                               ## @.str.1
	.asciz	"openTcpFile returned 0x%08lx\n"

	.comm	_INFO_CLASS_PROTOCOL,4,2        ## @INFO_CLASS_PROTOCOL
	.comm	_INFO_TYPE_PROVIDER,4,2         ## @INFO_TYPE_PROVIDER
	.comm	_IP_MIB_ARPTABLE_ENTRY_ID,4,2   ## @IP_MIB_ARPTABLE_ENTRY_ID
	.comm	_AT_ENTITY,4,2                  ## @AT_ENTITY
	.comm	_STATUS_SUCCESS,8,3             ## @STATUS_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getNumArpEntries               ; -- Begin function getNumArpEntries
	.p2align	2
_getNumArpEntries:                      ; @getNumArpEntries
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	str	xzr, [sp, #48]
	str	xzr, [sp, #32]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
Lloh2:
	adrp	x8, _FILE_READ_DATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FILE_READ_DATA@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x0, sp, #44
	bl	_openTcpFile
	mov	x19, x0
	bl	_NT_SUCCESS
	cbz	w0, LBB0_8
; %bb.1:
	ldr	w0, [sp, #44]
	add	x1, sp, #48
	add	x2, sp, #60
	bl	_tdiGetEntityIDSet
	ldr	w8, [sp, #60]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x20, #0
	mov	x21, #0
	mov	w19, #0
Lloh5:
	adrp	x22, _INFO_CLASS_PROTOCOL@GOTPAGE
Lloh6:
	ldr	x22, [x22, _INFO_CLASS_PROTOCOL@GOTPAGEOFF]
Lloh7:
	adrp	x23, _INFO_TYPE_PROVIDER@GOTPAGE
Lloh8:
	ldr	x23, [x23, _INFO_TYPE_PROVIDER@GOTPAGEOFF]
Lloh9:
	adrp	x24, _IP_MIB_ARPTABLE_ENTRY_ID@GOTPAGE
Lloh10:
	ldr	x24, [x24, _IP_MIB_ARPTABLE_ENTRY_ID@GOTPAGEOFF]
Lloh11:
	adrp	x25, _AT_ENTITY@GOTPAGE
Lloh12:
	ldr	x25, [x25, _AT_ENTITY@GOTPAGEOFF]
	add	x26, sp, #28
	add	x27, sp, #32
Lloh13:
	adrp	x28, _STATUS_SUCCESS@GOTPAGE
Lloh14:
	ldr	x28, [x28, _STATUS_SUCCESS@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [sp, #60]
	add	x20, x20, #4
	cmp	x21, x8
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #48]
	add	x0, x8, x20
	bl	_isInterface
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #44]
	ldr	x8, [sp, #48]
	add	x1, x8, x20
	bl	_hasArp
	cbz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #44]
	ldr	w1, [x22]
	ldr	w2, [x23]
	ldr	w3, [x24]
	ldr	w4, [x25]
	ldr	x8, [sp, #48]
	ldr	w5, [x8, x20]
	stp	x27, x26, [sp]
	mov	w6, #0
	mov	w7, #4
	bl	_tdiGetSetOfThings
	ldr	x8, [x28]
	ldr	w9, [sp, #28]
	cmp	x0, x8
	csel	w8, w9, wzr, eq
	add	w19, w8, w19
	ldr	x0, [sp, #32]
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_tdiFreeThingSet
	str	xzr, [sp, #32]
	b	LBB0_3
LBB0_8:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_ERR
	mov	w19, #0
	b	LBB0_12
LBB0_9:
	mov	w19, #0
LBB0_10:
	ldr	w0, [sp, #44]
	bl	_closeTcpFile
	ldr	x0, [sp, #48]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_tdiFreeThingSet
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"called.\n"

	.comm	_FILE_READ_DATA,4,2             ; @FILE_READ_DATA
l_.str.1:                               ; @.str.1
	.asciz	"openTcpFile returned 0x%08lx\n"

	.comm	_INFO_CLASS_PROTOCOL,4,2        ; @INFO_CLASS_PROTOCOL
	.comm	_INFO_TYPE_PROVIDER,4,2         ; @INFO_TYPE_PROVIDER
	.comm	_IP_MIB_ARPTABLE_ENTRY_ID,4,2   ; @IP_MIB_ARPTABLE_ENTRY_ID
	.comm	_AT_ENTITY,4,2                  ; @AT_ENTITY
	.comm	_STATUS_SUCCESS,8,3             ; @STATUS_SUCCESS
.subsections_via_symbols
