	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	56(%rdi), %edi
	movq	_CACHE_SUPERBLOCK_LOCATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	8(%rbx), %r15
	leaq	4(%rbx), %r14
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_dm_tm_create_with_sm
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	___setup_mapping_info
	leaq	52(%rbx), %rdi
	leaq	48(%rbx), %rsi
	callq	_dm_array_empty
	testl	%eax, %eax
	js	LBB0_3
## %bb.5:
	movq	%rbx, %rdi
	callq	_separate_dirty_bits
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	8(%rbx), %edi
	leaq	44(%rbx), %r12
	movq	%r12, %rsi
	callq	_dm_disk_bitset_init
	leaq	40(%rbx), %rsi
	movq	%r12, %rdi
	callq	_dm_bitset_empty
	testl	%eax, %eax
	js	LBB0_3
LBB0_7:
	movl	8(%rbx), %edi
	leaq	36(%rbx), %r12
	movq	%r12, %rsi
	callq	_dm_disk_bitset_init
	leaq	32(%rbx), %rsi
	movq	%r12, %rdi
	callq	_dm_bitset_empty
	testl	%eax, %eax
	js	LBB0_3
## %bb.8:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	%rbx, %rdi
	callq	___write_initial_superblock
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.9:
	movl	$1, (%rbx)
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_3:
	movl	%eax, %r12d
LBB0_4:
	movl	(%r15), %edi
	callq	_dm_tm_destroy
	movl	(%r14), %edi
	callq	_dm_sm_destroy
	jmp	LBB0_10
LBB0_1:
	movl	%eax, %r12d
	leaq	L_.str(%rip), %rdi
	callq	_DMERR
LBB0_10:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CACHE_SUPERBLOCK_LOCATION,4,2  ## @CACHE_SUPERBLOCK_LOCATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tm_create_with_sm failed"

	.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x0
	ldr	w0, [x0, #56]
Lloh0:
	adrp	x8, _CACHE_SUPERBLOCK_LOCATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CACHE_SUPERBLOCK_LOCATION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x20, x21, #8
	add	x19, x21, #4
	mov	x2, x20
	mov	x3, x19
	bl	_dm_tm_create_with_sm
	tbnz	w0, #31, LBB0_9
; %bb.1:
	mov	x0, x21
	bl	___setup_mapping_info
	add	x0, x21, #52
	add	x1, x21, #48
	bl	_dm_array_empty
	tbnz	w0, #31, LBB0_7
; %bb.2:
	mov	x0, x21
	bl	_separate_dirty_bits
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x21, #8]
	add	x22, x21, #44
	mov	x1, x22
	bl	_dm_disk_bitset_init
	add	x1, x21, #40
	mov	x0, x22
	bl	_dm_bitset_empty
	tbnz	w0, #31, LBB0_7
LBB0_4:
	ldr	w0, [x21, #8]
	add	x22, x21, #36
	mov	x1, x22
	bl	_dm_disk_bitset_init
	add	x1, x21, #32
	mov	x0, x22
	bl	_dm_bitset_empty
	tbnz	w0, #31, LBB0_7
; %bb.5:
	stp	xzr, xzr, [x21, #16]
	mov	x0, x21
	bl	___write_initial_superblock
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.6:
	mov	w8, #1
	str	w8, [x21]
	b	LBB0_10
LBB0_7:
	mov	x22, x0
LBB0_8:
	ldr	w0, [x20]
	bl	_dm_tm_destroy
	ldr	w0, [x19]
	bl	_dm_sm_destroy
	b	LBB0_10
LBB0_9:
	mov	x22, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMERR
LBB0_10:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CACHE_SUPERBLOCK_LOCATION,4,2  ; @CACHE_SUPERBLOCK_LOCATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tm_create_with_sm failed"

	.no_dead_strip	___format_metadata
.subsections_via_symbols
