	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r14
	movq	32(%rdi), %r13
	movq	$0, -56(%rbp)
	cmpq	$0, 24(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_svn_delta_noop_window_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	$0, (%r15)
	jmp	LBB0_12
LBB0_2:
	movq	%rdx, %r12
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	movq	16(%rdi), %r8
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.3:
	testq	%r8, %r8
	je	LBB0_10
## %bb.4:
	movq	_svn_checksum_md5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdi
	movq	%r12, %rcx
	callq	_svn_checksum_parse_hex
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%r13), %esi
	movl	4(%r13), %edx
	movq	16(%rbx), %rcx
	leaq	-48(%rbp), %rdi
	movq	%r12, %r8
	movq	%r12, %r9
	callq	_svn_wc__db_pristine_get_md5
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	callq	_svn_checksum_match
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	(%r13), %edx
	movl	4(%rbx), %ecx
	movq	16(%rbx), %r8
	jmp	LBB0_9
LBB0_7:
	testq	%r8, %r8
	je	LBB0_10
## %bb.8:
	movl	(%r13), %edx
	movl	4(%rbx), %ecx
LBB0_9:
	movq	%r12, (%rsp)
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r12, %r9
	callq	_svn_wc__db_pristine_read
	movl	%eax, %edi
	callq	_SVN_ERR
	jmp	LBB0_11
LBB0_10:
	movq	%r12, %rdi
	callq	_svn_stream_empty
	movq	%rax, -64(%rbp)
LBB0_11:
	leaq	12(%rbx), %rsi
	movq	_svn_io_file_del_on_pool_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%rbx), %r8d
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	movl	%r8d, %r9d
	callq	_svn_stream_open_unique
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rdi
	movq	-48(%rbp), %rsi
	movl	8(%rbx), %edx
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	movq	%r15, (%rsp)
	movq	%r14, %r9
	callq	_svn_txdelta_apply
LBB0_12:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_13:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	-48(%rbp), %r14
	movq	-56(%rbp), %r15
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %r13d
	movl	4(%rbx), %edi
	movq	%r12, %rsi
	callq	_svn_dirent_local_style
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_svn_checksum_mismatch_err
	jmp	LBB0_13
	.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	_svn_checksum_md5,4,2           ## @svn_checksum_md5
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Checksum mismatch for '%s'"

	.comm	_svn_io_file_del_on_pool_cleanup,4,2 ## @svn_io_file_del_on_pool_cleanup
	.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, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	str	xzr, [sp, #8]
	ldp	x8, x23, [x0, #24]
	cbz	x8, LBB0_2
; %bb.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]
	b	LBB0_11
LBB0_2:
	mov	x22, x2
	mov	x2, x1
	mov	x21, x0
	ldr	x4, [x0, #16]
	cbz	x1, LBB0_6
; %bb.3:
	cbz	x4, LBB0_9
; %bb.4:
Lloh3:
	adrp	x8, _svn_checksum_md5@GOTPAGE
Lloh4:
	ldr	x8, [x8, _svn_checksum_md5@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	x3, x22
	bl	_svn_checksum_parse_hex
	bl	_SVN_ERR
	ldp	w1, w2, [x23]
	ldr	x3, [x21, #16]
	add	x0, sp, #16
	mov	x4, x22
	mov	x5, x22
	bl	_svn_wc__db_pristine_get_md5
	bl	_SVN_ERR
	ldp	x0, x1, [sp, #8]
	bl	_svn_checksum_match
	cbz	w0, LBB0_13
; %bb.5:
	ldr	w2, [x23]
	ldr	w3, [x21, #4]
	ldr	x4, [x21, #16]
	b	LBB0_8
LBB0_6:
	cbz	x4, LBB0_9
; %bb.7:
	ldr	w2, [x23]
	ldr	w3, [x21, #4]
LBB0_8:
	add	x0, sp, #24
	mov	x1, #0
	mov	x5, x22
	mov	x6, x22
	bl	_svn_wc__db_pristine_read
	bl	_SVN_ERR
	b	LBB0_10
LBB0_9:
	mov	x0, x22
	bl	_svn_stream_empty
	str	x0, [sp, #24]
LBB0_10:
	add	x1, x21, #12
Lloh6:
	adrp	x8, _svn_io_file_del_on_pool_cleanup@GOTPAGE
Lloh7:
	ldr	x8, [x8, _svn_io_file_del_on_pool_cleanup@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	ldr	w4, [x21]
	add	x0, sp, #16
	mov	x2, #0
	mov	x5, x4
	bl	_svn_stream_open_unique
	bl	_SVN_ERR
	ldp	x1, x0, [sp, #16]
	ldp	w3, w2, [x21, #4]
	ldr	w4, [x21]
	mov	x5, x20
	mov	x6, x19
	bl	_svn_txdelta_apply
LBB0_11:
Lloh9:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_13:
	ldp	x20, x19, [sp, #8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x23, x0
	ldr	w0, [x21, #4]
	mov	x1, x22
	bl	_svn_dirent_local_style
	mov	x4, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x23
	bl	_svn_checksum_mismatch_err
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.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	_svn_checksum_md5,4,2           ; @svn_checksum_md5
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Checksum mismatch for '%s'"

	.comm	_svn_io_file_del_on_pool_cleanup,4,2 ; @svn_io_file_del_on_pool_cleanup
	.no_dead_strip	_apply_textdelta
.subsections_via_symbols
