	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getArpTable                    ## -- Begin function getArpTable
	.p2align	4, 0x90
_getArpTable:                           ## @getArpTable
	.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, -72(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	xorl	%eax, %eax
	callq	_getNumArpEntries
	movl	%eax, %r14d
	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_15
## %bb.1:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_GetProcessHeap
	leal	4(,%r14,4), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movl	-44(%rbp), %edi
	testq	%rax, %rax
	je	LBB0_16
## %bb.2:
	movq	%rax, %r14
	leaq	-64(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	callq	_tdiGetEntityIDSet
	cmpl	$0, -52(%rbp)
	jle	LBB0_14
## %bb.3:
	xorl	%r12d, %r12d
	movq	_STATUS_SUCCESS@GOTPCREL(%rip), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_7
LBB0_4:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	-72(%rbp), %rdi
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	callq	_tdiFreeThingSet
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r12
	movslq	-52(%rbp), %rax
	cmpq	%rax, %r12
	jge	LBB0_14
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	leaq	(,%r12,4), %rbx
	movq	-64(%rbp), %rdi
	addq	%rbx, %rdi
	callq	_isInterface
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	-44(%rbp), %edi
	addq	-64(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_hasArp
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_7 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	-64(%rbp), %rax
	movl	(%rax,%r12,4), %r9d
	leaq	-48(%rbp), %rax
	pushq	%rax
	leaq	-72(%rbp), %rax
	pushq	%rax
	pushq	$4
	pushq	$0
	callq	_tdiGetSetOfThings
	addq	$32, %rsp
	cmpq	(%r13), %rax
	jne	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$0, -48(%rbp)
	jle	LBB0_4
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-72(%rbp), %rdi
	movslq	%r15d, %rax
	shlq	$2, %rax
	addq	8(%r14), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdi,%rcx,4), %edx
	movl	%edx, (%rax,%rcx,4)
	incq	%rcx
	movslq	-48(%rbp), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	addl	%ecx, %r15d
	jmp	LBB0_5
LBB0_14:
	movl	-44(%rbp), %edi
	callq	_closeTcpFile
	movq	-64(%rbp), %rdi
	callq	_tdiFreeThingSet
	movl	%r15d, (%r14)
	jmp	LBB0_18
LBB0_15:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_ERR
	jmp	LBB0_17
LBB0_16:
	callq	_closeTcpFile
LBB0_17:
	xorl	%r14d, %r14d
LBB0_18:
	movq	%r14, %rax
	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	_getArpTable                    ; -- Begin function getArpTable
	.p2align	2
_getArpTable:                           ; @getArpTable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	bl	_getNumArpEntries
	mov	x19, x0
Lloh2:
	adrp	x8, _FILE_READ_DATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FILE_READ_DATA@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x0, sp, #28
	bl	_openTcpFile
	mov	x20, x0
	bl	_NT_SUCCESS
	cbz	w0, LBB0_14
; %bb.1:
	bl	_GetProcessHeap
	lsl	w8, w19, #2
	add	w2, w8, #4
	mov	w1, #0
	bl	_HeapAlloc
	mov	x19, x0
	ldr	w0, [sp, #28]
	cbz	x19, LBB0_15
; %bb.2:
	add	x1, sp, #32
	add	x2, sp, #44
	bl	_tdiGetEntityIDSet
	ldr	w8, [sp, #44]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.3:
	mov	x21, #0
	mov	w20, #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, #40
	add	x27, sp, #16
Lloh13:
	adrp	x28, _STATUS_SUCCESS@GOTPAGE
Lloh14:
	ldr	x28, [x28, _STATUS_SUCCESS@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [sp, #16]
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_tdiFreeThingSet
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [sp, #44]
	cmp	x21, x8
	b.ge	LBB0_17
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldr	x8, [sp, #32]
	add	x0, x8, x21, lsl #2
	bl	_isInterface
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [sp, #28]
	ldr	x8, [sp, #32]
	add	x1, x8, x21, lsl #2
	bl	_hasArp
	cbz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [sp, #28]
	ldr	w1, [x22]
	ldr	w2, [x23]
	ldr	w3, [x24]
	ldr	w4, [x25]
	ldr	x8, [sp, #32]
	ldr	w5, [x8, x21, lsl #2]
	stp	x27, x26, [sp]
	mov	w6, #0
	mov	w7, #4
	bl	_tdiGetSetOfThings
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #40]
	cmp	w8, #0
	b.le	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x8, #0
	ldr	x9, [x19, #8]
	ldr	x0, [sp, #16]
	add	x9, x9, w20, sxtw #2
LBB0_12:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x10, x8, #2
	ldr	w11, [x0, x10]
	str	w11, [x9, x10]
	add	x8, x8, #1
	ldrsw	x10, [sp, #40]
	cmp	x8, x10
	b.lt	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	add	w20, w20, w8
	b	LBB0_5
LBB0_14:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_ERR
	mov	x19, #0
	b	LBB0_18
LBB0_15:
	bl	_closeTcpFile
	b	LBB0_18
LBB0_16:
	mov	w20, #0
LBB0_17:
	ldr	w0, [sp, #28]
	bl	_closeTcpFile
	ldr	x0, [sp, #32]
	bl	_tdiFreeThingSet
	str	w20, [x19]
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	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
