	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gethdir                        ## -- Begin function gethdir
	.p2align	4, 0x90
_gethdir:                               ## @gethdir
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpb	$0, (%rdi)
	je	LBB0_1
## %bb.3:
	callq	_gettilde
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	movq	%rax, %rdi
	popq	%rbp
	jmp	_Strsave                        ## TAILCALL
LBB0_1:
	movq	_STRhome@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_varval
	movq	_STRNULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRhome,4,2                    ## @STRhome
	.comm	_STRNULL,8,3                    ## @STRNULL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gethdir                        ; -- Begin function gethdir
	.p2align	2
_gethdir:                               ; @gethdir
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldrb	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	bl	_gettilde
	cbz	x0, LBB0_5
; %bb.2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_Strsave
LBB0_3:
Lloh0:
	adrp	x8, _STRhome@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRhome@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_varval
Lloh3:
	adrp	x8, _STRNULL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRNULL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_Strsave
LBB0_5:
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STRhome,4,2                    ; @STRhome
	.comm	_STRNULL,8,3                    ; @STRNULL
.subsections_via_symbols
