	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function close_edit
_close_edit:                            ## @close_edit
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_SVN_INVALID_REVNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	16(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	leaq	-48(%rbp), %rdi
	leaq	-36(%rbp), %rdx
	movq	%r14, %r8
	callq	_svn_repos_fs_commit_txn
	movq	%rax, %r15
	movl	-36(%rbp), %edi
	callq	_SVN_IS_VALID_REVNUM
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_svn_fs_close_root
LBB0_4:
	testq	%r15, %r15
	je	LBB0_5
## %bb.6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_svn_repos__post_commit_error_str
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_svn_error_clear
	jmp	LBB0_7
LBB0_10:
	movq	_SVN_ERR_REPOS_BAD_ARGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	xorl	%esi, %esi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_create               ## TAILCALL
LBB0_8:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	16(%rbx), %rdi
	movq	%r14, %rsi
	callq	_svn_fs_abort_txn
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_svn_error_compose_create
	jmp	LBB0_9
LBB0_5:
	xorl	%r12d, %r12d
LBB0_7:
	movq	$0, 16(%rbx)
	movq	$0, 32(%rbx)
	movl	12(%rbx), %edi
	movl	8(%rbx), %esi
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movl	-36(%rbp), %ecx
	movq	%r12, %r8
	movq	%r14, %r9
	callq	_invoke_commit_cb
LBB0_9:
	movl	%eax, %edi
	callq	_svn_error_trace
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_INVALID_REVNUM,4,2         ## @SVN_INVALID_REVNUM
	.comm	_SVN_ERR_REPOS_BAD_ARGS,4,2     ## @SVN_ERR_REPOS_BAD_ARGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No valid transaction supplied to close_edit"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_close_edit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function close_edit
_close_edit:                            ; @close_edit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _SVN_INVALID_REVNUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_INVALID_REVNUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	x3, [x0, #16]
	cbz	x3, LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x1, [x0]
	mov	x0, sp
	add	x2, sp, #12
	mov	x4, x19
	bl	_svn_repos_fs_commit_txn
	mov	x21, x0
	ldr	w0, [sp, #12]
	bl	_SVN_IS_VALID_REVNUM
	cbz	x0, LBB0_7
; %bb.2:
	ldr	x0, [x20, #32]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_svn_fs_close_root
LBB0_4:
	cbz	x21, LBB0_8
; %bb.5:
	mov	x0, x21
	mov	x1, x19
	bl	_svn_repos__post_commit_error_str
	mov	x22, x0
	mov	x0, x21
	bl	_svn_error_clear
	b	LBB0_9
LBB0_6:
Lloh3:
	adrp	x8, _SVN_ERR_REPOS_BAD_ARGS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_ERR_REPOS_BAD_ARGS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_svn_error_create
LBB0_7:
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	ldr	x0, [x20, #16]
	mov	x1, x19
	bl	_svn_fs_abort_txn
	mov	x1, x0
	mov	x0, x21
	bl	_svn_error_compose_create
	b	LBB0_10
LBB0_8:
	mov	x22, #0
LBB0_9:
	str	xzr, [x20, #16]
	str	xzr, [x20, #32]
	ldp	w1, w0, [x20, #8]
	ldr	x8, [x20]
	ldr	w2, [x8]
	ldr	w3, [sp, #12]
	mov	x4, x22
	mov	x5, x19
	bl	_invoke_commit_cb
LBB0_10:
	bl	_svn_error_trace
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_INVALID_REVNUM,4,2         ; @SVN_INVALID_REVNUM
	.comm	_SVN_ERR_REPOS_BAD_ARGS,4,2     ; @SVN_ERR_REPOS_BAD_ARGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No valid transaction supplied to close_edit"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_close_edit
.subsections_via_symbols
