	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function VarSYSVMatch
_VarSYSVMatch:                          ## @VarSYSVMatch
	.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	%r9, %rbx
	movq	%r8, %r15
	movq	%rdx, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.1:
	movq	(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_Buf_AddByte
LBB0_3:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	4(%rbx), %esi
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	callq	_Str_SYSVMatch
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %r12
	movl	(%rbx), %esi
	movq	_VARF_WANTRES@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_Var_Subst
	movq	%rax, %rbx
	movl	-44(%rbp), %ecx
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	callq	_Str_SYSVSubst
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_6
LBB0_5:
	movq	%r13, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%r13, %rdx
	callq	_Buf_AddBytes
LBB0_6:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_VARF_WANTRES,4,2               ## @VARF_WANTRES
	.no_dead_strip	_VarSYSVMatch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function VarSYSVMatch
_VarSYSVMatch:                          ; @VarSYSVMatch
	.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	x23, x5
	mov	x19, x4
	mov	x21, x2
	mov	x22, x0
	cbz	x3, LBB0_3
; %bb.1:
	ldr	x1, [x1]
	cbz	x1, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_Buf_AddByte
LBB0_3:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	ldr	w1, [x23, #4]
	add	x2, sp, #12
	mov	x0, x21
	bl	_Str_SYSVMatch
	cbz	x0, LBB0_5
; %bb.4:
	mov	x24, x0
	ldr	w1, [x23]
Lloh3:
	adrp	x8, _VARF_WANTRES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VARF_WANTRES@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, #0
	mov	x2, x22
	bl	_Var_Subst
	mov	x21, x0
	ldr	w3, [sp, #12]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	bl	_Str_SYSVSubst
	mov	x0, x21
	bl	_free
	b	LBB0_6
LBB0_5:
	mov	x0, x21
	bl	_strlen
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_Buf_AddBytes
LBB0_6:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_VARF_WANTRES,4,2               ; @VARF_WANTRES
	.no_dead_strip	_VarSYSVMatch
.subsections_via_symbols
