	.file	"extr_fs-mgr.c_verify_seafile_v0.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"[fs mgr] Corrupt seafile object %s.\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"[fd mgr] %s is not a file.\n"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"[fs mgr] Bad seafile id list length %d.\n"
	.text
	.p2align 4
	.type	verify_seafile_v0, @function
verify_seafile_v0:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 168
	.cfi_def_cfa_offset 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 152[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 12[rsp], 20
	cmp	edx, 7
	jbe	.L11
	mov	edi, DWORD PTR 4[rsi]
	mov	r14, rsi
	mov	r12d, edx
	mov	ebp, ecx
	call	ntohl@PLT
	cmp	rax, QWORD PTR SEAF_METADATA_TYPE_FILE[rip]
	jne	.L12
	sub	r12d, 8
	imul	eax, r12d, -858993459
	add	eax, 429496728
	ror	eax, 2
	cmp	eax, 214748364
	ja	.L13
	mov	eax, DWORD PTR TRUE[rip]
	test	ebp, ebp
	je	.L1
	mov	edi, DWORD PTR G_CHECKSUM_SHA1[rip]
	call	g_checksum_new@PLT
	mov	esi, DWORD PTR [r14]
	mov	edx, r12d
	lea	r12, 16[rsp]
	mov	rbp, rax
	mov	rdi, rax
	call	g_checksum_update@PLT
	lea	rdx, 12[rsp]
	mov	rsi, r12
	mov	rdi, rbp
	call	g_checksum_get_digest@PLT
	mov	rdi, rbp
	lea	rbp, 96[rsp]
	call	g_checksum_free@PLT
	mov	edx, 20
	mov	rsi, rbp
	mov	rdi, r12
	call	rawdata_to_hex@PLT
	mov	rsi, r13
	mov	rdi, rbp
	call	strcmp@PLT
	test	rax, rax
	mov	eax, DWORD PTR TRUE[rip]
	cmovne	eax, DWORD PTR FALSE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rsi, r13
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	seaf_warning@PLT
	mov	eax, DWORD PTR FALSE[rip]
.L1:
	mov	rcx, QWORD PTR 152[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 168
	.cfi_remember_state
	.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	rsi, rdi
	lea	rdi, .LC0[rip]
	call	seaf_warning@PLT
	mov	eax, DWORD PTR FALSE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	esi, r12d
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	seaf_warning@PLT
	mov	eax, DWORD PTR FALSE[rip]
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	verify_seafile_v0, .-verify_seafile_v0
	.comm	TRUE,4,4
	.comm	SEAF_METADATA_TYPE_FILE,8,8
	.comm	G_CHECKSUM_SHA1,4,4
	.comm	FALSE,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-mgr.c_verify_seafile_v0.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[fs mgr] Corrupt seafile object %s.\012\000"
	.align	2
.LC1:
	.ascii	"[fd mgr] %s is not a file.\012\000"
	.align	2
.LC2:
	.ascii	"[fs mgr] Bad seafile id list length %d.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	verify_seafile_v0, %function
verify_seafile_v0:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, #20
	mov	r6, r3
	ldr	r3, .L16
	sub	sp, sp, #136
	cmp	r2, #7
	ldr	r3, [r3]
	str	r3, [sp, #132]
	mov	r3,#0
	mov	r5, r0
	str	r7, [sp, #4]
	bls	.L12
	ldr	r0, [r1, #4]
	mov	r4, r2
	mov	r8, r1
	bl	ntohl
	ldr	r3, .L16+4
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L13
	ldr	ip, .L16+8
	sub	r4, r4, #8
	smull	r2, r3, ip, r4
	asr	ip, r4, #31
	rsb	ip, ip, r3, asr #3
	add	ip, ip, ip, lsl #2
	cmp	r4, ip, lsl #2
	bne	.L14
	cmp	r6, #0
	bne	.L6
.L10:
	ldr	r3, .L16+12
	ldr	r0, [r3]
	b	.L1
.L13:
	mov	r1, r5
	ldr	r0, .L16+16
	bl	seaf_warning
	ldr	r3, .L16+20
	ldr	r0, [r3]
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #132]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #136
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	mov	r1, r0
	ldr	r0, .L16+24
	bl	seaf_warning
	ldr	r3, .L16+20
	ldr	r0, [r3]
	b	.L1
.L6:
	ldr	r3, .L16+28
	ldr	r0, [r3]
	bl	g_checksum_new
	mov	r6, r0
	mov	r2, r4
	ldr	r1, [r8]
	bl	g_checksum_update
	add	r1, sp, #8
	add	r2, sp, #4
	mov	r0, r6
	bl	g_checksum_get_digest
	mov	r0, r6
	bl	g_checksum_free
	mov	r2, r7
	add	r1, sp, #88
	add	r0, sp, #8
	bl	rawdata_to_hex
	mov	r1, r5
	add	r0, sp, #88
	bl	strcmp
	cmp	r0, #0
	beq	.L10
	ldr	r3, .L16+20
	ldr	r0, [r3]
	b	.L1
.L14:
	mov	r1, r4
	ldr	r0, .L16+32
	bl	seaf_warning
	ldr	r3, .L16+20
	ldr	r0, [r3]
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC3
	.word	SEAF_METADATA_TYPE_FILE
	.word	1717986919
	.word	TRUE
	.word	.LC1
	.word	FALSE
	.word	.LC0
	.word	G_CHECKSUM_SHA1
	.word	.LC2
	.size	verify_seafile_v0, .-verify_seafile_v0
	.comm	TRUE,4,4
	.comm	SEAF_METADATA_TYPE_FILE,4,4
	.comm	G_CHECKSUM_SHA1,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
