	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __create_thin
___create_thin:                         ## @__create_thin
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	%esi, -44(%rbp)
	addq	$16, %rdi
	movl	12(%r15), %esi
	leaq	-44(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	callq	_dm_btree_lookup
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_dm_btree_empty
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movl	-48(%rbp), %edi
	callq	_cpu_to_le64
	movl	%eax, -52(%rbp)
	leaq	-52(%rbp), %rbx
	movq	%rbx, %rdi
	callq	___dm_bless_for_disk
	leaq	8(%r15), %r13
	leaq	4(%r15), %r12
	movl	4(%r15), %esi
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rcx
	movq	%r12, %r8
	callq	_dm_btree_insert
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movl	%eax, %ebx
	jmp	LBB0_5
LBB0_1:
	movq	_EEXIST@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_6:
	leaq	-64(%rbp), %rcx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	callq	___open_device
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	movl	4(%r15), %esi
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r12, %rcx
	callq	_dm_btree_remove
LBB0_5:
	movl	-48(%rbp), %esi
	movq	%r15, %rdi
	callq	_dm_btree_del
LBB0_9:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	-64(%rbp), %rdi
	callq	___close_device
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_EEXIST,4,2                     ## @EEXIST
	.no_dead_strip	___create_thin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __create_thin
___create_thin:                         ; @__create_thin
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x1
	mov	x19, x0
	str	w1, [sp, #24]
	add	x0, x0, #16
	ldr	w1, [x19, #12]
	add	x2, sp, #24
	add	x3, sp, #16
	bl	_dm_btree_lookup
	cbz	w0, LBB0_4
; %bb.1:
	add	x1, sp, #28
	mov	x0, x19
	bl	_dm_btree_empty
	mov	x21, x0
	cbnz	w0, LBB0_8
; %bb.2:
	ldr	w0, [sp, #28]
	bl	_cpu_to_le64
	str	w0, [sp, #4]
	add	x0, sp, #4
	bl	___dm_bless_for_disk
	mov	x22, x19
	ldr	w1, [x22, #4]!
	add	x23, x22, #4
	add	x2, sp, #24
	add	x3, sp, #4
	mov	x0, x23
	mov	x4, x22
	bl	_dm_btree_insert
	cbz	w0, LBB0_5
; %bb.3:
	mov	x21, x0
	b	LBB0_7
LBB0_4:
Lloh0:
	adrp	x8, _EEXIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_8
LBB0_5:
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	___open_device
	mov	x21, x0
	cbz	w0, LBB0_9
; %bb.6:
	ldr	w1, [x19, #4]
	add	x2, sp, #24
	mov	x0, x23
	mov	x3, x22
	bl	_dm_btree_remove
LBB0_7:
	ldr	w1, [sp, #28]
	mov	x0, x19
	bl	_dm_btree_del
LBB0_8:
	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
	add	sp, sp, #96
	ret
LBB0_9:
	ldr	x0, [sp, #8]
	bl	___close_device
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EEXIST,4,2                     ; @EEXIST
	.no_dead_strip	___create_thin
.subsections_via_symbols
