	.file	"extr_clone-mgr.c_check_folder_perms_done.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"[Clone mgr] cannot find repo %s after fetched.\n"
	.text
	.p2align 4
	.type	check_folder_perms_done, @function
check_folder_perms_done:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR seaf[rip]
	mov	esi, DWORD PTR [rsi]
	mov	edi, DWORD PTR [rax]
	call	seaf_repo_manager_get_repo@PLT
	test	rax, rax
	je	.L11
	mov	r13, rax
	mov	eax, DWORD PTR 8[rbx]
	test	eax, eax
	je	.L3
	mov	rbp, QWORD PTR [rbx]
	test	rbp, rbp
	je	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rbx, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR seaf[rip]
	mov	edx, DWORD PTR FOLDER_PERM_TYPE_USER[rip]
	mov	ecx, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR 4[rbx]
	mov	edi, DWORD PTR [rax]
	call	seaf_repo_manager_update_folder_perms@PLT
	mov	rax, QWORD PTR seaf[rip]
	mov	ecx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR FOLDER_PERM_TYPE_GROUP[rip]
	mov	edi, DWORD PTR [rax]
	call	seaf_repo_manager_update_folder_perms@PLT
	mov	rax, QWORD PTR seaf[rip]
	mov	esi, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR [rbx]
	mov	edi, DWORD PTR [rax]
	call	seaf_repo_manager_update_folder_perm_timestamp@PLT
	mov	rbp, QWORD PTR 8[rbp]
	test	rbp, rbp
	jne	.L4
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, r12
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	mark_clone_done_v2@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, DWORD PTR [r12]
	lea	rdi, .LC0[rip]
	call	seaf_warning@PLT
	mov	esi, DWORD PTR SYNC_ERROR_ID_LOCAL_DATA_CORRUPT[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	transition_to_error@PLT
	.cfi_endproc
.LFE0:
	.size	check_folder_perms_done, .-check_folder_perms_done
	.comm	seaf,8,8
	.comm	SYNC_ERROR_ID_LOCAL_DATA_CORRUPT,4,4
	.comm	FOLDER_PERM_TYPE_USER,4,4
	.comm	FOLDER_PERM_TYPE_GROUP,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_clone-mgr.c_check_folder_perms_done.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[Clone mgr] cannot find repo %s after fetched.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_folder_perms_done, %function
check_folder_perms_done:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, .L15
	mov	r9, r1
	ldr	r3, [r6]
	mov	r4, r0
	ldr	r1, [r1]
	ldr	r0, [r3]
	bl	seaf_repo_manager_get_repo
	subs	r10, r0, #0
	beq	.L14
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L3
	ldr	r5, [r4]
	cmp	r5, #0
	beq	.L3
	ldr	r8, .L15+4
	ldr	r7, .L15+8
.L4:
	ldr	r4, [r5]
	ldr	r2, [r6]
	ldr	r3, [r4, #12]
	ldr	r1, [r4, #4]
	ldr	r0, [r2]
	ldr	r2, [r8]
	bl	seaf_repo_manager_update_folder_perms
	ldmib	r4, {r1, r3}
	ldr	r2, [r6]
	ldr	r0, [r2]
	ldr	r2, [r7]
	bl	seaf_repo_manager_update_folder_perms
	ldr	r3, [r6]
	ldr	r2, [r4]
	ldr	r1, [r4, #4]
	ldr	r0, [r3]
	bl	seaf_repo_manager_update_folder_perm_timestamp
	ldr	r5, [r5, #4]
	cmp	r5, #0
	bne	.L4
.L3:
	mov	r1, r9
	mov	r0, r10
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	mark_clone_done_v2
.L14:
	ldr	r1, [r9]
	ldr	r0, .L15+12
	bl	seaf_warning
	ldr	r3, .L15+16
	mov	r0, r9
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r1, [r3]
	b	transition_to_error
.L16:
	.align	2
.L15:
	.word	seaf
	.word	FOLDER_PERM_TYPE_USER
	.word	FOLDER_PERM_TYPE_GROUP
	.word	.LC0
	.word	SYNC_ERROR_ID_LOCAL_DATA_CORRUPT
	.size	check_folder_perms_done, .-check_folder_perms_done
	.comm	seaf,4,4
	.comm	SYNC_ERROR_ID_LOCAL_DATA_CORRUPT,4,4
	.comm	FOLDER_PERM_TYPE_USER,4,4
	.comm	FOLDER_PERM_TYPE_GROUP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
