	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function expand_op
_expand_op:                             ## @expand_op
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -92(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	_NLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	$36, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_62
## %bb.1:
	movq	%rax, %r14
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	%r12, %r15
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_59:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_XLOG_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_plog
LBB0_60:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	$36, %esi
	callq	_strchr
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_61
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
	movq	%r14, %rbx
	subq	%r15, %rbx
	testl	%ebx, %ebx
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_BUFSPACE
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_strncpy
	movslq	%ebx, %rax
	addq	%rax, %r13
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	2(%r14), %r15
	movb	1(%r14), %al
	cmpb	$123, %al
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$36, %al
	jne	LBB0_59
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_BUFSPACE
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movb	$36, (%r13)
	incq	%r13
	jmp	LBB0_60
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	$125, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	subl	%r15d, %eax
	movb	(%r15), %cl
	cmpb	$47, %cl
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	$3, %r14
	decl	%eax
	movl	$2, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movb	-1(%r12), %dl
	cmpb	$47, %dl
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	decl	%eax
	movl	$1, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	L_.str.5(%rip), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_23
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$46, %cl
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	$3, %r14
	decl	%eax
	movl	$3, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	L_.str.4(%rip), %rcx
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.5(%rip), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %r15
	jmp	LBB0_24
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$46, %dl
	jne	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	decl	%eax
	movl	$4, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	L_.str.5(%rip), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.4(%rip), %rcx
	jmp	LBB0_23
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	L_.str.5(%rip), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	_NLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	cmpl	%ebx, %eax
	cmovll	%eax, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_strncpy
	movslq	%ebx, %rax
	movb	$0, (%r14,%rax)
	incq	%r12
	movq	_opt_fields@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_51
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %r15
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_26 Depth=2
	movq	32(%r15), %rdi
	addq	$32, %r15
	testq	%rdi, %rdi
	je	LBB0_51
LBB0_26:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	-24(%r15), %ebx
	jne	LBB0_50
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=2
	movq	%r14, %rsi
	callq	_STREQ
	testq	%rax, %rax
	je	LBB0_50
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	cmpl	$0, -92(%rbp)                   ## 4-byte Folded Reload
	setne	%r14b
	movq	_NLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	$3, %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdx
	movq	-16(%r15), %rax
	testq	%rax, %rax
	sete	%cl
	xorb	%r14b, %cl
	je	LBB0_29
## %bb.30:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	jne	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-8(%r15), %rax
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_33
## %bb.34:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	decl	%edx
	cmpl	$3, %edx
	ja	LBB0_45
## %bb.35:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdx,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_36:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%rsi, %r14
	movl	$47, %esi
	callq	_strrchr
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %r14
LBB0_52:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_57
## %bb.53:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_strlen
	movl	%eax, %r13d
	leal	1(%r13), %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_BUFSPACE
	testq	%rax, %rax
	je	LBB0_58
## %bb.54:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_xstrlcpy
	movslq	%r13d, %r13
	addq	%r14, %r13
	movq	_D_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_amuDebug
	testq	%rax, %rax
	je	LBB0_55
## %bb.56:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_XLOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_plog
LBB0_55:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %r15
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_60
LBB0_57:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_XLOG_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_plog
	jmp	LBB0_48
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, %r14
	movq	%rdx, %rdi
	movl	%ebx, %esi
	leaq	L_.str.2(%rip), %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	callq	_xsnprintf
LBB0_39:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %esi
	movq	%r14, %rbx
LBB0_45:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leal	1(%rsi), %ebx
	movq	%r13, %rdi
	movq	%rsi, %r14
	movl	%ebx, %esi
	callq	_BUFSPACE
	testq	%rax, %rax
	je	LBB0_49
## %bb.46:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	movslq	%r14d, %rax
	leaq	(%rax,%r13), %r14
	movb	$0, (%r13,%rax)
LBB0_47:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %rsp                ## 8-byte Reload
	cmpq	$0, (%r15)
	je	LBB0_52
LBB0_48:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %r15
	movq	%r14, %r13
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_60
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %r14
	jmp	LBB0_47
LBB0_37:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%rsi, %r14
	movl	$47, %esi
	callq	_strrchr
	movq	%r14, %rsi
	testq	%rax, %rax
	je	LBB0_45
## %bb.38:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	incq	%r14
	jmp	LBB0_39
LBB0_40:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	$46, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_41
## %bb.42:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	incq	%rbx
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %esi
	jmp	LBB0_45
LBB0_43:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%rsi, %r14
	movl	$46, %esi
	callq	_strchr
LBB0_44:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ecx
	subl	%ebx, %ecx
	testq	%rax, %rax
	cmovel	%r14d, %ecx
	movl	%ecx, %esi
	jmp	LBB0_45
LBB0_41:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
	leaq	L_.str.5(%rip), %rbx
	jmp	LBB0_45
LBB0_9:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_10
LBB0_12:
	movq	_XLOG_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_10:
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_plog
LBB0_61:
	cmpq	%r12, %r15
	je	LBB0_62
## %bb.63:
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %ebx
	incl	%ebx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_BUFSPACE
	testq	%rax, %rax
	je	LBB0_65
## %bb.64:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_xstrlcpy
	jmp	LBB0_66
LBB0_62:
	movq	%r12, %rdi
	jmp	LBB0_67
LBB0_65:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_plog
LBB0_66:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
LBB0_67:
	callq	_xstrdup
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_normalize_slash
	movq	_D_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_amuDebug
	testq	%rax, %rax
	je	LBB0_69
## %bb.68:
	movq	_XLOG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_plog
	movl	(%r14), %edi
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_plog
LBB0_69:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_71
## %bb.70:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_58:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_plog
	movq	%r12, %r15
	movq	%rbx, %r12
	movq	%r14, %r13
	jmp	LBB0_61
LBB0_49:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_plog
	movq	-104(%rbp), %rsp                ## 8-byte Reload
	movq	%r12, %r15
	movq	%rbx, %r12
	jmp	LBB0_61
LBB0_71:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
LJTI0_0:
	.long	L0_0_set_36
	.long	L0_0_set_37
	.long	L0_0_set_40
	.long	L0_0_set_43
	.end_data_region
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_NLEN,4,2                       ## @NLEN
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No space to expand \"%s\""

	.comm	_XLOG_USER,4,2                  ## @XLOG_USER
L_.str.1:                               ## @.str.1
	.asciz	"No closing '}' in \"%s\""

	.comm	_opt_fields,8,3                 ## @opt_fields
L_.str.2:                               ## @.str.2
	.asciz	"${%s%s%s}"

L_.str.3:                               ## @.str.3
	.asciz	"/"

L_.str.4:                               ## @.str.4
	.asciz	"."

L_.str.5:                               ## @.str.5
	.space	1

	.comm	_D_STR,4,2                      ## @D_STR
	.comm	_XLOG_DEBUG,4,2                 ## @XLOG_DEBUG
L_.str.6:                               ## @.str.6
	.asciz	"Environment gave \"%s\" -> \"%s\""

L_.str.7:                               ## @.str.7
	.asciz	"Unknown sequence \"${%s}\""

L_.str.8:                               ## @.str.8
	.asciz	"Unknown $ sequence in \"%s\""

L_.str.9:                               ## @.str.9
	.asciz	"Expansion of \"%s\"..."

L_.str.10:                              ## @.str.10
	.asciz	"......... is \"%s\""

	.comm	_EXPAND_ERROR,8,3               ## @EXPAND_ERROR
	.no_dead_strip	_expand_op
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function expand_op
_expand_op:                             ; @expand_op
	.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, #32
	stur	w1, [x29, #-100]                ; 4-byte Folded Spill
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x8, x9, x8
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
	mov	sp, x8
Lloh8:
	adrp	x8, _NLEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NLEN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	mov	w20, #36
	mov	w1, #36
	bl	_strchr
	cbz	x0, LBB0_57
; %bb.1:
	mov	x27, x0
	ldur	x21, [x29, #-96]                ; 8-byte Folded Reload
	mov	x22, x19
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh13:
	adrp	x8, _XLOG_USER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _XLOG_USER@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x19
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_plog
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	w1, #36
	bl	_strchr
	mov	x27, x0
	cbz	x0, LBB0_51
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
	sub	x23, x27, x22
	cmp	w23, #1
	b.lt	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_BUFSPACE
	cbz	x0, LBB0_48
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_strncpy
	add	x21, x21, w23, sxtw
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x27, #2
	ldrb	w8, [x27, #1]
	cmp	w8, #123
	b.eq	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #36
	b.ne	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	w1, #1
	bl	_BUFSPACE
	cbz	x0, LBB0_48
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	strb	w20, [x21], #1
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	w1, #125
	bl	_strchr
	cbz	x0, LBB0_49
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	sub	w8, w23, w22
	ldrb	w9, [x22]
	cmp	w9, #47
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x27, #3
	sub	w8, w8, #1
	mov	w28, #2
Lloh18:
	adrp	x25, l_.str.3@PAGE
Lloh19:
	add	x25, x25, l_.str.3@PAGEOFF
Lloh20:
	adrp	x26, l_.str.5@PAGE
Lloh21:
	add	x26, x26, l_.str.5@PAGEOFF
	b	LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	ldurb	w10, [x23, #-1]
	cmp	w10, #47
	b.ne	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	sub	w8, w8, #1
	mov	w28, #1
Lloh22:
	adrp	x25, l_.str.5@PAGE
Lloh23:
	add	x25, x25, l_.str.5@PAGEOFF
Lloh24:
	adrp	x26, l_.str.3@PAGE
Lloh25:
	add	x26, x26, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w11, w8, #1
	cmp	w10, #46
	mov	w10, #4
	csel	w10, wzr, w10, ne
Lloh26:
	adrp	x15, l_.str.5@PAGE
Lloh27:
	add	x15, x15, l_.str.5@PAGEOFF
	csel	x12, x15, x15, ne
Lloh28:
	adrp	x16, l_.str.4@PAGE
Lloh29:
	add	x16, x16, l_.str.4@PAGEOFF
	csel	x13, x15, x16, ne
	csel	w8, w8, w11, ne
	add	x14, x27, #3
	cmp	w9, #46
	mov	w9, #3
	csel	w28, w10, w9, ne
	csel	x25, x12, x16, ne
	csel	x26, x13, x15, ne
	csel	w8, w8, w11, ne
	csel	x22, x22, x14, ne
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh30:
	adrp	x9, _NLEN@GOTPAGE
Lloh31:
	ldr	x9, [x9, _NLEN@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w27, w8, w9, lt
	mov	x0, x24
	mov	x1, x22
	mov	x2, x27
	bl	_strncpy
	strb	wzr, [x24, w27, sxtw]
	add	x22, x23, #1
Lloh33:
	adrp	x8, _opt_fields@GOTPAGE
Lloh34:
	ldr	x8, [x8, _opt_fields@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	ldr	x0, [x8, #24]
	cbz	x0, LBB0_27
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x8, #16
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=2
	ldr	x0, [x20, #40]
	add	x20, x20, #32
	cbz	x0, LBB0_26
LBB0_21:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	w8, [x20, #-16]
	cmp	w27, w8
	b.ne	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	mov	x1, x24
	bl	_STREQ
	cbz	x0, LBB0_20
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, sp
	ldur	w8, [x29, #-100]                ; 4-byte Folded Reload
	cmp	w8, #0
	cset	w12, ne
Lloh36:
	adrp	x8, _NLEN@GOTPAGE
Lloh37:
	ldr	x8, [x8, _NLEN@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	add	w1, w8, #3
	mov	x9, x1
Lloh39:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh40:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x27, x8, x9
	mov	sp, x27
	ldur	x8, [x20, #-8]
	cmp	x8, #0
	cset	w9, eq
	eor	w9, w12, w9
	tbz	w9, #0, LBB0_32
; %bb.24:                               ;   in Loop: Header=BB0_5 Depth=1
	cbz	x8, LBB0_37
; %bb.25:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x27, [x8]
	cbnz	x27, LBB0_38
	b	LBB0_36
LBB0_26:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w20, #36
LBB0_27:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	bl	_getenv
	cbz	x0, LBB0_31
; %bb.28:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	bl	_strlen
	mov	x25, x0
	add	w26, w0, #1
	mov	x0, x21
	mov	x1, x26
	bl	_BUFSPACE
	cbz	x0, LBB0_48
; %bb.29:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	x2, x26
	bl	_xstrlcpy
	add	x21, x21, w25, sxtw
Lloh41:
	adrp	x8, _D_STR@GOTPAGE
Lloh42:
	ldr	x8, [x8, _D_STR@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	bl	_amuDebug
	cbz	x0, LBB0_4
; %bb.30:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh44:
	adrp	x8, _XLOG_DEBUG@GOTPAGE
Lloh45:
	ldr	x8, [x8, _XLOG_DEBUG@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	str	x23, [sp, #-16]!
Lloh47:
	adrp	x1, l_.str.6@PAGE
Lloh48:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x24
	bl	_plog
	add	sp, sp, #16
	b	LBB0_4
LBB0_31:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh49:
	adrp	x8, _XLOG_USER@GOTPAGE
Lloh50:
	ldr	x8, [x8, _XLOG_USER@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
Lloh52:
	adrp	x1, l_.str.7@PAGE
Lloh53:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x24
	b	LBB0_3
LBB0_32:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, x23
	mov	x0, x27
                                        ; kill: def $w1 killed $w1 killed $x1
Lloh54:
	adrp	x2, l_.str.2@PAGE
Lloh55:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x3, x25
	mov	x4, x24
	mov	x5, x26
	bl	_xsnprintf
LBB0_33:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x27
	bl	_strlen
	mov	x25, x0
LBB0_34:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w23, w25, #1
	mov	x0, x21
	mov	x1, x23
	bl	_BUFSPACE
	cbz	x0, LBB0_56
; %bb.35:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x27
	mov	x2, x23
	bl	_memcpy
	add	x21, x21, w25, sxtw
	strb	wzr, [x21]
	mov	x23, x28
LBB0_36:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	sp, x23
	ldr	x8, [x20, #8]
	mov	w20, #36
	cbnz	x8, LBB0_4
	b	LBB0_27
LBB0_37:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20]
	ldr	x27, [x8]
	cbz	x27, LBB0_36
LBB0_38:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x27
	bl	_strlen
	mov	x25, x0
	sub	w8, w28, #1
	cmp	w8, #3
	b.hi	LBB0_41
; %bb.39:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh56:
	adrp	x11, lJTI0_0@PAGE
Lloh57:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_40
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_40:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, x23
	mov	x0, x27
	mov	w1, #47
	bl	_strrchr
	b	LBB0_46
LBB0_41:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, x23
	b	LBB0_34
LBB0_42:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, x23
	mov	x0, x27
	mov	w1, #47
	bl	_strrchr
	cbnz	x0, LBB0_44
	b	LBB0_34
LBB0_43:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x27
	mov	w1, #46
	bl	_strchr
	mov	x28, x23
	cbz	x0, LBB0_47
LBB0_44:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x27, x0, #1
	b	LBB0_33
LBB0_45:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, x23
	mov	x0, x27
	mov	w1, #46
	bl	_strchr
LBB0_46:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w8, w0, w27
	cmp	x0, #0
	csel	w25, w25, w8, eq
	b	LBB0_34
LBB0_47:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w25, #0
Lloh58:
	adrp	x27, l_.str.5@PAGE
Lloh59:
	add	x27, x27, l_.str.5@PAGEOFF
	b	LBB0_34
LBB0_48:
Lloh60:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh61:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh62:
	ldr	w0, [x8]
Lloh63:
	adrp	x1, l_.str@PAGE
Lloh64:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_50
LBB0_49:
Lloh65:
	adrp	x8, _XLOG_USER@GOTPAGE
Lloh66:
	ldr	x8, [x8, _XLOG_USER@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
Lloh68:
	adrp	x1, l_.str.1@PAGE
Lloh69:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_50:
	mov	x2, x19
	bl	_plog
LBB0_51:
	cmp	x22, x19
	b.eq	LBB0_57
LBB0_52:
	mov	x0, x22
	bl	_strlen
	add	w23, w0, #1
	mov	x0, x21
	mov	x1, x23
	bl	_BUFSPACE
	cbz	x0, LBB0_54
; %bb.53:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_xstrlcpy
	b	LBB0_55
LBB0_54:
Lloh70:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh71:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh72:
	ldr	w0, [x8]
Lloh73:
	adrp	x1, l_.str@PAGE
Lloh74:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_plog
LBB0_55:
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	b	LBB0_58
LBB0_56:
Lloh75:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh76:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh77:
	ldr	w0, [x8]
Lloh78:
	adrp	x1, l_.str@PAGE
Lloh79:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_plog
	mov	sp, x28
	cmp	x22, x19
	b.ne	LBB0_52
LBB0_57:
	mov	x0, x19
LBB0_58:
	bl	_xstrdup
	mov	x20, x0
	bl	_normalize_slash
Lloh80:
	adrp	x8, _D_STR@GOTPAGE
Lloh81:
	ldr	x8, [x8, _D_STR@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
	bl	_amuDebug
	cbz	x0, LBB0_60
; %bb.59:
Lloh83:
	adrp	x21, _XLOG_DEBUG@GOTPAGE
Lloh84:
	ldr	x21, [x21, _XLOG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh85:
	adrp	x1, l_.str.9@PAGE
Lloh86:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x2, x19
	bl	_plog
	ldr	w0, [x21]
Lloh87:
	adrp	x1, l_.str.10@PAGE
Lloh88:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x2, x20
	bl	_plog
LBB0_60:
	ldur	x8, [x29, #-88]
Lloh89:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh90:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh91:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_62
; %bb.61:
	mov	x0, x20
	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_62:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_40-LBB0_40)>>2
	.byte	(LBB0_42-LBB0_40)>>2
	.byte	(LBB0_43-LBB0_40)>>2
	.byte	(LBB0_45-LBB0_40)>>2
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_NLEN,4,2                       ; @NLEN
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No space to expand \"%s\""

	.comm	_XLOG_USER,4,2                  ; @XLOG_USER
l_.str.1:                               ; @.str.1
	.asciz	"No closing '}' in \"%s\""

	.comm	_opt_fields,8,3                 ; @opt_fields
l_.str.2:                               ; @.str.2
	.asciz	"${%s%s%s}"

l_.str.3:                               ; @.str.3
	.asciz	"/"

l_.str.4:                               ; @.str.4
	.asciz	"."

l_.str.5:                               ; @.str.5
	.space	1

	.comm	_D_STR,4,2                      ; @D_STR
	.comm	_XLOG_DEBUG,4,2                 ; @XLOG_DEBUG
l_.str.6:                               ; @.str.6
	.asciz	"Environment gave \"%s\" -> \"%s\""

l_.str.7:                               ; @.str.7
	.asciz	"Unknown sequence \"${%s}\""

l_.str.8:                               ; @.str.8
	.asciz	"Unknown $ sequence in \"%s\""

l_.str.9:                               ; @.str.9
	.asciz	"Expansion of \"%s\"..."

l_.str.10:                              ; @.str.10
	.asciz	"......... is \"%s\""

	.comm	_EXPAND_ERROR,8,3               ; @EXPAND_ERROR
	.no_dead_strip	_expand_op
.subsections_via_symbols
