	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __format_metadata
___format_metadata:                     ## @__format_metadata
	.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
	movq	%rdi, %rbx
	movl	20(%rdi), %edi
	movq	_SUPERBLOCK_LOCATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	4(%rbx), %rcx
	movq	%rbx, %rdx
	callq	_dm_tm_create_with_sm
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMERR
	jmp	LBB0_17
LBB0_2:
	movl	(%rbx), %edi
	leaq	16(%rbx), %r15
	movq	%r15, %rsi
	callq	_dm_disk_bitset_init
	leaq	12(%rbx), %r12
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_dm_bitset_empty
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rdi
LBB0_15:
	xorl	%eax, %eax
	callq	_DMERR
	jmp	LBB0_16
LBB0_4:
	movl	8(%rbx), %ecx
	movl	12(%rbx), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	movq	%r12, %r9
	callq	_dm_bitset_resize
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r14d
	movl	8(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMERR
LBB0_16:
	movl	4(%rbx), %edi
	callq	_dm_sm_destroy
	movl	(%rbx), %edi
	callq	_dm_tm_destroy
LBB0_17:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	(%rbx), %edi
	callq	_dm_tm_pre_commit
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %r14d
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_15
LBB0_8:
	movq	%rbx, %rdi
	callq	___copy_sm_root
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %r14d
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_15
LBB0_10:
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_superblock_write_lock_zero
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %r14d
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_15
LBB0_12:
	movq	-40(%rbp), %rdi
	callq	_dm_block_data
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	___prepare_superblock
	movl	(%rbx), %edi
	movq	-40(%rbp), %rsi
	callq	_dm_tm_commit
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	movl	%eax, %r14d
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_15
LBB0_13:
	xorl	%r14d, %r14d
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_SUPERBLOCK_LOCATION,4,2        ## @SUPERBLOCK_LOCATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to create transaction manager"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to create empty on-disk bitset"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to resize on-disk bitset to %lu entries"

L_.str.3:                               ## @.str.3
	.asciz	"dm_tm_pre_commit failed"

L_.str.4:                               ## @.str.4
	.asciz	"__copy_sm_root failed"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to write_lock superblock"

L_.str.6:                               ## @.str.6
	.asciz	"Failed to commit superblock"

	.no_dead_strip	___format_metadata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __format_metadata
___format_metadata:                     ; @__format_metadata
	.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
	ldr	w0, [x0, #20]
Lloh0:
	adrp	x8, _SUPERBLOCK_LOCATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUPERBLOCK_LOCATION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x3, x19, #4
	mov	x2, x19
	bl	_dm_tm_create_with_sm
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMERR
	b	LBB0_15
LBB0_2:
	mov	x21, x19
	ldr	w0, [x21], #12
	add	x22, x19, #16
	mov	x1, x22
	bl	_dm_disk_bitset_init
	mov	x0, x22
	mov	x1, x21
	bl	_dm_bitset_empty
	cbz	w0, LBB0_4
; %bb.3:
	mov	x20, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_4:
	ldp	w3, w1, [x19, #8]
	mov	x0, x22
	mov	w2, #0
	mov	w4, #0
	mov	x5, x21
	bl	_dm_bitset_resize
	cbz	w0, LBB0_6
; %bb.5:
	mov	x20, x0
	ldr	w8, [x19, #8]
	str	x8, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_6:
	ldr	w0, [x19]
	bl	_dm_tm_pre_commit
	cbz	w0, LBB0_8
; %bb.7:
	mov	x20, x0
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_8:
	mov	x0, x19
	bl	___copy_sm_root
	cbz	w0, LBB0_10
; %bb.9:
	mov	x20, x0
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_14
LBB0_10:
	add	x1, sp, #8
	mov	x0, x19
	bl	_superblock_write_lock_zero
	cbz	w0, LBB0_12
; %bb.11:
	mov	x20, x0
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_14
LBB0_12:
	ldr	x0, [sp, #8]
	bl	_dm_block_data
	mov	x1, x0
	mov	x0, x19
	bl	___prepare_superblock
	ldr	w0, [x19]
	ldr	x1, [sp, #8]
	bl	_dm_tm_commit
	mov	x20, x0
	cbz	w0, LBB0_15
; %bb.13:
Lloh15:
	adrp	x0, l_.str.6@PAGE
Lloh16:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_14:
	bl	_DMERR
	ldr	w0, [x19, #4]
	bl	_dm_sm_destroy
	ldr	w0, [x19]
	bl	_dm_tm_destroy
LBB0_15:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPERBLOCK_LOCATION,4,2        ; @SUPERBLOCK_LOCATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to create transaction manager"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to create empty on-disk bitset"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to resize on-disk bitset to %lu entries"

l_.str.3:                               ; @.str.3
	.asciz	"dm_tm_pre_commit failed"

l_.str.4:                               ; @.str.4
	.asciz	"__copy_sm_root failed"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to write_lock superblock"

l_.str.6:                               ; @.str.6
	.asciz	"Failed to commit superblock"

	.no_dead_strip	___format_metadata
.subsections_via_symbols
