	.file	"extr_zip_deflate.c_zip_deflate.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Zip instruction not yet completed"
	.align 8
.LC1:
	.string	"Zip instruction completed successfully"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"Output Truncate error"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"Zip instruction failed. Code:%d"
	.section	.rodata.str1.1
.LC4:
	.string	"RAW Format: %d "
.LC5:
	.string	"ZLIB Format: %d "
.LC6:
	.string	"GZIP Format: %d "
.LC7:
	.string	"LZS Format: %d "
.LC8:
	.string	"Unknown Format:%d\n"
	.section	.rodata.str1.8
	.align 8
.LC9:
	.string	"output_len (%d) < total bytes written(%d)\n"
	.text
	.p2align 4
	.globl	zip_deflate
	.type	zip_deflate, @function
zip_deflate:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, 24[rsi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	mov	rdx, r13
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	prepare_zip_command@PLT
	mov	rdi, QWORD PTR [r12]
	lea	rsi, 12[rbp]
	call	atomic64_add@PLT
	mov	rsi, rbp
	mov	rdi, r13
	call	zip_load_instr@PLT
	lea	rdi, 8[rbp]
	mov	r13d, eax
	call	atomic64_inc@PLT
	mov	rdi, rbx
	call	zip_poll_result@PLT
	lea	rdi, 4[rbp]
	call	atomic64_inc@PLT
	movsx	rsi, DWORD PTR 16[rbx]
	mov	DWORD PTR 28[r12], esi
	cmp	esi, 130
	je	.L2
	cmp	esi, 131
	je	.L3
	cmp	esi, 129
	je	.L18
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	zip_err@PLT
	mov	eax, DWORD PTR ZIP_ERROR[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	zip_dbg@PLT
	mov	eax, DWORD PTR ZIP_ERROR[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	zip_dbg@PLT
	mov	esi, r13d
	mov	rdi, rbp
	call	zip_update_cmd_bufs@PLT
	movsx	rsi, DWORD PTR 8[r12]
	cmp	esi, 133
	je	.L7
	jg	.L8
	cmp	esi, 128
	je	.L9
	cmp	esi, 132
	jne	.L11
	mov	esi, 132
	lea	rdi, .LC4[rip]
	xor	eax, eax
	call	zip_dbg@PLT
	mov	eax, DWORD PTR 12[rbx]
	mov	DWORD PTR 24[r12], eax
.L13:
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, rbp
	call	atomic64_add@PLT
	mov	rsi, QWORD PTR 16[r12]
	mov	rdx, QWORD PTR [rbx]
	cmp	rsi, rdx
	jl	.L19
	mov	QWORD PTR 16[r12], rdx
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	cmp	esi, 134
	jne	.L11
	mov	esi, 134
	lea	rdi, .LC6[rip]
	xor	eax, eax
	call	zip_dbg@PLT
	mov	eax, DWORD PTR 8[rbx]
	mov	DWORD PTR 24[r12], eax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L3:
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	zip_dbg@PLT
	mov	eax, DWORD PTR ZIP_ERROR[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	esi, 128
	lea	rdi, .LC5[rip]
	xor	eax, eax
	call	zip_dbg@PLT
	mov	eax, DWORD PTR 12[rbx]
	mov	DWORD PTR 24[r12], eax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rdi, .LC8[rip]
	xor	eax, eax
	call	zip_err@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L19:
	lea	rdi, .LC9[rip]
	xor	eax, eax
	call	zip_err@PLT
	xor	eax, eax
	mov	QWORD PTR 16[r12], 0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, 133
	lea	rdi, .LC7[rip]
	xor	eax, eax
	call	zip_dbg@PLT
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	zip_deflate, .-zip_deflate
	.comm	ZIP_ERROR,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_zip_deflate.c_zip_deflate.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Zip instruction not yet completed\000"
	.align	2
.LC1:
	.ascii	"Zip instruction completed successfully\000"
	.align	2
.LC2:
	.ascii	"Output Truncate error\000"
	.align	2
.LC3:
	.ascii	"Zip instruction failed. Code:%d\000"
	.align	2
.LC4:
	.ascii	"RAW Format: %d \000"
	.align	2
.LC5:
	.ascii	"ZLIB Format: %d \000"
	.align	2
.LC6:
	.ascii	"GZIP Format: %d \000"
	.align	2
.LC7:
	.ascii	"LZS Format: %d \000"
	.align	2
.LC8:
	.ascii	"Unknown Format:%d\012\000"
	.align	2
.LC9:
	.ascii	"output_len (%d) < total bytes written(%d)\012\000"
	.text
	.align	2
	.global	zip_deflate
	.syntax unified
	.arm
	.fpu softvfp
	.type	zip_deflate, %function
zip_deflate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	mov	r6, r0
	add	r5, r1, #16
	mov	r2, r5
	mov	r7, r1
	bl	prepare_zip_command
	add	r1, r4, #12
	ldr	r0, [r6]
	bl	atomic64_add
	mov	r1, r4
	mov	r0, r5
	bl	zip_load_instr
	mov	r5, r0
	add	r0, r4, #8
	bl	atomic64_inc
	mov	r0, r7
	bl	zip_poll_result
	add	r0, r4, #4
	bl	atomic64_inc
	ldr	r1, [r7, #12]
	cmp	r1, #130
	str	r1, [r6, #16]
	beq	.L2
	cmp	r1, #131
	beq	.L3
	cmp	r1, #129
	beq	.L18
	ldr	r0, .L20
	bl	zip_err
	ldr	r3, .L20+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r0, .L20+8
	bl	zip_dbg
	ldr	r3, .L20+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	ldr	r0, .L20+12
	bl	zip_dbg
	mov	r1, r5
	mov	r0, r4
	bl	zip_update_cmd_bufs
	ldr	r1, [r6, #4]
	sub	r3, r1, #128
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L7
.L9:
	.word	.L12
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L11
	.word	.L10
	.word	.L8
.L3:
	ldr	r0, .L20+16
	bl	zip_dbg
	ldr	r3, .L20+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r0, .L20+20
	bl	zip_err
.L13:
	mov	r1, r4
	ldr	r0, [r7]
	bl	atomic64_add
	ldr	r2, [r7]
	ldr	r1, [r6, #8]
	cmp	r1, r2
	blt	.L19
	mov	r0, #0
	str	r2, [r6, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r1, #134
	ldr	r0, .L20+24
	bl	zip_dbg
	ldr	r3, [r7, #4]
	str	r3, [r6, #12]
	b	.L13
.L11:
	mov	r1, #132
	ldr	r0, .L20+28
	bl	zip_dbg
	ldr	r3, [r7, #8]
	str	r3, [r6, #12]
	b	.L13
.L12:
	mov	r1, #128
	ldr	r0, .L20+32
	bl	zip_dbg
	ldr	r3, [r7, #8]
	str	r3, [r6, #12]
	b	.L13
.L10:
	mov	r1, #133
	ldr	r0, .L20+36
	bl	zip_dbg
	b	.L13
.L19:
	ldr	r0, .L20+40
	bl	zip_err
	mov	r3, #0
	mov	r0, r3
	str	r3, [r6, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L21:
	.align	2
.L20:
	.word	.LC3
	.word	ZIP_ERROR
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC8
	.word	.LC6
	.word	.LC4
	.word	.LC5
	.word	.LC7
	.word	.LC9
	.size	zip_deflate, .-zip_deflate
	.comm	ZIP_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
