	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rep_write_get_baton
_rep_write_get_baton:                   ## @rep_write_get_baton
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movl	$0, -64(%rbp)
	movl	(%rdx), %edi
	callq	_svn_fs_x__get_txn_id
	movl	%eax, %r14d
	movq	%r15, %rdi
	movl	$88, %esi
	callq	_apr_pcalloc
	movq	%rax, %rbx
	movq	_svn_checksum_sha1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_svn_checksum_ctx_create
	movq	%rax, 80(%rbx)
	movq	_svn_checksum_md5@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_svn_checksum_ctx_create
	movq	%rax, 72(%rbx)
	movq	%r12, 64(%rbx)
	movq	%r15, (%rbx)
	movq	%r15, %rdi
	callq	_svn_pool_create
	movl	%eax, 16(%rbx)
	movq	$0, 56(%rbx)
	movq	%r13, 48(%rbx)
	leaq	40(%rbx), %rsi
	leaq	-56(%rbp), %rdi
	movq	%r12, %rdx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_get_writable_proto_rev
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdi
	movq	%rdi, 32(%rbx)
	leaq	28(%rbx), %r14
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %edx
	callq	_svn_stream_from_aprfile2
	movl	16(%rbx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_svn_checksum__wrap_write_stream_fnv1a_32x4
	movl	%eax, 12(%rbx)
	leaq	24(%rbx), %rdi
	movq	-56(%rbp), %rsi
	movl	16(%rbx), %edx
	callq	_svn_io_file_get_offset
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	16(%rbx), %r8d
	leaq	-48(%rbp), %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_choose_delta_base
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	16(%rbx), %r8d
	leaq	-112(%rbp), %rdi
	movq	%r12, %rsi
	callq	_svn_fs_x__get_contents
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	8(%rax), %edi
	callq	_svn_fs_x__get_revnum
	movl	%eax, -68(%rbp)
	movq	-48(%rbp), %rax
	movl	4(%rax), %ecx
	movl	%ecx, -72(%rbp)
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	_svn_fs_x__rep_delta@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_svn_fs_x__rep_self_delta@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movl	12(%rbx), %esi
	movl	16(%rbx), %edx
	leaq	-80(%rbp), %rdi
	callq	_svn_fs_x__write_rep_header
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%rbx, %rdi
	addq	$20, %rdi
	movq	-56(%rbp), %rsi
	movl	16(%rbx), %edx
	callq	_svn_io_file_get_offset
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	16(%rbx), %edi
	movq	_rep_write_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_apr_pool_cleanup_null@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	callq	_apr_pool_cleanup_register
	movl	12(%rbx), %edi
	movq	(%rbx), %rsi
	callq	_svn_stream_disown
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %r8d
	leaq	-60(%rbp), %rdi
	leaq	-104(%rbp), %rsi
	movl	%eax, %edx
	movl	$1, %ecx
	movq	%r15, %r9
	callq	_svn_txdelta_to_svndiff3
	movl	-60(%rbp), %edi
	movq	-104(%rbp), %rsi
	movq	-112(%rbp), %rdx
	movq	(%rbx), %rcx
	callq	_svn_txdelta_target_push
	movl	%eax, 8(%rbx)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_svn_checksum_sha1,4,2          ## @svn_checksum_sha1
	.comm	_svn_checksum_md5,4,2           ## @svn_checksum_md5
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_svn_fs_x__rep_delta,4,2        ## @svn_fs_x__rep_delta
	.comm	_svn_fs_x__rep_self_delta,4,2   ## @svn_fs_x__rep_self_delta
	.comm	_rep_write_cleanup,4,2          ## @rep_write_cleanup
	.comm	_apr_pool_cleanup_null,4,2      ## @apr_pool_cleanup_null
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_rep_write_get_baton
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rep_write_get_baton
_rep_write_get_baton:                   ; @rep_write_get_baton
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x3
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x25, [x1]
	stp	xzr, xzr, [sp]
	str	wzr, [sp, #16]
	ldr	w0, [x2]
	bl	_svn_fs_x__get_txn_id
	mov	x24, x0
	mov	x0, x20
	mov	w1, #88
	bl	_apr_pcalloc
	mov	x21, x0
Lloh0:
	adrp	x8, _svn_checksum_sha1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _svn_checksum_sha1@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_svn_checksum_ctx_create
	str	x0, [x21, #80]
Lloh3:
	adrp	x8, _svn_checksum_md5@GOTPAGE
Lloh4:
	ldr	x8, [x8, _svn_checksum_md5@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_svn_checksum_ctx_create
	stp	x22, x0, [x21, #64]
	str	x20, [x21]
	mov	x0, x20
	bl	_svn_pool_create
	mov	x4, x0
	str	w0, [x21, #16]
	stp	x23, xzr, [x21, #48]
	add	x1, x21, #40
	add	x0, sp, #56
	mov	x2, x22
	mov	x3, x24
	bl	_get_writable_proto_rev
	bl	_SVN_ERR
	ldr	x0, [sp, #56]
	str	x0, [x21, #32]
	add	x24, x21, #28
Lloh6:
	adrp	x26, _TRUE@GOTPAGE
Lloh7:
	ldr	x26, [x26, _TRUE@GOTPAGEOFF]
	ldr	w1, [x26]
	ldr	w2, [x21, #16]
	bl	_svn_stream_from_aprfile2
	mov	x1, x0
	ldr	w2, [x21, #16]
	mov	x0, x24
	bl	_svn_checksum__wrap_write_stream_fnv1a_32x4
	str	w0, [x21, #12]
	add	x0, x21, #24
	ldr	x1, [sp, #56]
	ldr	w2, [x21, #16]
	bl	_svn_io_file_get_offset
	bl	_SVN_ERR
Lloh8:
	adrp	x8, _FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	ldr	w4, [x21, #16]
	add	x0, sp, #48
	mov	x1, x22
	mov	x2, x23
	bl	_choose_delta_base
	bl	_SVN_ERR
	ldr	x2, [sp, #48]
	ldr	w3, [x26]
	ldr	w4, [x21, #16]
	add	x0, sp, #40
	mov	x1, x22
	bl	_svn_fs_x__get_contents
	bl	_SVN_ERR
	ldr	x8, [sp, #48]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x8, #8]
	bl	_svn_fs_x__get_revnum
	str	w0, [sp, #12]
	ldr	x8, [sp, #48]
	ldr	d0, [x8]
	stur	d0, [sp, #4]
Lloh11:
	adrp	x8, _svn_fs_x__rep_delta@GOTPAGE
Lloh12:
	ldr	x8, [x8, _svn_fs_x__rep_delta@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh13:
	adrp	x8, _svn_fs_x__rep_self_delta@GOTPAGE
Lloh14:
	ldr	x8, [x8, _svn_fs_x__rep_self_delta@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	str	w8, [sp]
	ldp	w1, w2, [x21, #12]
	mov	x0, sp
	bl	_svn_fs_x__write_rep_header
	bl	_SVN_ERR
	add	x0, x21, #20
	ldr	x1, [sp, #56]
	ldr	w2, [x21, #16]
	bl	_svn_io_file_get_offset
	bl	_SVN_ERR
	ldr	w0, [x21, #16]
Lloh15:
	adrp	x8, _rep_write_cleanup@GOTPAGE
Lloh16:
	ldr	x8, [x8, _rep_write_cleanup@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x8, _apr_pool_cleanup_null@GOTPAGE
Lloh19:
	ldr	x8, [x8, _apr_pool_cleanup_null@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x1, x21
	bl	_apr_pool_cleanup_register
	ldr	w0, [x21, #12]
	ldr	x1, [x21]
	bl	_svn_stream_disown
	mov	x2, x0
	ldr	w4, [x25]
	add	x0, sp, #36
	add	x1, sp, #24
	mov	w3, #1
	mov	x5, x20
	bl	_svn_txdelta_to_svndiff3
	ldr	w0, [sp, #36]
	ldr	x1, [sp, #24]
	ldr	x2, [sp, #40]
	ldr	x3, [x21]
	bl	_svn_txdelta_target_push
	str	w0, [x21, #8]
	str	x21, [x19]
Lloh21:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_svn_checksum_sha1,4,2          ; @svn_checksum_sha1
	.comm	_svn_checksum_md5,4,2           ; @svn_checksum_md5
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_svn_fs_x__rep_delta,4,2        ; @svn_fs_x__rep_delta
	.comm	_svn_fs_x__rep_self_delta,4,2   ; @svn_fs_x__rep_self_delta
	.comm	_rep_write_cleanup,4,2          ; @rep_write_cleanup
	.comm	_apr_pool_cleanup_null,4,2      ; @apr_pool_cleanup_null
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_rep_write_get_baton
.subsections_via_symbols
