	.file	"extr_smart_protocol.c_parse_report.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"early EOF"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"report-status: Error reported: %s"
	.section	.rodata.str1.1
.LC2:
	.string	"oversized progress message"
.LC3:
	.string	"Incomplete pack data pkt-line"
	.text
	.p2align 4
	.type	parse_report, @function
parse_report:
.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
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	lea	rbp, 12[rdi]
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR GIT_BUF_INIT[rip]
	mov	QWORD PTR [rsp], 0
	lea	r15, 16[rsp]
	mov	QWORD PTR 8[rsp], 0
	lea	r14, 8[rsp]
	mov	QWORD PTR 16[rsp], rax
	.p2align 4,,10
	.p2align 3
.L2:
	mov	ecx, DWORD PTR 12[rbx]
	test	ecx, ecx
	jg	.L24
.L3:
	mov	rdi, rbp
	call	gitno_recv@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L5
	jne	.L2
	mov	edi, DWORD PTR GIT_ERROR_NET[rip]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	git_error_set@PLT
	mov	r12d, DWORD PTR GIT_EEOF[rip]
.L5:
	mov	rdi, r15
	call	git_buf_dispose@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L24:
	.cfi_restore_state
	mov	edx, DWORD PTR 16[rbx]
	mov	rdi, rsp
	mov	rsi, r14
	call	git_pkt_parse_line@PLT
	mov	edx, DWORD PTR GIT_EBUFS[rip]
	test	eax, eax
	js	.L26
	cmp	eax, edx
	je	.L3
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbp
	call	gitno_consume@PLT
	mov	rsi, QWORD PTR [rsp]
	mov	eax, DWORD PTR [rsi]
	cmp	eax, 129
	je	.L8
	cmp	eax, 130
	je	.L9
	cmp	eax, 128
	je	.L27
	mov	rdi, r13
	call	add_push_report_pkt@PLT
	mov	r12d, eax
.L12:
	mov	rdi, QWORD PTR [rsp]
	call	git_pkt_free@PLT
	cmp	DWORD PTR GIT_ITEROVER[rip], r12d
	je	.L16
	test	r12d, r12d
	jns	.L2
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L26:
	cmp	eax, edx
	je	.L3
	.p2align 4,,10
	.p2align 3
.L13:
	mov	r12d, -1
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	je	.L28
	mov	rcx, QWORD PTR [rsi]
	cmp	rcx, QWORD PTR INT_MAX[rip]
	jg	.L29
	mov	edi, DWORD PTR 8[rsi]
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, ecx
	call	rax
	mov	r12d, eax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdx, r15
	mov	rdi, r13
	call	add_push_report_sideband_pkt@PLT
	mov	r12d, eax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edi, DWORD PTR GIT_ERROR_NET[rip]
	mov	edx, 129
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	git_error_set@PLT
	mov	rdi, QWORD PTR [rsp]
	call	git_pkt_free@PLT
	cmp	DWORD PTR GIT_ITEROVER[rip], -1
	jne	.L13
.L16:
	xor	r12d, r12d
	cmp	QWORD PTR 16[rsp], 0
	jle	.L5
	mov	edi, DWORD PTR GIT_ERROR_NET[rip]
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	git_error_set@PLT
	mov	r12d, DWORD PTR GIT_ERROR[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L28:
	mov	rdi, rsi
	call	git_pkt_free@PLT
	mov	eax, DWORD PTR GIT_ITEROVER[rip]
	test	eax, eax
	jne	.L2
	jmp	.L16
.L29:
	mov	edi, DWORD PTR GIT_ERROR_NET[rip]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	git_error_set@PLT
	mov	r12d, DWORD PTR GIT_ERROR[rip]
	jmp	.L5
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	parse_report, .-parse_report
	.comm	INT_MAX,8,8
	.comm	GIT_ITEROVER,4,4
	.comm	GIT_ERROR_NET,4,4
	.comm	GIT_ERROR,4,4
	.comm	GIT_EEOF,4,4
	.comm	GIT_EBUFS,4,4
	.comm	GIT_BUF_INIT,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_smart_protocol.c_parse_report.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"early EOF\000"
	.align	2
.LC1:
	.ascii	"report-status: Error reported: %s\000"
	.align	2
.LC2:
	.ascii	"oversized progress message\000"
	.align	2
.LC3:
	.ascii	"Incomplete pack data pkt-line\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_report, %function
parse_report:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	mov	r7, r1
	ldr	r2, .L33
	sub	sp, sp, #16
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	ldr	r2, .L33+4
	ldr	r9, .L33+8
	ldr	r2, [r2]
	ldr	r8, .L33+12
	ldr	r10, .L33+16
	add	r6, r0, #8
	str	r2, [sp, #8]
	str	r3, [sp]
	str	r3, [sp, #4]
.L2:
	ldr	r3, [r5, #8]
	cmp	r3, #0
	bgt	.L27
.L3:
	mov	r0, r6
	bl	gitno_recv
	subs	r4, r0, #0
	blt	.L5
	bne	.L2
	ldr	r3, .L33+20
	ldr	r1, .L33+24
	ldr	r0, [r3]
	bl	git_error_set
	ldr	r3, .L33+28
	ldr	r4, [r3]
.L5:
	add	r0, sp, #8
	bl	git_buf_dispose
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L28
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L27:
	mov	r0, sp
	ldr	r2, [r5, #12]
	add	r1, sp, #4
	bl	git_pkt_parse_line
	cmp	r0, #0
	ldr	r3, [r9]
	blt	.L29
	cmp	r0, r3
	beq	.L3
	mov	r0, r6
	ldr	r1, [sp, #4]
	bl	gitno_consume
	ldr	r0, [sp]
	ldr	r2, [r0]
	cmp	r2, #129
	beq	.L8
	cmp	r2, #130
	beq	.L9
	cmp	r2, #128
	beq	.L30
	mov	r1, r0
	mov	r0, r7
	bl	add_push_report_pkt
	mov	r4, r0
.L12:
	ldr	r0, [sp]
	bl	git_pkt_free
	ldr	r3, [r8]
	cmp	r3, r4
	beq	.L16
	cmp	r4, #0
	bge	.L2
	b	.L5
.L29:
	cmp	r0, r3
	beq	.L3
.L13:
	mvn	r4, #0
	b	.L5
.L30:
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L31
	ldr	r1, [r10]
	cmp	r1, #127
	ble	.L32
	mov	r1, r2
	ldr	r0, [r0, #4]
	ldr	r2, [r5, #4]
	blx	r3
	mov	r4, r0
	b	.L12
.L9:
	mov	r1, r0
	add	r2, sp, #8
	mov	r0, r7
	bl	add_push_report_sideband_pkt
	mov	r4, r0
	b	.L12
.L8:
	ldr	r3, .L33+20
	ldr	r1, .L33+32
	ldr	r0, [r3]
	bl	git_error_set
	ldr	r0, [sp]
	bl	git_pkt_free
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L13
.L16:
	ldr	r3, [sp, #8]
	cmp	r3, #0
	movle	r4, #0
	ble	.L5
	ldr	r3, .L33+20
	ldr	r1, .L33+36
	ldr	r0, [r3]
	bl	git_error_set
	ldr	r3, .L33+40
	ldr	r4, [r3]
	b	.L5
.L31:
	bl	git_pkt_free
	ldr	r3, [r8]
	cmp	r3, #0
	bne	.L2
	b	.L16
.L32:
	ldr	r3, .L33+20
	ldr	r1, .L33+44
	ldr	r0, [r3]
	bl	git_error_set
	ldr	r3, .L33+40
	ldr	r4, [r3]
	b	.L5
.L28:
	bl	__stack_chk_fail
.L34:
	.align	2
.L33:
	.word	.LC4
	.word	GIT_BUF_INIT
	.word	GIT_EBUFS
	.word	GIT_ITEROVER
	.word	INT_MAX
	.word	GIT_ERROR_NET
	.word	.LC0
	.word	GIT_EEOF
	.word	.LC1
	.word	.LC3
	.word	GIT_ERROR
	.word	.LC2
	.size	parse_report, .-parse_report
	.comm	INT_MAX,4,4
	.comm	GIT_ITEROVER,4,4
	.comm	GIT_ERROR_NET,4,4
	.comm	GIT_ERROR,4,4
	.comm	GIT_EEOF,4,4
	.comm	GIT_EBUFS,4,4
	.comm	GIT_BUF_INIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
