	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BtrFsMount                     ## -- Begin function BtrFsMount
	.p2align	4, 0x90
_BtrFsMount:                            ## @BtrFsMount
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_TRACE
	movq	_TAG_BTRFS_INFO@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$4, %edi
	callq	_FrLdrTempAlloc
	movq	_BtrFsInfo@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rdi
	movl	$4, %esi
	callq	_RtlZeroMemory
	movq	_BTRFS_SUPER_INFO_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rsi
	addq	$8, %rsi
	movl	$4, %edx
	callq	_disk_read
	movq	(%r12), %rdi
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movq	8(%rdi), %rax
	movq	_BTRFS_MAGIC_N@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movl	%ebx, 24(%rdi)
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_TRACE
	xorl	%eax, %eax
	callq	_btrfs_init_crc32c
	xorl	%eax, %eax
	callq	_btrfs_read_sys_chunk_array
	xorl	%eax, %eax
	callq	_btrfs_read_chunk_tree
	movq	(%r12), %rax
	movl	20(%rax), %ecx
	movl	%ecx, -44(%rbp)
	movl	16(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	-40(%rbp), %r14
	movq	%r14, %rdi
	callq	_init_path
	movq	_BTRFS_FS_TREE_OBJECTID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BTRFS_ROOT_ITEM_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	movq	%r14, %rcx
	callq	_BtrFsSearchTreeType
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movq	(%r12), %r15
	leaq	-40(%rbp), %r14
	movq	%r14, %rdi
	callq	_path_current_data
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	%r14, %rdi
	callq	_free_path
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	callq	_TRACE
	movq	_BtrFsFuncTable@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movl	(%r15), %esi
	callq	_FrLdrTempFree
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	(%r12), %rdi
	movl	(%r15), %esi
	callq	_FrLdrTempFree
	leaq	-40(%rbp), %rdi
	callq	_free_path
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter BtrFsMount(%lu)\n"

	.comm	_TAG_BTRFS_INFO,4,2             ## @TAG_BTRFS_INFO
	.comm	_BtrFsInfo,8,3                  ## @BtrFsInfo
	.comm	_BTRFS_SUPER_INFO_OFFSET,4,2    ## @BTRFS_SUPER_INFO_OFFSET
	.comm	_BTRFS_MAGIC_N,8,3              ## @BTRFS_MAGIC_N
L_.str.1:                               ## @.str.1
	.asciz	"BtrFsMount(%lu) superblock magic ok\n"

	.comm	_BTRFS_FS_TREE_OBJECTID,4,2     ## @BTRFS_FS_TREE_OBJECTID
	.comm	_BTRFS_ROOT_ITEM_KEY,4,2        ## @BTRFS_ROOT_ITEM_KEY
L_.str.2:                               ## @.str.2
	.asciz	"BtrFsMount(%lu) success\n"

	.comm	_BtrFsFuncTable,4,2             ## @BtrFsFuncTable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BtrFsMount                     ; -- Begin function BtrFsMount
	.p2align	2
_BtrFsMount:                            ; @BtrFsMount
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_TRACE
Lloh2:
	adrp	x20, _TAG_BTRFS_INFO@GOTPAGE
Lloh3:
	ldr	x20, [x20, _TAG_BTRFS_INFO@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w0, #4
	bl	_FrLdrTempAlloc
Lloh4:
	adrp	x21, _BtrFsInfo@GOTPAGE
Lloh5:
	ldr	x21, [x21, _BtrFsInfo@GOTPAGEOFF]
	str	x0, [x21]
	cbz	x0, LBB0_7
; %bb.1:
	mov	w1, #4
	bl	_RtlZeroMemory
Lloh6:
	adrp	x8, _BTRFS_SUPER_INFO_OFFSET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BTRFS_SUPER_INFO_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x8, [x21]
	add	x1, x8, #8
	mov	w2, #4
	bl	_disk_read
	mov	x8, x0
	ldr	x0, [x21]
	cbz	w8, LBB0_5
; %bb.2:
	ldr	x8, [x0, #8]
Lloh9:
	adrp	x9, _BTRFS_MAGIC_N@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BTRFS_MAGIC_N@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	str	w19, [x0, #24]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_TRACE
	bl	_btrfs_init_crc32c
	bl	_btrfs_read_sys_chunk_array
	bl	_btrfs_read_chunk_tree
	ldr	x8, [x21]
	ldr	d0, [x8, #16]
	str	d0, [sp]
	add	x0, sp, #8
	bl	_init_path
Lloh14:
	adrp	x8, _BTRFS_FS_TREE_OBJECTID@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BTRFS_FS_TREE_OBJECTID@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _BTRFS_ROOT_ITEM_KEY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BTRFS_ROOT_ITEM_KEY@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, sp
	add	x3, sp, #8
	bl	_BtrFsSearchTreeType
	cbz	w0, LBB0_8
; %bb.4:
	ldr	x20, [x21]
	add	x0, sp, #8
	bl	_path_current_data
	ldr	x8, [x0]
	str	x8, [x20]
	add	x0, sp, #8
	bl	_free_path
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_TRACE
Lloh22:
	adrp	x0, _BtrFsFuncTable@GOTPAGE
Lloh23:
	ldr	x0, [x0, _BtrFsFuncTable@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	ldr	w1, [x20]
	bl	_FrLdrTempFree
LBB0_6:
	mov	x0, #0
LBB0_7:
	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
	add	sp, sp, #64
	ret
LBB0_8:
	ldr	x0, [x21]
	ldr	w1, [x20]
	bl	_FrLdrTempFree
	add	x0, sp, #8
	bl	_free_path
	b	LBB0_6
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter BtrFsMount(%lu)\n"

	.comm	_TAG_BTRFS_INFO,4,2             ; @TAG_BTRFS_INFO
	.comm	_BtrFsInfo,8,3                  ; @BtrFsInfo
	.comm	_BTRFS_SUPER_INFO_OFFSET,4,2    ; @BTRFS_SUPER_INFO_OFFSET
	.comm	_BTRFS_MAGIC_N,8,3              ; @BTRFS_MAGIC_N
l_.str.1:                               ; @.str.1
	.asciz	"BtrFsMount(%lu) superblock magic ok\n"

	.comm	_BTRFS_FS_TREE_OBJECTID,4,2     ; @BTRFS_FS_TREE_OBJECTID
	.comm	_BTRFS_ROOT_ITEM_KEY,4,2        ; @BTRFS_ROOT_ITEM_KEY
l_.str.2:                               ; @.str.2
	.asciz	"BtrFsMount(%lu) success\n"

	.comm	_BtrFsFuncTable,4,2             ; @BtrFsFuncTable
.subsections_via_symbols
