	.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, %r12
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movq	32(%rdi), %r8
	testq	%r8, %r8
	je	LBB0_9
## %bb.1:
	movq	%rsi, %rdx
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.2:
	movq	_svn_checksum_md5@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	leaq	-56(%rbp), %rdi
	movq	%r15, %rcx
	callq	_svn_checksum_parse_hex
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	32(%rbx), %rcx
	movq	(%rcx), %rax
	cmpq	(%r13), %rax
	jne	LBB0_3
## %bb.4:
	movq	%rcx, -48(%rbp)
	jmp	LBB0_5
LBB0_9:
	movq	%r15, %rdi
	callq	_svn_stream_empty
	movq	%rax, -56(%rbp)
	jmp	LBB0_10
LBB0_3:
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	leaq	-48(%rbp), %rdi
	movq	%r15, %r8
	movq	%r15, %r9
	callq	_svn_wc__db_pristine_get_md5
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rcx
LBB0_5:
	movq	-56(%rbp), %rdi
	movq	%rcx, %rsi
	callq	_svn_checksum_match
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	32(%rbx), %r8
LBB0_8:
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	movq	%r15, (%rsp)
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r15, %r9
	callq	_svn_wc__db_pristine_read
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_10:
	leaq	24(%rbx), %rsi
	leaq	20(%rbx), %rdx
	leaq	16(%rbx), %rcx
	movl	12(%rbx), %r8d
	movl	4(%rbx), %eax
	movl	8(%rbx), %r9d
	movq	%r15, 8(%rsp)
	movl	%eax, (%rsp)
	leaq	-48(%rbp), %rdi
	callq	_svn_wc__db_pristine_prepare_install
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	movl	(%rbx), %ecx
	movq	%r12, (%rsp)
	xorl	%edx, %edx
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_svn_txdelta_apply
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	-56(%rbp), %r14
	movq	-48(%rbp), %r12
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %r13d
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	_svn_dirent_local_style
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_svn_checksum_mismatch_err
	movl	%eax, %edi
	callq	_svn_error_trace
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_svn_checksum_md5,8,3           ## @svn_checksum_md5
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Base checksum mismatch for '%s'"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.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	x20, x4
	mov	x21, x3
	mov	x19, x2
	mov	x22, x0
	ldr	x4, [x0, #32]
	cbz	x4, LBB0_4
; %bb.1:
	mov	x2, x1
	cbz	x1, LBB0_8
; %bb.2:
Lloh0:
	adrp	x23, _svn_checksum_md5@GOTPAGE
Lloh1:
	ldr	x23, [x23, _svn_checksum_md5@GOTPAGEOFF]
	ldr	x1, [x23]
	add	x0, sp, #8
	mov	x3, x19
	bl	_svn_checksum_parse_hex
	bl	_SVN_ERR
	ldr	x3, [x22, #32]
	ldr	x8, [x3]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	str	x3, [sp]
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_svn_stream_empty
	str	x0, [sp, #8]
	b	LBB0_9
LBB0_5:
	ldp	w2, w1, [x22, #8]
	mov	x0, sp
	mov	x4, x19
	mov	x5, x19
	bl	_svn_wc__db_pristine_get_md5
	bl	_SVN_ERR
	ldr	x3, [sp]
LBB0_6:
	ldr	x0, [sp, #8]
	mov	x1, x3
	bl	_svn_checksum_match
	cbz	w0, LBB0_11
; %bb.7:
	ldr	x4, [x22, #32]
LBB0_8:
	ldp	w3, w2, [x22, #8]
	add	x0, sp, #8
	mov	x1, #0
	mov	x5, x19
	mov	x6, x19
	bl	_svn_wc__db_pristine_read
	bl	_SVN_ERR
LBB0_9:
	add	x1, x22, #24
	add	x2, x22, #20
	add	x3, x22, #16
	ldp	w5, w4, [x22, #8]
	ldr	w6, [x22, #4]
	mov	x0, sp
	mov	x7, x19
	bl	_svn_wc__db_pristine_prepare_install
	bl	_SVN_ERR
	ldp	x1, x0, [sp]
	ldr	w3, [x22]
	mov	x2, #0
	mov	x4, x19
	mov	x5, x21
	mov	x6, x20
	bl	_svn_txdelta_apply
Lloh2:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
LBB0_10:
	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_11:
	ldp	x21, x20, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x23, x0
	ldr	w0, [x22]
	mov	x1, x19
	bl	_svn_dirent_local_style
	mov	x4, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	x3, x23
	bl	_svn_checksum_mismatch_err
	bl	_svn_error_trace
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_svn_checksum_md5,8,3           ; @svn_checksum_md5
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Base checksum mismatch for '%s'"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_apply_textdelta
.subsections_via_symbols
