	.file	"extr_zipfile.c_zipfileUpdate.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sz must be NULL"
.LC1:
	.string	"rawdata must be NULL"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"unknown compression method: %d"
	.section	.rodata.str1.1
.LC3:
	.string	"%s/"
.LC4:
	.string	"duplicate name: \"%s\""
	.text
	.p2align 4
	.type	zipfileUpdate, @function
zipfileUpdate:
.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
	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
	mov	rbx, rdx
	sub	rsp, 104
	.cfi_def_cfa_offset 160
	mov	r12d, DWORD PTR SQLITE_OK[rip]
	mov	DWORD PTR 8[rsp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR [rdi], 0
	mov	DWORD PTR 72[rsp], 0
	mov	QWORD PTR 80[rsp], 0
	jne	.L2
	call	zipfileBegin@PLT
	cmp	DWORD PTR SQLITE_OK[rip], eax
	mov	r12d, eax
	je	.L2
.L1:
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L86
	add	rsp, 104
	.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	rdi, QWORD PTR [rbx]
	call	sqlite3_value_type@PLT
	cmp	rax, QWORD PTR SQLITE_NULL[rip]
	jne	.L87
	xor	r13d, r13d
	xor	r14d, r14d
	xor	ebp, ebp
	cmp	DWORD PTR 8[rsp], 1
	mov	DWORD PTR 16[rsp], 0
	jg	.L88
.L9:
	cmp	DWORD PTR SQLITE_OK[rip], r12d
	jne	.L27
	mov	rax, r13
	or	rax, r14
	je	.L27
	mov	rax, QWORD PTR 8[r15]
	test	rax, rax
	jne	.L31
	jmp	.L34
	.p2align 4,,10
	.p2align 3
.L89:
	cmp	rdx, r14
	je	.L49
.L32:
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L34
.L31:
	mov	rdx, QWORD PTR 8[rax]
	test	rdx, rdx
	je	.L32
	cmp	rdx, r13
	jne	.L89
.L49:
	mov	rdx, QWORD PTR 8[rdx]
	mov	DWORD PTR [rax], 1
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L31
.L34:
	mov	rsi, r13
	mov	rdi, r15
	call	zipfileRemoveEntryFromList@PLT
	mov	rsi, r14
	mov	rdi, r15
	call	zipfileRemoveEntryFromList@PLT
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdi, QWORD PTR 80[rsp]
	call	sqlite3_free@PLT
	mov	rdi, rbp
	call	sqlite3_free@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L87:
	mov	rdi, QWORD PTR [rbx]
	call	sqlite3_value_text@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	strlen@PLT
	cmp	DWORD PTR 8[rsp], 1
	mov	r13, rax
	mov	r14d, eax
	jg	.L5
.L7:
	mov	DWORD PTR 16[rsp], 0
.L6:
	mov	r13, QWORD PTR 32[r15]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L90:
	mov	rdi, QWORD PTR 8[r13]
	call	assert@PLT
	mov	r13, QWORD PTR 8[r13]
.L8:
	mov	rdi, QWORD PTR 16[r13]
	mov	edx, r14d
	mov	rsi, rbp
	call	zipfileComparePath@PLT
	test	rax, rax
	jne	.L90
	xor	r14d, r14d
	xor	ebp, ebp
	cmp	DWORD PTR 8[rsp], 1
	jle	.L9
.L88:
	mov	rdi, QWORD PTR 40[rbx]
	call	sqlite3_value_type@PLT
	cmp	rax, QWORD PTR SQLITE_NULL[rip]
	jne	.L91
.L10:
	mov	rdi, QWORD PTR 48[rbx]
	call	sqlite3_value_type@PLT
	cmp	rax, QWORD PTR SQLITE_NULL[rip]
	jne	.L92
.L11:
	mov	ecx, DWORD PTR SQLITE_OK[rip]
	cmp	ecx, r12d
	je	.L93
	mov	DWORD PTR 48[rsp], 0
	mov	DWORD PTR 44[rsp], 0
	mov	DWORD PTR 40[rsp], 0
	mov	QWORD PTR 32[rsp], 0
	mov	DWORD PTR 28[rsp], 0
.L18:
	mov	DWORD PTR 8[rsp], 0
	test	r13, r13
	sete	r8b
	xor	ebx, ebx
	or	r8b, BYTE PTR 16[rsp]
	xor	ebp, ebp
	xor	r9d, r9d
.L19:
	test	r8b, r8b
	jne	.L94
	xor	r14d, r14d
.L22:
	cmp	r12d, ecx
	jne	.L27
.L24:
	mov	rdi, r9
	call	zipfileNewEntry@PLT
	mov	r12d, DWORD PTR SQLITE_NOMEM[rip]
	mov	r8, rax
	test	rax, rax
	je	.L9
	mov	eax, DWORD PTR ZIPFILE_NEWENTRY_MADEBY[rip]
	lea	rdi, 16[r8]
	mov	esi, ebx
	mov	QWORD PTR 16[rsp], r8
	mov	DWORD PTR 72[r8], eax
	mov	eax, DWORD PTR ZIPFILE_NEWENTRY_REQUIRED[rip]
	mov	DWORD PTR 68[r8], eax
	mov	eax, DWORD PTR ZIPFILE_NEWENTRY_FLAGS[rip]
	mov	DWORD PTR 64[r8], eax
	movsx	rax, DWORD PTR 44[rsp]
	mov	QWORD PTR 56[r8], rax
	call	zipfileMtimeToDos@PLT
	mov	eax, DWORD PTR 48[rsp]
	mov	ecx, DWORD PTR 40[rsp]
	mov	rdi, r15
	mov	r8, QWORD PTR 16[rsp]
	mov	rdx, QWORD PTR 32[rsp]
	mov	DWORD PTR 24[r8], eax
	mov	eax, DWORD PTR 28[rsp]
	mov	rsi, r8
	mov	DWORD PTR 28[r8], ecx
	mov	DWORD PTR 32[r8], eax
	mov	eax, DWORD PTR 72[rsp]
	sal	eax, 16
	mov	DWORD PTR 36[r8], eax
	mov	rax, QWORD PTR 16[r15]
	mov	DWORD PTR [r8], ebx
	mov	DWORD PTR 40[r8], eax
	movsx	rax, DWORD PTR 8[rsp]
	mov	QWORD PTR 8[rsp], r8
	mov	QWORD PTR 48[r8], rax
	call	zipfileAppendEntry@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	rsi, r13
	mov	rdi, r15
	mov	r12d, eax
	mov	rdx, r8
	call	zipfileAddEntry@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L92:
	lea	rsi, .LC1[rip]
	mov	rdi, r15
	xor	eax, eax
	call	zipfileTableErr@PLT
	mov	r12d, DWORD PTR SQLITE_CONSTRAINT[rip]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L91:
	lea	rsi, .LC0[rip]
	mov	rdi, r15
	xor	eax, eax
	call	zipfileTableErr@PLT
	mov	r12d, DWORD PTR SQLITE_CONSTRAINT[rip]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L94:
	cmp	r12d, ecx
	jne	.L27
.L35:
	mov	r14, QWORD PTR 32[r15]
	test	r14, r14
	je	.L24
	mov	QWORD PTR 16[rsp], rbp
	mov	r12, r9
	mov	rbp, r14
	mov	r14d, ebx
	mov	DWORD PTR 52[rsp], ecx
	mov	ebx, DWORD PTR 8[rsp]
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rbp, QWORD PTR 8[rbp]
	test	rbp, rbp
	je	.L95
.L29:
	mov	rdi, QWORD PTR 16[rbp]
	mov	edx, ebx
	mov	rsi, r12
	call	zipfileComparePath@PLT
	test	rax, rax
	jne	.L25
	mov	edi, DWORD PTR 24[r15]
	mov	QWORD PTR 56[rsp], r12
	mov	ebx, r14d
	mov	r14, rbp
	mov	rbp, QWORD PTR 16[rsp]
	call	sqlite3_vtab_on_conflict@PLT
	mov	ecx, DWORD PTR 52[rsp]
	mov	r9, QWORD PTR 56[rsp]
	cmp	eax, 128
	mov	r12d, ecx
	je	.L83
	cmp	eax, 129
	je	.L27
	mov	rdx, r9
	lea	rsi, .LC4[rip]
	mov	rdi, r15
	xor	eax, eax
	mov	QWORD PTR 16[rsp], r9
	xor	r14d, r14d
	call	zipfileTableErr@PLT
	mov	ecx, DWORD PTR SQLITE_OK[rip]
	mov	r9, QWORD PTR 16[rsp]
	mov	r12d, DWORD PTR SQLITE_CONSTRAINT[rip]
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, QWORD PTR 8[rbx]
	call	sqlite3_value_text@PLT
	test	rax, rax
	je	.L7
	mov	edx, r13d
	mov	rsi, rbp
	mov	rdi, rax
	call	zipfileComparePath@PLT
	test	rax, rax
	setne	al
	movzx	eax, al
	mov	DWORD PTR 16[rsp], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L93:
	mov	rdi, QWORD PTR 56[rbx]
	call	sqlite3_value_type@PLT
	cmp	rax, QWORD PTR SQLITE_NULL[rip]
	jne	.L96
	mov	DWORD PTR 48[rsp], 0
	mov	ebp, 1
	mov	DWORD PTR 44[rsp], 0
	mov	DWORD PTR 40[rsp], 0
	mov	QWORD PTR 32[rsp], 0
	mov	DWORD PTR 28[rsp], 0
.L13:
	test	r13, r13
	mov	ecx, DWORD PTR SQLITE_OK[rip]
	sete	r8b
	or	r8b, BYTE PTR 16[rsp]
	mov	BYTE PTR 56[rsp], r8b
	cmp	ecx, r12d
	jne	.L18
	mov	rdi, QWORD PTR 24[rbx]
	lea	rcx, 40[r15]
	lea	rdx, 72[rsp]
	mov	esi, ebp
	call	zipfileGetMode@PLT
	mov	ecx, eax
	mov	eax, DWORD PTR SQLITE_OK[rip]
	cmp	eax, ecx
	jne	.L44
	mov	rdi, QWORD PTR 16[rbx]
	mov	DWORD PTR 52[rsp], ecx
	call	sqlite3_value_text@PLT
	mov	rdi, rax
	mov	QWORD PTR 16[rsp], rax
	call	strlen@PLT
	mov	rdi, QWORD PTR 32[rbx]
	mov	DWORD PTR 8[rsp], eax
	mov	r12, rax
	call	zipfileGetTime@PLT
	mov	ecx, DWORD PTR 52[rsp]
	mov	r9, QWORD PTR 16[rsp]
	mov	ebx, eax
	mov	eax, DWORD PTR SQLITE_OK[rip]
	movzx	r8d, BYTE PTR 56[rsp]
	cmp	eax, ecx
	jne	.L45
	and	ebp, 1
	je	.L45
	movsx	rax, r12d
	cmp	BYTE PTR -1[r9+rax], 47
	je	.L20
	mov	rsi, r9
	lea	rdi, .LC3[rip]
	mov	DWORD PTR 8[rsp], ecx
	mov	BYTE PTR 16[rsp], r8b
	call	sqlite3_mprintf@PLT
	mov	ecx, DWORD PTR 8[rsp]
	movzx	r8d, BYTE PTR 16[rsp]
	test	rax, rax
	cmove	ecx, DWORD PTR SQLITE_NOMEM[rip]
	mov	r9, rax
	lea	eax, 1[r12]
	mov	rbp, r9
	mov	r12d, ecx
	mov	DWORD PTR 8[rsp], eax
	mov	ecx, DWORD PTR SQLITE_OK[rip]
	jmp	.L19
.L96:
	mov	rdi, QWORD PTR 56[rbx]
	call	sqlite3_value_blob@PLT
	mov	rdi, QWORD PTR 56[rbx]
	mov	r14, rax
	call	sqlite3_value_bytes@PLT
	mov	rdi, QWORD PTR 64[rbx]
	mov	DWORD PTR 28[rsp], eax
	call	sqlite3_value_type@PLT
	mov	rdi, QWORD PTR 64[rbx]
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR SQLITE_NULL[rip]
	mov	QWORD PTR 32[rsp], rax
	call	sqlite3_value_int@PLT
	mov	ebp, eax
	mov	r10d, eax
	and	ebp, -9
	jne	.L97
	mov	rcx, QWORD PTR 32[rsp]
	xor	eax, eax
	cmp	QWORD PTR 8[rsp], rcx
	mov	QWORD PTR 32[rsp], r14
	mov	ecx, DWORD PTR 28[rsp]
	sete	al
	or	eax, r10d
	mov	DWORD PTR 40[rsp], ecx
	mov	DWORD PTR 44[rsp], eax
	jne	.L98
.L15:
	mov	edx, DWORD PTR 28[rsp]
	mov	rsi, r14
	xor	edi, edi
	call	crc32@PLT
	mov	DWORD PTR 48[rsp], eax
	jmp	.L13
.L95:
	mov	ecx, DWORD PTR 52[rsp]
	mov	ebx, r14d
	mov	r14, rbp
	mov	rbp, QWORD PTR 16[rsp]
	mov	r9, r12
	mov	r12d, ecx
.L83:
	mov	ecx, DWORD PTR SQLITE_OK[rip]
	jmp	.L22
.L20:
	test	r8b, r8b
	jne	.L48
	xor	r14d, r14d
	xor	ebp, ebp
	jmp	.L24
.L48:
	xor	ebp, ebp
	jmp	.L35
.L97:
	mov	DWORD PTR 8[rsp], eax
	mov	edx, eax
	lea	rsi, .LC2[rip]
	mov	rdi, r15
	xor	eax, eax
	xor	ebp, ebp
	call	zipfileTableErr@PLT
	mov	r10d, DWORD PTR 8[rsp]
	mov	eax, DWORD PTR 28[rsp]
	mov	QWORD PTR 32[rsp], r14
	mov	DWORD PTR 48[rsp], 0
	mov	r12d, DWORD PTR SQLITE_CONSTRAINT[rip]
	mov	DWORD PTR 44[rsp], r10d
	mov	DWORD PTR 40[rsp], eax
	jmp	.L13
.L45:
	mov	r12d, ecx
	xor	ebp, ebp
	mov	ecx, eax
	jmp	.L19
.L98:
	mov	esi, DWORD PTR 28[rsp]
	lea	rcx, 76[rsp]
	lea	r8, 40[r15]
	mov	rdi, r14
	lea	rdx, 80[rsp]
	mov	DWORD PTR 8[rsp], r10d
	call	zipfileDeflate@PLT
	mov	QWORD PTR 32[rsp], r14
	mov	r10d, DWORD PTR 8[rsp]
	mov	r12d, eax
	mov	eax, DWORD PTR 28[rsp]
	cmp	DWORD PTR SQLITE_OK[rip], r12d
	mov	DWORD PTR 40[rsp], eax
	je	.L99
.L16:
	mov	DWORD PTR 44[rsp], r10d
	jmp	.L15
.L99:
	mov	eax, DWORD PTR 76[rsp]
	mov	DWORD PTR 40[rsp], eax
	test	r10d, r10d
	jne	.L17
	mov	ecx, DWORD PTR 28[rsp]
	cmp	eax, ecx
	jl	.L17
	mov	eax, DWORD PTR 28[rsp]
	mov	QWORD PTR 32[rsp], r14
	mov	DWORD PTR 40[rsp], eax
	jmp	.L16
.L17:
	mov	rax, QWORD PTR 80[rsp]
	mov	r10d, 8
	mov	QWORD PTR 32[rsp], rax
	jmp	.L16
.L86:
	call	__stack_chk_fail@PLT
.L44:
	mov	r12d, ecx
	mov	ecx, eax
	jmp	.L18
	.cfi_endproc
.LFE0:
	.size	zipfileUpdate, .-zipfileUpdate
	.comm	ZIPFILE_NEWENTRY_REQUIRED,4,4
	.comm	ZIPFILE_NEWENTRY_MADEBY,4,4
	.comm	ZIPFILE_NEWENTRY_FLAGS,4,4
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_NULL,8,8
	.comm	SQLITE_NOMEM,4,4
	.comm	SQLITE_CONSTRAINT,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_zipfile.c_zipfileUpdate.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sz must be NULL\000"
	.align	2
.LC1:
	.ascii	"rawdata must be NULL\000"
	.align	2
.LC2:
	.ascii	"unknown compression method: %d\000"
	.align	2
.LC3:
	.ascii	"%s/\000"
	.align	2
.LC4:
	.ascii	"duplicate name: \"%s\"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zipfileUpdate, %function
zipfileUpdate:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	ip, [r0]
	sub	sp, sp, #60
	mov	r6, r2
	ldr	r9, .L86
	ldr	r2, .L86+4
	str	r1, [sp, #8]
	cmp	ip, r3
	ldr	r2, [r2]
	str	r2, [sp, #52]
	mov	r2,#0
	mov	fp, r0
	ldr	r5, [r9]
	str	r3, [sp, #40]
	str	r3, [sp, #44]
	bne	.L2
	bl	zipfileBegin
	ldr	r3, [r9]
	mov	r5, r0
	cmp	r3, r0
	beq	.L2
.L1:
	ldr	r3, .L86+4
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L74
	mov	r0, r5
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r0, [r6]
	bl	sqlite3_value_type
	ldr	r10, .L86+8
	ldr	r3, [r10]
	cmp	r0, r3
	bne	.L75
	mov	r3, #0
	mov	r4, r3
	str	r3, [sp, #12]
.L4:
	ldr	r3, [sp, #8]
	cmp	r3, #1
	movle	r7, #0
	movle	r6, r7
	bgt	.L76
.L9:
	ldr	r3, [r9]
	cmp	r3, r5
	bne	.L27
	orrs	r3, r4, r7
	beq	.L27
	ldr	r3, [fp, #4]
	cmp	r3, #0
	beq	.L33
	mov	r1, #1
.L31:
	ldr	r2, [r3, #4]
	cmp	r2, #0
	beq	.L32
	cmp	r2, r7
	cmpne	r2, r4
	ldreq	r2, [r2, #4]
	stmeq	r3, {r1, r2}
.L32:
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L31
.L33:
	mov	r1, r4
	mov	r0, fp
	bl	zipfileRemoveEntryFromList
	mov	r1, r7
	mov	r0, fp
	bl	zipfileRemoveEntryFromList
.L27:
	ldr	r0, [sp, #44]
	bl	sqlite3_free
	mov	r0, r6
	bl	sqlite3_free
	b	.L1
.L75:
	ldr	r0, [r6]
	bl	sqlite3_value_text
	mov	r7, r0
	bl	strlen
	ldr	r3, [sp, #8]
	mov	r8, r0
	cmp	r3, #1
	bgt	.L5
.L7:
	mov	r3, #0
	str	r3, [sp, #12]
.L6:
	ldr	r4, [fp, #16]
	b	.L8
.L77:
	ldr	r0, [r4, #4]
	bl	assert
	ldr	r4, [r4, #4]
.L8:
	mov	r2, r8
	mov	r1, r7
	ldr	r0, [r4, #8]
	bl	zipfileComparePath
	cmp	r0, #0
	bne	.L77
	b	.L4
.L76:
	ldr	r0, [r6, #20]
	bl	sqlite3_value_type
	ldr	r3, [r10]
	cmp	r0, r3
	bne	.L78
.L10:
	ldr	r0, [r6, #24]
	bl	sqlite3_value_type
	ldr	r3, [r10]
	cmp	r0, r3
	bne	.L79
.L11:
	ldr	r3, [r9]
	cmp	r3, r5
	str	r3, [sp, #8]
	beq	.L80
	mov	r10, #0
	ldr	r3, [sp, #12]
	str	r10, [sp, #20]
	and	r8, r3, #1
	str	r10, [sp, #28]
	str	r10, [sp, #24]
	str	r10, [sp, #16]
.L18:
	mov	r3, #0
	cmp	r4, r3
	movne	r7, r8
	moveq	r7, #1
	mov	r6, r3
	mov	r8, r3
	str	r3, [sp, #32]
	str	r3, [sp, #12]
.L19:
	cmp	r7, #0
	beq	.L22
	ldr	r3, [sp, #8]
	cmp	r5, r3
	bne	.L27
.L34:
	ldr	r7, [fp, #16]
	cmp	r7, #0
	beq	.L24
	ldr	r5, [sp, #12]
	b	.L29
.L25:
	ldr	r7, [r7, #4]
	cmp	r7, #0
	beq	.L72
.L29:
	mov	r2, r5
	mov	r1, r8
	ldr	r0, [r7, #8]
	bl	zipfileComparePath
	cmp	r0, #0
	bne	.L25
	mov	r5, r0
	ldr	r0, [fp, #12]
	bl	sqlite3_vtab_on_conflict
	cmp	r0, #128
	beq	.L72
	cmp	r0, #129
	beq	.L46
	mov	r2, r8
	mov	r0, fp
	ldr	r1, .L86+12
	bl	zipfileTableErr
	ldr	r3, .L86+16
	mov	r7, r5
	ldr	r5, [r3]
	ldr	r3, [r9]
	str	r3, [sp, #8]
.L22:
	ldr	r3, [sp, #8]
	cmp	r5, r3
	bne	.L27
.L24:
	mov	r0, r8
	bl	zipfileNewEntry
	subs	r8, r0, #0
	beq	.L81
	ldr	r1, .L86+20
	ldr	r2, .L86+24
	ldr	r3, .L86+28
	ldr	r5, [sp, #32]
	ldr	r0, [sp, #20]
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r0, [r8, #36]
	str	r1, [r8, #48]
	str	r2, [r8, #44]
	mov	r1, r5
	str	r3, [r8, #40]
	add	r0, r8, #8
	bl	zipfileMtimeToDos
	ldr	r1, [sp, #40]
	ldr	r0, [fp, #8]
	lsl	r1, r1, #16
	ldr	r2, [sp, #16]
	ldr	r3, [sp, #28]
	str	r1, [r8, #24]
	ldr	r1, [sp, #12]
	str	r2, [r8, #20]
	str	r0, [r8, #28]
	ldr	r2, [sp, #24]
	str	r1, [r8, #32]
	str	r5, [r8]
	mov	r1, r8
	mov	r0, fp
	str	r10, [r8, #12]
	str	r3, [r8, #16]
	bl	zipfileAppendEntry
	mov	r2, r8
	mov	r5, r0
	mov	r1, r4
	mov	r0, fp
	bl	zipfileAddEntry
	b	.L9
.L79:
	mov	r0, fp
	ldr	r1, .L86+32
	bl	zipfileTableErr
	ldr	r3, .L86+16
	ldr	r5, [r3]
	b	.L11
.L78:
	mov	r0, fp
	ldr	r1, .L86+36
	bl	zipfileTableErr
	ldr	r3, .L86+16
	ldr	r5, [r3]
	b	.L10
.L5:
	ldr	r0, [r6, #4]
	bl	sqlite3_value_text
	cmp	r0, #0
	beq	.L7
	mov	r2, r8
	mov	r1, r7
	bl	zipfileComparePath
	subs	r3, r0, #0
	movne	r3, #1
	str	r3, [sp, #12]
	b	.L6
.L80:
	ldr	r0, [r6, #28]
	bl	sqlite3_value_type
	ldr	r3, [r10]
	cmp	r0, r3
	bne	.L82
	mov	r10, #0
	mov	r3, #1
	str	r10, [sp, #20]
	str	r3, [sp, #36]
	str	r10, [sp, #28]
	str	r10, [sp, #24]
	str	r10, [sp, #16]
.L13:
	ldr	r2, [r9]
	ldr	r3, [sp, #12]
	cmp	r4, #0
	mov	r7, r3
	moveq	r7, #1
	cmp	r2, r5
	str	r2, [sp, #8]
	and	r8, r3, #1
	bne	.L18
	add	r3, fp, #20
	ldr	r1, [sp, #36]
	ldr	r0, [r6, #12]
	add	r2, sp, #40
	bl	zipfileGetMode
	ldr	r3, [r9]
	mov	r5, r0
	cmp	r3, r0
	str	r0, [sp, #8]
	bne	.L43
	ldr	r0, [r6, #8]
	bl	sqlite3_value_text
	mov	r8, r0
	bl	strlen
	mov	r3, r0
	ldr	r0, [r6, #16]
	str	r3, [sp, #12]
	bl	zipfileGetTime
	ldr	r3, [r9]
	ldr	r6, [sp, #36]
	str	r0, [sp, #32]
	cmp	r3, r5
	movne	r6, #0
	andeq	r6, r6, #1
	cmp	r6, #0
	beq	.L44
	ldr	r3, [sp, #12]
	add	r3, r8, r3
	ldrb	r3, [r3, #-1]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L20
	mov	r1, r8
	ldr	r0, .L86+40
	bl	sqlite3_mprintf
	subs	r8, r0, #0
	ldreq	r3, .L86+44
	mov	r6, r8
	ldreq	r3, [r3]
	streq	r3, [sp, #8]
	ldr	r3, [sp, #12]
	ldr	r5, [sp, #8]
	add	r3, r3, #1
	str	r3, [sp, #12]
	ldr	r3, [r9]
	str	r3, [sp, #8]
	b	.L19
.L82:
	ldr	r0, [r6, #28]
	bl	sqlite3_value_blob
	mov	r8, r0
	ldr	r0, [r6, #28]
	bl	sqlite3_value_bytes
	mov	r3, r0
	ldr	r0, [r6, #32]
	str	r3, [sp, #16]
	bl	sqlite3_value_type
	mov	r3, r0
	ldr	r0, [r6, #32]
	str	r3, [sp, #8]
	ldr	r10, [r10]
	bl	sqlite3_value_int
	bics	r3, r0, #8
	mov	r7, r0
	str	r3, [sp, #36]
	bne	.L83
	ldr	r3, [sp, #8]
	cmp	r3, r10
	movne	r3, r0
	orreq	r3, r0, #1
	cmp	r3, #0
	str	r3, [sp, #20]
	bne	.L84
	ldr	r3, [sp, #16]
	str	r8, [sp, #24]
	str	r3, [sp, #28]
.L15:
	mov	r1, r8
	mov	r0, #0
	ldr	r2, [sp, #16]
	bl	crc32
	mov	r10, r0
	b	.L13
.L81:
	ldr	r3, .L86+44
	ldr	r5, [r3]
	b	.L9
.L72:
	ldr	r3, [r9]
	ldr	r5, [sp, #8]
	str	r3, [sp, #8]
	b	.L22
.L20:
	cmp	r7, #0
	moveq	r6, r7
	beq	.L24
	mov	r6, #0
	b	.L34
.L46:
	ldr	r5, [sp, #8]
	b	.L27
.L83:
	mov	r10, #0
	mov	r2, r0
	ldr	r1, .L86+48
	mov	r0, fp
	bl	zipfileTableErr
	ldr	r3, .L86+16
	str	r8, [sp, #24]
	ldr	r5, [r3]
	ldr	r3, [sp, #16]
	str	r7, [sp, #20]
	str	r10, [sp, #36]
	str	r3, [sp, #28]
	b	.L13
.L44:
	ldr	r5, [sp, #8]
	str	r3, [sp, #8]
	b	.L19
.L84:
	add	r3, fp, #20
	str	r3, [sp]
	mov	r0, r8
	add	r3, sp, #48
	ldr	r1, [sp, #16]
	add	r2, sp, #44
	bl	zipfileDeflate
	ldr	r3, [r9]
	mov	r5, r0
	cmp	r3, r0
	beq	.L85
.L42:
	ldr	r3, [sp, #16]
	str	r8, [sp, #24]
	str	r3, [sp, #28]
.L16:
	str	r7, [sp, #20]
	b	.L15
.L85:
	ldr	r3, [sp, #48]
	cmp	r7, #0
	str	r3, [sp, #28]
	bne	.L17
	ldr	r2, [sp, #16]
	cmp	r3, r2
	bge	.L42
.L17:
	ldr	r3, [sp, #44]
	mov	r7, #8
	str	r3, [sp, #24]
	b	.L16
.L74:
	bl	__stack_chk_fail
.L43:
	ldr	r5, [sp, #8]
	str	r3, [sp, #8]
	b	.L18
.L87:
	.align	2
.L86:
	.word	SQLITE_OK
	.word	.LC5
	.word	SQLITE_NULL
	.word	.LC4
	.word	SQLITE_CONSTRAINT
	.word	ZIPFILE_NEWENTRY_MADEBY
	.word	ZIPFILE_NEWENTRY_REQUIRED
	.word	ZIPFILE_NEWENTRY_FLAGS
	.word	.LC1
	.word	.LC0
	.word	.LC3
	.word	SQLITE_NOMEM
	.word	.LC2
	.size	zipfileUpdate, .-zipfileUpdate
	.comm	ZIPFILE_NEWENTRY_REQUIRED,4,4
	.comm	ZIPFILE_NEWENTRY_MADEBY,4,4
	.comm	ZIPFILE_NEWENTRY_FLAGS,4,4
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_NULL,4,4
	.comm	SQLITE_NOMEM,4,4
	.comm	SQLITE_CONSTRAINT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
