	.file	"extr_rpc-service.c_seafile_unsync_repos_by_account.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Argument should not be null"
	.text
	.p2align 4
	.globl	seafile_unsync_repos_by_account
	.type	seafile_unsync_repos_by_account, @function
seafile_unsync_repos_by_account:
.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
	mov	r12, rdi
	mov	rdi, rdx
	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
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	r12, r12
	je	.L9
	mov	r14, rsi
	test	rsi, rsi
	je	.L9
	mov	rax, QWORD PTR seaf[rip]
	mov	edx, -1
	mov	esi, -1
	mov	edi, DWORD PTR [rax]
	call	seaf_repo_manager_get_repo_list@PLT
	mov	r15, rax
	test	rax, rax
	je	.L8
	mov	rbx, rax
	mov	r13, rsp
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, QWORD PTR [rsp]
	call	g_free@PLT
	mov	rbx, QWORD PTR 8[rbx]
	test	rbx, rbx
	je	.L13
.L6:
	mov	rbp, QWORD PTR [rbx]
	mov	rax, QWORD PTR seaf[rip]
	xor	ecx, ecx
	mov	rdx, r13
	mov	QWORD PTR [rsp], 0
	mov	esi, DWORD PTR 8[rbp]
	mov	edi, DWORD PTR [rax]
	call	seaf_repo_manager_get_repo_relay_info@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, r12
	call	g_strcmp0@PLT
	test	rax, rax
	jne	.L5
	mov	rdi, QWORD PTR 0[rbp]
	mov	rsi, r14
	call	g_strcmp0@PLT
	test	rax, rax
	jne	.L5
	mov	rdi, rbp
	call	do_unsync_repo@PLT
	test	rax, rax
	jns	.L5
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, r15
	call	g_list_free@PLT
	mov	rsi, r14
	mov	rdi, r12
	call	cancel_clone_tasks_by_account@PLT
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 24
	.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
.L8:
	.cfi_restore_state
	xor	eax, eax
	jmp	.L1
.L9:
	mov	edx, DWORD PTR SEAF_ERR_BAD_ARGS[rip]
	mov	esi, DWORD PTR SEAFILE_DOMAIN[rip]
	lea	rcx, .LC0[rip]
	call	g_set_error@PLT
	mov	eax, -1
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	seafile_unsync_repos_by_account, .-seafile_unsync_repos_by_account
	.comm	seaf,8,8
	.comm	SEAF_ERR_BAD_ARGS,4,4
	.comm	SEAFILE_DOMAIN,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_rpc-service.c_seafile_unsync_repos_by_account.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Argument should not be null\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	seafile_unsync_repos_by_account
	.syntax unified
	.arm
	.fpu softvfp
	.type	seafile_unsync_repos_by_account, %function
seafile_unsync_repos_by_account:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	clz	r6, r1
	cmp	r0, #0
	lsr	r6, r6, #5
	moveq	r6, #1
	ldr	r3, .L14
	sub	sp, sp, #8
	cmp	r6, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bne	.L11
	mvn	r2, #0
	ldr	r8, .L14+4
	mov	r7, r0
	ldr	r3, [r8]
	mov	r9, r1
	ldr	r0, [r3]
	mov	r1, r2
	bl	seaf_repo_manager_get_repo_list
	subs	r10, r0, #0
	moveq	r0, r10
	beq	.L1
	mov	r4, r10
	b	.L5
.L4:
	ldr	r0, [sp]
	bl	g_free
	ldr	r4, [r4, #4]
	cmp	r4, #0
	beq	.L12
.L5:
	ldr	r5, [r4]
	ldr	r3, [r8]
	mov	r2, sp
	ldr	r0, [r3]
	ldr	r1, [r5, #4]
	mov	r3, #0
	str	r6, [sp]
	bl	seaf_repo_manager_get_repo_relay_info
	mov	r1, r7
	ldr	r0, [sp]
	bl	g_strcmp0
	cmp	r0, #0
	bne	.L4
	mov	r1, r9
	ldr	r0, [r5]
	bl	g_strcmp0
	cmp	r0, #0
	bne	.L4
	mov	r0, r5
	bl	do_unsync_repo
	cmp	r0, #0
	bge	.L4
	mvn	r0, #0
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	mov	r0, r10
	bl	g_list_free
	mov	r1, r9
	mov	r0, r7
	bl	cancel_clone_tasks_by_account
	mov	r0, r4
	b	.L1
.L11:
	ldr	r1, .L14+8
	ldr	r3, .L14+12
	mov	r0, r2
	ldr	r2, [r1]
	ldr	r1, [r3]
	ldr	r3, .L14+16
	bl	g_set_error
	mvn	r0, #0
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	seaf
	.word	SEAF_ERR_BAD_ARGS
	.word	SEAFILE_DOMAIN
	.word	.LC0
	.size	seafile_unsync_repos_by_account, .-seafile_unsync_repos_by_account
	.comm	seaf,4,4
	.comm	SEAF_ERR_BAD_ARGS,4,4
	.comm	SEAFILE_DOMAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
