	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tilde
_tilde:                                 ## @tilde
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$0, (%rdi)
	movl	(%rsi), %eax
	cmpl	$61, %eax
	je	LBB0_11
## %bb.1:
	cmpl	$126, %eax
	jne	LBB0_14
## %bb.2:
	addq	$4, %r15
	xorl	%esi, %esi
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$47, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$4, %rbx
	incl	%esi
	jmp	LBB0_3
LBB0_11:
	movq	%r15, %rdi
	callq	_globequal
	testq	%rax, %rax
	je	LBB0_17
## %bb.12:
	movq	%rax, %rbx
	cmpq	%r15, %rax
	je	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_Strbuf_append
	movq	%rbx, %rdi
	callq	_xfree
	jmp	LBB0_16
LBB0_14:
	movq	%r14, %rdi
	movq	%r15, %rsi
	jmp	LBB0_15
LBB0_6:
	movq	%r15, %rdi
	callq	_Strnsave
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_gethdir
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_xfree
	testq	%r15, %r15
	je	LBB0_17
## %bb.7:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_Strbuf_append
	movq	%r15, %rdi
	callq	_xfree
	movq	8(%r14), %rax
	cmpb	$47, (%rax)
	jne	LBB0_10
## %bb.8:
	cmpl	$1, (%r14)
	jne	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	cmpl	$47, (%rbx)
	sete	%al
	leaq	(%rbx,%rax,4), %rbx
LBB0_10:
	movq	%r14, %rdi
	movq	%rbx, %rsi
LBB0_15:
	callq	_Strbuf_append
LBB0_16:
	movq	%r14, %rdi
	callq	_Strbuf_terminate
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_17:
	movq	%r14, %rdi
	callq	_Strbuf_terminate
	movl	$-1, %eax
LBB0_18:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tilde
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tilde
_tilde:                                 ; @tilde
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	str	wzr, [x0]
	ldr	w8, [x1]
	cmp	w8, #61
	b.eq	LBB0_9
; %bb.1:
	cmp	w8, #126
	b.ne	LBB0_12
; %bb.2:
	mov	w1, #0
	add	x0, x20, #4
	mov	x20, x0
	ldr	w8, [x20]
	cbz	w8, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #47
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #4
	add	w1, w1, #1
	ldr	w8, [x20]
	cbnz	w8, LBB0_3
LBB0_5:
	bl	_Strnsave
	mov	x22, x0
	bl	_gethdir
	mov	x21, x0
	mov	x0, x22
	bl	_xfree
	cbz	x21, LBB0_14
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	bl	_Strbuf_append
	mov	x0, x21
	bl	_xfree
	ldr	x8, [x19, #8]
	ldrb	w8, [x8]
	cmp	w8, #47
	b.ne	LBB0_12
; %bb.7:
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_12
; %bb.8:
	ldr	w8, [x20]
	cmp	w8, #47
	cset	w8, eq
	add	x20, x20, w8, uxtw #2
	b	LBB0_12
LBB0_9:
	mov	x0, x20
	bl	_globequal
	cbz	x0, LBB0_14
; %bb.10:
	mov	x21, x0
	cmp	x0, x20
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x19
	mov	x1, x21
	bl	_Strbuf_append
	mov	x0, x21
	bl	_xfree
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	bl	_Strbuf_append
LBB0_13:
	mov	x0, x19
	bl	_Strbuf_terminate
	mov	w0, #0
	b	LBB0_15
LBB0_14:
	mov	x0, x19
	bl	_Strbuf_terminate
	mov	w0, #-1
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tilde
.subsections_via_symbols
