	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_x__write_current        ## -- Begin function svn_fs_x__write_current
	.p2align	4, 0x90
_svn_fs_x__write_current:               ## @svn_fs_x__write_current
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %edx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_apr_psprintf
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_svn_fs_x__path_current
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_svn_fs_x__path_next
	movq	%rax, %r15
	movq	_APR_WRITE@GOTPCREL(%rip), %rax
	movq	_APR_CREATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_APR_BUFFERED@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_APR_OS_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	movq	%rbx, %r8
	callq	_svn_io_file_open
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %r13
	movq	%r12, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_svn_io_file_write_full
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_svn_io_file_close
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_svn_io_copy_perms
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_svn_io_file_rename2
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%ld\n"

	.comm	_APR_WRITE,4,2                  ## @APR_WRITE
	.comm	_APR_CREATE,4,2                 ## @APR_CREATE
	.comm	_APR_BUFFERED,4,2               ## @APR_BUFFERED
	.comm	_APR_OS_DEFAULT,4,2             ## @APR_OS_DEFAULT
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_x__write_current        ; -- Begin function svn_fs_x__write_current
	.p2align	2
_svn_fs_x__write_current:               ; @svn_fs_x__write_current
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x2
	mov	x2, x1
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_apr_psprintf
	mov	x22, x0
	mov	x0, x21
	mov	x1, x19
	bl	_svn_fs_x__path_current
	mov	x20, x0
	mov	x0, x21
	mov	x1, x19
	bl	_svn_fs_x__path_next
	mov	x21, x0
Lloh2:
	adrp	x8, _APR_WRITE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _APR_WRITE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _APR_CREATE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _APR_CREATE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _APR_BUFFERED@GOTPAGE
Lloh9:
	ldr	x10, [x10, _APR_BUFFERED@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh10:
	ldr	w9, [x10]
	orr	w2, w8, w9
Lloh11:
	adrp	x8, _APR_OS_DEFAULT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _APR_OS_DEFAULT@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	add	x0, sp, #8
	mov	x1, x21
	mov	x4, x19
	bl	_svn_io_file_open
	bl	_SVN_ERR
	ldr	x23, [sp, #8]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x23
	mov	x1, x22
	mov	x3, #0
	mov	x4, x19
	bl	_svn_io_file_write_full
	bl	_SVN_ERR
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_svn_io_file_close
	bl	_SVN_ERR
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_svn_io_copy_perms
	bl	_SVN_ERR
Lloh14:
	adrp	x8, _TRUE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	_svn_io_file_rename2
	bl	_SVN_ERR
Lloh17:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%ld\n"

	.comm	_APR_WRITE,4,2                  ; @APR_WRITE
	.comm	_APR_CREATE,4,2                 ; @APR_CREATE
	.comm	_APR_BUFFERED,4,2               ; @APR_BUFFERED
	.comm	_APR_OS_DEFAULT,4,2             ; @APR_OS_DEFAULT
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
