	.file	"extr_mz_compat.c_unzOpen_MZ.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	unzOpen_MZ
	.type	unzOpen_MZ, @function
unzOpen_MZ:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rbp, rsp
	mov	QWORD PTR [rsp], 0
	mov	rdi, rbp
	call	mz_zip_create@PLT
	mov	edx, DWORD PTR MZ_OPEN_MODE_READ[rip]
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, rbx
	call	mz_zip_open@PLT
	cmp	QWORD PTR MZ_OK[rip], rax
	jne	.L4
	mov	edi, 16
	call	MZ_ALLOC@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L11
.L4:
	mov	rdi, rbp
	xor	r12d, r12d
	call	mz_zip_delete@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rsp]
	mov	QWORD PTR 8[rax], rbx
	mov	QWORD PTR [rax], rdi
	call	mz_zip_goto_first_entry@PLT
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	unzOpen_MZ, .-unzOpen_MZ
	.comm	MZ_OPEN_MODE_READ,4,4
	.comm	MZ_OK,8,8
	.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_mz_compat.c_unzOpen_MZ.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	unzOpen_MZ
	.syntax unified
	.arm
	.fpu softvfp
	.type	unzOpen_MZ, %function
unzOpen_MZ:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, lr}
	mov	r5, r0
	sub	sp, sp, #12
	ldr	r2, .L13
	mov	r0, sp
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	str	r3, [sp]
	bl	mz_zip_create
	ldr	r3, .L13+4
	mov	r1, r5
	ldr	r2, [r3]
	ldr	r0, [sp]
	bl	mz_zip_open
	ldr	r3, .L13+8
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L4
	mov	r0, #8
	bl	MZ_ALLOC
	subs	r4, r0, #0
	bne	.L11
.L4:
	mov	r0, sp
	bl	mz_zip_delete
	mov	r4, #0
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L11:
	ldr	r0, [sp]
	stm	r4, {r0, r5}
	bl	mz_zip_goto_first_entry
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	MZ_OPEN_MODE_READ
	.word	MZ_OK
	.size	unzOpen_MZ, .-unzOpen_MZ
	.comm	MZ_OPEN_MODE_READ,4,4
	.comm	MZ_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
