	.file	"extr_http-backend.c_inflate_request.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"request ended in the middle of the gzip stream"
	.align 8
.LC1:
	.string	"zlib error inflating request, result %d"
	.text
	.p2align 4
	.type	inflate_request, @function
inflate_request:
.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
	lea	r11, -16384[rsp]
	.cfi_def_cfa 11, 16440
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	sub	rsp, 120
	.cfi_def_cfa_offset 16560
	xor	ebp, ebp
	mov	DWORD PTR 4[rsp], edx
	lea	r13, 48[rsp]
	mov	r14, rdi
	mov	r12d, esi
	mov	QWORD PTR 16[rsp], rcx
	mov	edx, 40
	xor	esi, esi
	mov	rdi, r13
	mov	rbx, rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 16488[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 40[rsp], 0
	call	memset@PLT
	mov	rdi, r13
	call	git_inflate_init_gzip_only@PLT
	mov	QWORD PTR 8[rsp], rbx
	lea	rbx, 8288[rsp]
.L11:
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	je	.L2
	mov	rax, QWORD PTR 40[rsp]
	test	rax, rax
	je	.L3
	mov	QWORD PTR 48[rsp], rax
.L4:
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	die@PLT
	xor	eax, eax
.L6:
	mov	QWORD PTR 56[rsp], rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR 56[rsp]
.L7:
	test	rax, rax
	je	.L11
	mov	esi, DWORD PTR Z_NO_FLUSH[rip]
	mov	rdi, r13
	mov	QWORD PTR 64[rsp], rbx
	mov	DWORD PTR 72[rsp], 8192
	call	git_inflate@PLT
	cmp	DWORD PTR Z_OK[rip], eax
	mov	r15d, eax
	je	.L8
	cmp	DWORD PTR Z_STREAM_END[rip], eax
	je	.L8
	mov	esi, eax
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	die@PLT
.L8:
	mov	rdx, QWORD PTR 80[rsp]
	mov	rcx, r14
	mov	rsi, rbx
	mov	edi, r12d
	sub	rdx, rbp
	call	write_to_child@PLT
	cmp	DWORD PTR Z_STREAM_END[rip], r15d
	mov	rbp, QWORD PTR 80[rsp]
	jne	.L9
	mov	rdi, r13
	call	git_inflate_end@PLT
	mov	edi, r12d
	call	close@PLT
	mov	rdi, QWORD PTR 40[rsp]
	call	free@PLT
	mov	rax, QWORD PTR 16488[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	add	rsp, 16504
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L2:
	.cfi_restore_state
	mov	r15, QWORD PTR 8[rsp]
	mov	edx, 8192
	lea	rcx, 96[rsp]
	mov	rsi, rcx
	mov	QWORD PTR 24[rsp], rcx
	cmp	r15, 8192
	cmovbe	rdx, r15
	xor	edi, edi
	call	xread@PLT
	mov	rcx, QWORD PTR 24[rsp]
	mov	QWORD PTR 48[rsp], rcx
	test	rax, rax
	je	.L4
	sub	r15, rax
	mov	QWORD PTR 8[rsp], r15
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdx, QWORD PTR 16[rsp]
	lea	rsi, 40[rsp]
	xor	edi, edi
	call	read_request@PLT
	mov	rdx, QWORD PTR 40[rsp]
	mov	QWORD PTR 48[rsp], rdx
	test	rax, rax
	jne	.L6
	jmp	.L4
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	inflate_request, .-inflate_request
	.comm	Z_STREAM_END,4,4
	.comm	Z_OK,4,4
	.comm	Z_NO_FLUSH,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_http-backend.c_inflate_request.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"request ended in the middle of the gzip stream\000"
	.align	2
.LC1:
	.ascii	"zlib error inflating request, result %d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	inflate_request, %function
inflate_request:
	@ args = 0, pretend = 0, frame = 16432
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, #0
	mov	r4, r3
	sub	sp, sp, #16384
	sub	sp, sp, #52
	str	r3, [sp, #12]
	str	r2, [sp, #4]
	add	r3, sp, #16384
	ldr	r2, .L24
	mov	r9, r0
	add	r6, sp, #8192
	add	r0, sp, #24
	ldr	fp, .L24+4
	ldr	r7, .L24+8
	ldr	r2, [r2]
	str	r2, [r3, #44]
	mov	r2,#0
	add	r3, r3, #44
	mov	r8, r1
	str	r5, [sp, #28]
	str	r5, [sp, #32]
	str	r5, [sp, #36]
	str	r5, [sp, #40]
	str	r5, [sp, #20]
	str	r5, [sp, #24]
	add	r6, r6, #44
	bl	git_inflate_init_gzip_only
	str	r4, [sp, #8]
.L11:
	ldr	r3, [sp, #4]
	cmp	r3, #0
	beq	.L2
	ldr	r0, [sp, #20]
	cmp	r0, #0
	strne	r0, [sp, #24]
	beq	.L22
.L4:
	ldr	r0, .L24+12
	bl	die
	mov	r0, #0
.L6:
	mov	r10, #8192
	str	r0, [sp, #28]
	b	.L7
.L9:
	ldr	r0, [sp, #28]
.L7:
	cmp	r0, #0
	beq	.L11
	ldr	r3, .L24+16
	add	r0, sp, #24
	ldr	r1, [r3]
	str	r6, [sp, #32]
	str	r10, [sp, #36]
	bl	git_inflate
	ldr	r3, [fp]
	mov	r4, r0
	cmp	r3, r0
	beq	.L8
	ldr	r3, [r7]
	cmp	r3, r0
	beq	.L8
	mov	r1, r0
	ldr	r0, .L24+20
	bl	die
.L8:
	ldr	r2, [sp, #40]
	mov	r3, r9
	sub	r2, r2, r5
	mov	r1, r6
	mov	r0, r8
	bl	write_to_child
	ldr	r3, [r7]
	ldr	r5, [sp, #40]
	cmp	r3, r4
	bne	.L9
	add	r0, sp, #24
	bl	git_inflate_end
	mov	r0, r8
	bl	close
	ldr	r0, [sp, #20]
	bl	free
	add	r3, sp, #16384
	ldr	r2, .L24
	add	r3, r3, #44
	ldr	r1, [r2]
	ldr	r2, [r3]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L23
	add	sp, sp, #16384
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r10, [sp, #8]
	add	r4, sp, #44
	cmp	r10, #8192
	movcc	r2, r10
	movcs	r2, #8192
	mov	r1, r4
	ldr	r0, [sp, #4]
	bl	xread
	cmp	r0, #0
	subne	r3, r10, r0
	str	r4, [sp, #24]
	strne	r3, [sp, #8]
	bne	.L6
	b	.L4
.L22:
	ldr	r2, [sp, #12]
	add	r1, sp, #20
	bl	read_request
	ldr	r3, [sp, #20]
	cmp	r0, #0
	str	r3, [sp, #24]
	bne	.L6
	b	.L4
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC2
	.word	Z_OK
	.word	Z_STREAM_END
	.word	.LC0
	.word	Z_NO_FLUSH
	.word	.LC1
	.size	inflate_request, .-inflate_request
	.comm	Z_STREAM_END,4,4
	.comm	Z_OK,4,4
	.comm	Z_NO_FLUSH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
