	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TV1_GetDependants              ## -- Begin function TV1_GetDependants
	.p2align	4, 0x90
_TV1_GetDependants:                     ## @TV1_GetDependants
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	xorl	%r15d, %r15d
	leaq	-36(%rbp), %rcx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_QueryServiceConfigW
	testq	%rax, %rax
	jne	LBB0_14
## %bb.1:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_GetLastError
	movq	_ERROR_INSUFFICIENT_BUFFER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.2:
	movq	_ProcessHeap@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	-36(%rbp), %edx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.3:
	movq	%rax, %r14
	movl	-36(%rbp), %edx
	leaq	-36(%rbp), %rcx
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_QueryServiceConfigW
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	cmpb	$0, (%rax)
	je	LBB0_12
## %bb.6:
	incq	%rax
	movb	$1, %cl
	movl	$4, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %edx
	incq	%rax
	addl	$4, %ebx
	orb	%dl, %cl
	movl	%edx, %ecx
	jne	LBB0_7
## %bb.8:
	movl	(%r12), %edi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	%rax, %r12
	movq	(%r14), %rsi
	movq	%rax, %rdi
	movl	%ebx, %edx
	callq	_CopyMemory
	movq	%r12, %r15
	jmp	LBB0_13
LBB0_12:
	xorl	%r15d, %r15d
LBB0_13:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
LBB0_14:
	movq	%r15, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_INSUFFICIENT_BUFFER,8,3  ## @ERROR_INSUFFICIENT_BUFFER
	.comm	_ProcessHeap,4,2                ## @ProcessHeap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TV1_GetDependants              ; -- Begin function TV1_GetDependants
	.p2align	2
_TV1_GetDependants:                     ; @TV1_GetDependants
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	add	x3, sp, #12
	mov	x1, #0
	mov	w2, #0
	bl	_QueryServiceConfigW
	mov	x21, #0
	cbnz	x0, LBB0_13
; %bb.1:
	bl	_GetLastError
Lloh0:
	adrp	x8, _ERROR_INSUFFICIENT_BUFFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR_INSUFFICIENT_BUFFER@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.2:
Lloh3:
	adrp	x21, _ProcessHeap@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ProcessHeap@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w2, [sp, #12]
	mov	w1, #0
	bl	_HeapAlloc
	cbz	x0, LBB0_10
; %bb.3:
	mov	x19, x0
	ldr	w2, [sp, #12]
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_QueryServiceConfigW
	cbz	x0, LBB0_11
; %bb.4:
	ldr	x8, [x19]
	cbz	x8, LBB0_11
; %bb.5:
	ldrb	w9, [x8]
	cbz	w9, LBB0_11
; %bb.6:
	add	x8, x8, #1
	mov	w9, #1
	mov	w20, #4
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x8], #1
	add	w20, w20, #4
	orr	w11, w9, w10
	mov	x9, x10
	cbnz	w11, LBB0_7
; %bb.8:
	ldr	w0, [x21]
	mov	w1, #0
	mov	x2, x20
	bl	_HeapAlloc
	mov	x21, x0
	cbz	x0, LBB0_12
; %bb.9:
	ldr	x1, [x19]
	mov	x0, x21
	mov	x2, x20
	bl	_CopyMemory
	b	LBB0_12
LBB0_10:
	mov	x21, #0
	b	LBB0_13
LBB0_11:
	mov	x21, #0
LBB0_12:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_INSUFFICIENT_BUFFER,8,3  ; @ERROR_INSUFFICIENT_BUFFER
	.comm	_ProcessHeap,4,2                ; @ProcessHeap
.subsections_via_symbols
