	.file	"extr_zip_crypto.c_zip_compress.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	zip_compress, @function
zip_compress:
.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, 24
	.cfi_def_cfa_offset 80
	test	r8, r8
	je	.L10
	mov	r14, rdi
	test	rdi, rdi
	je	.L10
	mov	r13, rdx
	test	rdx, rdx
	je	.L10
	mov	rbp, rcx
	test	rcx, rcx
	je	.L10
	xor	eax, eax
	mov	r12d, esi
	mov	rbx, r8
	call	zip_get_node_id@PLT
	mov	edi, eax
	call	zip_get_device@PLT
	mov	r15, rax
	test	rax, rax
	je	.L12
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	edi, 4
	call	kzalloc@PLT
	test	rax, rax
	je	.L10
	mov	DWORD PTR [rbx], r12d
	mov	rdi, QWORD PTR 16[rbx]
	mov	edx, r12d
	mov	rsi, r14
	mov	QWORD PTR 8[rsp], rax
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR 4[rbx], eax
	call	memcpy@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	rdx, r15
	mov	rdi, rbx
	mov	rsi, r8
	call	zip_deflate@PLT
	mov	r8, QWORD PTR 8[rsp]
	test	eax, eax
	mov	r12d, eax
	je	.L13
.L8:
	mov	rdi, r8
	call	kfree@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
.L1:
	add	rsp, 24
	.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
.L12:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edx, DWORD PTR 4[rbx]
	mov	rsi, QWORD PTR 8[rbx]
	mov	rdi, r13
	mov	DWORD PTR 0[rbp], edx
	call	memcpy@PLT
	mov	r8, QWORD PTR 8[rsp]
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	zip_compress, .-zip_compress
	.comm	GFP_ATOMIC,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,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_crypto.c_zip_compress.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zip_compress, %function
zip_compress:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, [sp, #32]
	cmp	r0, #0
	cmpne	r6, #0
	beq	.L9
	cmp	r3, #0
	cmpne	r2, #0
	mov	r7, r2
	mov	r5, r3
	bne	.L3
.L9:
	ldr	r3, .L13
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	mov	r8, r1
	mov	r4, r0
	bl	zip_get_node_id
	bl	zip_get_device
	subs	r9, r0, #0
	beq	.L11
	ldr	r3, .L13+4
	mov	r0, #4
	ldr	r1, [r3]
	bl	kzalloc
	subs	r10, r0, #0
	beq	.L9
	str	r8, [r6]
	ldr	r3, [r5]
	mov	r1, r4
	mov	r2, r8
	str	r3, [r6, #4]
	ldr	r0, [r6, #12]
	bl	memcpy
	mov	r2, r9
	mov	r1, r10
	mov	r0, r6
	bl	zip_deflate
	subs	r4, r0, #0
	beq	.L12
.L7:
	mov	r0, r10
	bl	kfree
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	ldr	r3, .L13+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L12:
	ldr	r2, [r6, #4]
	mov	r0, r7
	ldr	r1, [r6, #8]
	str	r2, [r5]
	bl	memcpy
	b	.L7
.L14:
	.align	2
.L13:
	.word	ENOMEM
	.word	GFP_ATOMIC
	.word	ENODEV
	.size	zip_compress, .-zip_compress
	.comm	GFP_ATOMIC,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
