	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtfs_node_lookup               ## -- Begin function dtfs_node_lookup
	.p2align	4, 0x90
_dtfs_node_lookup:                      ## @dtfs_node_lookup
	.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, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_DTFS_CTOF
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_PCNISDOTDOT
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	movq	(%rax), %rax
	movq	_VDIR@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_puffs_newinfo_setcookie
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_puffs_newinfo_setvtype
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_3:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	20(%r14), %edx
	movl	24(%r14), %esi
	movq	%rbx, %rdi
	callq	_dtfs_dirgetbyname
	movq	%rax, %r12
	movq	_NAMEI_ISLASTCN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	testq	%r12, %r12
	je	LBB0_9
## %bb.4:
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movq	8(%r14), %rax
	movq	_NAMEI_DELETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_VDIR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	8(%r13), %esi
	movl	(%r13), %ecx
	movl	4(%r13), %edx
	movq	_PUFFS_VWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	16(%r14), %r9d
	callq	_puffs_access
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
LBB0_7:
	movq	(%r12), %rsi
	movq	%r15, %rdi
	callq	_puffs_newinfo_setcookie
	movq	(%r12), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_puffs_newinfo_setvtype
	movq	(%r12), %rax
	movl	12(%rax), %esi
	movq	%r15, %rdi
	callq	_puffs_newinfo_setsize
	movq	(%r12), %rax
	movl	8(%rax), %esi
	movq	%r15, %rdi
	callq	_puffs_newinfo_setrdev
	movq	_straightflush@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	$0, (%rax)
	je	LBB0_14
## %bb.8:
	movq	(%r12), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_puffs_flush_pagecache_node
	jmp	LBB0_14
LBB0_9:
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:
	movq	8(%r14), %rax
	movq	_NAMEI_CREATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.11:
	movq	_NAMEI_RENAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
LBB0_12:
	movq	_VDIR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	8(%r13), %esi
	movl	(%r13), %ecx
	movl	4(%r13), %edx
	movq	_PUFFS_VWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	16(%r14), %r9d
	callq	_puffs_access
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
LBB0_13:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_VDIR,8,3                       ## @VDIR
	.comm	_NAMEI_ISLASTCN,4,2             ## @NAMEI_ISLASTCN
	.comm	_NAMEI_DELETE,8,3               ## @NAMEI_DELETE
	.comm	_PUFFS_VWRITE,4,2               ## @PUFFS_VWRITE
	.comm	_NAMEI_CREATE,8,3               ## @NAMEI_CREATE
	.comm	_NAMEI_RENAME,8,3               ## @NAMEI_RENAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtfs_node_lookup               ; -- Begin function dtfs_node_lookup
	.p2align	2
_dtfs_node_lookup:                      ; @dtfs_node_lookup
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
	mov	x0, x1
	bl	_DTFS_CTOF
	mov	x21, x0
	mov	x0, x22
	bl	_PCNISDOTDOT
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x21]
	cbz	x8, LBB0_12
; %bb.2:
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _VDIR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VDIR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	x1, [x21]
	mov	x0, x19
	bl	_puffs_newinfo_setcookie
	ldr	x8, [x21]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_puffs_newinfo_setvtype
	mov	w0, #0
	b	LBB0_13
LBB0_3:
	ldp	w2, w1, [x22, #20]
	mov	x0, x21
	bl	_dtfs_dirgetbyname
	ldr	w8, [x22]
Lloh3:
	adrp	x9, _NAMEI_ISLASTCN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NAMEI_ISLASTCN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
	cbz	x0, LBB0_9
; %bb.4:
	mov	x21, x0
	cbz	w8, LBB0_7
; %bb.5:
	ldr	x8, [x22, #8]
Lloh6:
	adrp	x9, _NAMEI_DELETE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NAMEI_DELETE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _VDIR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VDIR@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	ldp	w2, w1, [x23, #4]
	ldr	w3, [x23]
Lloh12:
	adrp	x8, _PUFFS_VWRITE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PUFFS_VWRITE@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	ldr	w5, [x22, #16]
	bl	_puffs_access
	cbnz	w0, LBB0_13
LBB0_7:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_puffs_newinfo_setcookie
	ldr	x8, [x21]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_puffs_newinfo_setvtype
	ldr	x8, [x21]
	ldr	w1, [x8, #12]
	mov	x0, x19
	bl	_puffs_newinfo_setsize
	ldr	x8, [x21]
	ldr	w1, [x8, #8]
	mov	x0, x19
	bl	_puffs_newinfo_setrdev
Lloh15:
	adrp	x8, _straightflush@GOTPAGE
Lloh16:
	ldr	x8, [x8, _straightflush@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cbz	w8, LBB0_14
; %bb.8:
	ldr	x1, [x21]
	mov	x0, x20
	bl	_puffs_flush_pagecache_node
	mov	w0, #0
	b	LBB0_13
LBB0_9:
	cbz	w8, LBB0_12
; %bb.10:
	ldr	x8, [x22, #8]
Lloh18:
	adrp	x9, _NAMEI_CREATE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NAMEI_CREATE@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
Lloh21:
	adrp	x10, _NAMEI_RENAME@GOTPAGE
Lloh22:
	ldr	x10, [x10, _NAMEI_RENAME@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_12
; %bb.11:
Lloh24:
	adrp	x8, _VDIR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _VDIR@GOTPAGEOFF]
Lloh26:
	ldr	x0, [x8]
	ldp	w2, w1, [x23, #4]
	ldr	w3, [x23]
Lloh27:
	adrp	x8, _PUFFS_VWRITE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PUFFS_VWRITE@GOTPAGEOFF]
Lloh29:
	ldr	w4, [x8]
	ldr	w5, [x22, #16]
	bl	_puffs_access
	cbnz	w0, LBB0_13
LBB0_12:
Lloh30:
	adrp	x8, _ENOENT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	w0, #0
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_VDIR,8,3                       ; @VDIR
	.comm	_NAMEI_ISLASTCN,4,2             ; @NAMEI_ISLASTCN
	.comm	_NAMEI_DELETE,8,3               ; @NAMEI_DELETE
	.comm	_PUFFS_VWRITE,4,2               ; @PUFFS_VWRITE
	.comm	_NAMEI_CREATE,8,3               ; @NAMEI_CREATE
	.comm	_NAMEI_RENAME,8,3               ; @NAMEI_RENAME
.subsections_via_symbols
