	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tglob                          ## -- Begin function tglob
	.p2align	4, 0x90
_tglob:                                 ## @tglob
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	movq	_G_CSH@GOTPCREL(%rip), %r12
	movq	_G_GLOB@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	addq	$8, %r14
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r14), %rbx
	addq	$8, %r14
	testq	%rbx, %rbx
	je	LBB0_2
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %eax
	cmpb	$123, %al
	jne	LBB0_7
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=2
	movzbl	1(%rbx), %ecx
	testb	%cl, %cl
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=2
	cmpb	$125, %cl
	jne	LBB0_10
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=2
	cmpb	$0, 2(%rbx)
	je	LBB0_18
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$126, %al
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$61, %al
	jne	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	orl	(%r12), %r15d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_10 Depth=2
	orl	(%r12), %r15d
LBB0_25:                                ##   in Loop: Header=BB0_10 Depth=2
	movzbl	1(%rbx), %eax
	incq	%rbx
LBB0_10:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$96, %al
	je	LBB0_24
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpb	$123, %al
	je	LBB0_24
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	testb	%al, %al
	je	LBB0_4
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=2
	movsbl	%al, %edi
	callq	_isglob
	testq	%rax, %rax
	je	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=2
	orl	(%r13), %r15d
	jmp	LBB0_25
LBB0_19:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	_symlinks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_SYM_EXPAND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_25
## %bb.20:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpb	$0, 1(%rbx)
	je	LBB0_25
## %bb.21:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%rbx, %rdi
	callq	_ISDOTDOT
	testq	%rax, %rax
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpq	-8(%r14), %rbx
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpb	$47, -1(%rbx)
	je	LBB0_24
	jmp	LBB0_25
LBB0_1:
	xorl	%r15d, %r15d
LBB0_2:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_G_CSH,4,2                      ## @G_CSH
	.comm	_G_GLOB,4,2                     ## @G_GLOB
	.comm	_symlinks,8,3                   ## @symlinks
	.comm	_SYM_EXPAND,8,3                 ## @SYM_EXPAND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tglob                          ; -- Begin function tglob
	.p2align	2
_tglob:                                 ; @tglob
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x21, [x0]
	cbz	x21, LBB0_25
; %bb.1:
	mov	x20, x0
	mov	w19, #0
Lloh0:
	adrp	x22, _G_CSH@GOTPAGE
Lloh1:
	ldr	x22, [x22, _G_CSH@GOTPAGEOFF]
Lloh2:
	adrp	x23, _symlinks@GOTPAGE
Lloh3:
	ldr	x23, [x23, _symlinks@GOTPAGEOFF]
Lloh4:
	adrp	x24, _SYM_EXPAND@GOTPAGE
Lloh5:
	ldr	x24, [x24, _SYM_EXPAND@GOTPAGEOFF]
Lloh6:
	adrp	x25, _G_GLOB@GOTPAGE
Lloh7:
	ldr	x25, [x25, _G_GLOB@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x21, [x20]
	cbz	x21, LBB0_26
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	add	x20, x20, #8
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	ldr	x21, [x20], #8
	cbz	x21, LBB0_26
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x21]
	cmp	w8, #123
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldrb	w9, [x21, #1]
	cbz	w9, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	cmp	w9, #125
	b.ne	LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=2
	ldrb	w9, [x21, #2]
	cbz	w9, LBB0_4
	b	LBB0_15
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #126
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #61
	b.ne	LBB0_15
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x22]
	orr	w19, w9, w19
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	w8, [x22]
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=2
	orr	w19, w8, w19
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	ldrb	w8, [x21, #1]!
LBB0_15:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w9, w8, #0xff
	cmp	w9, #96
	b.eq	LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	cmp	w9, #123
	b.eq	LBB0_12
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=2
	cbz	w9, LBB0_2
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=2
	sxtb	w0, w8
	bl	_isglob
	cbz	x0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	w8, [x25]
	b	LBB0_13
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=2
	ldrb	w8, [x21, #1]
	cbz	w8, LBB0_14
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	x0, x21
	bl	_ISDOTDOT
	cbz	x0, LBB0_14
; %bb.23:                               ;   in Loop: Header=BB0_15 Depth=2
	ldur	x8, [x20, #-8]
	cmp	x21, x8
	b.eq	LBB0_12
; %bb.24:                               ;   in Loop: Header=BB0_15 Depth=2
	ldurb	w8, [x21, #-1]
	cmp	w8, #47
	b.eq	LBB0_12
	b	LBB0_14
LBB0_25:
	mov	w19, #0
LBB0_26:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_G_CSH,4,2                      ; @G_CSH
	.comm	_G_GLOB,4,2                     ; @G_GLOB
	.comm	_symlinks,8,3                   ; @symlinks
	.comm	_SYM_EXPAND,8,3                 ; @SYM_EXPAND
.subsections_via_symbols
