	.file	"extr_reps-strings.c_svn_fs_base__get_mutable_rep.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	svn_fs_base__get_mutable_rep
	.type	svn_fs_base__get_mutable_rep, @function
svn_fs_base__get_mutable_rep:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r9
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 8[rsp], 0
	mov	QWORD PTR 16[rsp], 0
	test	rsi, rsi
	je	.L2
	cmp	BYTE PTR [rsi], 0
	mov	rbp, rsi
	jne	.L13
.L2:
	mov	r9, rbx
	mov	r8, r13
	xor	ecx, ecx
	xor	edx, edx
	lea	rsi, 16[rsp]
	mov	rdi, r12
	call	svn_fs_bdb__string_append@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	edi, DWORD PTR svn_checksum_sha1[rip]
	mov	rsi, rbx
	call	svn_checksum_empty_checksum@PLT
	mov	edi, DWORD PTR svn_checksum_md5[rip]
	mov	rsi, rbx
	mov	ebp, eax
	call	svn_checksum_empty_checksum@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	r8, rbx
	mov	ecx, ebp
	mov	edx, eax
	mov	rsi, r14
	call	make_fulltext_rep@PLT
	mov	r8, rbx
	mov	rcx, r13
	mov	rsi, r12
	mov	rdx, rax
	mov	rdi, r15
	mov	QWORD PTR 8[rsp], rax
	call	svn_fs_bdb__write_new_rep@PLT
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 40
	.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
.L13:
	.cfi_restore_state
	mov	rdx, rsi
	lea	rdi, 8[rsp]
	mov	rsi, r12
	mov	r8, r9
	mov	rcx, r13
	call	svn_fs_bdb__read_rep@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, r14
	call	rep_is_mutable@PLT
	test	rax, rax
	je	.L2
	mov	QWORD PTR [r15], rbp
	mov	rax, QWORD PTR SVN_NO_ERROR[rip]
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	svn_fs_base__get_mutable_rep, .-svn_fs_base__get_mutable_rep
	.comm	svn_checksum_sha1,4,4
	.comm	svn_checksum_md5,4,4
	.comm	SVN_NO_ERROR,8,8
	.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_reps-strings.c_svn_fs_base__get_mutable_rep.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	svn_fs_base__get_mutable_rep
	.syntax unified
	.arm
	.fpu softvfp
	.type	svn_fs_base__get_mutable_rep, %function
svn_fs_base__get_mutable_rep:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r9, r3
	ldr	r3, .L18
	sub	sp, sp, #24
	subs	r5, r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r7, r0
	mov	r6, r2
	ldr	r8, [sp, #56]
	ldr	r4, [sp, #60]
	str	ip, [sp, #12]
	str	ip, [sp, #16]
	beq	.L2
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, ip
	bne	.L16
.L2:
	mov	r3, #0
	add	r1, sp, #16
	mov	r2, r3
	mov	r0, r6
	str	r4, [sp, #4]
	str	r8, [sp]
	bl	svn_fs_bdb__string_append
	bl	SVN_ERR
	ldr	r3, .L18+4
	mov	r1, r4
	ldr	r0, [r3]
	ldr	r10, [sp, #16]
	bl	svn_checksum_empty_checksum
	ldr	r3, .L18+8
	mov	r5, r0
	mov	r1, r4
	ldr	r0, [r3]
	bl	svn_checksum_empty_checksum
	mov	r2, r5
	mov	r3, r0
	mov	r1, r9
	mov	r0, r10
	str	r4, [sp]
	bl	make_fulltext_rep
	mov	r2, r0
	mov	r3, r8
	mov	r1, r6
	mov	r0, r7
	str	r4, [sp]
	str	r2, [sp, #12]
	bl	svn_fs_bdb__write_new_rep
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	mov	r3, r8
	mov	r2, r5
	mov	r1, r6
	str	r4, [sp]
	add	r0, sp, #12
	bl	svn_fs_bdb__read_rep
	bl	SVN_ERR
	mov	r1, r9
	ldr	r0, [sp, #12]
	bl	rep_is_mutable
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L18+12
	str	r5, [r7]
	ldr	r0, [r3]
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	svn_checksum_md5
	.word	svn_checksum_sha1
	.word	SVN_NO_ERROR
	.size	svn_fs_base__get_mutable_rep, .-svn_fs_base__get_mutable_rep
	.comm	svn_checksum_sha1,4,4
	.comm	svn_checksum_md5,4,4
	.comm	SVN_NO_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
