	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SubstituteForVars              ## -- Begin function SubstituteForVars
	.p2align	4, 0x90
_SubstituteForVars:                     ## @SubstituteForVars
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.1:
	movq	%rdi, %r12
	movq	_CMDLINE_LENGTH@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	-8(,%rax,8), %r15
	addq	%r13, %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$37, %edi
	callq	__T
	cmpq	%rax, %rbx
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	16(%r12), %rax
	movq	%rax, -48(%rbp)
	movq	8(%r12), %rbx
	movl	$126, %edi
	callq	__T
	cmpq	%rax, %rbx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rdi
	movq	_FindForVar@GOTPCREL(%rip), %rsi
	callq	_GetEnhancedVar
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rdi
	leaq	-52(%rbp), %rsi
	callq	_FindForVar
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	__tcslen
	cltq
	leaq	(,%rax,8), %rax
	addq	%r13, %rax
	cmpq	%r15, %rax
	ja	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	__stpcpy
	movq	%rax, %r13
	movq	-48(%rbp), %r12
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r15, %r13
	jae	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
	addq	$8, %r12
	movq	%rax, (%r13)
	addq	$8, %r13
	jmp	LBB0_11
LBB0_12:
	xorl	%edi, %edi
	callq	__T
	movq	%rax, (%r13)
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_7:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMDLINE_LENGTH,4,2             ## @CMDLINE_LENGTH
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SubstituteForVars              ; -- Begin function SubstituteForVars
	.p2align	2
_SubstituteForVars:                     ; @SubstituteForVars
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	ldr	x22, [x0]
	cbz	x22, LBB0_11
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x8, _CMDLINE_LENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMDLINE_LENGTH@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x8, x19, x8, lsl #3
	sub	x23, x8, #8
Lloh3:
	adrp	x20, _FindForVar@GOTPAGE
Lloh4:
	ldr	x20, [x20, _FindForVar@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [x21]
	cbz	x22, LBB0_11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #37
	bl	__T
	cmp	x22, x0
	b.ne	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x21, #16
	str	x8, [sp]
	ldr	x22, [x21, #8]
	mov	w0, #126
	bl	__T
	cmp	x22, x0
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, sp
	mov	x1, x20
	bl	_GetEnhancedVar
	mov	x22, x0
	cbnz	x0, LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x21, #8]
	add	x1, sp, #12
	bl	_FindForVar
	mov	x22, x0
	cbz	x0, LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	__tcslen
	add	x8, x19, w0, sxtw #3
	cmp	x8, x23
	b.hi	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	__stpcpy
	mov	x19, x0
	ldr	x21, [sp]
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x19, x23
	b.hs	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21], #8
	str	x8, [x19], #8
	b	LBB0_2
LBB0_11:
	mov	w0, #0
	bl	__T
	str	x0, [x19]
Lloh5:
	adrp	x8, _TRUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh7:
	adrp	x8, _FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CMDLINE_LENGTH,4,2             ; @CMDLINE_LENGTH
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
