	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtfs_node_readdir              ## -- Begin function dtfs_node_readdir
	.p2align	4, 0x90
_dtfs_node_readdir:                     ## @dtfs_node_readdir
	.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
	movq	%rcx, %r14
	movq	%rdx, -48(%rbp)
	movq	(%rsi), %rax
	movq	_VDIR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%r8, %r13
	movq	%rsi, %r15
	movq	32(%rbp), %rbx
	movq	%rsi, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_dtfs_updatetimes
	movq	$0, (%rbx)
	movl	(%r14), %edx
	movq	_DENT_DOT@GOTPCREL(%rip), %rbx
	movq	_DENT_DOTDOT@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r15), %esi
	leaq	-48(%rbp), %rdi
	movq	%r13, %rcx
	callq	_puffs_gendotdent
	movl	(%r14), %edx
	incl	%edx
	movl	%edx, (%r14)
	movq	24(%rbp), %rdi
	movq	32(%rbp), %rsi
	callq	_PUFFS_STORE_DCOOKIE
	movl	(%r14), %edx
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%rbx), %edx
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	(%r12), %edx
	je	LBB0_8
## %bb.5:
	movl	16(%r15), %ebx
	movl	%edx, %edi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	callq	_DENT_ADJ
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_dtfs_dirgetnth
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rax), %rcx
	movq	%r13, %rbx
	movl	(%rax), %r13d
	movl	8(%rcx), %r12d
	movq	(%rcx), %rdi
	callq	_puffs_vtype2dt
	leaq	-48(%rbp), %rdi
	movl	%r13d, %esi
	movq	%rbx, %r13
	movl	%r12d, %edx
	movl	%eax, %ecx
	movq	%rbx, %r8
	callq	_puffs_nextdent
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r14), %edx
	incl	%edx
	movl	%edx, (%r14)
	movq	24(%rbp), %rdi
	movq	32(%rbp), %rsi
	callq	_PUFFS_STORE_DCOOKIE
	movl	16(%r15), %ebx
	movl	(%r14), %edi
	jmp	LBB0_6
LBB0_1:
	movq	_ENOTDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_12
LBB0_7:
	movq	16(%rbp), %rax
	movl	$1, (%rax)
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VDIR,8,3                       ## @VDIR
	.comm	_ENOTDIR,4,2                    ## @ENOTDIR
	.comm	_DENT_DOT,4,2                   ## @DENT_DOT
	.comm	_DENT_DOTDOT,4,2                ## @DENT_DOTDOT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtfs_node_readdir              ; -- Begin function dtfs_node_readdir
	.p2align	2
_dtfs_node_readdir:                     ; @dtfs_node_readdir
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	str	x2, [sp, #8]
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _VDIR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VDIR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x7
	mov	x19, x6
	mov	x21, x4
	mov	x22, x3
	mov	x23, x1
	ldr	x24, [x29, #16]
	mov	x0, x1
	mov	w1, #1
	mov	w2, #0
	mov	w3, #0
	bl	_dtfs_updatetimes
	str	xzr, [x24]
	ldr	w2, [x22]
Lloh3:
	adrp	x25, _DENT_DOT@GOTPAGE
Lloh4:
	ldr	x25, [x25, _DENT_DOT@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh5:
	adrp	x26, _DENT_DOTDOT@GOTPAGE
Lloh6:
	ldr	x26, [x26, _DENT_DOTDOT@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x26]
	cmp	w2, w8
	ccmp	w2, w9, #4, ne
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x23, #8]
	add	x0, sp, #8
	mov	x3, x21
	bl	_puffs_gendotdent
	ldr	w8, [x22]
	add	w2, w8, #1
	str	w2, [x22]
	mov	x0, x20
	mov	x1, x24
	bl	_PUFFS_STORE_DCOOKIE
	ldr	w2, [x22]
	ldr	w8, [x25]
	b	LBB0_2
LBB0_4:
Lloh7:
	adrp	x8, _ENOTDIR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOTDIR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	b	LBB0_10
LBB0_5:
	ldr	w25, [x23, #16]
	mov	x0, x2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	bl	_DENT_ADJ
	mov	x1, x0
	mov	x0, x25
	bl	_dtfs_dirgetnth
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x0, #8]
	ldr	w25, [x0]
	ldr	w26, [x8, #8]
	ldr	x0, [x8]
	bl	_puffs_vtype2dt
	mov	x3, x0
	add	x0, sp, #8
	mov	x1, x25
	mov	x2, x26
	mov	x4, x21
	bl	_puffs_nextdent
	cbz	w0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x22]
	add	w2, w8, #1
	str	w2, [x22]
	mov	x0, x20
	mov	x1, x24
	bl	_PUFFS_STORE_DCOOKIE
	ldr	w25, [x23, #16]
	ldr	w0, [x22]
	b	LBB0_6
LBB0_9:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19]
LBB0_10:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_VDIR,8,3                       ; @VDIR
	.comm	_ENOTDIR,4,2                    ; @ENOTDIR
	.comm	_DENT_DOT,4,2                   ; @DENT_DOT
	.comm	_DENT_DOTDOT,4,2                ; @DENT_DOTDOT
.subsections_via_symbols
