	.file	"extr_dag.c_svn_fs_base__dag_copy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	svn_fs_base__dag_copy
	.type	svn_fs_base__dag_copy, @function
svn_fs_base__dag_copy:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r10, rdi
	mov	rdi, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	DWORD PTR [rsp], r8d
	mov	r14, QWORD PTR 144[rsp]
	mov	QWORD PTR 8[rsp], r9
	mov	rbp, QWORD PTR 152[rsp]
	mov	rbx, QWORD PTR 160[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	test	rcx, rcx
	je	.L2
	mov	QWORD PTR 24[rsp], r10
	mov	QWORD PTR 16[rsp], rdx
	call	svn_fs_base__dag_get_fs@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	r13, rax
	call	svn_fs_base__dag_get_id@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	r8, rbx
	mov	rcx, rbp
	lea	r9, 48[rsp]
	mov	rsi, r13
	mov	r15, rax
	mov	QWORD PTR 64[rsp], 0
	mov	edx, DWORD PTR [rdi]
	mov	rdi, r9
	call	svn_fs_bdb__get_node_revision@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rcx, rbx
	mov	rdx, rbp
	mov	rsi, r13
	lea	rdi, 56[rsp]
	call	svn_fs_bdb__reserve_copy_id@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rdx, QWORD PTR 48[rsp]
	mov	rsi, rbx
	mov	rdi, r15
	mov	QWORD PTR 16[rsp], rdx
	call	svn_fs_base__id_copy@PLT
	mov	rdx, QWORD PTR 16[rsp]
	mov	r10, QWORD PTR 24[rsp]
	mov	DWORD PTR 8[rdx], eax
	mov	rdx, QWORD PTR 48[rsp]
	mov	eax, DWORD PTR [rdx]
	cmp	eax, -1
	je	.L3
	add	eax, 1
	mov	DWORD PTR [rdx], eax
.L3:
	mov	rdi, r10
	mov	QWORD PTR 24[rsp], r10
	call	svn_fs_base__dag_get_created_path@PLT
	mov	rcx, QWORD PTR 48[rsp]
	mov	rdx, rbx
	mov	rsi, r12
	mov	edi, eax
	mov	QWORD PTR 16[rsp], rcx
	call	svn_fspath__join@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	r9, r14
	mov	rdx, r15
	lea	rdi, 40[rsp]
	mov	rsi, r13
	mov	DWORD PTR 4[rcx], eax
	push	rbx
	.cfi_def_cfa_offset 152
	push	rbp
	.cfi_def_cfa_offset 160
	mov	r8, QWORD PTR 72[rsp]
	mov	rcx, QWORD PTR 64[rsp]
	call	svn_fs_base__create_successor@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	edx, DWORD PTR 16[rsp]
	mov	rcx, rbp
	mov	r8, rbx
	lea	rdi, 80[rsp]
	mov	rsi, r13
	call	svn_fs_base__rev_get_txn_id@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	r8, QWORD PTR 56[rsp]
	mov	rdi, QWORD PTR 24[rsp]
	mov	rsi, rbx
	mov	r9d, DWORD PTR copy_kind_real[rip]
	mov	r15, QWORD PTR 80[rsp]
	mov	QWORD PTR 16[rsp], r8
	mov	DWORD PTR 32[rsp], r9d
	call	svn_fs__canonicalize_abspath@PLT
	push	rbx
	.cfi_def_cfa_offset 168
	mov	rcx, r15
	mov	rdi, r13
	push	rbp
	.cfi_def_cfa_offset 176
	mov	r9d, DWORD PTR 48[rsp]
	mov	edx, eax
	mov	r8, QWORD PTR 32[rsp]
	mov	rsi, QWORD PTR 88[rsp]
	call	svn_fs_bdb__create_copy@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 144
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rdx, QWORD PTR 56[rsp]
	mov	r8, rbx
	mov	rcx, rbp
	mov	rsi, r14
	mov	rdi, r13
	call	svn_fs_base__add_txn_copy@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rdx, QWORD PTR 40[rsp]
	mov	r10, QWORD PTR 24[rsp]
.L4:
	mov	r9, rbx
	mov	r8, rbp
	mov	rcx, r14
	mov	rsi, r12
	mov	rdi, r10
	call	svn_fs_base__dag_set_entry@PLT
	mov	rbx, QWORD PTR 72[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	QWORD PTR [rsp], r10
	call	svn_fs_base__dag_get_id@PLT
	mov	r10, QWORD PTR [rsp]
	mov	QWORD PTR 40[rsp], rax
	mov	rdx, rax
	jmp	.L4
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	svn_fs_base__dag_copy, .-svn_fs_base__dag_copy
	.comm	copy_kind_real,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_dag.c_svn_fs_base__dag_copy.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	svn_fs_base__dag_copy
	.syntax unified
	.arm
	.fpu softvfp
	.type	svn_fs_base__dag_copy, %function
svn_fs_base__dag_copy:
	@ args = 20, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	cmp	r3, #0
	ldr	r3, .L12
	sub	sp, sp, #52
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	mov	r0, r2
	ldr	fp, [sp, #92]
	ldr	r9, [sp, #96]
	ldr	r5, [sp, #100]
	ldr	r4, [sp, #104]
	beq	.L2
	str	r2, [sp, #20]
	bl	svn_fs_base__dag_get_fs
	ldr	r2, [sp, #20]
	mov	r8, r0
	mov	r0, r2
	bl	svn_fs_base__dag_get_id
	mov	ip, #0
	mov	r10, r0
	ldr	r2, [sp, #20]
	str	r4, [sp]
	mov	r1, r8
	mov	r3, r5
	ldr	r2, [r2]
	add	r0, sp, #32
	str	ip, [sp, #40]
	bl	svn_fs_bdb__get_node_revision
	bl	SVN_ERR
	mov	r2, r5
	mov	r3, r4
	mov	r1, r8
	add	r0, sp, #36
	bl	svn_fs_bdb__reserve_copy_id
	bl	SVN_ERR
	ldr	r3, [sp, #32]
	mov	r1, r4
	mov	r0, r10
	str	r3, [sp, #20]
	bl	svn_fs_base__id_copy
	ldr	r2, [sp, #32]
	ldr	r3, [sp, #20]
	str	r0, [r3, #8]
	ldr	r3, [r2]
	mov	r0, r6
	cmn	r3, #1
	addne	r3, r3, #1
	strne	r3, [r2]
	bl	svn_fs_base__dag_get_created_path
	ldr	r3, [sp, #32]
	mov	r2, r4
	mov	r1, r7
	str	r3, [sp, #20]
	bl	svn_fspath__join
	ldr	r1, [sp, #36]
	ldr	r3, [sp, #20]
	mov	r2, r10
	str	r0, [r3, #4]
	ldr	r3, [sp, #32]
	stm	sp, {r1, r9}
	str	r4, [sp, #12]
	mov	r1, r8
	str	r5, [sp, #8]
	add	r0, sp, #28
	bl	svn_fs_base__create_successor
	bl	SVN_ERR
	mov	r3, r5
	ldr	r2, [sp, #88]
	mov	r1, r8
	str	r4, [sp]
	add	r0, sp, #40
	bl	svn_fs_base__rev_get_txn_id
	bl	SVN_ERR
	mov	r1, r4
	mov	r0, fp
	ldr	r10, [sp, #36]
	bl	svn_fs__canonicalize_abspath
	ldr	r1, .L12+4
	ldr	r3, [sp, #28]
	ldr	ip, [r1]
	mov	r2, r0
	stm	sp, {r3, ip}
	mov	r1, r10
	ldr	r3, [sp, #40]
	mov	r0, r8
	str	r4, [sp, #12]
	str	r5, [sp, #8]
	bl	svn_fs_bdb__create_copy
	bl	SVN_ERR
	ldr	r2, [sp, #36]
	mov	r3, r5
	mov	r1, r9
	mov	r0, r8
	str	r4, [sp]
	bl	svn_fs_base__add_txn_copy
	bl	SVN_ERR
	ldr	r2, [sp, #28]
.L4:
	mov	r3, r9
	mov	r1, r7
	mov	r0, r6
	str	r4, [sp, #4]
	str	r5, [sp]
	bl	svn_fs_base__dag_set_entry
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	bl	svn_fs_base__dag_get_id
	mov	r2, r0
	str	r0, [sp, #28]
	b	.L4
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	copy_kind_real
	.size	svn_fs_base__dag_copy, .-svn_fs_base__dag_copy
	.comm	copy_kind_real,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
