	.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	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	(%rdx), %rdi
	movq	_CHAR_EOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdi
	jne	LBB0_12
## %bb.1:
	movq	%rdi, %rax
LBB0_2:
	movq	%rax, (%r13)
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_g_lstat
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_11
## %bb.3:
	movq	_GLOB_MARK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.4:
	movq	-8(%r13), %rax
	movq	_CHAR_SEP@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	je	LBB0_10
## %bb.5:
	movl	-48(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_6
LBB0_9:
	movq	(%rbx), %rax
	movq	%rax, (%r13)
	movq	_CHAR_EOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
LBB0_10:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	incl	4(%rsi)
	movq	%r14, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_globextend
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%rdx, %rbx
	movq	_CHAR_SEP@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	%rax, %rdi
	je	LBB0_2
LBB0_15:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
                                        ##     Child Loop BB0_23 Depth 2
	cmpq	%rax, %rdi
	je	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpq	%rdx, %rdi
	je	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	xorl	%r14d, %r14d
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rcx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %r15
	callq	_ismeta
	testq	%rax, %rax
	movl	$1, %eax
	cmovnel	%eax, %r14d
	leaq	8(%r15), %rcx
	movq	(%r15), %rax
	movq	%rax, (%r13)
	addq	$8, %r13
	movq	8(%r15), %rdi
	movq	_CHAR_EOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rdx
	cmpq	%rax, %rdi
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	cmpq	%rdx, %rdi
	jne	LBB0_18
LBB0_20:                                ##   in Loop: Header=BB0_15 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rcx, %rbx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
LBB0_22:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	%rdx, %rdi
	jne	LBB0_14
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rdi, (%r13)
	addq	$8, %r13
	movq	8(%rbx), %rdi
	addq	$8, %rbx
	movq	(%r12), %rdx
	cmpq	%rdx, %rdi
	je	LBB0_23
## %bb.13:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_CHAR_EOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_14
LBB0_24:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_glob3                          ## TAILCALL
LBB0_6:
	movl	-48(%rbp), %edi
	callq	_S_ISLNK
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_g_stat
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	movl	-48(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_CHAR_EOS,8,3                   ## @CHAR_EOS
	.comm	_GLOB_MARK,4,2                  ## @GLOB_MARK
	.comm	_CHAR_SEP,8,3                   ## @CHAR_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, x4
	mov	x20, x3
	mov	x22, x1
	mov	x21, x0
	ldr	x0, [x2]
Lloh0:
	adrp	x24, _CHAR_EOS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _CHAR_EOS@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	mov	x8, x0
LBB0_2:
	str	x8, [x22]
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x20
	bl	_g_lstat
	cbz	x0, LBB0_15
; %bb.3:
	mov	w0, #0
	b	LBB0_20
LBB0_4:
	mov	x23, x2
Lloh2:
	adrp	x25, _CHAR_SEP@GOTPAGE
Lloh3:
	ldr	x25, [x25, _CHAR_SEP@GOTPAGEOFF]
	ldr	x9, [x25]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	x0, x8
	b.eq	LBB0_2
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	cmp	x0, x8
	b.eq	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x0, x9
	b.eq	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x26, #0
	mov	w27, #0
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x28, x23, x26
	bl	_ismeta
	cmp	x0, #0
	csinc	w27, w27, wzr, eq
	ldr	x8, [x28]
	str	x8, [x22, x26]
	ldr	x0, [x28, #8]
	ldr	x8, [x24]
	ldr	x9, [x25]
	add	x26, x26, #8
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x3, x23, x26
	cbnz	w27, LBB0_21
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, x26
	mov	x23, x3
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x0, x9
	b.ne	LBB0_5
LBB0_13:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	x0, [x22], #8
	ldr	x0, [x23, #8]!
	ldr	x9, [x25]
	cmp	x0, x9
	b.eq	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24]
	b	LBB0_5
LBB0_15:
	ldr	w8, [x20]
Lloh4:
	adrp	x9, _GLOB_MARK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _GLOB_MARK@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.16:
	ldur	x8, [x22, #-8]
Lloh7:
	adrp	x23, _CHAR_SEP@GOTPAGE
Lloh8:
	ldr	x23, [x23, _CHAR_SEP@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_19
; %bb.17:
	ldr	w0, [sp, #8]
	bl	_S_ISDIR
	cbz	x0, LBB0_22
LBB0_18:
	ldr	x8, [x23]
	str	x8, [x22]
	ldr	x8, [x24]
	str	x8, [x22, #8]
LBB0_19:
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_globextend
LBB0_20:
	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_21:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x4, x20
	mov	x5, x19
	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
LBB0_22:
	ldr	w0, [sp, #8]
	bl	_S_ISLNK
	cbz	x0, LBB0_19
; %bb.23:
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x20
	bl	_g_stat
	cbnz	x0, LBB0_19
; %bb.24:
	ldr	w0, [sp, #8]
	bl	_S_ISDIR
	cbnz	x0, LBB0_18
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CHAR_EOS,8,3                   ; @CHAR_EOS
	.comm	_GLOB_MARK,4,2                  ; @GLOB_MARK
	.comm	_CHAR_SEP,8,3                   ; @CHAR_SEP
	.no_dead_strip	_glob2
.subsections_via_symbols
