	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function BtrFsLookupDirItem
_BtrFsLookupDirItem:                    ## @BtrFsLookupDirItem
	.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
	movq	%r8, %r14
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movl	%esi, -56(%rbp)
	movq	_BTRFS_DIR_ITEM_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	%rdx, %rdi
	movl	%ecx, %esi
	callq	_btrfs_crc32c
	movl	%eax, -64(%rbp)
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	callq	_init_path
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_BtrFsSearchTree
	leaq	-48(%rbp), %rdi
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_BtrFsMatchDirItemName
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rax), %ecx
	movl	%ecx, (%r14)
LBB0_4:
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	leaq	-48(%rbp), %rdi
	callq	_free_path
	jmp	LBB0_5
LBB0_1:
	callq	_free_path
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTRFS_DIR_ITEM_KEY,4,2         ## @BTRFS_DIR_ITEM_KEY
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_BtrFsLookupDirItem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function BtrFsLookupDirItem
_BtrFsLookupDirItem:                    ; @BtrFsLookupDirItem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x0
Lloh0:
	adrp	x8, _BTRFS_DIR_ITEM_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BTRFS_DIR_ITEM_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w1, [sp, #12]
	mov	x0, x2
	mov	x1, x3
	bl	_btrfs_crc32c
	str	w0, [sp, #8]
	add	x0, sp, #24
	bl	_init_path
	add	x1, sp, #8
	add	x2, sp, #24
	mov	x0, x22
	bl	_BtrFsSearchTree
	cbz	w0, LBB0_4
; %bb.1:
	add	x0, sp, #24
	mov	x1, x21
	mov	x2, x20
	bl	_BtrFsMatchDirItemName
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w8, [x0]
	str	w8, [x19]
LBB0_3:
	cmp	x0, #0
	cset	w19, ne
	add	x0, sp, #24
	bl	_free_path
	b	LBB0_5
LBB0_4:
	add	x0, sp, #24
	bl	_free_path
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BTRFS_DIR_ITEM_KEY,4,2         ; @BTRFS_DIR_ITEM_KEY
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_BtrFsLookupDirItem
.subsections_via_symbols
