	.file	"extr_mongoose.c_mg_http_get_request_len.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mg_http_get_request_len, @function
mg_http_get_request_len:
.LFB0:
	.cfi_startproc
	endbr64
	test	esi, esi
	jle	.L30
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	xor	ebx, ebx
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L35:
	cmp	al, 10
	je	.L4
	cmp	al, 13
	je	.L4
	test	al, al
	jns	.L34
	lea	edx, 1[rbx]
.L7:
	cmp	r12d, edx
	jle	.L2
.L12:
	add	rbx, 1
.L10:
	movzx	edi, BYTE PTR [r14+rbx]
	mov	ebp, ebx
	mov	r13d, ebx
	call	isprint@PLT
	test	eax, eax
	movzx	eax, BYTE PTR [r14+rbx]
	je	.L35
.L4:
	lea	edx, 1[rbp]
	cmp	al, 10
	jne	.L7
	lea	eax, 2[rbp]
	cmp	r12d, edx
	jle	.L8
	movzx	ecx, BYTE PTR 1[r14+rbx]
	cmp	cl, 10
	je	.L1
	cmp	eax, r12d
	jge	.L12
	cmp	cl, 13
	jne	.L12
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	eax, r12d
	jge	.L2
	cmp	BYTE PTR 1[r14+rbx], 13
	jne	.L2
.L13:
	cmp	BYTE PTR 2[r14+rbx], 10
	jne	.L7
	lea	eax, 3[r13]
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L34:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, -1
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L30:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	mg_http_get_request_len, .-mg_http_get_request_len
	.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_mongoose.c_mg_http_get_request_len.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mg_http_get_request_len, %function
mg_http_get_request_len:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r6, r1, #0
	ble	.L2
	sub	r4, r0, #1
	rsb	r5, r0, #1
	rsb	r8, r0, #2
.L20:
	add	r7, r4, r5
	ldrb	r0, [r4, #1]!	@ zero_extendqisi2
	bl	isprint
	cmp	r0, #0
	ldrb	r3, [r4]	@ zero_extendqisi2
	bne	.L4
	cmp	r3, #10
	cmpne	r3, #13
	bne	.L29
.L4:
	cmp	r3, #10
	add	r3, r4, r5
	beq	.L30
.L7:
	cmp	r6, r3
	bgt	.L20
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L30:
	cmp	r3, r6
	add	r0, r8, r4
	bge	.L8
	ldrb	r2, [r4, #1]	@ zero_extendqisi2
	cmp	r2, #10
	popeq	{r4, r5, r6, r7, r8, pc}
	cmp	r6, r0
	ble	.L20
	cmp	r2, #13
	bne	.L20
	b	.L12
.L29:
	tst	r3, #128
	beq	.L31
	add	r3, r4, r5
	b	.L7
.L8:
	cmp	r6, r0
	ble	.L2
	ldrb	r2, [r4, #1]	@ zero_extendqisi2
	cmp	r2, #13
	bne	.L2
.L12:
	ldrb	r2, [r4, #2]	@ zero_extendqisi2
	cmp	r2, #10
	bne	.L7
	add	r0, r7, #3
	pop	{r4, r5, r6, r7, r8, pc}
.L31:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
	.size	mg_http_get_request_len, .-mg_http_get_request_len
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
