	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function glob2
_glob2:                                 ## @glob2
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	(%rsi), %rsi
	movq	_EOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rsi
	jne	LBB0_1
LBB0_13:
	movq	%r13, %rdi
	callq	_strbuf_terminate
	movq	(%r13), %rdi
	leaq	-56(%rbp), %rsi
	callq	_Lstat
	testq	%rax, %rax
	jne	LBB0_19
## %bb.14:
	movq	_GLOB_MARK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testl	%eax, (%rbx)
	je	LBB0_18
## %bb.15:
	movq	(%r13), %rax
	movslq	8(%r13), %rcx
	movq	-8(%rax,%rcx,8), %rax
	movq	_SEP@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	je	LBB0_18
## %bb.16:
	movl	-56(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	(%r14), %rsi
	movq	%r13, %rdi
	callq	_strbuf_append1
	movq	%r13, %rdi
	callq	_strbuf_terminate
LBB0_18:
	incl	4(%rbx)
	movq	(%r13), %rdi
	movq	%rbx, %rsi
	callq	_globextend
LBB0_19:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_SEP@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rax, %rsi
	je	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	cmpq	%rax, %rsi
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rcx, %rsi
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r13), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	movq	%r14, %r13
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rbx
	movq	%rsi, %rdi
	callq	_ismeta
	testq	%rax, %rax
	movl	$1, %eax
	cmovnel	%eax, %r15d
	addq	$8, %r13
	movq	(%rbx), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_strbuf_append1
	movq	8(%rbx), %rsi
	movq	_EOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	cmpq	%rax, %rsi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpq	%rcx, %rsi
	jne	LBB0_5
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r15d, %r15d
	jne	LBB0_20
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %r14
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rcx, %rsi
	jne	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rbx
	addq	$8, %r14
	movq	%r13, %rdi
	callq	_strbuf_append1
	movq	8(%rbx), %rsi
	movq	(%r12), %rcx
	cmpq	%rcx, %rsi
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_EOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_12
LBB0_20:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%rdi)
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_glob3                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EOS,8,3                        ## @EOS
	.comm	_GLOB_MARK,4,2                  ## @GLOB_MARK
	.comm	_SEP,8,3                        ## @SEP
	.no_dead_strip	_glob2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function glob2
_glob2:                                 ; @glob2
	.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, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x1, [x1]
Lloh0:
	adrp	x24, _EOS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EOS@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x1, x8
	b.ne	LBB0_8
LBB0_1:
	mov	x0, x20
	bl	_strbuf_terminate
	ldr	x0, [x20]
	add	x1, sp, #8
	bl	_Lstat
	cbnz	x0, LBB0_7
; %bb.2:
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _GLOB_MARK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GLOB_MARK@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.3:
	ldr	x8, [x20]
	ldrsw	x9, [x20, #8]
	add	x8, x8, x9, lsl #3
	ldur	x8, [x8, #-8]
Lloh5:
	adrp	x21, _SEP@GOTPAGE
Lloh6:
	ldr	x21, [x21, _SEP@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.4:
	ldr	w0, [sp, #8]
	bl	_S_ISDIR
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x1, [x21]
	mov	x0, x20
	bl	_strbuf_append1
	mov	x0, x20
	bl	_strbuf_terminate
LBB0_6:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	ldr	x0, [x20]
	mov	x1, x19
	bl	_globextend
LBB0_7:
	mov	w0, #0
	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_8:
	mov	x21, x3
Lloh7:
	adrp	x25, _SEP@GOTPAGE
Lloh8:
	ldr	x25, [x25, _SEP@GOTPAGEOFF]
	ldr	x9, [x25]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x23, x22
	cmp	x1, x8
	b.eq	LBB0_1
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
	cmp	x1, x8
	b.eq	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	x1, x9
	b.eq	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w27, #0
	ldr	w26, [x20, #8]
	mov	x22, x23
LBB0_13:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x1
	bl	_ismeta
	cmp	x0, #0
	csinc	w27, w27, wzr, eq
	ldr	x1, [x22]
	mov	x0, x20
	bl	_strbuf_append1
	ldr	x1, [x22, #8]!
	ldr	x8, [x24]
	ldr	x9, [x25]
	cmp	x1, x8
	ccmp	x1, x9, #4, ne
	b.ne	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	cbz	w27, LBB0_16
	b	LBB0_20
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x22, x23
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	x1, x9
	b.eq	LBB0_18
	b	LBB0_9
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x22, x23
	cmp	x1, x9
	b.ne	LBB0_9
LBB0_18:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_strbuf_append1
	ldr	x1, [x22, #8]!
	ldr	x9, [x25]
	cmp	x1, x9
	b.eq	LBB0_18
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x24]
	b	LBB0_9
LBB0_20:
	str	w26, [x20, #8]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	mov	x3, x23
	mov	x4, x19
	mov	x5, x21
	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	_glob3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EOS,8,3                        ; @EOS
	.comm	_GLOB_MARK,4,2                  ; @GLOB_MARK
	.comm	_SEP,8,3                        ; @SEP
	.no_dead_strip	_glob2
.subsections_via_symbols
