	.file	"extr_lwan-mod-serve-files.c_mmap_serve.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mmap_serve, @function
mmap_serve:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	r8, QWORD PTR 16[rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	test	r8, r8
	je	.L2
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR REQUEST_ACCEPT_DEFLATE[rip], eax
	je	.L2
	mov	rcx, QWORD PTR 24[rsi]
	mov	r9d, 129
	mov	rsi, rbp
	mov	rdi, r12
	lea	rdx, deflate_compression_hdr[rip]
	call	serve_buffer@PLT
.L1:
	mov	rdi, QWORD PTR 24[rsp]
	xor	rdi, QWORD PTR fs:40
	jne	.L15
	add	rsp, 40
	.cfi_remember_state
	.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
.L2:
	.cfi_restore_state
	mov	rcx, QWORD PTR 8[rbp]
	lea	rdx, 16[rsp]
	lea	rsi, 8[rsp]
	mov	rdi, r12
	call	compute_range@PLT
	lea	edx, -128[rax]
	mov	r9d, eax
	cmp	edx, 1
	ja	.L1
	mov	rax, QWORD PTR 8[rsp]
	mov	rcx, QWORD PTR 0[rbp]
	xor	edx, edx
	mov	rsi, rbp
	mov	r8, QWORD PTR 16[rsp]
	mov	rdi, r12
	add	rcx, rax
	sub	r8, rax
	call	serve_buffer@PLT
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mmap_serve, .-mmap_serve
	.comm	zstd_compression_hdr,4,4
	.comm	deflate_compression_hdr,4,4
	.comm	br_compression_hdr,4,4
	.comm	REQUEST_ACCEPT_ZSTD,4,4
	.comm	REQUEST_ACCEPT_DEFLATE,4,4
	.comm	REQUEST_ACCEPT_BROTLI,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_lwan-mod-serve-files.c_mmap_serve.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mmap_serve, %function
mmap_serve:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	ip, [r1, #8]
	ldr	r3, .L16
	sub	sp, sp, #28
	cmp	ip, #0
	mov	r4, r1
	mov	r5, r0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L2
	ldr	r3, .L16+4
	ldr	r2, [r0]
	ldr	r3, [r3]
	tst	r2, r3
	ldrne	r3, [r1, #12]
	ldrne	r2, .L16+8
	movne	r1, #129
	bne	.L3
.L2:
	ldr	r3, [r4, #4]
	add	r1, sp, #12
	mov	r0, r5
	add	r2, sp, #16
	bl	compute_range
	sub	r3, r0, #128
	cmp	r3, #1
	mov	r1, r0
	bhi	.L1
	mov	r2, #0
	ldr	r0, [sp, #12]
	ldr	r3, [r4]
	ldr	ip, [sp, #16]
	add	r3, r0, r3
	sub	ip, ip, r0
.L3:
	str	r1, [sp, #4]
	mov	r0, r5
	mov	r1, r4
	str	ip, [sp]
	bl	serve_buffer
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	REQUEST_ACCEPT_DEFLATE
	.word	deflate_compression_hdr
	.size	mmap_serve, .-mmap_serve
	.comm	zstd_compression_hdr,4,4
	.comm	deflate_compression_hdr,4,4
	.comm	br_compression_hdr,4,4
	.comm	REQUEST_ACCEPT_ZSTD,4,4
	.comm	REQUEST_ACCEPT_DEFLATE,4,4
	.comm	REQUEST_ACCEPT_BROTLI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
