	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gettilde                       ## -- Begin function gettilde
	.p2align	4, 0x90
_gettilde:                              ## @gettilde
	.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
	movb	(%rdi), %al
	xorl	%r14d, %r14d
	cmpb	$43, %al
	je	LBB0_17
## %bb.1:
	cmpb	$45, %al
	je	LBB0_17
## %bb.2:
	movq	%rdi, %r15
	movq	_tcache@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.3:
	movq	_TILINCR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$3, %eax
	leal	(%rax,%rax,2), %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movq	%rax, (%r14)
LBB0_4:
	movq	_tlength@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_13
## %bb.5:
	leaq	(%rax,%rax,2), %rax
	leaq	(%rbx,%rax,8), %r12
	movabsq	$-6148914691236517205, %r14     ## imm = 0xAAAAAAAAAAAAAAAB
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$24, %rcx
	movq	%rcx, %rbx
	cmpq	%r12, %rbx
	jae	LBB0_13
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rax
	subq	%rbx, %rax
	sarq	$3, %rax
	imulq	%r14, %rax
	sarq	%rax
	leaq	(%rax,%rax,2), %r13
	movsbl	(%r15), %eax
	movq	(%rbx,%r13,8), %rsi
	movsbl	(%rsi), %ecx
	subl	%ecx, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_Strcmp
	testl	%eax, %eax
	je	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%rbx,%r13,8), %rcx
	testl	%eax, %eax
	jns	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rcx, %r12
	cmpq	%r12, %rbx
	jb	LBB0_6
LBB0_13:
	movq	%r15, %rdi
	callq	_gethomedir
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_Strsave
	movq	_tcache@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	_tlength@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rdx
	shlq	$3, %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	%rax, (%rcx,%rdx)
	movq	(%r15), %rax
	movq	%r14, 8(%rax,%rdx)
	movq	%r14, %rdi
	callq	_Strlen
	movq	(%r15), %rdi
	movslq	(%rbx), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%rbx)
	leaq	(%rcx,%rcx,2), %rcx
	movl	%eax, 16(%rdi,%rcx,8)
	movl	(%rbx), %esi
	movq	_tildecompare@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$24, %edx
	callq	_qsort
	movl	(%rbx), %eax
	movq	_tsize@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.16:
	movq	_TILINCR@GOTPCREL(%rip), %rdx
	addl	(%rdx), %eax
	movl	%eax, (%rcx)
	movq	(%r15), %rdi
	shll	$3, %eax
	leal	(%rax,%rax,2), %esi
	callq	_xrealloc
	movq	%rax, (%r15)
	jmp	LBB0_17
LBB0_14:
	xorl	%r14d, %r14d
	jmp	LBB0_17
LBB0_8:
	movq	8(%rbx,%r13,8), %r14
LBB0_17:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tcache,8,3                     ## @tcache
	.comm	_TILINCR,4,2                    ## @TILINCR
	.comm	_tlength,4,2                    ## @tlength
	.comm	_tildecompare,4,2               ## @tildecompare
	.comm	_tsize,4,2                      ## @tsize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gettilde                       ; -- Begin function gettilde
	.p2align	2
_gettilde:                              ; @gettilde
	.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
	mov	x20, #0
	ldrb	w8, [x0]
	cmp	w8, #43
	b.eq	LBB0_13
; %bb.1:
	cmp	w8, #45
	b.eq	LBB0_13
; %bb.2:
	mov	x19, x0
Lloh0:
	adrp	x21, _tcache@GOTPAGE
Lloh1:
	ldr	x21, [x21, _tcache@GOTPAGEOFF]
	ldr	x20, [x21]
	cbnz	x20, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _TILINCR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TILINCR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #1
	lsl	w0, w8, #3
	bl	_xmalloc
	mov	x20, x0
	str	x0, [x21]
LBB0_4:
Lloh5:
	adrp	x22, _tlength@GOTPAGE
Lloh6:
	ldr	x22, [x22, _tlength@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.5:
	mov	w23, #24
	madd	x24, x8, x23, x20
	mov	x25, #-6148914691236517206
	movk	x25, #43691
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x26, #24
	cmp	w0, #0
	csel	x24, x26, x24, lt
	csel	x20, x20, x8, lt
	cmp	x20, x24
	b.hs	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	x8, x24, x20
	asr	x8, x8, #3
	mul	x8, x8, x25
	asr	x27, x8, #1
	madd	x26, x27, x23, x20
	ldrsb	w8, [x19]
	ldr	x1, [x26]
	ldrsb	w9, [x1]
	subs	w0, w8, w9
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_Strcmp
	cbnz	w0, LBB0_6
; %bb.9:
	mov	w8, #24
	madd	x8, x27, x8, x20
	ldr	x20, [x8, #8]
	b	LBB0_13
LBB0_10:
	mov	x0, x19
	bl	_gethomedir
	mov	x20, x0
	cbz	x0, LBB0_13
; %bb.11:
	mov	x0, x19
	bl	_Strsave
	ldr	x8, [x21]
	ldrsw	x9, [x22]
	add	x9, x9, x9, lsl #1
	lsl	x9, x9, #3
	str	x0, [x8, x9]
	ldr	x8, [x21]
	add	x8, x8, x9
	str	x20, [x8, #8]
	mov	x0, x20
	bl	_Strlen
	ldr	x8, [x21]
	ldrsw	x9, [x22]
	add	w10, w9, #1
	str	w10, [x22]
	mov	w10, #24
	madd	x9, x9, x10, x8
	str	w0, [x9, #16]
	ldr	w1, [x22]
Lloh7:
	adrp	x9, _tildecompare@GOTPAGE
Lloh8:
	ldr	x9, [x9, _tildecompare@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x9]
	mov	x0, x8
	mov	w2, #24
	bl	_qsort
	ldr	w8, [x22]
Lloh10:
	adrp	x9, _tsize@GOTPAGE
Lloh11:
	ldr	x9, [x9, _tsize@GOTPAGEOFF]
	ldr	w10, [x9]
	cmp	w8, w10
	b.ne	LBB0_13
; %bb.12:
Lloh12:
	adrp	x10, _TILINCR@GOTPAGE
Lloh13:
	ldr	x10, [x10, _TILINCR@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	add	w8, w10, w8
	str	w8, [x9]
	ldr	x0, [x21]
	add	w8, w8, w8, lsl #1
	lsl	w1, w8, #3
	bl	_xrealloc
	str	x0, [x21]
LBB0_13:
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_tcache,8,3                     ; @tcache
	.comm	_TILINCR,4,2                    ; @TILINCR
	.comm	_tlength,4,2                    ; @tlength
	.comm	_tildecompare,4,2               ; @tildecompare
	.comm	_tsize,4,2                      ; @tsize
.subsections_via_symbols
