	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sym_expand_string_value        ## -- Begin function sym_expand_string_value
	.p2align	4, 0x90
_sym_expand_string_value:               ## @sym_expand_string_value
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_strlen
	incl	%eax
	movslq	%eax, %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_xmalloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movb	$0, (%rax)
	movq	%r13, %rdi
	movl	$36, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_1
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcat
	movq	%rbx, %rsp
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	$36, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_10
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %r15
	movq	_SYMBOL_MAXLENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	%r15d, %edx
	subl	%r13d, %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_strncat
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=2
	movb	%cl, (%rbx,%r12)
	incq	%r12
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	1(%r15,%r12), %edi
	callq	_isalnum
	movzbl	1(%r15,%r12), %ecx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpb	$95, %cl
	movb	$95, %cl
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movb	$0, (%rbx,%r12)
	movq	%rbx, %rdi
	callq	_sym_find
	leaq	L_.str(%rip), %r14
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_sym_calc_value
	movq	%rbx, %rdi
	callq	_sym_get_string_value
	movq	%rax, %r14
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	(%r15,%r12), %r13
	incq	%r13
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_strlen
	movl	%eax, %ebx
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r14d
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %r14d
	addl	%r14d, %eax
	incl	%eax
	movslq	%eax, %rbx
	cmpq	%rbx, -64(%rbp)                 ## 8-byte Folded Reload
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_realloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
LBB0_10:
	leaq	(%r15,%r12), %r13
	incq	%r13
LBB0_11:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_strcat
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SYMBOL_MAXLENGTH,4,2           ## @SYMBOL_MAXLENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sym_expand_string_value        ; -- Begin function sym_expand_string_value
	.p2align	2
_sym_expand_string_value:               ; @sym_expand_string_value
	.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
	sub	sp, sp, #16
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_strlen
	add	w8, w0, #1
	sxtw	x20, w8
	mov	x0, x20
	bl	_xmalloc
	mov	x19, x0
	strb	wzr, [x0]
	mov	x0, x21
	mov	w1, #36
	bl	_strchr
	cbz	x0, LBB0_13
; %bb.1:
Lloh3:
	adrp	x25, _SYMBOL_MAXLENGTH@GOTPAGE
Lloh4:
	ldr	x25, [x25, _SYMBOL_MAXLENGTH@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_strcat
	mov	sp, x28
	mov	x0, x21
	mov	w1, #36
	bl	_strchr
	cbz	x0, LBB0_12
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x28, sp
	mov	x27, x0
	ldr	w8, [x25]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	sub	w2, w27, w21
	mov	x0, x19
	mov	x1, x21
	bl	_strncat
	mov	x26, #0
	add	x21, x27, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	strb	w8, [x22, x26]
	add	x26, x26, #1
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x21, x26]
	bl	_isalnum
	ldrb	w8, [x21, x26]
	cbnz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	cmp	w8, #95
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	wzr, [x22, x26]
	mov	x0, x22
	bl	_sym_find
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
	bl	_sym_calc_value
	mov	x0, x21
	bl	_sym_get_string_value
	mov	x22, x0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh7:
	adrp	x22, l_.str@PAGE
Lloh8:
	add	x22, x22, l_.str@PAGEOFF
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x27, x26
	add	x21, x8, #1
	mov	x0, x19
	bl	_strlen
	mov	x23, x0
	mov	x0, x22
	bl	_strlen
	mov	x24, x0
	mov	x0, x21
	bl	_strlen
	add	w8, w23, w24
	add	w8, w8, w0
	add	w8, w8, #1
	sxtw	x23, w8
	cmp	x20, x23
	b.hs	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_realloc
	mov	x19, x0
	mov	x20, x23
	b	LBB0_2
LBB0_12:
	add	x8, x27, x26
	add	x21, x8, #1
LBB0_13:
	mov	x0, x19
	mov	x1, x21
	bl	_strcat
	ldur	x8, [x29, #-88]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x19
	sub	sp, x29, #80
	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
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SYMBOL_MAXLENGTH,4,2           ; @SYMBOL_MAXLENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

.subsections_via_symbols
