	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apply_textdelta
_apply_textdelta:                       ## @apply_textdelta
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r15
	cmpq	$0, 64(%rdi)
	je	LBB0_2
LBB0_1:
	movq	_svn_delta_noop_window_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	$0, (%r14)
LBB0_11:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rdi, %rbx
	movq	40(%rdi), %rdi
	cmpl	$0, (%rdi)
	je	LBB0_3
## %bb.4:
	movq	%rsi, %r13
	movq	8(%rbx), %r12
	cmpl	$0, 48(%rbx)
	je	LBB0_5
## %bb.6:
	leaq	32(%rbx), %rsi
	callq	_get_empty_file
	jmp	LBB0_7
LBB0_3:
	leaq	32(%rbx), %rsi
	callq	_get_empty_file
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	40(%rbx), %rdi
	addq	$56, %rbx
	movq	%rbx, %rsi
	callq	_get_empty_file
	movl	%eax, %edi
	callq	_SVN_ERR
	jmp	LBB0_1
LBB0_5:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_get_file_from_ra
LBB0_7:
	movl	%eax, %edi
	callq	_SVN_ERR
	xorl	%edi, %edi
	cmpq	$0, 32(%rbx)
	setne	%dil
	callq	_SVN_ERR_ASSERT
	testq	%r13, %r13
	je	LBB0_10
## %bb.8:
	movq	_svn_checksum_md5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_svn_checksum_parse_hex
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	movl	24(%rbx), %esi
	callq	_svn_checksum_match
	testl	%eax, %eax
	je	LBB0_9
LBB0_10:
	movq	_lazy_open_source@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	movq	%r12, %rcx
	callq	_svn_stream_lazyopen_create
	movq	%rax, %r13
	movq	_lazy_open_result@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	movq	%r12, %rcx
	callq	_svn_stream_lazyopen_create
	movl	20(%rbx), %edx
	movl	16(%rbx), %ecx
	movq	8(%rbx), %r8
	leaq	4(%rbx), %r9
	movq	%rbx, (%rsp)
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_svn_txdelta_apply
	movq	_window_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%rbx, (%r14)
	jmp	LBB0_11
LBB0_9:
	movq	-48(%rbp), %r14
	movl	24(%rbx), %r15d
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	16(%rbx), %r8d
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%r12, %rdx
	movl	%eax, %ecx
	callq	_svn_checksum_mismatch_err
	movl	%eax, %edi
	callq	_svn_error_trace
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_svn_delta_noop_window_handler,4,2 ## @svn_delta_noop_window_handler
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_svn_checksum_md5,4,2           ## @svn_checksum_md5
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Base checksum mismatch for '%s'"

	.comm	_lazy_open_source,4,2           ## @lazy_open_source
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_lazy_open_result,4,2           ## @lazy_open_result
	.comm	_window_handler,4,2             ## @window_handler
	.no_dead_strip	_apply_textdelta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_textdelta
_apply_textdelta:                       ; @apply_textdelta
	.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, x4
	mov	x20, x3
	ldr	x8, [x0, #64]
	cbz	x8, LBB0_4
LBB0_1:
Lloh0:
	adrp	x8, _svn_delta_noop_window_handler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _svn_delta_noop_window_handler@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20]
	str	xzr, [x19]
LBB0_2:
Lloh3:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
LBB0_3:
	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
LBB0_4:
	mov	x21, x0
	ldr	x0, [x0, #40]
	ldr	w8, [x0]
	cbz	w8, LBB0_7
; %bb.5:
	mov	x23, x1
	ldr	x22, [x21, #8]
	ldr	w8, [x21, #48]
	cbz	w8, LBB0_8
; %bb.6:
	add	x1, x21, #32
	bl	_get_empty_file
	b	LBB0_9
LBB0_7:
	add	x1, x21, #32
	bl	_get_empty_file
	bl	_SVN_ERR
	ldr	x0, [x21, #40]
	add	x1, x21, #56
	bl	_get_empty_file
	bl	_SVN_ERR
	b	LBB0_1
LBB0_8:
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x22
	bl	_get_file_from_ra
LBB0_9:
	bl	_SVN_ERR
	ldr	x8, [x21, #32]
	cmp	x8, #0
	cset	w0, ne
	bl	_SVN_ERR_ASSERT
	cbz	x23, LBB0_11
; %bb.10:
Lloh9:
	adrp	x8, _svn_checksum_md5@GOTPAGE
Lloh10:
	ldr	x8, [x8, _svn_checksum_md5@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	x2, x23
	mov	x3, x22
	bl	_svn_checksum_parse_hex
	bl	_SVN_ERR
	ldr	x0, [sp, #8]
	ldr	w1, [x21, #24]
	bl	_svn_checksum_match
	cbz	w0, LBB0_12
LBB0_11:
Lloh12:
	adrp	x8, _lazy_open_source@GOTPAGE
Lloh13:
	ldr	x8, [x8, _lazy_open_source@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x24, _TRUE@GOTPAGE
Lloh16:
	ldr	x24, [x24, _TRUE@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x1, x21
	mov	x3, x22
	bl	_svn_stream_lazyopen_create
	mov	x23, x0
Lloh17:
	adrp	x8, _lazy_open_result@GOTPAGE
Lloh18:
	ldr	x8, [x8, _lazy_open_result@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldr	w2, [x24]
	mov	x1, x21
	mov	x3, x22
	bl	_svn_stream_lazyopen_create
	mov	x1, x0
	ldp	w3, w2, [x21, #16]
	add	x5, x21, #4
	ldr	x4, [x21, #8]
	mov	x0, x23
	mov	x6, x21
	bl	_svn_txdelta_apply
Lloh20:
	adrp	x8, _window_handler@GOTPAGE
Lloh21:
	ldr	x8, [x8, _window_handler@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x20]
	str	x21, [x19]
	b	LBB0_2
LBB0_12:
	ldr	x19, [sp, #8]
	ldr	w20, [x21, #24]
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x3, x0
	ldr	w4, [x21, #16]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_svn_checksum_mismatch_err
	bl	_svn_error_trace
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_svn_delta_noop_window_handler,4,2 ; @svn_delta_noop_window_handler
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_svn_checksum_md5,4,2           ; @svn_checksum_md5
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Base checksum mismatch for '%s'"

	.comm	_lazy_open_source,4,2           ; @lazy_open_source
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_lazy_open_result,4,2           ; @lazy_open_result
	.comm	_window_handler,4,2             ; @window_handler
	.no_dead_strip	_apply_textdelta
.subsections_via_symbols
