	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	32(%rdi), %edi
	movq	_THIN_SUPERBLOCK_LOCATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	4(%rbx), %rdx
	movq	%rbx, %rcx
	callq	_dm_tm_create_with_sm
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	4(%rbx), %edi
	xorl	%esi, %esi
	callq	_dm_sm_disk_create
	movl	%eax, 8(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_DMERR
	movl	8(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r14d
	jmp	LBB0_4
LBB0_1:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rdi
	callq	_DMERR
	jmp	LBB0_15
LBB0_5:
	movl	4(%rbx), %edi
	callq	_dm_tm_create_non_blocking_clone
	movl	%eax, 12(%rbx)
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	%rbx, %rdi
	callq	___setup_btree_details
	leaq	28(%rbx), %rdi
	leaq	24(%rbx), %rsi
	callq	_dm_btree_empty
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	leaq	20(%rbx), %rdi
	leaq	16(%rbx), %rsi
	callq	_dm_btree_empty
	testl	%eax, %eax
	js	LBB0_10
## %bb.13:
	movq	%rbx, %rdi
	callq	___write_initial_superblock
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_11
## %bb.14:
	xorl	%r14d, %r14d
	jmp	LBB0_15
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	callq	_DMERR
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_12
LBB0_8:
	movl	%eax, %r14d
	jmp	LBB0_11
LBB0_10:
	movl	%eax, %r14d
	leaq	L_.str.3(%rip), %rdi
	callq	_DMERR
LBB0_11:
	movl	12(%rbx), %edi
	callq	_dm_tm_destroy
LBB0_12:
	movl	8(%rbx), %edi
	callq	_dm_sm_destroy
LBB0_4:
	movl	4(%rbx), %edi
	callq	_dm_tm_destroy
	movl	(%rbx), %edi
	callq	_dm_sm_destroy
LBB0_15:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THIN_SUPERBLOCK_LOCATION,4,2   ## @THIN_SUPERBLOCK_LOCATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tm_create_with_sm failed"

L_.str.1:                               ## @.str.1
	.asciz	"sm_disk_create failed"

L_.str.2:                               ## @.str.2
	.asciz	"could not create non-blocking clone tm"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"couldn't create devices root"

	.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:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #32]
Lloh0:
	adrp	x8, _THIN_SUPERBLOCK_LOCATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _THIN_SUPERBLOCK_LOCATION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, x19, #4
	mov	x3, x19
	bl	_dm_tm_create_with_sm
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	w0, [x19, #4]
	mov	w1, #0
	bl	_dm_sm_disk_create
	str	w0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DMERR
	ldr	w0, [x19, #8]
	bl	_PTR_ERR
	mov	x20, x0
	b	LBB0_13
LBB0_3:
	mov	x20, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMERR
	b	LBB0_14
LBB0_4:
	ldr	w0, [x19, #4]
	bl	_dm_tm_create_non_blocking_clone
	str	w0, [x19, #12]
	cbz	w0, LBB0_8
; %bb.5:
	mov	x0, x19
	bl	___setup_btree_details
	add	x0, x19, #28
	add	x1, x19, #24
	bl	_dm_btree_empty
	tbnz	w0, #31, LBB0_9
; %bb.6:
	add	x0, x19, #20
	add	x1, x19, #16
	bl	_dm_btree_empty
	tbnz	w0, #31, LBB0_10
; %bb.7:
	mov	x0, x19
	bl	___write_initial_superblock
	mov	x20, x0
	cbnz	w0, LBB0_11
	b	LBB0_14
LBB0_8:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DMERR
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_12
LBB0_9:
	mov	x20, x0
	b	LBB0_11
LBB0_10:
	mov	x20, x0
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DMERR
LBB0_11:
	ldr	w0, [x19, #12]
	bl	_dm_tm_destroy
LBB0_12:
	ldr	w0, [x19, #8]
	bl	_dm_sm_destroy
LBB0_13:
	ldr	w0, [x19, #4]
	bl	_dm_tm_destroy
	ldr	w0, [x19]
	bl	_dm_sm_destroy
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_THIN_SUPERBLOCK_LOCATION,4,2   ; @THIN_SUPERBLOCK_LOCATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tm_create_with_sm failed"

l_.str.1:                               ; @.str.1
	.asciz	"sm_disk_create failed"

l_.str.2:                               ; @.str.2
	.asciz	"could not create non-blocking clone tm"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"couldn't create devices root"

	.no_dead_strip	___format_metadata
.subsections_via_symbols
