	.file	"extr_dir.c_coda_rename.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	coda_rename, @function
coda_rename:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	test	r8d, r8d
	je	.L2
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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	r9, QWORD PTR [rsi]
	mov	r14, rdx
	mov	rdx, QWORD PTR [rcx]
	mov	r13, rdi
	mov	rdi, r14
	mov	r15d, DWORD PTR 8[rsi]
	mov	ebx, DWORD PTR 8[rcx]
	mov	rbp, rcx
	mov	QWORD PTR 8[rsp], r9
	mov	QWORD PTR [rsp], rdx
	call	coda_i2f@PLT
	mov	rdi, r13
	mov	r12d, eax
	call	coda_i2f@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	edi, DWORD PTR 0[r13]
	mov	r8d, ebx
	mov	rdx, QWORD PTR 8[rsp]
	mov	esi, eax
	mov	ecx, r15d
	push	rdx
	.cfi_def_cfa_offset 96
	mov	r9, QWORD PTR 24[rsp]
	mov	edx, r12d
	call	venus_rename@PLT
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	test	r12d, r12d
	jne	.L1
	mov	rdi, rbp
	call	d_really_is_positive@PLT
	test	rax, rax
	je	.L4
	mov	rdi, rbp
	call	d_is_dir@PLT
	test	rax, rax
	jne	.L11
.L5:
	mov	rdi, r13
	call	coda_dir_update_mtime@PLT
	mov	rdi, r14
	call	coda_dir_update_mtime@PLT
	mov	r13d, DWORD PTR C_VATTR[rip]
	mov	rdi, rbp
	call	d_inode@PLT
	mov	rdi, rax
	mov	esi, r13d
	call	coda_flag_inode@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, DWORD PTR C_VATTR[rip]
	mov	rdi, r13
	call	coda_flag_inode@PLT
	mov	esi, DWORD PTR C_VATTR[rip]
	mov	rdi, r14
	call	coda_flag_inode@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, r13
	call	coda_dir_drop_nlink@PLT
	mov	rdi, r14
	call	coda_dir_inc_nlink@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	coda_rename, .-coda_rename
	.comm	EINVAL,4,4
	.comm	C_VATTR,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_dir.c_coda_rename.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	coda_rename, %function
coda_rename:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #28
	ldr	ip, [sp, #64]
	cmp	ip, #0
	beq	.L2
	ldr	r3, .L12
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r5, r3
	ldr	r3, [r1]
	mov	r7, r2
	ldr	r9, [r1, #4]
	str	r3, [sp, #20]
	ldr	fp, [r5]
	ldr	r10, [r5, #4]
	ldr	r8, [r0]
	mov	r6, r0
	bl	coda_i2f
	mov	r4, r0
	mov	r0, r7
	bl	coda_i2f
	ldr	r3, [sp, #20]
	mov	r2, r0
	mov	r1, r4
	str	r3, [sp, #4]
	mov	r0, r8
	mov	r3, r9
	str	fp, [sp, #8]
	str	r10, [sp]
	bl	venus_rename
	subs	r4, r0, #0
	bne	.L1
	mov	r0, r5
	bl	d_really_is_positive
	cmp	r0, #0
	beq	.L4
	mov	r0, r5
	bl	d_is_dir
	cmp	r0, #0
	bne	.L11
.L5:
	mov	r0, r6
	bl	coda_dir_update_mtime
	mov	r0, r7
	bl	coda_dir_update_mtime
	mov	r0, r5
	bl	d_inode
	ldr	r3, .L12+4
	ldr	r1, [r3]
	bl	coda_flag_inode
	b	.L1
.L4:
	ldr	r5, .L12+4
	mov	r0, r6
	ldr	r1, [r5]
	bl	coda_flag_inode
	mov	r0, r7
	ldr	r1, [r5]
	bl	coda_flag_inode
	b	.L1
.L11:
	mov	r0, r6
	bl	coda_dir_drop_nlink
	mov	r0, r7
	bl	coda_dir_inc_nlink
	b	.L5
.L13:
	.align	2
.L12:
	.word	EINVAL
	.word	C_VATTR
	.size	coda_rename, .-coda_rename
	.comm	EINVAL,4,4
	.comm	C_VATTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
