	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function glob3
_glob3:                                 ## @glob3
	.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
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	movl	$1, %r13d
	cmpq	%r12, %r14
	ja	LBB0_32
## %bb.1:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	24(%rbp), %rbx
	movq	_EOS@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rax, (%r14)
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_g_opendir
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_2
## %bb.7:
	movq	_GLOB_ALTDIRFUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	movq	%rbx, %r15
	je	LBB0_9
## %bb.8:
	movq	16(%r15), %rbx
	jmp	LBB0_10
LBB0_2:
	xorl	%r13d, %r13d
	cmpq	$0, 24(%rbx)
	je	LBB0_32
## %bb.3:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_g_Ctoc
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movq	24(%rbp), %rbx
	callq	*24(%rbx)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.6:
	movq	_GLOB_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_32
LBB0_4:
	movq	_GLOB_ABORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_32
LBB0_9:
	movq	_readdir@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_10:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	*%rbx
	testq	%rax, %rax
	je	LBB0_25
## %bb.11:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r13), %rax
	movq	%rax, (%r14)
	movq	24(%rbp), %r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_24:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	*%rbx
	testq	%rax, %rax
	je	LBB0_25
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movl	(%r15), %ecx
	movq	_GLOB_LIMIT@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	32(%rbp), %rdi
	movslq	(%rdi), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%rdi)
	movq	_GLOB_LIMIT_READDIR@GOTPCREL(%rip), %rsi
	cmpq	%rdx, (%rsi)
	jle	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	(%rax), %rax
	movq	(%rax), %rdx
	movq	_DOT@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	cmpq	%rdx, (%rsi)
	jne	LBB0_24
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %rbx
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r12, %rbx
	jae	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movslq	(%rax), %rsi
	addq	$4, %rax
	movq	%rsi, (%rbx)
	addq	$8, %rbx
	cmpq	%rsi, (%r13)
	jne	LBB0_18
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpq	%r12, %rbx
	jae	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_GLOB_LIMIT_RECUR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_match
	testl	%eax, %eax
	je	LBB0_23
## %bb.26:                              ##   in Loop: Header=BB0_12 Depth=1
	addq	$-8, %rbx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r12, %rcx
	movq	%r15, %r8
	movq	16(%rbp), %r9
	pushq	32(%rbp)
	movq	24(%rbp), %r15
	pushq	%r15
	callq	_glob2
	addq	$16, %rsp
	testl	%eax, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_24
## %bb.27:
	movl	%eax, %r13d
	jmp	LBB0_28
LBB0_25:
	xorl	%r13d, %r13d
LBB0_28:
	movl	(%r15), %ecx
LBB0_29:
	movq	_GLOB_ALTDIRFUNC@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_31
## %bb.30:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	*8(%r15)
	jmp	LBB0_32
LBB0_31:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_closedir
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_34
## %bb.33:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	(%r13), %rax
	movq	%rax, (%rbx)
	movl	$1, %r13d
	movq	24(%rbp), %r15
	jmp	LBB0_29
LBB0_14:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_SEP@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, (%r14)
	movq	(%r13), %rax
	movq	%rax, 8(%r14)
	movq	_GLOB_NOSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_29
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_EOS,8,3                        ## @EOS
	.comm	_errno,8,3                      ## @errno
	.comm	_GLOB_ABORTED,4,2               ## @GLOB_ABORTED
	.comm	_GLOB_ERR,4,2                   ## @GLOB_ERR
	.comm	_GLOB_ALTDIRFUNC,4,2            ## @GLOB_ALTDIRFUNC
	.comm	_readdir,8,3                    ## @readdir
	.comm	_GLOB_LIMIT,4,2                 ## @GLOB_LIMIT
	.comm	_GLOB_LIMIT_READDIR,8,3         ## @GLOB_LIMIT_READDIR
	.comm	_SEP,4,2                        ## @SEP
	.comm	_GLOB_NOSPACE,4,2               ## @GLOB_NOSPACE
	.comm	_DOT,8,3                        ## @DOT
	.comm	_GLOB_LIMIT_RECUR,4,2           ## @GLOB_LIMIT_RECUR
	.no_dead_strip	_glob3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function glob3
_glob3:                                 ; @glob3
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #32
	mov	x19, x7
	stp	x1, x6, [x29, #-104]            ; 16-byte Folded Spill
	mov	x24, x5
	mov	x25, x4
	mov	x26, x3
	mov	x21, x2
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w28, [x8]
	mov	x9, x28
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x28, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
	cmp	x2, x3
	b.ls	LBB0_2
; %bb.1:
	mov	w23, #1
	b	LBB0_37
LBB0_2:
Lloh8:
	adrp	x27, _EOS@GOTPAGE
Lloh9:
	ldr	x27, [x27, _EOS@GOTPAGEOFF]
	ldr	x8, [x27]
	str	x8, [x21]
Lloh10:
	adrp	x8, _errno@GOTPAGE
Lloh11:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
	str	xzr, [x8]
	mov	x0, x22
	mov	x1, x19
	bl	_g_opendir
	cbz	x0, LBB0_5
; %bb.3:
	mov	x20, x0
	stur	x22, [x29, #-112]               ; 8-byte Folded Spill
	ldr	w8, [x19]
Lloh13:
	adrp	x28, _GLOB_ALTDIRFUNC@GOTPAGE
Lloh14:
	ldr	x28, [x28, _GLOB_ALTDIRFUNC@GOTPAGEOFF]
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.4:
	ldr	x22, [x19, #16]
	b	LBB0_11
LBB0_5:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_27
; %bb.6:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x28
	bl	_g_Ctoc
	cbnz	x0, LBB0_9
; %bb.7:
	ldr	x8, [x19, #24]
Lloh15:
	adrp	x9, _errno@GOTPAGE
Lloh16:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh17:
	ldr	x1, [x9]
	mov	x0, x23
	blr	x8
	cbnz	x0, LBB0_9
; %bb.8:
	ldr	w8, [x19]
Lloh18:
	adrp	x9, _GLOB_ERR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _GLOB_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_27
LBB0_9:
Lloh21:
	adrp	x8, _GLOB_ABORTED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GLOB_ABORTED@GOTPAGEOFF]
Lloh23:
	ldr	w23, [x8]
	b	LBB0_37
LBB0_10:
Lloh24:
	adrp	x8, _readdir@GOTPAGE
Lloh25:
	ldr	x8, [x8, _readdir@GOTPAGEOFF]
Lloh26:
	ldr	x22, [x8]
LBB0_11:
	mov	x0, x20
	blr	x22
	cbz	x0, LBB0_26
; %bb.12:
	ldr	x28, [x29, #16]
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x27]
	str	x8, [x21]
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x20
	blr	x22
	cbz	x0, LBB0_28
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	ldr	w8, [x19]
Lloh27:
	adrp	x9, _GLOB_LIMIT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _GLOB_LIMIT@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldrsw	x9, [x28]
	add	w10, w9, #1
	str	w10, [x28]
Lloh30:
	adrp	x10, _GLOB_LIMIT_READDIR@GOTPAGE
Lloh31:
	ldr	x10, [x10, _GLOB_LIMIT_READDIR@GOTPAGEOFF]
Lloh32:
	ldr	x10, [x10]
	cmp	x10, x9
	b.le	LBB0_32
LBB0_17:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x9, [x0]
	ldr	x10, [x9]
Lloh33:
	adrp	x11, _DOT@GOTPAGE
Lloh34:
	ldr	x11, [x11, _DOT@GOTPAGEOFF]
Lloh35:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x11, [x25]
	cmp	x11, x10
	b.ne	LBB0_14
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x23, x21
LBB0_20:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x23, x26
	b.hs	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	ldrsw	x10, [x9], #4
	str	x10, [x23], #8
	ldr	x11, [x27]
	cmp	x11, x10
	b.ne	LBB0_20
LBB0_22:                                ;   in Loop: Header=BB0_15 Depth=1
	cmp	x23, x26
	b.hs	LBB0_31
; %bb.23:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh36:
	adrp	x8, _GLOB_LIMIT_RECUR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _GLOB_LIMIT_RECUR@GOTPAGEOFF]
Lloh38:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x24
	bl	_match
	cbz	w0, LBB0_13
; %bb.24:                               ;   in Loop: Header=BB0_15 Depth=1
	sub	x2, x23, #8
	ldp	x0, x1, [x29, #-112]            ; 16-byte Folded Reload
	mov	x3, x26
	mov	x4, x24
	ldur	x5, [x29, #-96]                 ; 8-byte Folded Reload
	mov	x6, x19
	mov	x7, x28
	bl	_glob2
	cbz	w0, LBB0_14
; %bb.25:
	mov	x23, x0
	b	LBB0_29
LBB0_26:
	mov	w23, #0
	b	LBB0_30
LBB0_27:
	mov	w23, #0
	b	LBB0_37
LBB0_28:
	mov	w23, #0
LBB0_29:
Lloh39:
	adrp	x28, _GLOB_ALTDIRFUNC@GOTPAGE
Lloh40:
	ldr	x28, [x28, _GLOB_ALTDIRFUNC@GOTPAGEOFF]
LBB0_30:
	ldr	w8, [x19]
	b	LBB0_34
LBB0_31:
	ldr	x9, [x27]
	str	x9, [x23]
	mov	w23, #1
	b	LBB0_33
LBB0_32:
Lloh41:
	adrp	x9, _errno@GOTPAGE
Lloh42:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh43:
	str	xzr, [x9]
Lloh44:
	adrp	x9, _SEP@GOTPAGE
Lloh45:
	ldr	x9, [x9, _SEP@GOTPAGEOFF]
Lloh46:
	ldrsw	x9, [x9]
	str	x9, [x21]
	ldr	x9, [x27]
	str	x9, [x21, #8]
Lloh47:
	adrp	x9, _GLOB_NOSPACE@GOTPAGE
Lloh48:
	ldr	x9, [x9, _GLOB_NOSPACE@GOTPAGEOFF]
Lloh49:
	ldr	w23, [x9]
LBB0_33:
Lloh50:
	adrp	x28, _GLOB_ALTDIRFUNC@GOTPAGE
Lloh51:
	ldr	x28, [x28, _GLOB_ALTDIRFUNC@GOTPAGEOFF]
LBB0_34:
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_36
; %bb.35:
	ldr	x8, [x19, #8]
	mov	x0, x20
	blr	x8
	b	LBB0_37
LBB0_36:
	mov	x0, x20
	bl	_closedir
LBB0_37:
	ldur	x8, [x29, #-88]
Lloh52:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh53:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh54:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.38:
	mov	x0, x23
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_39:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotStr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_EOS,8,3                        ; @EOS
	.comm	_errno,8,3                      ; @errno
	.comm	_GLOB_ABORTED,4,2               ; @GLOB_ABORTED
	.comm	_GLOB_ERR,4,2                   ; @GLOB_ERR
	.comm	_GLOB_ALTDIRFUNC,4,2            ; @GLOB_ALTDIRFUNC
	.comm	_readdir,8,3                    ; @readdir
	.comm	_GLOB_LIMIT,4,2                 ; @GLOB_LIMIT
	.comm	_GLOB_LIMIT_READDIR,8,3         ; @GLOB_LIMIT_READDIR
	.comm	_SEP,4,2                        ; @SEP
	.comm	_GLOB_NOSPACE,4,2               ; @GLOB_NOSPACE
	.comm	_DOT,8,3                        ; @DOT
	.comm	_GLOB_LIMIT_RECUR,4,2           ; @GLOB_LIMIT_RECUR
	.no_dead_strip	_glob3
.subsections_via_symbols
