	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs__editor_commit          ## -- Begin function svn_fs__editor_commit
	.p2align	4, 0x90
_svn_fs__editor_commit:                 ## @svn_fs__editor_commit
	.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
	movq	%r9, %rbx
	movq	%r8, %r15
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rdi
	callq	_svn_editor_get_baton
	cmpq	$0, 8(%rax)
	je	LBB0_1
## %bb.10:
	movq	_SVN_ERR_FS_INCORRECT_EDITOR_COMPLETION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_create               ## TAILCALL
LBB0_1:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %r15
	movq	_SVN_INVALID_REVNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	$0, (%r12)
	movq	$0, (%r13)
	movq	%r14, %rdi
	callq	_svn_editor_complete
	movq	%rax, %rbx
	movq	(%r15), %rdx
	testq	%rax, %rax
	je	LBB0_2
## %bb.11:
	movq	$0, (%r15)
	movq	%rdx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_svn_fs_abort_txn
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_svn_error_compose_create
	movq	%rax, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_trace                ## TAILCALL
LBB0_2:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	leaq	-80(%rbp), %rdi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_svn_fs_commit_txn
	movq	%rax, %rbx
	movl	(%r14), %edi
	callq	_SVN_IS_VALID_REVNUM
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.5:
	movq	%rbx, (%r12)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	jmp	LBB0_9
LBB0_6:
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_SVN_ERR_ASSERT
	movq	(%rbx), %rax
	movq	_SVN_ERR_FS_CONFLICT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	-80(%rbp), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_apr_pstrdup
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	%rbx, %rdi
	callq	_svn_error_clear
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_8:
	movq	(%r15), %rdi
	movq	%r13, %rsi
	callq	_svn_fs_abort_txn
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_svn_error_compose_create
	movq	%rax, %rdi
	jmp	LBB0_9
LBB0_4:
	xorl	%edi, %edi
LBB0_9:
	movq	$0, (%r15)
	callq	_svn_error_trace
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_FS_INCORRECT_EDITOR_COMPLETION,4,2 ## @SVN_ERR_FS_INCORRECT_EDITOR_COMPLETION
	.comm	_SVN_INVALID_REVNUM,4,2         ## @SVN_INVALID_REVNUM
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_SVN_ERR_FS_CONFLICT,8,3        ## @SVN_ERR_FS_CONFLICT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs__editor_commit          ; -- Begin function svn_fs__editor_commit
	.p2align	2
_svn_fs__editor_commit:                 ; @svn_fs__editor_commit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x5
	mov	x22, x4
	mov	x23, x3
	mov	x21, x2
	mov	x24, x1
	mov	x25, x0
	mov	x0, x3
	bl	_svn_editor_get_baton
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SVN_ERR_FS_INCORRECT_EDITOR_COMPLETION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_ERR_FS_INCORRECT_EDITOR_COMPLETION@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, #0
	mov	x2, #0
	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
	add	sp, sp, #96
	b	_svn_error_create
LBB0_2:
	mov	x19, x0
Lloh3:
	adrp	x8, _SVN_INVALID_REVNUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_INVALID_REVNUM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x25]
	str	xzr, [x24]
	str	xzr, [x21]
	mov	x0, x23
	bl	_svn_editor_complete
	ldr	x2, [x19]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x23, x0
	str	xzr, [x19]
	mov	x0, x2
	mov	x1, x20
	bl	_svn_fs_abort_txn
	mov	x1, x0
	mov	x0, x23
	bl	_svn_error_compose_create
	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
	add	sp, sp, #96
	b	_svn_error_trace
LBB0_4:
	add	x0, sp, #8
	mov	x1, x25
	mov	x3, x20
	bl	_svn_fs_commit_txn
	mov	x23, x0
	ldr	w0, [x25]
	bl	_SVN_IS_VALID_REVNUM
	cbz	x0, LBB0_7
; %bb.5:
	cbz	x23, LBB0_10
; %bb.6:
	str	x23, [x24]
Lloh6:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	b	LBB0_11
LBB0_7:
	cmp	x23, #0
	cset	w0, ne
	bl	_SVN_ERR_ASSERT
	ldr	x8, [x23]
Lloh9:
	adrp	x9, _SVN_ERR_FS_CONFLICT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SVN_ERR_FS_CONFLICT@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	ldr	x1, [sp, #8]
	mov	x0, x22
	bl	_apr_pstrdup
	str	x0, [x21]
	mov	x0, x23
	bl	_svn_error_clear
Lloh12:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	x23, [x8]
LBB0_9:
	ldr	x0, [x19]
	mov	x1, x20
	bl	_svn_fs_abort_txn
	mov	x1, x0
	mov	x0, x23
	bl	_svn_error_compose_create
	b	LBB0_11
LBB0_10:
	mov	x0, #0
LBB0_11:
	str	xzr, [x19]
	bl	_svn_error_trace
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_FS_INCORRECT_EDITOR_COMPLETION,4,2 ; @SVN_ERR_FS_INCORRECT_EDITOR_COMPLETION
	.comm	_SVN_INVALID_REVNUM,4,2         ; @SVN_INVALID_REVNUM
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_SVN_ERR_FS_CONFLICT,8,3        ; @SVN_ERR_FS_CONFLICT
.subsections_via_symbols
