	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btrfs_lookup_path
_btrfs_lookup_path:                     ## @btrfs_lookup_path
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	_BTRFS_FT_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	$0, -64(%rbp)
	movb	(%rdx), %al
	cmpb	$92, %al
	je	LBB0_2
## %bb.1:
	movl	%esi, %r14d
	movq	%rdx, %r13
	cmpb	$47, %al
	jne	LBB0_3
LBB0_2:
	leaq	1(%rdx), %r13
	movl	(%r15), %r14d
LBB0_3:
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_skip_current_directories
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_next_length
	movl	%eax, %r12d
	movq	_BTRFS_NAME_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	%esi, %r12d
	jg	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$1, %r12d
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$2, %r12d
	jne	LBB0_8
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%r13), %eax
	cmpb	$46, %al
	jne	LBB0_10
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$46, 1(%r13)
	jne	LBB0_11
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	leaq	-48(%rbp), %rdx
	callq	_get_parent_inode
	movl	%eax, %r14d
	movq	_INVALID_INODE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_37
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	$2, %r13
	movq	_BTRFS_FT_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	cmpb	$0, (%r13)
	jne	LBB0_4
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%r13), %eax
	cmpb	$46, %al
	jne	LBB0_10
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%r13), %eax
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	testb	%al, %al
	je	LBB0_31
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	movl	%r12d, %ecx
	leaq	-136(%rbp), %rbx
	movq	%rbx, %r8
	callq	_BtrFsLookupDirItem
	testl	%eax, %eax
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	jne	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %edx
	movl	%r12d, %ecx
	movq	%r13, %r8
	xorl	%eax, %eax
	callq	_TRACE
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	movl	%r12d, %ecx
	movq	%rbx, %r8
	callq	_BtrFsLookupDirItemI
	testl	%eax, %eax
	je	LBB0_13
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-120(%rbp), %eax
	movl	%eax, -44(%rbp)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	leaq	-48(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_btrfs_lookup_inode
	testq	%rax, %rax
	jne	LBB0_13
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %eax
	movslq	%r12d, %rbx
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_25
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_BTRFS_FT_SYMLINK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_25
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-124(%rbp), %esi
	movq	%r15, %rdi
	leaq	-64(%rbp), %rdx
	callq	_btrfs_readlink
	testl	%eax, %eax
	je	LBB0_13
## %bb.24:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	leaq	-44(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	callq	_btrfs_lookup_path
	movl	%eax, %r14d
	movq	-64(%rbp), %rdi
	movq	_TAG_BTRFS_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FrLdrTempFree
	movq	_INVALID_INODE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_29
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_BTRFS_FT_DIR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, (%r13,%rbx)
	jne	LBB0_27
LBB0_28:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-124(%rbp), %r14d
LBB0_29:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	%rbx, %r13
	movl	$1, %ebx
	cmpb	$0, (%r13)
	jne	LBB0_4
LBB0_31:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_33
## %bb.32:
	movl	-44(%rbp), %eax
	movl	%eax, (%rcx)
LBB0_33:
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	testq	%r12, %r12
	je	LBB0_37
## %bb.34:
	testl	%ebx, %ebx
	je	LBB0_35
LBB0_36:
	movl	-48(%rbp), %eax
	movl	%eax, (%r12)
	jmp	LBB0_37
LBB0_5:
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rdx
	callq	_ERR
	jmp	LBB0_13
LBB0_35:
	movl	%r14d, -100(%rbp)
	movq	_BTRFS_INODE_ITEM_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -104(%rbp)
	movq	$0, -112(%rbp)
	leaq	-112(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_btrfs_lookup_inode
	testq	%rax, %rax
	jne	LBB0_13
	jmp	LBB0_36
LBB0_22:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	jmp	LBB0_13
LBB0_27:
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	subl	%edx, %r13d
	addl	%r13d, %r12d
	leaq	L_.str.3(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_TRACE
LBB0_13:
	movq	_INVALID_INODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_37:
	movl	%r14d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTRFS_FT_DIR,4,2               ## @BTRFS_FT_DIR
	.comm	_BTRFS_NAME_MAX,4,2             ## @BTRFS_NAME_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Name too long at \"%.*s\"\n"

	.comm	_INVALID_INODE,4,2              ## @INVALID_INODE
L_.str.1:                               ## @.str.1
	.asciz	"Try to find case-insensitive, path=%s inr=%llu s=%.*s\n"

	.comm	_BTRFS_FT_SYMLINK,4,2           ## @BTRFS_FT_SYMLINK
L_.str.2:                               ## @.str.2
	.asciz	"%s: Too much symlinks!\n"

	.comm	_TAG_BTRFS_LINK,4,2             ## @TAG_BTRFS_LINK
L_.str.3:                               ## @.str.3
	.asciz	"%s: \"%.*s\" not a directory\n"

	.comm	_BTRFS_INODE_ITEM_KEY,4,2       ## @BTRFS_INODE_ITEM_KEY
	.no_dead_strip	_btrfs_lookup_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btrfs_lookup_path
_btrfs_lookup_path:                     ; @btrfs_lookup_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x24, x5
	stp	x3, x4, [sp, #32]               ; 16-byte Folded Spill
	mov	x23, x2
	mov	x21, x0
Lloh0:
	adrp	x8, _BTRFS_FT_DIR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BTRFS_FT_DIR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #76]
	str	xzr, [sp, #48]
	ldrb	w8, [x2]
	cmp	w8, #92
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x1
	mov	x0, x23
	cmp	w8, #47
	b.ne	LBB0_3
LBB0_2:
	add	x0, x23, #1
	ldr	w19, [x21]
LBB0_3:
	mov	w22, #0
	sub	w25, w24, #1
Lloh3:
	adrp	x26, _BTRFS_NAME_MAX@GOTPAGE
Lloh4:
	ldr	x26, [x26, _BTRFS_NAME_MAX@GOTPAGEOFF]
Lloh5:
	adrp	x20, _BTRFS_FT_SYMLINK@GOTPAGE
Lloh6:
	ldr	x20, [x20, _BTRFS_FT_SYMLINK@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w19, [sp, #100]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, x27, w28, sxtw
	mov	w22, #1
	ldrb	w8, [x0]
	cbz	w8, LBB0_27
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	bl	_skip_current_directories
	mov	x27, x0
	bl	_next_length
	ldr	w1, [x26]
	cmp	w0, w1
	b.gt	LBB0_32
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x28, x0
	cmp	w0, #1
	b.eq	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w28, #2
	b.ne	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x27]
	cmp	w8, #46
	b.ne	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x27, #1]
	cmp	w8, #46
	b.ne	LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x2, sp, #80
	mov	x0, x21
	mov	x1, x19
	bl	_get_parent_inode
	mov	x19, x0
Lloh7:
	adrp	x8, _INVALID_INODE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _INVALID_INODE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_37
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, x27, #2
Lloh10:
	adrp	x8, _BTRFS_FT_DIR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BTRFS_FT_DIR@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [sp, #76]
	ldrb	w8, [x0]
	cbnz	w8, LBB0_6
	b	LBB0_27
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x27]
	cmp	w8, #46
	b.ne	LBB0_15
	b	LBB0_27
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x27]
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w8, LBB0_27
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x4, sp, #88
	mov	x0, x21
	mov	x1, x19
	mov	x2, x27
	mov	x3, x28
	bl	_BtrFsLookupDirItem
	cbnz	w0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	stp	x28, x27, [sp, #16]
	stp	x23, x19, [sp]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	add	x4, sp, #88
	mov	x0, x21
	mov	x1, x19
	mov	x2, x27
	mov	x3, x28
	bl	_BtrFsLookupDirItemI
	cbz	w0, LBB0_36
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [sp, #104]
	str	w8, [sp, #76]
	add	x1, sp, #88
	add	x2, sp, #80
	mov	x0, x21
	mov	x3, #0
	bl	_btrfs_lookup_inode
	cbnz	x0, LBB0_36
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [sp, #76]
	tbnz	w24, #31, LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_6 Depth=1
	cbz	w24, LBB0_34
; %bb.22:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [sp, #100]
	add	x2, sp, #48
	mov	x0, x21
	bl	_btrfs_readlink
	cbz	w0, LBB0_36
; %bb.23:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x2, [sp, #48]
	add	x3, sp, #76
	add	x4, sp, #80
	mov	x0, x21
	mov	x1, x19
	mov	x5, x25
	bl	_btrfs_lookup_path
	mov	x19, x0
	ldr	x0, [sp, #48]
Lloh15:
	adrp	x8, _TAG_BTRFS_LINK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TAG_BTRFS_LINK@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_FrLdrTempFree
Lloh18:
	adrp	x8, _INVALID_INODE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _INVALID_INODE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w19, w8
	b.ne	LBB0_5
	b	LBB0_37
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh21:
	adrp	x9, _BTRFS_FT_DIR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _BTRFS_FT_DIR@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.25:                               ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x27, w28, sxtw]
	cbz	w8, LBB0_4
; %bb.26:
	sub	w8, w27, w23
	add	w8, w28, w8
	stp	x8, x23, [sp]
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_35
LBB0_27:
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	cbz	x9, LBB0_29
; %bb.28:
	ldr	w8, [sp, #76]
	str	w8, [x9]
LBB0_29:
	ldr	x20, [sp, #40]                  ; 8-byte Folded Reload
	cbz	x20, LBB0_37
; %bb.30:
	cbz	w22, LBB0_33
LBB0_31:
	ldr	w8, [sp, #80]
	str	w8, [x20]
	b	LBB0_37
LBB0_32:
Lloh26:
	adrp	x0, l_.str@PAGE
Lloh27:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x27
	bl	_ERR
	b	LBB0_36
LBB0_33:
Lloh28:
	adrp	x8, _BTRFS_INODE_ITEM_KEY@GOTPAGE
Lloh29:
	ldr	x8, [x8, _BTRFS_INODE_ITEM_KEY@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	stp	w8, w19, [sp, #64]
	str	xzr, [sp, #56]
	add	x1, sp, #56
	add	x2, sp, #80
	mov	x0, x21
	mov	x3, #0
	bl	_btrfs_lookup_inode
	cbnz	x0, LBB0_36
	b	LBB0_31
LBB0_34:
Lloh31:
	adrp	x0, l_.str.2@PAGE
Lloh32:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_35:
	bl	_TRACE
LBB0_36:
Lloh33:
	adrp	x8, _INVALID_INODE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _INVALID_INODE@GOTPAGEOFF]
Lloh35:
	ldr	w19, [x8]
LBB0_37:
	mov	x0, x19
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_BTRFS_FT_DIR,4,2               ; @BTRFS_FT_DIR
	.comm	_BTRFS_NAME_MAX,4,2             ; @BTRFS_NAME_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Name too long at \"%.*s\"\n"

	.comm	_INVALID_INODE,4,2              ; @INVALID_INODE
l_.str.1:                               ; @.str.1
	.asciz	"Try to find case-insensitive, path=%s inr=%llu s=%.*s\n"

	.comm	_BTRFS_FT_SYMLINK,4,2           ; @BTRFS_FT_SYMLINK
l_.str.2:                               ; @.str.2
	.asciz	"%s: Too much symlinks!\n"

	.comm	_TAG_BTRFS_LINK,4,2             ; @TAG_BTRFS_LINK
l_.str.3:                               ; @.str.3
	.asciz	"%s: \"%.*s\" not a directory\n"

	.comm	_BTRFS_INODE_ITEM_KEY,4,2       ; @BTRFS_INODE_ITEM_KEY
	.no_dead_strip	_btrfs_lookup_path
.subsections_via_symbols
