	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_writable_final_rev
_get_writable_final_rev:                ## @get_writable_final_rev
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r13d
	movq	%rsi, %r15
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)
	movq	%rsi, %rdi
	movl	%edx, %esi
	movl	%edx, %ebx
	movq	%r9, %rdx
	callq	_svn_fs_x__path_txn_proto_rev
	movq	%rax, %r12
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	%r14, %rdx
	callq	_svn_fs_x__path_rev
	movq	%rax, %r13
	leaq	-72(%rbp), %rax
	movq	%rax, -88(%rbp)
	movl	%ebx, -80(%rbp)
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movq	_get_writable_proto_rev_body@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rcx
	callq	_with_txnlist_lock
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r14, %rcx
	callq	_svn_io_file_rename2
	movl	%eax, %r12d
	movq	-72(%rbp), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rcx
	callq	_unlock_proto_rev
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_svn_error_compose_create
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_svn_fs_x__batch_fsync_new_path
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_svn_fs_x__batch_fsync_open_file
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	(%rbx), %rdi
	movq	_APR_END@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rcx
	callq	_svn_io_file_seek
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	(%rbx), %rsi
	movl	-44(%rbp), %edx
	movq	%r15, %rdi
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	%r14, %r8
	callq	_auto_truncate_proto_rev
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_get_writable_proto_rev_body,4,2 ## @get_writable_proto_rev_body
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_APR_END,4,2                    ## @APR_END
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_get_writable_final_rev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_writable_final_rev
_get_writable_final_rev:                ; @get_writable_final_rev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x5
	mov	x23, x4
	mov	x24, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	str	wzr, [sp, #12]
	mov	x0, x1
	mov	x1, x2
	mov	x2, x5
	bl	_svn_fs_x__path_txn_proto_rev
	mov	x25, x0
	mov	x0, x21
	mov	x1, x24
	mov	x2, x19
	bl	_svn_fs_x__path_rev
	mov	x24, x0
	mov	x8, sp
	str	x8, [sp, #16]
	str	w20, [sp, #24]
Lloh0:
	adrp	x8, _get_writable_proto_rev_body@GOTPAGE
Lloh1:
	ldr	x8, [x8, _get_writable_proto_rev_body@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #16
	mov	x0, x21
	mov	x3, x19
	bl	_with_txnlist_lock
	bl	_SVN_ERR
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x25
	mov	x1, x24
	mov	x3, x19
	bl	_svn_io_file_rename2
	mov	x25, x0
	ldr	x2, [sp]
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	_unlock_proto_rev
	mov	x1, x0
	mov	x0, x25
	bl	_svn_error_compose_create
	bl	_SVN_ERR
	mov	x0, x23
	mov	x1, x24
	mov	x2, x19
	bl	_svn_fs_x__batch_fsync_new_path
	bl	_SVN_ERR
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	mov	x3, x19
	bl	_svn_fs_x__batch_fsync_open_file
	bl	_SVN_ERR
	ldr	x0, [x22]
Lloh6:
	adrp	x8, _APR_END@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APR_END@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x3, x19
	bl	_svn_io_file_seek
	bl	_SVN_ERR
	ldr	x1, [x22]
	ldr	w2, [sp, #12]
	mov	x0, x21
	mov	x3, x20
	mov	x4, x19
	bl	_auto_truncate_proto_rev
	bl	_SVN_ERR
Lloh9:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_get_writable_proto_rev_body,4,2 ; @get_writable_proto_rev_body
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_APR_END,4,2                    ; @APR_END
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_get_writable_final_rev
.subsections_via_symbols
