	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dm_tm_create_internal
_dm_tm_create_internal:                 ## @dm_tm_create_internal
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	16(%rbp), %r12
	xorl	%eax, %eax
	callq	_dm_sm_metadata_init
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	(%rbx), %rsi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rsi, %rdi
	jmp	LBB0_4
LBB0_2:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	callq	_dm_tm_create
	movq	%rax, (%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	movq	%r15, %r12
	je	LBB0_5
## %bb.3:
	movq	(%rbx), %rdi
	callq	_dm_sm_destroy
	movq	(%r12), %rdi
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_5:
	movq	%r14, %rdi
	movq	(%rbx), %r15
	movq	(%r12), %r14
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.6:
	callq	_dm_bm_nr_blocks
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_dm_sm_metadata_create
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_10
LBB0_8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_dm_sm_metadata_open
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rdi
LBB0_10:
	callq	_DMERR
	movq	(%r12), %rdi
	callq	_dm_tm_destroy
	movq	(%rbx), %rdi
	callq	_dm_sm_destroy
	jmp	LBB0_13
LBB0_12:
	xorl	%r15d, %r15d
LBB0_13:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"couldn't create metadata space map"

L_.str.1:                               ## @.str.1
	.asciz	"couldn't open metadata space map"

	.no_dead_strip	_dm_tm_create_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dm_tm_create_internal
_dm_tm_create_internal:                 ; @dm_tm_create_internal
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x6
	mov	x23, x5
	mov	x25, x4
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x24, x0
	bl	_dm_sm_metadata_init
	str	x0, [x19]
	bl	_IS_ERR
	ldr	x1, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x1
	b	LBB0_4
LBB0_2:
	mov	x0, x24
	bl	_dm_tm_create
	str	x0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x0, [x19]
	bl	_dm_sm_destroy
	ldr	x0, [x20]
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_5:
	ldr	x26, [x19]
	ldr	x27, [x20]
	cbz	w25, LBB0_8
; %bb.6:
	mov	x0, x24
	bl	_dm_bm_nr_blocks
	mov	x2, x0
	mov	x0, x26
	mov	x1, x27
	mov	x3, x21
	bl	_dm_sm_metadata_create
	mov	x21, x0
	cbz	w0, LBB0_11
; %bb.7:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_8:
	mov	x0, x26
	mov	x1, x27
	mov	x2, x23
	mov	x3, x22
	bl	_dm_sm_metadata_open
	mov	x21, x0
	cbz	w0, LBB0_11
; %bb.9:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_10:
	bl	_DMERR
	ldr	x0, [x20]
	bl	_dm_tm_destroy
	ldr	x0, [x19]
	bl	_dm_sm_destroy
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"couldn't create metadata space map"

l_.str.1:                               ; @.str.1
	.asciz	"couldn't open metadata space map"

	.no_dead_strip	_dm_tm_create_internal
.subsections_via_symbols
