	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ra_svn_handle_apply_textdelta
_ra_svn_handle_apply_textdelta:         ## @ra_svn_handle_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	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %rbx
	movq	%rdx, %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	callq	_svn_ra_svn__parse_tuple
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rsi
	movq	_TRUE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	-24(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_lookup_token
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-24(%rbp), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.1:
	movq	_SVN_ERR_RA_SVN_MALFORMED_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_create
	jmp	LBB0_3
LBB0_2:
	movl	8(%rbx), %edi
	callq	_svn_pool_create
	movq	-24(%rbp), %rcx
	movl	%eax, (%rcx)
	movq	(%rbx), %rbx
	movl	16(%rcx), %edi
	movq	-40(%rbp), %rsi
	leaq	-28(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movl	%eax, %edx
	callq	*(%rbx)
	movl	%eax, %edi
	callq	_SVN_CMD_ERR
	movl	-28(%rbp), %edi
	movq	-48(%rbp), %rsi
	movl	(%r14), %edx
	movq	-24(%rbp), %rax
	movl	(%rax), %ecx
	callq	_svn_txdelta_parse_svndiff
	movq	-24(%rbp), %rcx
	movq	%rax, 8(%rcx)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_3:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"s(?c)"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SVN_ERR_RA_SVN_MALFORMED_DATA,4,2 ## @SVN_ERR_RA_SVN_MALFORMED_DATA
L_.str.1:                               ## @.str.1
	.asciz	"Apply-textdelta already active"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_ra_svn_handle_apply_textdelta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ra_svn_handle_apply_textdelta
_ra_svn_handle_apply_textdelta:         ; @ra_svn_handle_apply_textdelta
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x3
	mov	x0, x2
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	sub	x2, x29, #24
	add	x3, sp, #8
	bl	_svn_ra_svn__parse_tuple
	bl	_SVN_ERR
	ldur	x1, [x29, #-24]
Lloh2:
	adrp	x20, _TRUE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _TRUE@GOTPAGEOFF]
	ldr	w2, [x20]
	add	x3, sp, #32
	mov	x0, x19
	bl	_lookup_token
	bl	_SVN_ERR
	ldr	x8, [sp, #32]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _SVN_ERR_RA_SVN_MALFORMED_DATA@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SVN_ERR_RA_SVN_MALFORMED_DATA@GOTPAGEOFF]
Lloh6:
	ldr	w19, [x8]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19, #8]
	bl	_svn_pool_create
	mov	x2, x0
	ldr	x8, [sp, #32]
	str	w0, [x8]
	ldr	x9, [x19]
	ldr	x9, [x9]
	ldr	w0, [x8, #16]
	ldr	x1, [sp, #8]
	add	x3, sp, #28
	add	x4, sp, #16
	blr	x9
	bl	_SVN_CMD_ERR
	ldr	w0, [sp, #28]
	ldr	x1, [sp, #16]
	ldr	w2, [x20]
	ldr	x8, [sp, #32]
	ldr	w3, [x8]
	bl	_svn_txdelta_parse_svndiff
	ldr	x8, [sp, #32]
	str	x0, [x8, #8]
Lloh9:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"s(?c)"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SVN_ERR_RA_SVN_MALFORMED_DATA,4,2 ; @SVN_ERR_RA_SVN_MALFORMED_DATA
l_.str.1:                               ; @.str.1
	.asciz	"Apply-textdelta already active"

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