	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getTcpTable                    ## -- Begin function getTcpTable
	.p2align	4, 0x90
_getTcpTable:                           ## @getTcpTable
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	$0, -64(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	xorl	%eax, %eax
	callq	_getNumTcpEntries
	movl	%eax, %ebx
	movq	_FILE_READ_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdi
	callq	_openTcpFile
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_NT_SUCCESS
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_UdpTcpTableCall@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	leaq	(%r14,%r14,2), %r13
	imull	4(%rcx,%r13,4), %ebx
	addl	(%rcx,%r13,4), %ebx
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_HeapAlloc
	movl	-44(%rbp), %edi
	testq	%rax, %rax
	je	LBB0_15
## %bb.2:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	leaq	-72(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	callq	_tdiGetEntityIDSet
	cmpl	$0, -52(%rbp)
	jle	LBB0_13
## %bb.3:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rdi
	callq	_tdiFreeThingSet
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r14
	movslq	-52(%rbp), %rax
	cmpq	%rax, %r14
	jge	LBB0_13
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	-72(%rbp), %rsi
	movq	%r14, %rbx
	shlq	$4, %rbx
	movq	(%rsi,%rbx), %rax
	movq	_CO_TL_ENTITY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	addq	%rbx, %rsi
	movl	-44(%rbp), %edi
	callq	_hasArp
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_6 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	(%r12), %rax
	movl	4(%rax,%r13,4), %r10d
	movl	8(%rax,%r13,4), %ecx
	movq	_CO_TL_ENTITY@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	-72(%rbp), %rax
	movl	12(%rax,%rbx), %r9d
	leaq	-48(%rbp), %rax
	pushq	%rax
	leaq	-64(%rbp), %rax
	pushq	%rax
	pushq	%r10
	pushq	$0
	callq	_tdiGetSetOfThings
	addq	$32, %rsp
	movq	_STATUS_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -48(%rbp)
	jle	LBB0_4
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, %r14
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%r15,%r12), %esi
	movq	(%r14), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leaq	(,%rcx,4), %rcx
	movq	%r15, %r13
	leaq	(%rcx,%rcx,2), %r15
	imull	4(%rax,%r15), %esi
	addl	(%rax,%r15), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_Add2Ptr
	movl	%eax, %ebx
	movq	-64(%rbp), %rdi
	movq	(%r14), %rax
	movl	4(%rax,%r15), %esi
	imull	%r12d, %esi
	callq	_Add2Ptr
	movq	(%r14), %rcx
	movl	4(%rcx,%r15), %edx
	movq	%r13, %r15
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_CopyMemory
	incl	%r12d
	cmpl	-48(%rbp), %r12d
	jl	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	addl	%r12d, %r15d
	movq	%r14, %r12
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_13:
	movl	-44(%rbp), %edi
	callq	_closeTcpFile
	movq	-72(%rbp), %rdi
	callq	_tdiFreeThingSet
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, 8(%rax)
	jmp	LBB0_17
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_ERR
	jmp	LBB0_16
LBB0_15:
	callq	_closeTcpFile
LBB0_16:
	xorl	%eax, %eax
LBB0_17:
	addq	$72, %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	_UdpTcpTableCall,8,3            ## @UdpTcpTableCall
	.comm	_CO_TL_ENTITY,8,3               ## @CO_TL_ENTITY
	.comm	_INFO_CLASS_PROTOCOL,4,2        ## @INFO_CLASS_PROTOCOL
	.comm	_INFO_TYPE_PROVIDER,4,2         ## @INFO_TYPE_PROVIDER
	.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	_getTcpTable                    ; -- Begin function getTcpTable
	.p2align	2
_getTcpTable:                           ; @getTcpTable
	.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
	mov	x19, x0
	str	xzr, [sp, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	bl	_getNumTcpEntries
	mov	x20, 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	x21, x0
	bl	_NT_SUCCESS
	cbz	w0, LBB0_13
; %bb.1:
	bl	_GetProcessHeap
Lloh5:
	adrp	x22, _UdpTcpTableCall@GOTPAGE
Lloh6:
	ldr	x22, [x22, _UdpTcpTableCall@GOTPAGEOFF]
	ldr	x8, [x22]
	mov	w9, #12
	madd	x8, x19, x9, x8
	ldp	w9, w8, [x8]
	madd	w2, w8, w20, w9
	mov	w1, #0
	bl	_HeapAlloc
	mov	x20, x0
	ldr	w0, [sp, #28]
	cbz	x20, LBB0_14
; %bb.2:
	add	x1, sp, #32
	add	x2, sp, #44
	bl	_tdiGetEntityIDSet
	ldr	w8, [sp, #44]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.3:
	mov	x24, #0
	mov	w23, #0
Lloh7:
	adrp	x25, _CO_TL_ENTITY@GOTPAGE
Lloh8:
	ldr	x25, [x25, _CO_TL_ENTITY@GOTPAGEOFF]
Lloh9:
	adrp	x21, _INFO_CLASS_PROTOCOL@GOTPAGE
Lloh10:
	ldr	x21, [x21, _INFO_CLASS_PROTOCOL@GOTPAGEOFF]
Lloh11:
	adrp	x26, _INFO_TYPE_PROVIDER@GOTPAGE
Lloh12:
	ldr	x26, [x26, _INFO_TYPE_PROVIDER@GOTPAGEOFF]
	mov	w27, #12
	add	x28, sp, #40
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #16]
	bl	_tdiFreeThingSet
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [sp, #44]
	cmp	x24, x8
	b.ge	LBB0_16
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x8, [sp, #32]
	add	x1, x8, x24, lsl #4
	ldr	x8, [x1]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [sp, #28]
	bl	_hasArp
	cbz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [sp, #28]
	ldr	w1, [x21]
	ldr	w2, [x26]
	ldr	x8, [x22]
	madd	x8, x19, x27, x8
	ldr	x4, [x25]
	ldr	x9, [sp, #32]
	add	x9, x9, x24, lsl #4
	ldr	w5, [x9, #12]
	ldp	w7, w3, [x8, #4]
	add	x8, sp, #16
	stp	x8, x28, [sp]
	mov	w6, #0
	bl	_tdiGetSetOfThings
Lloh13:
	adrp	x8, _STATUS_SUCCESS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _STATUS_SUCCESS@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [sp, #40]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x28, x21
	mov	w26, #0
LBB0_11:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w8, w23, w26
	ldr	x9, [x22]
	add	x10, x19, x19, lsl #1
	lsl	x27, x10, #2
	add	x9, x9, x27
	ldp	w10, w9, [x9]
	madd	w1, w9, w8, w10
	mov	x0, x20
	bl	_Add2Ptr
	mov	x21, x0
	ldr	x0, [sp, #16]
	ldr	x8, [x22]
	add	x8, x8, x27
	ldr	w8, [x8, #4]
	mul	w1, w8, w26
	bl	_Add2Ptr
	mov	x1, x0
	ldr	x8, [x22]
	add	x8, x8, x27
	ldr	w2, [x8, #4]
	mov	x0, x21
	bl	_CopyMemory
	add	w26, w26, #1
	ldr	w8, [sp, #40]
	cmp	w26, w8
	b.lt	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	add	w23, w23, w26
	mov	x21, x28
Lloh16:
	adrp	x26, _INFO_TYPE_PROVIDER@GOTPAGE
Lloh17:
	ldr	x26, [x26, _INFO_TYPE_PROVIDER@GOTPAGEOFF]
	mov	w27, #12
	add	x28, sp, #40
	b	LBB0_4
LBB0_13:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_ERR
	mov	x20, #0
	b	LBB0_17
LBB0_14:
	bl	_closeTcpFile
	b	LBB0_17
LBB0_15:
	mov	w23, #0
LBB0_16:
	ldr	w0, [sp, #28]
	bl	_closeTcpFile
	ldr	x0, [sp, #32]
	bl	_tdiFreeThingSet
	str	w23, [x20, #8]
LBB0_17:
	mov	x0, x20
	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	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.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	_UdpTcpTableCall,8,3            ; @UdpTcpTableCall
	.comm	_CO_TL_ENTITY,8,3               ; @CO_TL_ENTITY
	.comm	_INFO_CLASS_PROTOCOL,4,2        ; @INFO_CLASS_PROTOCOL
	.comm	_INFO_TYPE_PROVIDER,4,2         ; @INFO_TYPE_PROVIDER
	.comm	_STATUS_SUCCESS,8,3             ; @STATUS_SUCCESS
.subsections_via_symbols
