	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function globtilde
_globtilde:                             ## @globtilde
	.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, %r14
	movl	$-1, %esi
	movabsq	$288371113640067073, %rax       ## imm = 0x400800000000001
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rbx), %ecx
	incq	%rbx
	incl	%esi
	cmpq	$58, %rcx
	ja	LBB0_1
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	btq	%rcx, %rax
	jae	LBB0_1
## %bb.3:
	leaq	1(%r14), %rdi
	callq	_Strnsave
	movq	%rax, %r12
	movq	_xfree@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	callq	_cleanup_push
	movq	%r12, %rdi
	callq	_gethdir
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_4
LBB0_9:
	movq	%r12, %rdi
	callq	_cleanup_until
	cmpb	$47, (%r15)
	jne	LBB0_13
## %bb.10:
	cmpb	$0, 1(%r15)
	jne	LBB0_13
## %bb.11:
	cmpb	$47, (%rbx)
	jne	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_Strsave
	jmp	LBB0_14
LBB0_13:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_Strspl
LBB0_14:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_xfree
	movq	%r14, %rdi
	callq	_xfree
	movq	%rbx, %r14
	jmp	LBB0_15
LBB0_4:
	movq	_STRnonomatch@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adrof
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_cleanup_until
LBB0_15:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpb	$0, (%r12)
	je	LBB0_8
## %bb.7:
	movq	_ERR_UNKUSER@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_short2str
	movl	%r13d, %edi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_stderror
	jmp	LBB0_9
LBB0_8:
	movq	_ERR_NOHOME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%eax, %eax
	callq	_stderror
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_STRnonomatch,4,2               ## @STRnonomatch
	.comm	_ERR_UNKUSER,4,2                ## @ERR_UNKUSER
	.comm	_ERR_NOHOME,4,2                 ## @ERR_NOHOME
	.no_dead_strip	_globtilde
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function globtilde
_globtilde:                             ; @globtilde
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	mov	x23, #0
	mov	w8, #1
	mov	x9, #-140737488355327
	movk	x9, #1024, lsl #48
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x10, x19, x23
	ldrb	w10, [x10, #1]
	add	x23, x23, #1
	cmp	w10, #58
	lsl	x10, x8, x10
	and	x10, x10, x9
	ccmp	x10, #0, #4, ls
	b.eq	LBB0_1
; %bb.2:
	add	x0, x19, #1
	sub	w1, w23, #1
	bl	_Strnsave
	mov	x21, x0
Lloh0:
	adrp	x1, _xfree@GOTPAGE
Lloh1:
	ldr	x1, [x1, _xfree@GOTPAGEOFF]
	bl	_cleanup_push
	mov	x0, x21
	bl	_gethdir
	mov	x20, x0
	cbz	x0, LBB0_9
LBB0_3:
	add	x22, x19, x23
	mov	x0, x21
	bl	_cleanup_until
	ldrb	w8, [x20]
	cmp	w8, #47
	b.ne	LBB0_7
; %bb.4:
	ldrb	w8, [x20, #1]
	cbnz	w8, LBB0_7
; %bb.5:
	ldrb	w8, [x22]
	cmp	w8, #47
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x22
	bl	_Strsave
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	mov	x1, x22
	bl	_Strspl
LBB0_8:
	mov	x21, x0
	mov	x0, x20
	bl	_xfree
	mov	x0, x19
	bl	_xfree
	mov	x19, x21
	b	LBB0_11
LBB0_9:
Lloh2:
	adrp	x8, _STRnonomatch@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STRnonomatch@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_adrof
	cbz	x0, LBB0_12
; %bb.10:
	mov	x0, x21
	bl	_cleanup_until
LBB0_11:
	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
	add	sp, sp, #80
	ret
LBB0_12:
	ldrb	w8, [x21]
	cbz	w8, LBB0_14
; %bb.13:
Lloh5:
	adrp	x8, _ERR_UNKUSER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_UNKUSER@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_short2str
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x22
	b	LBB0_15
LBB0_14:
Lloh8:
	adrp	x8, _ERR_NOHOME@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_NOHOME@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_15:
	bl	_stderror
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_STRnonomatch,4,2               ; @STRnonomatch
	.comm	_ERR_UNKUSER,4,2                ; @ERR_UNKUSER
	.comm	_ERR_NOHOME,4,2                 ; @ERR_NOHOME
	.no_dead_strip	_globtilde
.subsections_via_symbols
