	.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
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rdi, %rdx
	movq	24(%rbp), %rbx
	movq	(%r8), %rdi
	movq	_EOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdi
	jne	LBB0_6
## %bb.1:
	movq	%r12, %r13
	movq	%rdi, %rax
LBB0_2:
	movq	%rax, (%r13)
	leaq	-48(%rbp), %rsi
	movq	%rdx, %rdi
	movq	16(%rbp), %r15
	movq	%rdx, %r12
	movq	%r15, %rdx
	callq	_g_lstat
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_31
## %bb.3:
	movl	(%r15), %eax
	movq	_GLOB_LIMIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_19
## %bb.4:
	movslq	(%rbx), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%rbx)
	movq	_GLOB_LIMIT_STAT@GOTPCREL(%rip), %rdx
	cmpq	%rcx, (%rdx)
	jle	LBB0_5
LBB0_19:
	movq	_GLOB_MARK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_27
## %bb.20:
	movq	-8(%r13), %rax
	movq	_SEP@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	je	LBB0_27
## %bb.21:
	movl	-48(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_22
LBB0_25:
	leaq	8(%r13), %rcx
	movl	$1, %eax
	cmpq	-56(%rbp), %rcx                 ## 8-byte Folded Reload
	ja	LBB0_31
## %bb.26:
	movq	(%r14), %rax
	movq	%rax, (%r13)
	movq	_EOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	jmp	LBB0_27
LBB0_6:
	movq	%r8, %r15
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	_SEP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_29 Depth 2
	cmpq	%rax, %rdi
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%rcx, %rdi
	je	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r13d, %r13d
	movq	%r12, %rbx
	movq	%r15, %r14
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	callq	_ismeta
	leaq	8(%rbx), %rdx
	cmpq	-56(%rbp), %rdx                 ## 8-byte Folded Reload
	ja	LBB0_30
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	testq	%rax, %rax
	movl	$1, %eax
	cmovnel	%eax, %r13d
	leaq	8(%r14), %r9
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	movq	8(%r14), %rdi
	movq	_EOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_SEP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rax, %rdi
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%rdx, %rbx
	movq	%r9, %r14
	cmpq	%rcx, %rdi
	jne	LBB0_12
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	testl	%r13d, %r13d
	jne	LBB0_33
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rdx, %r12
	movq	%r9, %r15
	movq	24(%rbp), %rbx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%rcx, %rdi
	jne	LBB0_18
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	8(%r12), %r13
	cmpq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	ja	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	%rdi, (%r12)
	movq	8(%r15), %rdi
	addq	$8, %r15
	movq	_SEP@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r13, %r12
	cmpq	%rcx, %rdi
	je	LBB0_29
## %bb.7:                               ##   in Loop: Header=BB0_9 Depth=1
	movq	_EOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r13, %r12
	cmpq	%rax, %rdi
	jne	LBB0_9
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %r13
	cmpq	%rax, %rdi
	jne	LBB0_9
	jmp	LBB0_2
LBB0_30:
	movl	$1, %eax
	jmp	LBB0_31
LBB0_5:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_SEP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
	movq	_EOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	movq	_GLOB_NOSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_31
LBB0_22:
	movl	-48(%rbp), %edi
	callq	_S_ISLNK
	testq	%rax, %rax
	je	LBB0_27
## %bb.23:
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_g_stat
	testq	%rax, %rax
	je	LBB0_24
LBB0_27:
	incl	4(%r15)
	leaq	-48(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_globextend
LBB0_31:
	addq	$40, %rsp
LBB0_32:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	subq	$8, %rsp
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	pushq	24(%rbp)
	pushq	16(%rbp)
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_glob3
	addq	$72, %rsp
	jmp	LBB0_32
LBB0_24:
	movl	-48(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	jne	LBB0_25
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_EOS,8,3                        ## @EOS
	.comm	_GLOB_LIMIT,4,2                 ## @GLOB_LIMIT
	.comm	_GLOB_LIMIT_STAT,8,3            ## @GLOB_LIMIT_STAT
	.comm	_errno,8,3                      ## @errno
	.comm	_SEP,8,3                        ## @SEP
	.comm	_GLOB_NOSPACE,4,2               ## @GLOB_NOSPACE
	.comm	_GLOB_MARK,4,2                  ## @GLOB_MARK
	.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, #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
	mov	x24, x7
	mov	x19, x6
	mov	x22, x3
	mov	x26, x2
	mov	x21, x0
	ldr	x0, [x4]
Lloh0:
	adrp	x27, _EOS@GOTPAGE
Lloh1:
	ldr	x27, [x27, _EOS@GOTPAGEOFF]
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x26
	mov	x8, x0
LBB0_2:
	str	x8, [x20]
	add	x1, sp, #24
	mov	x0, x21
	mov	x2, x19
	bl	_g_lstat
	cbz	x0, LBB0_17
; %bb.3:
	mov	w0, #0
	b	LBB0_24
LBB0_4:
	mov	x25, x4
	stp	x1, x5, [sp, #8]                ; 16-byte Folded Spill
Lloh2:
	adrp	x28, _SEP@GOTPAGE
Lloh3:
	ldr	x28, [x28, _SEP@GOTPAGEOFF]
	ldr	x9, [x28]
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	cmp	x0, x8
	b.eq	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x0, x9
	b.eq	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x20, #0
	mov	w23, #0
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_ismeta
	add	x8, x26, x20
	add	x8, x8, #8
	cmp	x8, x22
	b.hi	LBB0_23
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	cmp	x0, #0
	csinc	w23, w23, wzr, eq
	add	x8, x25, x20
	ldr	x9, [x8]
	str	x9, [x26, x20]
	ldr	x0, [x8, #8]
	ldr	x8, [x27]
	ldr	x9, [x28]
	add	x20, x20, #8
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x5, x25, x20
	cbnz	w23, LBB0_31
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x26, x26, x20
	mov	x25, x5
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x0, x9
	b.ne	LBB0_16
LBB0_13:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x20, x26, #8
	cmp	x20, x22
	b.hi	LBB0_23
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	str	x0, [x26]
	ldr	x0, [x25, #8]!
	ldr	x9, [x28]
	mov	x26, x20
	cmp	x0, x9
	b.eq	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x27]
	mov	x26, x20
	cmp	x0, x8
	b.ne	LBB0_5
	b	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x20, x26
	cmp	x0, x8
	b.ne	LBB0_5
	b	LBB0_2
LBB0_17:
	ldr	w8, [x19]
Lloh4:
	adrp	x9, _GLOB_LIMIT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _GLOB_LIMIT@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.18:
	ldrsw	x9, [x24]
	add	w10, w9, #1
	str	w10, [x24]
Lloh7:
	adrp	x10, _GLOB_LIMIT_STAT@GOTPAGE
Lloh8:
	ldr	x10, [x10, _GLOB_LIMIT_STAT@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	cmp	x10, x9
	b.le	LBB0_25
LBB0_19:
Lloh10:
	adrp	x9, _GLOB_MARK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _GLOB_MARK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_30
; %bb.20:
	ldur	x8, [x20, #-8]
Lloh13:
	adrp	x23, _SEP@GOTPAGE
Lloh14:
	ldr	x23, [x23, _SEP@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_30
; %bb.21:
	ldr	w0, [sp, #24]
	bl	_S_ISDIR
	cbz	x0, LBB0_26
LBB0_22:
	add	x8, x20, #8
	cmp	x8, x22
	b.ls	LBB0_29
LBB0_23:
	mov	w0, #1
LBB0_24:
	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
LBB0_25:
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	str	xzr, [x8]
Lloh18:
	adrp	x8, _SEP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SEP@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	str	x8, [x20]
	ldr	x8, [x27]
	str	x8, [x20, #8]
Lloh21:
	adrp	x8, _GLOB_NOSPACE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GLOB_NOSPACE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	b	LBB0_24
LBB0_26:
	ldr	w0, [sp, #24]
	bl	_S_ISLNK
	cbz	x0, LBB0_30
; %bb.27:
	add	x1, sp, #24
	mov	x0, x21
	mov	x2, x19
	bl	_g_stat
	cbnz	x0, LBB0_30
; %bb.28:
	ldr	w0, [sp, #24]
	bl	_S_ISDIR
	cbnz	x0, LBB0_22
	b	LBB0_30
LBB0_29:
	ldr	x8, [x23]
	str	x8, [x20]
	ldr	x8, [x27]
	str	x8, [x20, #8]
LBB0_30:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	add	x3, sp, #24
	mov	x0, x21
	mov	x1, x19
	mov	x2, x24
	bl	_globextend
	b	LBB0_24
LBB0_31:
	str	x24, [sp]
	mov	x0, x21
	ldp	x1, x6, [sp, #8]                ; 16-byte Folded Reload
	mov	x2, x26
	mov	x3, x22
	mov	x4, x25
	mov	x7, x19
	bl	_glob3
	b	LBB0_24
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EOS,8,3                        ; @EOS
	.comm	_GLOB_LIMIT,4,2                 ; @GLOB_LIMIT
	.comm	_GLOB_LIMIT_STAT,8,3            ; @GLOB_LIMIT_STAT
	.comm	_errno,8,3                      ; @errno
	.comm	_SEP,8,3                        ; @SEP
	.comm	_GLOB_NOSPACE,4,2               ; @GLOB_NOSPACE
	.comm	_GLOB_MARK,4,2                  ; @GLOB_MARK
	.no_dead_strip	_glob2
.subsections_via_symbols
