	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function txn_body_apply_text
_txn_body_apply_text:                   ## @txn_body_apply_text
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %rsi
	movq	(%rsi), %r15
	movl	16(%rdi), %edx
	movl	(%r14), %eax
	movl	%eax, (%rsp)
	leaq	-32(%rbp), %rdi
	xorl	%ecx, %ecx
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_open_path
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	24(%rbx), %rdi
	movq	_SVN_FS_TXN_CHECK_LOCKS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rdi)
	je	LBB0_2
## %bb.1:
	movl	16(%rbx), %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	movq	%r14, %rdx
	callq	_svn_fs_base__allow_locked_operation
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	24(%rbx), %rdi
LBB0_2:
	movq	-32(%rbp), %rsi
	movl	16(%rbx), %edx
	movl	(%r14), %r8d
	movq	%r14, %rcx
	callq	_make_path_mutable
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-32(%rbp), %rax
	movl	(%rax), %esi
	movl	%esi, 8(%rbx)
	leaq	12(%rbx), %rdi
	movl	4(%rbx), %r8d
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_svn_fs_base__dag_get_edit_stream
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	callq	_svn_stream_create
	movl	%eax, (%rbx)
	movq	_text_stream_writer@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_svn_stream_set_write
	movl	(%rbx), %edi
	movq	_text_stream_closer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_svn_stream_set_close
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_FS_TXN_CHECK_LOCKS,4,2     ## @SVN_FS_TXN_CHECK_LOCKS
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_text_stream_writer,4,2         ## @text_stream_writer
	.comm	_text_stream_closer,4,2         ## @text_stream_closer
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_txn_body_apply_text
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function txn_body_apply_text
_txn_body_apply_text:                   ; @txn_body_apply_text
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x1, [x0, #24]
	ldr	x21, [x1]
	ldr	w2, [x0, #16]
	ldr	w6, [x20]
	add	x0, sp, #8
	mov	w3, #0
	mov	x4, x21
	mov	x5, x20
	bl	_open_path
	bl	_SVN_ERR
	ldr	x0, [x19, #24]
	ldr	w8, [x0, #8]
Lloh0:
	adrp	x9, _SVN_FS_TXN_CHECK_LOCKS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SVN_FS_TXN_CHECK_LOCKS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w3, [x20]
	mov	x2, x20
	bl	_svn_fs_base__allow_locked_operation
	bl	_SVN_ERR
	ldr	x0, [x19, #24]
LBB0_2:
	ldr	x1, [sp, #8]
	ldr	w2, [x19, #16]
	ldr	w4, [x20]
	mov	x3, x20
	bl	_make_path_mutable
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	ldr	w1, [x8]
	str	w1, [x19, #8]
	add	x0, x19, #12
	ldr	w4, [x19, #4]
	mov	x2, x21
	mov	x3, x20
	bl	_svn_fs_base__dag_get_edit_stream
	bl	_SVN_ERR
	ldr	w1, [x19, #4]
	mov	x0, x19
	bl	_svn_stream_create
	str	w0, [x19]
Lloh6:
	adrp	x8, _text_stream_writer@GOTPAGE
Lloh7:
	ldr	x8, [x8, _text_stream_writer@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_svn_stream_set_write
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _text_stream_closer@GOTPAGE
Lloh10:
	ldr	x8, [x8, _text_stream_closer@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_svn_stream_set_close
Lloh12:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_FS_TXN_CHECK_LOCKS,4,2     ; @SVN_FS_TXN_CHECK_LOCKS
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_text_stream_writer,4,2         ; @text_stream_writer
	.comm	_text_stream_closer,4,2         ; @text_stream_closer
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_txn_body_apply_text
.subsections_via_symbols
