	.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, -88(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MaxPathLen@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_CHAR_EOS@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, (%r13)
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_g_opendir
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	_GLOB_ALTDIRFUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.6:
	movq	16(%r12), %rbx
	jmp	LBB0_8
LBB0_1:
	movq	%r15, %rbx
	movq	_errno@GOTPCREL(%rip), %r15
	xorl	%r14d, %r14d
	cmpq	$0, 24(%r12)
	je	LBB0_22
## %bb.2:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_g_Ctoc
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	*24(%r12)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_GLOB_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_22
LBB0_4:
	movq	_GLOB_ABEND@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_22
LBB0_7:
	movq	_readdir@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %r14
	movq	(%r15), %rax
	movq	%rax, (%r13)
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	*%rbx
	testq	%rax, %rax
	je	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	_CHAR_DOT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rcx, (%rdx)
	jne	LBB0_8
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movslq	%ecx, %rcx
	movq	%rcx, (%r13)
	movq	%r13, %r12
	cmpq	%rcx, (%r14)
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r14), %rcx
	addq	$4, %rax
	movq	%r13, %r12
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rax), %rdx
	movq	%rdx, 8(%r12)
	addq	$8, %r12
	addq	$4, %rax
	cmpq	%rdx, %rcx
	jne	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %r15
	movq	%r13, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_match
	testl	%eax, %eax
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	callq	_glob2
	testl	%eax, %eax
	movq	%r15, %r14
	je	LBB0_8
## %bb.18:
	movl	%eax, %r14d
	jmp	LBB0_19
LBB0_16:
	xorl	%r14d, %r14d
LBB0_19:
	movq	_GLOB_ALTDIRFUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.20:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	*8(%rcx)
	jmp	LBB0_22
LBB0_21:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_closedir
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MaxPathLen,4,2                 ## @MaxPathLen
	.comm	_CHAR_EOS,8,3                   ## @CHAR_EOS
	.comm	_errno,8,3                      ## @errno
	.comm	_GLOB_ERR,4,2                   ## @GLOB_ERR
	.comm	_GLOB_ABEND,4,2                 ## @GLOB_ABEND
	.comm	_GLOB_ALTDIRFUNC,4,2            ## @GLOB_ALTDIRFUNC
	.comm	_readdir,8,3                    ## @readdir
	.comm	_CHAR_DOT,8,3                   ## @CHAR_DOT
	.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, #16
	stur	x5, [x29, #-96]                 ; 8-byte Folded Spill
	mov	x19, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, 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	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x26, x9, x8
	mov	sp, x26
Lloh8:
	adrp	x27, _CHAR_EOS@GOTPAGE
Lloh9:
	ldr	x27, [x27, _CHAR_EOS@GOTPAGEOFF]
	ldr	x8, [x27]
	str	x8, [x1]
Lloh10:
	adrp	x21, _errno@GOTPAGE
Lloh11:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	str	xzr, [x21]
	mov	x1, x4
	bl	_g_opendir
	cbz	x0, LBB0_3
; %bb.1:
	mov	x25, x0
	ldr	w8, [x19]
Lloh12:
	adrp	x21, _GLOB_ALTDIRFUNC@GOTPAGE
Lloh13:
	ldr	x21, [x21, _GLOB_ALTDIRFUNC@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.2:
	ldr	x28, [x19, #16]
	b	LBB0_8
LBB0_3:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_26
; %bb.4:
	mov	x0, x20
	mov	x1, x26
	bl	_g_Ctoc
	ldr	x8, [x19, #24]
	ldr	x1, [x21]
	mov	x0, x26
	blr	x8
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	w8, [x19]
Lloh14:
	adrp	x9, _GLOB_ERR@GOTPAGE
Lloh15:
	ldr	x9, [x9, _GLOB_ERR@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
LBB0_6:
Lloh17:
	adrp	x8, _GLOB_ABEND@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GLOB_ABEND@GOTPAGEOFF]
Lloh19:
	ldr	w26, [x8]
	b	LBB0_27
LBB0_7:
Lloh20:
	adrp	x8, _readdir@GOTPAGE
Lloh21:
	ldr	x8, [x8, _readdir@GOTPAGEOFF]
Lloh22:
	ldr	x28, [x8]
LBB0_8:
	mov	x0, x25
	blr	x28
	cbz	x0, LBB0_22
; %bb.9:
Lloh23:
	adrp	x21, _CHAR_DOT@GOTPAGE
Lloh24:
	ldr	x21, [x21, _CHAR_DOT@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x27]
	str	x8, [x24]
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x25
	blr	x28
	cbz	x0, LBB0_20
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	ldr	x8, [x0]
	ldr	x9, [x8]
	ldr	x10, [x21]
	cmp	x9, x10
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x10, [x23]
	cmp	x10, x9
	b.ne	LBB0_11
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=1
	sxtw	x9, w9
	str	x9, [x24]
	ldr	x10, [x27]
	mov	x26, x24
	cmp	x10, x9
	b.eq	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x9, [x27]
	add	x8, x8, #4
	mov	x26, x24
LBB0_16:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x10, [x8], #4
	str	x10, [x26, #8]!
	cmp	x9, x10
	b.ne	LBB0_16
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	bl	_match
	cbz	w0, LBB0_10
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x20
	mov	x1, x26
	mov	x2, x22
	mov	x3, x19
	ldur	x4, [x29, #-96]                 ; 8-byte Folded Reload
	bl	_glob2
	cbz	w0, LBB0_11
; %bb.19:
	mov	x26, x0
	b	LBB0_21
LBB0_20:
	mov	w26, #0
LBB0_21:
Lloh25:
	adrp	x21, _GLOB_ALTDIRFUNC@GOTPAGE
Lloh26:
	ldr	x21, [x21, _GLOB_ALTDIRFUNC@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
	mov	w26, #0
LBB0_23:
	ldr	w8, [x19]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.24:
	ldr	x8, [x19, #8]
	mov	x0, x25
	blr	x8
	b	LBB0_27
LBB0_25:
	mov	x0, x25
	bl	_closedir
	b	LBB0_27
LBB0_26:
	mov	w26, #0
LBB0_27:
	ldur	x8, [x29, #-88]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_29
; %bb.28:
	mov	x0, x26
	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_29:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_MaxPathLen,4,2                 ; @MaxPathLen
	.comm	_CHAR_EOS,8,3                   ; @CHAR_EOS
	.comm	_errno,8,3                      ; @errno
	.comm	_GLOB_ERR,4,2                   ; @GLOB_ERR
	.comm	_GLOB_ABEND,4,2                 ; @GLOB_ABEND
	.comm	_GLOB_ALTDIRFUNC,4,2            ; @GLOB_ALTDIRFUNC
	.comm	_readdir,8,3                    ; @readdir
	.comm	_CHAR_DOT,8,3                   ; @CHAR_DOT
	.no_dead_strip	_glob3
.subsections_via_symbols
