	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function printdirs
_printdirs:                             ## @printdirs
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r13d
	movq	_dcwd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_DIR_VERT@GOTPCREL(%rip), %rbx
	movq	%rax, %r15
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rsi
	movq	_DIR_VERT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	andl	%r13d, %eax
	movl	$10, %edx
	movl	$32, %eax
	cmovel	%eax, %edx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_xprintf
	movq	_dcwd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r15), %r15
	cmpq	%rax, %r15
	je	LBB0_17
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	_dhead@GOTPCREL(%rip), %r15
	je	LBB0_16
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r13d, (%rbx)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movslq	%eax, %rsi
	incl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_xprintf
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r12d, %ebx
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rdi
	movq	%rdi, -56(%rbp)
	movq	_DIR_LONG@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_6
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_Strlen
	movq	%rax, %r12
	movl	$1, %eax
	xorl	%r14d, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	-56(%rbp), %rdi
	callq	_getusername
	testq	%rax, %rax
	je	LBB0_7
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_Strlen
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rdi
	callq	_Strlen
	movq	%rax, %r12
	addq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	movl	$2, %eax
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	addl	%eax, %r12d
	addl	%r12d, %ebx
	movq	_DIR_LINE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_TermH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r12d
	jge	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	decl	%eax
	cmpl	%eax, %ebx
	jl	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$10, %edi
	callq	_xputchar
	movl	%r12d, %ebx
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %r12d
	testq	%r14, %r14
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_xprintf
	jmp	LBB0_15
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi
	jmp	LBB0_8
LBB0_17:
	testl	%r13d, (%rbx)
	jne	LBB0_19
## %bb.18:
	movl	$10, %edi
	callq	_xputchar
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dcwd,8,3                       ## @dcwd
	.comm	_dhead,16,3                     ## @dhead
	.comm	_DIR_VERT,4,2                   ## @DIR_VERT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d\t"

	.comm	_DIR_LONG,4,2                   ## @DIR_LONG
	.comm	_DIR_LINE,4,2                   ## @DIR_LINE
	.comm	_TermH,4,2                      ## @TermH
L_.str.1:                               ## @.str.1
	.asciz	"~%S"

L_.str.2:                               ## @.str.2
	.asciz	"%-S%c"

	.no_dead_strip	_printdirs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function printdirs
_printdirs:                             ; @printdirs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
	mov	w21, #0
	mov	w25, #0
Lloh0:
	adrp	x8, _dcwd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dcwd@GOTPAGEOFF]
Lloh2:
	adrp	x27, _dhead@GOTPAGE
Lloh3:
	ldr	x27, [x27, _dhead@GOTPAGEOFF]
Lloh4:
	adrp	x26, _DIR_VERT@GOTPAGE
Lloh5:
	ldr	x26, [x26, _DIR_VERT@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x20, l_.str.2@PAGE
Lloh8:
	add	x20, x20, l_.str.2@PAGEOFF
	mov	w22, #32
	mov	x28, x8
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #8]
	ldr	w8, [x26]
	tst	w8, w19
	mov	w8, #10
	csel	x8, x22, x8, eq
	str	x8, [sp]
	mov	x0, x20
	bl	_xprintf
Lloh9:
	adrp	x8, _dcwd@GOTPAGE
Lloh10:
	ldr	x8, [x8, _dcwd@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x28, [x28, #8]
	cmp	x28, x8
	b.eq	LBB0_16
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x28, x27
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x26]
	tst	w8, w19
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w21, #1
	sxtw	x1, w21
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xprintf
	mov	w25, #0
	mov	x21, x23
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x28]
	str	x0, [sp, #8]
Lloh14:
	adrp	x8, _DIR_LONG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DIR_LONG@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_Strlen
	mov	x23, #0
	mov	w8, #1
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	bl	_getusername
	cbz	x0, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	bl	_Strlen
	mov	x24, x0
	ldr	x0, [sp, #8]
	bl	_Strlen
	add	x0, x0, x24
	mov	w8, #2
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w8, w0
	add	w25, w24, w25
Lloh17:
	adrp	x8, _DIR_LINE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DIR_LINE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh20:
	adrp	x8, _TermH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TermH@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	sub	w9, w8, #1
	cmp	w24, w8
	ccmp	w25, w9, #8, lt
	b.lt	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #10
	bl	_xputchar
	mov	x25, x24
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x23, LBB0_1
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x23
	bl	_xprintf
	b	LBB0_1
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	b	LBB0_7
LBB0_16:
	ldr	w8, [x26]
	tst	w8, w19
	b.ne	LBB0_18
; %bb.17:
	mov	w0, #10
	bl	_xputchar
LBB0_18:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_dcwd,8,3                       ; @dcwd
	.comm	_dhead,16,3                     ; @dhead
	.comm	_DIR_VERT,4,2                   ; @DIR_VERT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d\t"

	.comm	_DIR_LONG,4,2                   ; @DIR_LONG
	.comm	_DIR_LINE,4,2                   ; @DIR_LINE
	.comm	_TermH,4,2                      ; @TermH
l_.str.1:                               ; @.str.1
	.asciz	"~%S"

l_.str.2:                               ; @.str.2
	.asciz	"%-S%c"

	.no_dead_strip	_printdirs
.subsections_via_symbols
