	.file	"extr_fs.c_base_create.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	base_create, @function
base_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rsi, QWORD PTR 16[rdi]
	mov	ebx, DWORD PTR SVN_FS_BASE__FORMAT_NUMBER[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rsi, rsi
	jne	.L11
.L3:
	mov	esi, DWORD PTR TRUE[rip]
	mov	rcx, r14
	mov	edx, ebx
	mov	rdi, r12
	call	open_databases@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L12
.L6:
	mov	rdi, r12
	call	cleanup_fs@PLT
	mov	edi, eax
	call	svn_error_trace@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	svn_error_compose_create@PLT
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L13
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rsp
	mov	rdx, rcx
	call	svn_fs__compatible_version@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rax, QWORD PTR [rsp]
	mov	ebx, DWORD PTR SVN_FS_BASE__FORMAT_NUMBER[rip]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 5
	ja	.L3
	lea	rdx, CSWTCH.4[rip]
	mov	ebx, DWORD PTR [rdx+rax*4]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, r12
	call	svn_fs_base__dag_init_fs@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L6
	mov	edi, DWORD PTR 8[r12]
	mov	esi, DWORD PTR FORMAT_FILE[rip]
	mov	rdx, r13
	call	svn_dirent_join@PLT
	mov	rdx, r13
	mov	esi, ebx
	mov	edi, eax
	call	svn_io_write_version_file@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L6
	mov	rax, QWORD PTR [r12]
	mov	rsi, r13
	mov	rdi, r12
	mov	DWORD PTR [rax], ebx
	call	populate_opened_fs@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rax, QWORD PTR SVN_NO_ERROR[rip]
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	base_create, .-base_create
	.section	.rodata
	.align 16
	.type	CSWTCH.4, @object
	.size	CSWTCH.4, 24
CSWTCH.4:
	.long	1
	.long	1
	.long	1
	.long	1
	.long	2
	.long	3
	.comm	TRUE,4,4
	.comm	SVN_NO_ERROR,8,8
	.comm	SVN_FS_BASE__FORMAT_NUMBER,4,4
	.comm	FORMAT_FILE,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_fs.c_base_create.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	base_create, %function
base_create:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r2, [r0, #8]
	mov	r6, r3
	ldr	r3, .L13
	sub	sp, sp, #12
	cmp	r2, #0
	mov	r5, r0
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bne	.L2
.L4:
	ldr	r3, .L13+4
	ldr	r7, [r3]
.L3:
	ldr	r2, .L13+8
	mov	r3, r4
	ldr	r1, [r2]
	mov	r0, r5
	mov	r2, r7
	bl	open_databases
	subs	r4, r0, #0
	beq	.L11
.L6:
	mov	r0, r5
	bl	cleanup_fs
	bl	svn_error_trace
	mov	r1, r0
	mov	r0, r4
	bl	svn_error_compose_create
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	mov	r1, r2
	mov	r0, sp
	mov	r2, r6
	bl	svn_fs__compatible_version
	bl	SVN_ERR
	ldr	r3, [sp]
	ldr	r3, [r3]
	cmp	r3, #5
	bhi	.L4
	ldr	r2, .L13+12
	ldr	r7, [r2, r3, lsl #2]
	b	.L3
.L11:
	mov	r0, r5
	bl	svn_fs_base__dag_init_fs
	subs	r4, r0, #0
	bne	.L6
	ldr	r3, .L13+16
	mov	r2, r6
	ldr	r1, [r3]
	ldr	r0, [r5, #4]
	bl	svn_dirent_join
	mov	r2, r6
	mov	r1, r7
	bl	svn_io_write_version_file
	subs	r4, r0, #0
	bne	.L6
	ldr	r3, [r5]
	mov	r1, r6
	str	r7, [r3]
	mov	r0, r5
	bl	populate_opened_fs
	bl	SVN_ERR
	ldr	r3, .L13+20
	ldr	r0, [r3]
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	SVN_FS_BASE__FORMAT_NUMBER
	.word	TRUE
	.word	.LANCHOR0
	.word	FORMAT_FILE
	.word	SVN_NO_ERROR
	.size	base_create, .-base_create
	.comm	TRUE,4,4
	.comm	SVN_NO_ERROR,4,4
	.comm	SVN_FS_BASE__FORMAT_NUMBER,4,4
	.comm	FORMAT_FILE,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	CSWTCH.4, %object
	.size	CSWTCH.4, 24
CSWTCH.4:
	.word	1
	.word	1
	.word	1
	.word	1
	.word	2
	.word	3
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
