	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __commit_transaction
___commit_transaction:                  ## @__commit_transaction
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	callq	_BUILD_BUG_ON
	movq	%rbx, %rdi
	callq	___write_changed_details
	testl	%eax, %eax
	js	LBB0_8
## %bb.1:
	movl	24(%rbx), %edi
	callq	_dm_sm_commit
	testl	%eax, %eax
	js	LBB0_8
## %bb.2:
	movl	(%rbx), %edi
	callq	_dm_tm_pre_commit
	testl	%eax, %eax
	js	LBB0_8
## %bb.3:
	movl	28(%rbx), %edi
	leaq	-40(%rbp), %rsi
	callq	_dm_sm_root_size
	testl	%eax, %eax
	js	LBB0_8
## %bb.4:
	movl	24(%rbx), %edi
	leaq	-32(%rbp), %rsi
	callq	_dm_sm_root_size
	testl	%eax, %eax
	js	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_save_sm_roots
	testl	%eax, %eax
	js	LBB0_8
## %bb.6:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_superblock_lock
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	-24(%rbp), %rdi
	callq	_dm_block_data
	movq	%rax, %r14
	movl	20(%rbx), %edi
	callq	_cpu_to_le32
	movq	%rax, 32(%r14)
	movl	16(%rbx), %edi
	callq	_cpu_to_le64
	movq	%rax, 24(%r14)
	movl	12(%rbx), %edi
	callq	_cpu_to_le64
	movq	%rax, 16(%r14)
	movl	8(%rbx), %edi
	callq	_cpu_to_le64
	movq	%rax, 8(%r14)
	movl	4(%rbx), %edi
	callq	_cpu_to_le32
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_copy_sm_roots
	movl	(%rbx), %edi
	movq	-24(%rbp), %rsi
	callq	_dm_tm_commit
LBB0_8:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___commit_transaction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __commit_transaction
___commit_transaction:                  ; @__commit_transaction
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	mov	w0, #0
	bl	_BUILD_BUG_ON
	mov	x0, x19
	bl	___write_changed_details
	tbnz	w0, #31, LBB0_8
; %bb.1:
	ldr	w0, [x19, #24]
	bl	_dm_sm_commit
	tbnz	w0, #31, LBB0_8
; %bb.2:
	ldr	w0, [x19]
	bl	_dm_tm_pre_commit
	tbnz	w0, #31, LBB0_8
; %bb.3:
	ldr	w0, [x19, #28]
	add	x1, sp, #24
	bl	_dm_sm_root_size
	tbnz	w0, #31, LBB0_8
; %bb.4:
	ldr	w0, [x19, #24]
	add	x1, sp, #16
	bl	_dm_sm_root_size
	tbnz	w0, #31, LBB0_8
; %bb.5:
	mov	x0, x19
	bl	_save_sm_roots
	tbnz	w0, #31, LBB0_8
; %bb.6:
	add	x1, sp, #8
	mov	x0, x19
	bl	_superblock_lock
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	x0, [sp, #8]
	bl	_dm_block_data
	mov	x20, x0
	ldr	w0, [x19, #20]
	bl	_cpu_to_le32
	str	x0, [x20, #32]
	ldr	w0, [x19, #16]
	bl	_cpu_to_le64
	str	x0, [x20, #24]
	ldr	w0, [x19, #12]
	bl	_cpu_to_le64
	str	x0, [x20, #16]
	ldr	w0, [x19, #8]
	bl	_cpu_to_le64
	str	x0, [x20, #8]
	ldr	w0, [x19, #4]
	bl	_cpu_to_le32
	str	x0, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_copy_sm_roots
	ldr	w0, [x19]
	ldr	x1, [sp, #8]
	bl	_dm_tm_commit
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___commit_transaction
.subsections_via_symbols
