	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_parent_inode
_get_parent_inode:                      ## @get_parent_inode
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_BTRFS_FIRST_FREE_OBJECTID@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_btrfs_lookup_inode_ref
	movq	%rax, %rbx
	movq	_INVALID_INODE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_5
LBB0_2:
	testq	%r14, %r14
	je	LBB0_5
## %bb.3:
	movq	%rbx, -32(%rbp)
	movq	_BTRFS_INODE_ITEM_KEY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_btrfs_lookup_inode
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_INVALID_INODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_5:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTRFS_FIRST_FREE_OBJECTID,8,3  ## @BTRFS_FIRST_FREE_OBJECTID
	.comm	_BTRFS_INODE_ITEM_KEY,8,3       ## @BTRFS_INODE_ITEM_KEY
	.comm	_INVALID_INODE,8,3              ## @INVALID_INODE
	.no_dead_strip	_get_parent_inode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_parent_inode
_get_parent_inode:                      ; @get_parent_inode
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _BTRFS_FIRST_FREE_OBJECTID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BTRFS_FIRST_FREE_OBJECTID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x22, _INVALID_INODE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _INVALID_INODE@GOTPAGEOFF]
	cmp	x8, x1
	b.ne	LBB0_4
; %bb.1:
	cbz	x20, LBB0_3
LBB0_2:
	str	x19, [sp, #24]
Lloh5:
	adrp	x8, _BTRFS_INODE_ITEM_KEY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BTRFS_INODE_ITEM_KEY@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	stp	xzr, x8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x20
	mov	x3, #0
	bl	_btrfs_lookup_inode
	ldr	x8, [x22]
	cmp	x0, #0
	csel	x19, x19, x8, eq
LBB0_3:
	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
LBB0_4:
	mov	x0, x21
	mov	x1, x19
	mov	x2, #0
	mov	x3, #0
	bl	_btrfs_lookup_inode_ref
	mov	x19, x0
	ldr	x8, [x22]
	cmp	x0, x8
	ccmp	x20, #0, #4, ne
	b.ne	LBB0_2
	b	LBB0_3
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BTRFS_FIRST_FREE_OBJECTID,8,3  ; @BTRFS_FIRST_FREE_OBJECTID
	.comm	_BTRFS_INODE_ITEM_KEY,8,3       ; @BTRFS_INODE_ITEM_KEY
	.comm	_INVALID_INODE,8,3              ; @INVALID_INODE
	.no_dead_strip	_get_parent_inode
.subsections_via_symbols
