	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DirExpandCurly
_DirExpandCurly:                        ## @DirExpandCurly
	.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
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	leaq	1(%rsi), %rbx
	xorl	%eax, %eax
	movq	%rbx, %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%eax
	incq	%r13
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13), %ecx
	cmpb	$123, %cl
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$125, %cl
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%cl, %cl
	jne	LBB0_7
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	subl	$1, %eax
	jb	LBB0_8
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%r13
	jmp	LBB0_1
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Error                          ## TAILCALL
LBB0_8:
	leaq	1(%r13), %rdi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	cmpq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	jbe	LBB0_31
## %bb.9:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rdx
	subq	%r12, %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	addl	%ecx, %eax
	subl	%r12d, %eax
	incl	%eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_Dir_Expand
	movq	%r14, %rdi
	callq	_free
LBB0_30:                                ##   in Loop: Header=BB0_10 Depth=1
	addq	%r15, %rbx
	incq	%rbx
	cmpq	%r13, %r12
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	jae	LBB0_31
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_20 Depth 2
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_11 Depth=2
	incl	%eax
	incq	%r15
LBB0_11:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx,%r15), %ecx
	cmpb	$123, %cl
	je	LBB0_24
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpb	$125, %cl
	je	LBB0_25
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpb	$44, %cl
	jne	LBB0_27
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_11 Depth=2
	testl	%eax, %eax
	jle	LBB0_14
## %bb.26:                              ##   in Loop: Header=BB0_11 Depth=2
	decl	%eax
LBB0_27:                                ##   in Loop: Header=BB0_11 Depth=2
	incq	%r15
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r15), %edi
	callq	_bmake_malloc
	movq	%rax, %r14
	cmpq	%r12, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strncpy
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	leaq	(%rbx,%r15), %r12
	testq	%r15, %r15
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_10 Depth=1
	addq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_strncpy
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=1
	subq	%rbx, %rdi
	addq	%r12, %rdi
	addq	%r14, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcpy
	movb	(%r14), %cl
	testb	%cl, %cl
	je	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rax
	incq	%rax
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%cl, %ecx
	leal	-63(%rcx), %edx
	cmpl	$60, %edx
	ja	LBB0_21
## %bb.28:                              ##   in Loop: Header=BB0_20 Depth=2
	movabsq	$1152921504875282433, %rsi      ## imm = 0x1000000010000001
	btq	%rdx, %rsi
	jb	LBB0_29
LBB0_21:                                ##   in Loop: Header=BB0_20 Depth=2
	cmpl	$42, %ecx
	je	LBB0_29
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=2
	movzbl	(%rax), %ecx
	incq	%rax
	testb	%cl, %cl
	jne	LBB0_20
LBB0_23:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r14, %rsi
	callq	_Lst_AtEnd
	jmp	LBB0_30
LBB0_31:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unterminated {} clause \"%s\""

	.no_dead_strip	_DirExpandCurly
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DirExpandCurly
_DirExpandCurly:                        ; @DirExpandCurly
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	w3, [sp, #28]                   ; 4-byte Folded Spill
	str	w2, [sp, #4]                    ; 4-byte Folded Spill
	mov	x22, x1
	mov	x23, x0
	mov	w8, #0
	add	x21, x1, #1
	mov	x28, x21
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w8, #1
	add	x28, x28, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x28]
	cmp	w9, #123
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w9, #125
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w9, LBB0_7
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	w8, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w8, w8, #1
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x28, x28, #1
	b	LBB0_2
LBB0_8:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_Error
LBB0_9:
	add	x0, x28, #1
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	bl	_strlen
	cmp	x28, x22
	b.ls	LBB0_31
; %bb.10:
	sub	x25, x22, x23
	add	w8, w0, w22
	sub	w8, w8, w23
	add	w8, w8, #1
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	mov	w19, #1
	mov	x20, #1152921504875282432
	movk	x20, #1
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x27
	ldr	w1, [sp, #4]                    ; 4-byte Folded Reload
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	bl	_Dir_Expand
	mov	x0, x27
	bl	_free
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x8, x21, x26
	add	x9, x21, x26
	add	x21, x8, #1
	cmp	x9, x28
	b.hs	LBB0_31
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_27 Depth 2
	mov	x26, #0
	mov	w8, #0
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	add	w8, w8, #1
	add	x26, x26, #1
LBB0_15:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x21, x26]
	cmp	w9, #123
	b.eq	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	cmp	w9, #125
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=2
	cmp	w9, #44
	b.ne	LBB0_19
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=2
	subs	w8, w8, #1
	b.lt	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=2
	add	x26, x26, #1
	b	LBB0_15
LBB0_20:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	w0, w8, w26
	bl	_bmake_malloc
	mov	x27, x0
	cmp	x22, x23
	b.eq	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x27
	mov	x1, x23
	mov	x2, x25
	bl	_strncpy
LBB0_22:                                ;   in Loop: Header=BB0_13 Depth=1
	cbz	x26, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x0, x27, x25
	add	x24, x21, x26
	mov	x1, x21
	mov	x2, x26
	bl	_strncpy
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x24, x21, x26
LBB0_25:                                ;   in Loop: Header=BB0_13 Depth=1
	sub	x8, x25, x21
	add	x8, x8, x24
	add	x0, x27, x8
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_strcpy
	ldrb	w9, [x27]
	cbz	w9, LBB0_30
; %bb.26:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w8, #1
LBB0_27:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w9, w9
	sub	w10, w9, #63
	cmp	w10, #60
	lsl	x10, x19, x10
	and	x10, x10, x20
	ccmp	x10, #0, #4, ls
	b.ne	LBB0_11
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=2
	cmp	w9, #42
	b.eq	LBB0_11
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=2
	ldrb	w9, [x27, x8]
	add	x8, x8, #1
	cbnz	w9, LBB0_27
LBB0_30:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [sp, #28]                   ; 4-byte Folded Reload
	mov	x1, x27
	bl	_Lst_AtEnd
	b	LBB0_12
LBB0_31:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unterminated {} clause \"%s\""

	.no_dead_strip	_DirExpandCurly
.subsections_via_symbols
