	.file	"extr_lwan-mod-serve-files.c_deflate_value.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	deflate_value, @function
deflate_value:
.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
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, QWORD PTR [rdi]
	call	compressBound@PLT
	mov	QWORD PTR 0[rbp], rax
	mov	rdi, rax
	mov	r12, rax
	call	malloc@PLT
	xor	edi, edi
	mov	QWORD PTR 8[rbp], rax
	test	rax, rax
	sete	dil
	call	UNLIKELY@PLT
	test	rax, rax
	je	.L9
.L2:
	endbr64
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	QWORD PTR 0[rbp], 0
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbp]
	mov	rdx, QWORD PTR 8[rbx]
	mov	rsi, rbp
	mov	rcx, QWORD PTR [rbx]
	call	compress@PLT
	xor	edi, edi
	cmp	QWORD PTR Z_OK[rip], rax
	setne	dil
	call	UNLIKELY@PLT
	test	rax, rax
	jne	.L3
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, QWORD PTR 0[rbp]
	call	is_compression_worthy@PLT
	test	rax, rax
	jne	.L10
.L3:
	mov	rdi, QWORD PTR 8[rbp]
	call	free@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	QWORD PTR 8[rbp], 0
	mov	QWORD PTR 0[rbp], 0
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	realloc_if_needed@PLT
	.cfi_endproc
.LFE0:
	.size	deflate_value, .-deflate_value
	.comm	Z_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_lwan-mod-serve-files.c_deflate_value.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	deflate_value, %function
deflate_value:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	ldr	r0, [r0]
	mov	r4, r1
	bl	compressBound
	str	r0, [r4]
	mov	r5, r0
	bl	malloc
	mov	r3, r0
	clz	r0, r0
	str	r3, [r4, #4]
	lsr	r0, r0, #5
	bl	UNLIKELY
	cmp	r0, #0
	beq	.L9
.L2:
	mov	r3, #0
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L9:
	mov	r1, r4
	ldr	r3, [r6]
	ldr	r2, [r6, #4]
	ldr	r0, [r4, #4]
	bl	compress
	ldr	r3, .L11
	ldr	r3, [r3]
	subs	r0, r3, r0
	movne	r0, #1
	bl	UNLIKELY
	cmp	r0, #0
	bne	.L3
	ldr	r1, [r6]
	ldr	r0, [r4]
	bl	is_compression_worthy
	cmp	r0, #0
	bne	.L10
.L3:
	ldr	r0, [r4, #4]
	bl	free
	mov	r3, #0
	str	r3, [r4, #4]
	b	.L2
.L10:
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	realloc_if_needed
.L12:
	.align	2
.L11:
	.word	Z_OK
	.size	deflate_value, .-deflate_value
	.comm	Z_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
