	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SuffExpandWildcards
_SuffExpandWildcards:                   ## @SuffExpandWildcards
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %r14d
	callq	_Lst_Datum
	movq	%rax, %rbx
	movl	12(%rax), %edi
	callq	_Dir_HasWildcards
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_Lst_Init
	movl	%eax, %r13d
	movl	12(%rbx), %r15d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_Suff_FindPath
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_Dir_Expand
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_TARG_CREATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_Targ_FindNode
	movq	%rax, %rbx
	movl	4(%r12), %edi
	movl	%r14d, %esi
	movq	%rax, %rdx
	callq	_Lst_InsertBefore
	movl	(%rbx), %edi
	movq	%r12, %rsi
	callq	_Lst_AtEnd
	incl	8(%r12)
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	callq	_Lst_IsEmpty
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	callq	_Lst_DeQueue
	movq	%rax, %r15
	movq	_SUFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DEBUG
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_debug_file@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_5
LBB0_6:
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_Lst_Destroy
	movq	_SUFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DEBUG
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_debug_file@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_8:
	decl	8(%r12)
	movl	4(%r12), %edi
	movl	%r14d, %esi
	callq	_Lst_Remove
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_Lst_Member
	movl	%ebx, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Lst_Remove                     ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SUFF,4,2                       ## @SUFF
	.comm	_debug_file,4,2                 ## @debug_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s..."

	.comm	_TARG_CREATE,4,2                ## @TARG_CREATE
L_.str.1:                               ## @.str.1
	.asciz	"\n"

	.no_dead_strip	_SuffExpandWildcards
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SuffExpandWildcards
_SuffExpandWildcards:                   ; @SuffExpandWildcards
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	mov	x20, x0
	bl	_Lst_Datum
	mov	x21, x0
	ldr	w0, [x0, #12]
	bl	_Dir_HasWildcards
	cbz	w0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_Lst_Init
	mov	x22, x0
	ldr	w23, [x21, #12]
	mov	x0, x21
	bl	_Suff_FindPath
	mov	x1, x0
	mov	x0, x23
	mov	x2, x22
	bl	_Dir_Expand
	mov	x0, x22
	bl	_Lst_IsEmpty
Lloh3:
	adrp	x26, _SUFF@GOTPAGE
Lloh4:
	ldr	x26, [x26, _SUFF@GOTPAGEOFF]
Lloh5:
	adrp	x25, _debug_file@GOTPAGE
Lloh6:
	ldr	x25, [x25, _debug_file@GOTPAGEOFF]
	cbz	w0, LBB0_6
LBB0_2:
	mov	x0, x22
	mov	x1, #0
	bl	_Lst_Destroy
	ldr	w0, [x26]
	bl	_DEBUG
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x25]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_4:
	ldp	w0, w8, [x19, #4]
	sub	w8, w8, #1
	str	w8, [x19, #8]
	mov	x1, x20
	bl	_Lst_Remove
	ldr	w20, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_Lst_Member
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_Lst_Remove
LBB0_5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_6:
Lloh9:
	adrp	x27, _TARG_CREATE@GOTPAGE
Lloh10:
	ldr	x27, [x27, _TARG_CREATE@GOTPAGEOFF]
Lloh11:
	adrp	x23, l_.str@PAGE
Lloh12:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x27]
	mov	x0, x24
	bl	_Targ_FindNode
	mov	x24, x0
	ldr	w0, [x19, #4]
	mov	x1, x20
	mov	x2, x24
	bl	_Lst_InsertBefore
	ldr	w0, [x24]
	mov	x1, x19
	bl	_Lst_AtEnd
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	mov	x0, x22
	bl	_Lst_IsEmpty
	cbnz	w0, LBB0_2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_Lst_DeQueue
	mov	x24, x0
	ldr	w0, [x26]
	bl	_DEBUG
	cbz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x25]
	str	x24, [sp]
	mov	x1, x23
	bl	_fprintf
	b	LBB0_7
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SUFF,4,2                       ; @SUFF
	.comm	_debug_file,4,2                 ; @debug_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s..."

	.comm	_TARG_CREATE,4,2                ; @TARG_CREATE
l_.str.1:                               ; @.str.1
	.asciz	"\n"

	.no_dead_strip	_SuffExpandWildcards
.subsections_via_symbols
