	.file	"extr_unzip.c_unzReadCurrentFile.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	unzReadCurrentFile
	.type	unzReadCurrentFile, @function
unzReadCurrentFile:
.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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	test	rdi, rdi
	je	.L4
	mov	rbx, QWORD PTR 8[rdi]
	mov	r12, rdi
	test	rbx, rbx
	je	.L4
	cmp	QWORD PTR 80[rbx], 0
	mov	r14d, DWORD PTR UNZ_END_OF_LIST_OF_FILE[rip]
	je	.L1
	xor	r14d, r14d
	test	edx, edx
	je	.L1
	mov	ebp, DWORD PTR [rbx]
	mov	eax, edx
	mov	r14d, DWORD PTR UNZ_OK[rip]
	mov	QWORD PTR 64[rbx], rsi
	mov	QWORD PTR 40[rbx], rax
	cmp	ebp, edx
	jb	.L6
.L8:
	xor	ebp, ebp
	lea	r13, 40[rbx]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L15:
	mov	esi, DWORD PTR Z_SYNC_FLUSH[rip]
	mov	rdi, r13
	call	inflate@PLT
	mov	r14d, eax
	mov	rax, QWORD PTR 56[rbx]
	sub	rax, r15
	sub	DWORD PTR [rbx], eax
	add	rbp, rax
	cmp	DWORD PTR Z_STREAM_END[rip], r14d
	je	.L32
	cmp	DWORD PTR Z_OK[rip], r14d
	jne	.L1
	mov	rax, QWORD PTR 40[rbx]
	test	rax, rax
	jle	.L9
.L7:
	cmp	QWORD PTR 48[rbx], 0
	jne	.L10
	mov	rax, QWORD PTR 8[rbx]
	test	rax, rax
	jle	.L10
	mov	r15, QWORD PTR UNZ_BUFSIZE[rip]
	cmp	rax, r15
	cmovle	r15, rax
	test	r15, r15
	je	.L33
	mov	ecx, DWORD PTR 88[rbx]
	cmp	rax, QWORD PTR [r12]
	je	.L34
.L12:
	mov	rdi, QWORD PTR 80[rbx]
	mov	edx, 1
	mov	rsi, r15
	call	fread@PLT
	cmp	eax, 1
	jne	.L30
	mov	rax, QWORD PTR 80[rbx]
	add	QWORD PTR 16[rbx], r15
	sub	QWORD PTR 8[rbx], r15
	mov	QWORD PTR 72[rbx], rax
	mov	QWORD PTR 48[rbx], r15
.L10:
	mov	rax, QWORD PTR 32[rbx]
	mov	r15, QWORD PTR 56[rbx]
	test	rax, rax
	jne	.L15
	mov	r8, QWORD PTR 40[rbx]
	mov	r9, QWORD PTR 48[rbx]
	mov	rdi, QWORD PTR 72[rbx]
	mov	rsi, QWORD PTR 64[rbx]
	cmp	r8, r9
	mov	rcx, r9
	cmovle	rcx, r8
	test	rcx, rcx
	jle	.L18
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edx, DWORD PTR [rdi+rax*4]
	mov	DWORD PTR [rsi+rax*4], edx
	add	rax, 1
	cmp	rcx, rax
	jne	.L16
.L18:
	lea	rdx, 0[0+rcx*4]
	mov	rax, r8
	sub	r9, rcx
	sub	DWORD PTR [rbx], ecx
	sub	rax, rcx
	add	rsi, rdx
	add	rdi, rdx
	add	r15, rcx
	mov	QWORD PTR 48[rbx], r9
	add	rbp, rcx
	mov	QWORD PTR 40[rbx], rax
	mov	QWORD PTR 64[rbx], rsi
	mov	QWORD PTR 72[rbx], rdi
	mov	QWORD PTR 56[rbx], r15
	test	rax, rax
	jg	.L7
.L9:
	cmp	DWORD PTR Z_OK[rip], r14d
	cmove	r14d, ebp
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	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
.L34:
	.cfi_restore_state
	mov	edx, DWORD PTR SEEK_SET[rip]
	mov	rsi, QWORD PTR 24[rbx]
	mov	edi, ecx
	add	rsi, QWORD PTR 16[rbx]
	call	fseek@PLT
	test	rax, rax
	jne	.L30
	mov	ecx, DWORD PTR 88[rbx]
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r14d, DWORD PTR UNZ_PARAMERROR[rip]
	jmp	.L1
.L6:
	mov	QWORD PTR 40[rbx], rbp
	test	rbp, rbp
	jne	.L8
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L32:
	test	rbp, rbp
	mov	r14d, ebp
	cmove	r14d, DWORD PTR UNZ_EOF[rip]
	jmp	.L1
.L30:
	mov	r14d, DWORD PTR UNZ_ERRNO[rip]
	jmp	.L1
.L33:
	mov	r14d, DWORD PTR UNZ_EOF[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	unzReadCurrentFile, .-unzReadCurrentFile
	.comm	Z_SYNC_FLUSH,4,4
	.comm	Z_STREAM_END,4,4
	.comm	Z_OK,4,4
	.comm	UNZ_PARAMERROR,4,4
	.comm	UNZ_OK,4,4
	.comm	UNZ_ERRNO,4,4
	.comm	UNZ_EOF,4,4
	.comm	UNZ_END_OF_LIST_OF_FILE,4,4
	.comm	UNZ_BUFSIZE,8,8
	.comm	SEEK_SET,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_unzip.c_unzReadCurrentFile.c"
	.text
	.align	2
	.global	unzReadCurrentFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	unzReadCurrentFile, %function
unzReadCurrentFile:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r3, r0, #0
	sub	sp, sp, #12
	str	r3, [sp, #4]
	beq	.L4
	ldr	r3, [sp, #4]
	ldr	r4, [r3, #4]
	cmp	r4, #0
	beq	.L4
	ldr	r3, [r4, #40]
	cmp	r3, #0
	beq	.L33
	cmp	r2, #0
	moveq	r5, r2
	beq	.L1
	ldr	r3, [r4]
	str	r2, [r4, #20]
	cmp	r3, r2
	movcc	r2, r3
	ldr	r0, .L37
	strcc	r2, [r4, #20]
	cmp	r2, #0
	mov	r6, #0
	ldr	r5, [r0]
	str	r1, [r4, #32]
	bgt	.L19
	b	.L7
.L13:
	ldr	r3, .L37+4
	add	r0, r4, #20
	ldr	r1, [r3]
	bl	inflate
	ldr	r3, [r4, #28]
	ldr	r2, .L37+8
	sub	r7, r3, r7
	ldr	r2, [r2]
	ldr	r3, [r4]
	cmp	r2, r0
	sub	r3, r3, r7
	mov	r5, r0
	add	r6, r6, r7
	str	r3, [r4]
	beq	.L34
	ldr	r3, .L37+12
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L1
	ldr	ip, [r4, #20]
	cmp	ip, #0
	ble	.L7
.L19:
	ldr	r3, [r4, #24]
	cmp	r3, #0
	bne	.L8
	ldr	r2, [r4, #4]
	cmp	r2, #0
	ble	.L8
	ldr	r3, .L37+16
	ldr	r7, [r3]
	cmp	r2, r7
	movlt	r7, r2
	cmp	r7, #0
	beq	.L30
	ldr	r3, [sp, #4]
	ldr	r1, [r3]
	ldr	r3, [r4, #44]
	cmp	r2, r1
	beq	.L35
.L10:
	mov	r2, #1
	mov	r1, r7
	ldr	r0, [r4, #40]
	bl	fread
	cmp	r0, #1
	bne	.L31
	ldr	r2, [r4, #8]
	ldr	r3, [r4, #4]
	ldr	r1, [r4, #40]
	add	r2, r2, r7
	sub	r3, r3, r7
	str	r7, [r4, #24]
	str	r2, [r4, #8]
	str	r3, [r4, #4]
	str	r1, [r4, #36]
.L8:
	ldr	r3, [r4, #16]
	ldr	r7, [r4, #28]
	cmp	r3, #0
	bne	.L13
	ldr	ip, [r4, #20]
	ldr	r8, [r4, #24]
	ldr	r9, [r4, #36]
	cmp	ip, r8
	movlt	r0, ip
	movge	r0, r8
	ldr	r10, [r4, #32]
	cmp	r0, #0
	subgt	r3, r9, #4
	addgt	lr, r3, r0, lsl #2
	subgt	r2, r10, #4
	lslgt	fp, r0, #2
	ble	.L36
.L16:
	ldr	r1, [r3, #4]!
	cmp	r3, lr
	str	r1, [r2, #4]!
	bne	.L16
.L17:
	ldr	r3, [r4]
	sub	ip, ip, r0
	sub	r8, r8, r0
	add	r10, r10, fp
	add	r9, r9, fp
	add	r7, r7, r0
	sub	r3, r3, r0
	cmp	ip, #0
	str	r8, [r4, #24]
	str	ip, [r4, #20]
	str	r10, [r4, #32]
	str	r9, [r4, #36]
	str	r7, [r4, #28]
	add	r6, r6, r0
	str	r3, [r4]
	bgt	.L19
.L7:
	ldr	r3, .L37+12
	ldr	r3, [r3]
	cmp	r3, r5
	moveq	r5, r6
.L1:
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L35:
	ldr	r2, [r4, #12]
	mov	r0, r3
	ldr	r1, [r4, #8]
	ldr	r3, .L37+20
	add	r1, r1, r2
	ldr	r2, [r3]
	bl	fseek
	cmp	r0, #0
	bne	.L31
	ldr	r3, [r4, #44]
	b	.L10
.L4:
	ldr	r3, .L37+24
	ldr	r5, [r3]
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L36:
	lsl	fp, r0, #2
	b	.L17
.L33:
	ldr	r3, .L37+28
	ldr	r5, [r3]
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L34:
	cmp	r6, #0
	movne	r5, r6
	bne	.L1
.L30:
	ldr	r3, .L37+32
	ldr	r5, [r3]
	b	.L1
.L31:
	ldr	r3, .L37+36
	ldr	r5, [r3]
	b	.L1
.L38:
	.align	2
.L37:
	.word	UNZ_OK
	.word	Z_SYNC_FLUSH
	.word	Z_STREAM_END
	.word	Z_OK
	.word	UNZ_BUFSIZE
	.word	SEEK_SET
	.word	UNZ_PARAMERROR
	.word	UNZ_END_OF_LIST_OF_FILE
	.word	UNZ_EOF
	.word	UNZ_ERRNO
	.size	unzReadCurrentFile, .-unzReadCurrentFile
	.comm	Z_SYNC_FLUSH,4,4
	.comm	Z_STREAM_END,4,4
	.comm	Z_OK,4,4
	.comm	UNZ_PARAMERROR,4,4
	.comm	UNZ_OK,4,4
	.comm	UNZ_ERRNO,4,4
	.comm	UNZ_EOF,4,4
	.comm	UNZ_END_OF_LIST_OF_FILE,4,4
	.comm	UNZ_BUFSIZE,4,4
	.comm	SEEK_SET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
