	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function expand_variables_buffer
_expand_variables_buffer:               ## @expand_variables_buffer
	.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, %r15
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	incq	%r15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15), %ecx
	cmpb	$37, %cl
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	%cl, %cl
	je	LBB0_25
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rbx, %rbx
	jne	LBB0_1
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movb	%cl, (%rdx)
	incq	%rdx
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %r13d
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	1(%rbx), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_get_substitution
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_strlen
	movl	%eax, %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rsi
	jmp	LBB0_17
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
	movq	%r15, %rbx
	incq	%r15
	jmp	LBB0_2
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdx, %rdx
	je	LBB0_23
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movb	$37, (%rdx)
	incq	%rdx
	jmp	LBB0_24
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	leal	2(%r13), %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rsi
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %edx
	callq	_memcpy
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movslq	%r14d, %rax
	addq	%rax, %rdx
	jmp	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	%r14d, %eax
	jmp	LBB0_22
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%eax
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	incq	%r15
	jmp	LBB0_2
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%eax
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	incq	%r15
	jmp	LBB0_2
LBB0_25:
	testq	%rdx, %rdx
	je	LBB0_27
## %bb.26:
	movb	$0, (%rdx)
LBB0_27:
	incl	%eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_expand_variables_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function expand_variables_buffer
_expand_variables_buffer:               ; @expand_variables_buffer
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x23, #0
	mov	w22, #0
	mov	w26, #0
	mov	w27, #37
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w22, w22, #1
	add	x19, x19, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19]
	cmp	w8, #37
	b.eq	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w8, LBB0_21
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	x23, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	x21, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	strb	w8, [x21], #1
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, #0
	add	w26, w26, #1
	add	x19, x19, #1
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	x23, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w22, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x1, x23, #1
	mov	x0, x20
	mov	x2, x22
	bl	_get_substitution
	cbz	x0, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x25, x0
	bl	_strlen
	mov	x24, x0
	cbz	x21, LBB0_20
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	mov	x1, x25
	b	LBB0_19
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w22, #0
	mov	x23, x19
	add	x19, x19, #1
	b	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	x21, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	strb	w27, [x21], #1
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, #0
	mov	w22, #0
	add	w26, w26, #1
	add	x19, x19, #1
	b	LBB0_2
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w24, w22, #2
	cbz	x21, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	mov	x1, x23
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x2, x24
	bl	_memcpy
	add	x21, x21, w24, sxtw
LBB0_20:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, #0
	add	w26, w24, w26
	add	x19, x19, #1
	b	LBB0_2
LBB0_21:
	cbz	x21, LBB0_23
; %bb.22:
	strb	wzr, [x21]
LBB0_23:
	add	w0, w26, #1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_expand_variables_buffer
.subsections_via_symbols
