	.file	"extr_net_http.c_net_http_update.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"HTTP/1."
.LC1:
	.string	"HTTP/1.1 "
.LC2:
	.string	"Content-Length: "
.LC3:
	.string	"Transfer-Encoding: chunked"
	.text
	.p2align 4
	.globl	net_http_update
	.type	net_http_update, @function
net_http_update:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L30
	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
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	ecx, DWORD PTR [rdi]
	test	ecx, ecx
	jne	.L3
	mov	rax, QWORD PTR 8[rdi]
	cmp	rax, QWORD PTR P_BODY[rip]
	mov	r13, rsi
	mov	r12, rdx
	jl	.L4
	cmp	rax, QWORD PTR P_DONE[rip]
	jl	.L5
.L6:
	test	r13, r13
	je	.L26
	movsx	rax, DWORD PTR 24[rbx]
	mov	QWORD PTR 0[r13], rax
.L26:
	test	r12, r12
	je	.L27
	mov	rax, QWORD PTR T_LEN[rip]
	cmp	QWORD PTR 40[rbx], rax
	je	.L53
	mov	QWORD PTR [r12], 0
.L27:
	mov	rax, QWORD PTR P_DONE[rip]
	cmp	QWORD PTR 8[rbx], rax
	sete	al
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	movzx	eax, al
	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
.L21:
	.cfi_restore_state
	mov	esi, DWORD PTR 24[rbx]
	mov	eax, DWORD PTR 48[rbx]
	add	esi, r15d
	mov	DWORD PTR 24[rbx], esi
	cmp	esi, eax
	je	.L54
.L25:
	cmp	eax, esi
	jge	.L6
.L3:
	mov	rax, QWORD PTR P_ERROR[rip]
	mov	DWORD PTR [rbx], 1
	mov	DWORD PTR 32[rbx], -1
	mov	QWORD PTR 8[rbx], rax
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, 1
	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
.L57:
	.cfi_restore_state
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	jne	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	movsx	rax, DWORD PTR 24[rbx]
	mov	ecx, DWORD PTR 28[rbx]
	mov	rsi, rbx
	mov	rdx, QWORD PTR 16[rbx]
	mov	edi, DWORD PTR 56[rbx]
	sub	ecx, eax
	lea	rdx, [rdx+rax*4]
	call	socket_receive_all_nonblocking@PLT
	mov	r15d, eax
	test	eax, eax
	js	.L7
.L8:
	mov	eax, DWORD PTR 28[rbx]
	mov	ecx, DWORD PTR 24[rbx]
	lea	edx, -64[rax]
	add	ecx, r15d
	cmp	ecx, edx
	jl	.L19
	lea	esi, [rax+rax]
	mov	rdi, QWORD PTR 16[rbx]
	mov	DWORD PTR 28[rbx], esi
	call	realloc@PLT
	mov	QWORD PTR 16[rbx], rax
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L4:
	movsx	rax, DWORD PTR 24[rdi]
	mov	ecx, DWORD PTR 28[rdi]
	mov	rsi, rbx
	mov	rdx, QWORD PTR 16[rdi]
	mov	edi, DWORD PTR 56[rdi]
	sub	ecx, eax
	lea	rdx, [rdx+rax*4]
	call	socket_receive_all_nonblocking@PLT
	mov	ebp, eax
	test	eax, eax
	js	.L3
	mov	r15d, DWORD PTR 24[rbx]
	mov	esi, DWORD PTR 28[rbx]
	add	r15d, eax
	lea	eax, -64[rsi]
	cmp	r15d, eax
	jge	.L55
.L9:
	mov	rax, QWORD PTR 8[rbx]
	cmp	rax, QWORD PTR P_BODY[rip]
	mov	DWORD PTR 24[rbx], r15d
	jge	.L29
	lea	r14, .LC2[rip]
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, r14
	call	STRLEN_CONST@PLT
	mov	rdi, QWORD PTR 16[rbx]
	mov	rsi, r14
	mov	edx, eax
	call	strncmp@PLT
	test	rax, rax
	je	.L56
.L15:
	mov	rdi, QWORD PTR 16[rbx]
	lea	rsi, .LC3[rip]
	call	string_is_equal@PLT
	test	rax, rax
	je	.L16
	mov	rax, QWORD PTR T_CHUNK[rip]
	mov	QWORD PTR 40[rbx], rax
.L16:
	mov	rdi, QWORD PTR 16[rbx]
	cmp	BYTE PTR [rdi], 0
	jne	.L14
	mov	rax, QWORD PTR P_BODY[rip]
	mov	QWORD PTR 8[rbx], rax
	mov	rax, QWORD PTR T_CHUNK[rip]
	cmp	QWORD PTR 40[rbx], rax
	jne	.L14
	mov	rax, QWORD PTR P_BODY_CHUNKLEN[rip]
	mov	QWORD PTR 8[rbx], rax
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rsi, 1[r15]
	sub	rbp, rsi
	mov	edx, ebp
	mov	r15d, ebp
	call	memmove@PLT
	mov	rax, QWORD PTR 8[rbx]
	cmp	rax, QWORD PTR P_BODY[rip]
	mov	DWORD PTR 24[rbx], ebp
	jge	.L29
.L17:
	mov	rdi, QWORD PTR 16[rbx]
	movsx	rbp, r15d
	mov	edx, r15d
	mov	esi, 10
	add	rbp, rdi
	call	memchr@PLT
	mov	r15, rax
	test	rax, rax
	je	.L11
	mov	BYTE PTR [rax], 0
	cmp	QWORD PTR 16[rbx], rax
	je	.L12
	cmp	BYTE PTR -1[rax], 13
	jne	.L12
	mov	BYTE PTR -1[rax], 0
.L12:
	mov	rax, QWORD PTR P_HEADER_TOP[rip]
	cmp	QWORD PTR 8[rbx], rax
	jne	.L13
	lea	rdi, .LC0[rip]
	call	STRLEN_CONST@PLT
	mov	rdi, QWORD PTR 16[rbx]
	lea	rsi, .LC0[rip]
	mov	edx, eax
	call	strncmp@PLT
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR 16[rbx]
	lea	rdi, .LC1[rip]
	mov	QWORD PTR 8[rsp], rax
	call	STRLEN_CONST@PLT
	mov	edx, 10
	xor	esi, esi
	movsx	rdi, eax
	add	rdi, QWORD PTR 8[rsp]
	call	strtoul@PLT
	mov	rdi, QWORD PTR 16[rbx]
	mov	DWORD PTR 32[rbx], eax
	mov	rax, QWORD PTR P_HEADER[rip]
	mov	QWORD PTR 8[rbx], rax
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L56:
	mov	rax, QWORD PTR T_LEN[rip]
	mov	rdi, r14
	mov	QWORD PTR 40[rbx], rax
	mov	rax, QWORD PTR 16[rbx]
	mov	QWORD PTR 8[rsp], rax
	call	STRLEN_CONST@PLT
	mov	edx, 10
	xor	esi, esi
	movsx	rdi, eax
	add	rdi, QWORD PTR 8[rsp]
	call	strtol@PLT
	mov	DWORD PTR 48[rbx], eax
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	mov	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L53:
	.cfi_def_cfa_offset 80
	.cfi_offset 3, -56
	.cfi_offset 6, -48
	.cfi_offset 12, -40
	.cfi_offset 13, -32
	.cfi_offset 14, -24
	.cfi_offset 15, -16
	movsx	rax, DWORD PTR 48[rbx]
	mov	QWORD PTR [r12], rax
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rax, QWORD PTR 8[rbx]
	cmp	rax, QWORD PTR P_BODY[rip]
	jl	.L6
	mov	r15d, DWORD PTR 24[rbx]
	.p2align 4,,10
	.p2align 3
.L29:
	cmp	QWORD PTR P_DONE[rip], rax
	mov	DWORD PTR 24[rbx], 0
	jle	.L6
	test	r15d, r15d
	je	.L57
.L19:
	mov	rsi, QWORD PTR 40[rbx]
	cmp	rsi, QWORD PTR T_CHUNK[rip]
	je	.L20
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L22:
	cmp	rax, QWORD PTR P_BODY[rip]
	jne	.L6
	mov	ecx, DWORD PTR 48[rbx]
	mov	eax, DWORD PTR 24[rbx]
	cmp	ecx, r15d
	ja	.L24
	add	eax, ecx
	mov	QWORD PTR 8[rbx], rdx
	sub	r15d, ecx
	mov	DWORD PTR 24[rbx], eax
	mov	DWORD PTR 48[rbx], eax
.L23:
	cmp	rsi, QWORD PTR T_CHUNK[rip]
	jne	.L21
.L20:
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR P_BODY_CHUNKLEN[rip]
	cmp	rax, rdx
	jne	.L22
	add	r15d, DWORD PTR 24[rbx]
	movsx	rax, DWORD PTR 48[rbx]
	mov	edx, r15d
	mov	DWORD PTR 24[rbx], r15d
	sub	edx, eax
	cmp	edx, 1
	jle	.L6
	mov	rcx, QWORD PTR 16[rbx]
	movsx	r15, r15d
	sub	edx, 2
	mov	esi, 10
	lea	rdi, 2[rcx+rax]
	add	r15, rcx
	call	memchr@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L6
	movsx	rdi, DWORD PTR 48[rbx]
	mov	edx, 16
	add	rdi, QWORD PTR 16[rbx]
	xor	esi, esi
	call	strtoul@PLT
	movsx	rdi, DWORD PTR 48[rbx]
	lea	rsi, 1[rbp]
	mov	rdx, r15
	sub	rdx, rsi
	mov	r14, rax
	mov	DWORD PTR 24[rbx], edi
	add	rdi, QWORD PTR 16[rbx]
	mov	r15d, edx
	call	memmove@PLT
	mov	rax, QWORD PTR P_BODY[rip]
	mov	DWORD PTR 48[rbx], r14d
	mov	QWORD PTR 8[rbx], rax
	test	r14d, r14d
	je	.L46
.L51:
	mov	rsi, QWORD PTR 40[rbx]
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L46:
	mov	rax, QWORD PTR P_DONE[rip]
	mov	esi, DWORD PTR 24[rbx]
	mov	rdi, QWORD PTR 16[rbx]
	mov	QWORD PTR 8[rbx], rax
	mov	DWORD PTR 48[rbx], esi
	call	realloc@PLT
	mov	QWORD PTR 16[rbx], rax
	jmp	.L51
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR T_FULL[rip]
	cmp	QWORD PTR 40[rbx], rax
	jne	.L3
	mov	rax, QWORD PTR P_DONE[rip]
	mov	esi, DWORD PTR 48[rbx]
	xor	r15d, r15d
	mov	rdi, QWORD PTR 16[rbx]
	mov	QWORD PTR 8[rbx], rax
	call	realloc@PLT
	mov	QWORD PTR 16[rbx], rax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L55:
	add	esi, esi
	mov	rdi, QWORD PTR 16[rbx]
	mov	DWORD PTR 28[rbx], esi
	call	realloc@PLT
	mov	r15d, DWORD PTR 24[rbx]
	mov	QWORD PTR 16[rbx], rax
	add	r15d, ebp
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L24:
	add	eax, r15d
	sub	ecx, r15d
	mov	DWORD PTR 24[rbx], eax
	mov	DWORD PTR 48[rbx], ecx
	jmp	.L6
.L54:
	mov	rax, QWORD PTR P_DONE[rip]
	mov	rdi, QWORD PTR 16[rbx]
	mov	QWORD PTR 8[rbx], rax
	call	realloc@PLT
	mov	esi, DWORD PTR 24[rbx]
	mov	QWORD PTR 16[rbx], rax
	mov	eax, DWORD PTR 48[rbx]
	jmp	.L25
	.cfi_endproc
.LFE0:
	.size	net_http_update, .-net_http_update
	.comm	T_LEN,8,8
	.comm	T_FULL,8,8
	.comm	T_CHUNK,8,8
	.comm	P_HEADER_TOP,8,8
	.comm	P_HEADER,8,8
	.comm	P_ERROR,8,8
	.comm	P_DONE,8,8
	.comm	P_BODY_CHUNKLEN,8,8
	.comm	P_BODY,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_net_http.c_net_http_update.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"HTTP/1.\000"
	.align	2
.LC1:
	.ascii	"HTTP/1.1 \000"
	.align	2
.LC2:
	.ascii	"Content-Length: \000"
	.align	2
.LC3:
	.ascii	"Transfer-Encoding: chunked\000"
	.text
	.align	2
	.global	net_http_update
	.syntax unified
	.arm
	.fpu softvfp
	.type	net_http_update, %function
net_http_update:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r4, r0, #0
	sub	sp, sp, #20
	moveq	r0, #1
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	beq	.L1
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L3
	ldr	r7, .L64
	ldr	r3, [r4, #4]
	ldr	r2, [r7]
	cmp	r3, r2
	blt	.L4
	ldr	r9, .L64+4
	ldr	r2, [r9]
	cmp	r3, r2
	blt	.L5
.L6:
	ldr	r2, [sp, #8]
	cmp	r2, #0
	ldrne	r3, [r4, #12]
	strne	r3, [r2]
	ldr	r3, [sp, #4]
	cmp	r3, #0
	beq	.L27
	ldr	r3, .L64+8
	ldr	r2, [r4, #24]
	ldr	r3, [r3]
	cmp	r2, r3
	movne	r3, #0
	ldreq	r3, [r4, #28]
	ldr	r2, [sp, #4]
	str	r3, [r2]
.L27:
	ldr	r0, [r4, #4]
	ldr	r3, [r9]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L21:
	ldr	r2, [r4, #12]
	ldr	r3, [r4, #28]
	add	r1, r5, r2
	cmp	r1, r3
	str	r1, [r4, #12]
	beq	.L60
.L25:
	cmp	r3, r1
	bge	.L6
.L3:
	mov	r3, #1
	mvn	r2, #0
	mov	r0, r3
	ldr	r1, .L64+12
	str	r3, [r4]
	ldr	r3, [r1]
	str	r2, [r4, #20]
	str	r3, [r4, #4]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L63:
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L7
.L5:
	add	r1, r4, #8
	ldm	r1, {r1, r2, r3}
	ldr	r0, [r4, #32]
	sub	r3, r3, r2
	add	r2, r1, r2, lsl #2
	mov	r1, r4
	bl	socket_receive_all_nonblocking
	subs	r5, r0, #0
	blt	.L7
.L8:
	ldr	r2, [r4, #16]
	ldr	r3, [r4, #12]
	sub	r1, r2, #64
	add	r3, r5, r3
	cmp	r3, r1
	blt	.L19
	lsl	r1, r2, #1
	ldr	r0, [r4, #8]
	str	r1, [r4, #16]
	bl	realloc
	str	r0, [r4, #8]
	b	.L19
.L4:
	add	r1, r4, #8
	ldm	r1, {r1, r2, r3}
	ldr	r0, [r4, #32]
	sub	r3, r3, r2
	add	r2, r1, r2, lsl #2
	mov	r1, r4
	bl	socket_receive_all_nonblocking
	subs	r6, r0, #0
	blt	.L3
	ldr	r5, [r4, #12]
	ldr	r3, [r4, #16]
	add	r5, r6, r5
	sub	r2, r3, #64
	cmp	r5, r2
	bge	.L61
.L9:
	ldr	r3, [r4, #4]
	ldr	r2, [r7]
	str	r5, [r4, #12]
	cmp	r3, r2
	bge	.L29
	ldr	r9, .L64+16
	ldr	r8, .L64+20
	ldr	r10, .L64+24
	b	.L17
.L13:
	mov	r0, r8
	bl	STRLEN_CONST
	mov	r1, r8
	mov	r2, r0
	mov	r0, fp
	bl	strncmp
	subs	fp, r0, #0
	beq	.L62
.L15:
	ldr	r1, .L64+28
	ldr	r0, [r4, #8]
	bl	string_is_equal
	cmp	r0, #0
	ldrne	r3, [r10]
	ldr	r0, [r4, #8]
	strne	r3, [r4, #24]
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L14
	ldr	r1, [r4, #24]
	ldr	r2, [r10]
	ldr	r3, [r7]
	cmp	r1, r2
	str	r3, [r4, #4]
	ldreq	r3, .L64+32
	ldreq	r3, [r3]
	streq	r3, [r4, #4]
.L14:
	add	r1, r6, #1
	sub	r5, r5, r1
	mov	r2, r5
	bl	memmove
	ldr	r3, [r4, #4]
	ldr	r2, [r7]
	str	r5, [r4, #12]
	cmp	r3, r2
	bge	.L29
.L17:
	ldr	r0, [r4, #8]
	mov	r2, r5
	mov	r1, #10
	add	r5, r0, r5
	bl	memchr
	subs	r6, r0, #0
	beq	.L11
	mov	r3, #0
	strb	r3, [r6]
	ldr	fp, [r4, #8]
	cmp	fp, r6
	beq	.L12
	ldrb	r2, [r6, #-1]	@ zero_extendqisi2
	cmp	r2, #13
	strbeq	r3, [r6, #-1]
	ldreq	fp, [r4, #8]
.L12:
	ldr	r2, [r4, #4]
	ldr	r3, [r9]
	cmp	r2, r3
	bne	.L13
	ldr	r0, .L64+36
	bl	STRLEN_CONST
	ldr	r1, .L64+36
	mov	r2, r0
	mov	r0, fp
	bl	strncmp
	subs	fp, r0, #0
	bne	.L3
	ldr	r3, [r4, #8]
	ldr	r0, .L64+40
	str	r3, [sp, #12]
	bl	STRLEN_CONST
	ldr	r3, [sp, #12]
	mov	r1, fp
	add	r0, r3, r0
	mov	r2, #10
	bl	strtoul
	ldr	r3, .L64+44
	str	r0, [r4, #20]
	ldr	r3, [r3]
	ldr	r0, [r4, #8]
	str	r3, [r4, #4]
	b	.L14
.L62:
	ldr	r3, .L64+8
	mov	r0, r8
	ldr	r3, [r3]
	str	r3, [r4, #24]
	ldr	r3, [r4, #8]
	str	r3, [sp, #12]
	bl	STRLEN_CONST
	ldr	r3, [sp, #12]
	mov	r1, fp
	mov	r2, #10
	add	r0, r3, r0
	bl	strtol
	str	r0, [r4, #28]
	b	.L15
.L11:
	ldr	r3, [r4, #4]
	ldr	r2, [r7]
	cmp	r3, r2
	ldrlt	r9, .L64+4
	blt	.L6
.L51:
	ldr	r5, [r4, #12]
.L29:
	mov	r2, #0
	ldr	r9, .L64+4
	str	r2, [r4, #12]
	ldr	r2, [r9]
	cmp	r2, r3
	ble	.L6
	cmp	r5, #0
	beq	.L63
.L19:
	ldr	fp, .L64+24
	ldr	ip, [r4, #24]
	ldr	r3, [fp]
	cmp	ip, r3
	bne	.L21
	ldr	r10, .L64+32
	b	.L20
.L22:
	ldr	r1, [r7]
	cmp	r3, r1
	bne	.L6
	ldr	r3, [r4, #28]
	ldr	r0, [r4, #12]
	cmp	r3, r5
	add	r1, r3, r0
	bhi	.L24
	str	r1, [r4, #12]
	sub	r5, r5, r3
	str	r1, [r4, #28]
	str	r2, [r4, #4]
.L23:
	ldr	r3, [fp]
	cmp	ip, r3
	bne	.L21
.L20:
	ldr	r3, [r4, #4]
	ldr	r2, [r10]
	cmp	r3, r2
	bne	.L22
	ldr	r2, [r4, #12]
	ldr	r3, [r4, #28]
	add	r5, r5, r2
	add	r0, r3, #2
	sub	r3, r5, r3
	cmp	r3, #1
	sub	r2, r3, #2
	str	r5, [r4, #12]
	ble	.L6
	ldr	r3, [r4, #8]
	mov	r1, #10
	add	r0, r3, r0
	add	r5, r3, r5
	bl	memchr
	subs	r8, r0, #0
	beq	.L6
	ldr	r3, [r4, #28]
	ldr	r0, [r4, #8]
	mov	r2, #16
	mov	r1, #0
	add	r0, r0, r3
	bl	strtoul
	mov	r6, r0
	ldr	r3, [r4, #28]
	ldr	r0, [r4, #8]
	add	r1, r8, #1
	sub	r5, r5, r1
	str	r3, [r4, #12]
	add	r0, r0, r3
	mov	r2, r5
	bl	memmove
	ldr	r3, [r7]
	cmp	r6, #0
	str	r6, [r4, #28]
	str	r3, [r4, #4]
	ldrne	ip, [r4, #24]
	bne	.L23
.L52:
	ldr	r3, [r9]
	ldr	r1, [r4, #12]
	ldr	r0, [r4, #8]
	str	r3, [r4, #4]
	str	r1, [r4, #28]
	bl	realloc
	ldr	ip, [r4, #24]
	str	r0, [r4, #8]
	b	.L23
.L7:
	ldr	r3, .L64+48
	ldr	r2, [r4, #24]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L3
	ldr	r3, [r9]
	ldr	r1, [r4, #28]
	ldr	r0, [r4, #8]
	str	r3, [r4, #4]
	bl	realloc
	mov	r5, #0
	str	r0, [r4, #8]
	b	.L8
.L61:
	lsl	r1, r3, #1
	ldr	r0, [r4, #8]
	str	r1, [r4, #16]
	bl	realloc
	ldr	r5, [r4, #12]
	str	r0, [r4, #8]
	add	r5, r6, r5
	b	.L9
.L24:
	add	r0, r5, r0
	sub	r5, r3, r5
	str	r0, [r4, #12]
	str	r5, [r4, #28]
	b	.L6
.L60:
	ldr	r3, [r9]
	ldr	r0, [r4, #8]
	str	r3, [r4, #4]
	bl	realloc
	ldr	r1, [r4, #12]
	ldr	r3, [r4, #28]
	str	r0, [r4, #8]
	b	.L25
.L65:
	.align	2
.L64:
	.word	P_BODY
	.word	P_DONE
	.word	T_LEN
	.word	P_ERROR
	.word	P_HEADER_TOP
	.word	.LC2
	.word	T_CHUNK
	.word	.LC3
	.word	P_BODY_CHUNKLEN
	.word	.LC0
	.word	.LC1
	.word	P_HEADER
	.word	T_FULL
	.size	net_http_update, .-net_http_update
	.comm	T_LEN,4,4
	.comm	T_FULL,4,4
	.comm	T_CHUNK,4,4
	.comm	P_HEADER_TOP,4,4
	.comm	P_HEADER,4,4
	.comm	P_ERROR,4,4
	.comm	P_DONE,4,4
	.comm	P_BODY_CHUNKLEN,4,4
	.comm	P_BODY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
