	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_new_txn_noderev_from_rev
_create_new_txn_noderev_from_rev:       ## @create_new_txn_noderev_from_rev
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r14
	leaq	-32(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rcx, %r8
	callq	_svn_fs_x__get_node_revision
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-32(%rbp), %rax
	xorl	%edi, %edi
	cmpq	$0, 32(%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	$0, 24(%rax)
	sete	%dil
LBB0_2:
	callq	_SVN_ERR_ASSERT
	movq	-32(%rbp), %rax
	movl	(%rax), %edi
	callq	_svn_fs_x__is_txn
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_create
	jmp	LBB0_5
LBB0_4:
	movq	-32(%rbp), %rdi
	movl	(%rdi), %eax
	movl	%eax, 20(%rdi)
	incl	16(%rdi)
	movq	$0, 8(%rdi)
	movq	_SVN_INVALID_REVNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	movl	%r15d, %esi
	callq	_svn_fs_x__init_txn_root
	movq	-32(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_svn_fs_x__put_node_revision
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_FS_CORRUPT,4,2         ## @SVN_ERR_FS_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Copying from transactions not allowed"

	.comm	_SVN_INVALID_REVNUM,4,2         ## @SVN_INVALID_REVNUM
	.no_dead_strip	_create_new_txn_noderev_from_rev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_new_txn_noderev_from_rev
_create_new_txn_noderev_from_rev:       ; @create_new_txn_noderev_from_rev
	.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	x19, x3
	mov	x21, x1
	mov	x20, x0
	add	x0, sp, #8
	mov	x1, x20
	mov	x4, x3
	bl	_svn_fs_x__get_node_revision
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	ldr	x9, [x8, #32]
	cbz	x9, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	ldr	x8, [x8, #24]
	cmp	x8, #0
	cset	w0, eq
LBB0_3:
	bl	_SVN_ERR_ASSERT
	ldr	x8, [sp, #8]
	ldr	w0, [x8]
	bl	_svn_fs_x__is_txn
	cbz	x0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
	b	LBB0_6
LBB0_5:
	ldr	x0, [sp, #8]
	ldr	w8, [x0]
	ldr	w9, [x0, #16]
	add	w9, w9, #1
	stp	w9, w8, [x0, #16]
	str	xzr, [x0, #8]
Lloh5:
	adrp	x8, _SVN_INVALID_REVNUM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SVN_INVALID_REVNUM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	mov	x1, x21
	bl	_svn_fs_x__init_txn_root
	ldr	x1, [sp, #8]
	mov	x0, x20
	mov	x2, x19
	bl	_svn_fs_x__put_node_revision
LBB0_6:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_FS_CORRUPT,4,2         ; @SVN_ERR_FS_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Copying from transactions not allowed"

	.comm	_SVN_INVALID_REVNUM,4,2         ; @SVN_INVALID_REVNUM
	.no_dead_strip	_create_new_txn_noderev_from_rev
.subsections_via_symbols
