	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Dir_InitDot                    ## -- Begin function Dir_InitDot
	.p2align	4, 0x90
_Dir_InitDot:                           ## @Dir_InitDot
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_dot@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	_openDirectories@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_Lst_Member
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_Lst_Remove
LBB0_2:
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	callq	_Dir_AddDir
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	incl	(%rax)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Dir_SetPATH                    ## TAILCALL
LBB0_3:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_Error
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_dot,8,3                        ## @dot
	.comm	_openDirectories,4,2            ## @openDirectories
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

L_.str.1:                               ## @.str.1
	.asciz	"Cannot open `.' (%s)"

	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Dir_InitDot                    ; -- Begin function Dir_InitDot
	.p2align	2
_Dir_InitDot:                           ; @Dir_InitDot
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _dot@GOTPAGE
Lloh1:
	ldr	x19, [x19, _dot@GOTPAGEOFF]
	ldr	x1, [x19]
	cbz	x1, LBB0_2
; %bb.1:
Lloh2:
	adrp	x20, _openDirectories@GOTPAGE
Lloh3:
	ldr	x20, [x20, _openDirectories@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_Lst_Member
	mov	x1, x0
	ldr	w0, [x20]
	bl	_Lst_Remove
LBB0_2:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	bl	_Dir_AddDir
	str	x0, [x19]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Dir_SetPATH
LBB0_4:
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_strerror
	mov	x1, x0
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Error
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_dot,8,3                        ; @dot
	.comm	_openDirectories,4,2            ; @openDirectories
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

l_.str.1:                               ; @.str.1
	.asciz	"Cannot open `.' (%s)"

	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
