	.file	"extr_pvrusb2-debugifc.c_pvr2_debugifc_docmd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pvr2_debugifc_docmd
	.type	pvr2_debugifc_docmd, @function
pvr2_debugifc_docmd:
.LFB0:
	.cfi_startproc
	endbr64
	test	edx, edx
	je	.L16
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	.p2align 4,,10
	.p2align 3
.L8:
	lea	ecx, -1[r13]
	xor	edx, edx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	lea	ebx, 1[rdx]
	lea	rax, 1[rdx]
	cmp	rdx, rcx
	je	.L20
	mov	rdx, rax
.L4:
	cmp	BYTE PTR 0[rbp+rdx], 10
	mov	ebx, edx
	jne	.L21
	mov	rsi, rbp
	mov	rdi, r12
	call	pvr2_debugifc_do1cmd@PLT
	test	eax, eax
	js	.L1
	cmp	ebx, r13d
	adc	ebx, 0
.L7:
	mov	eax, ebx
	add	rbp, rax
	sub	r13d, ebx
	jne	.L8
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	edx, ebx
	mov	rsi, rbp
	mov	rdi, r12
	call	pvr2_debugifc_do1cmd@PLT
	test	eax, eax
	jns	.L7
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	pvr2_debugifc_docmd, .-pvr2_debugifc_docmd
	.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_pvrusb2-debugifc.c_pvr2_debugifc_docmd.c"
	.text
	.align	2
	.global	pvr2_debugifc_docmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	pvr2_debugifc_docmd, %function
pvr2_debugifc_docmd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r5, r2, #0
	beq	.L2
	mov	r7, r0
	mov	r6, r1
.L8:
	mov	r4, #0
	sub	r3, r6, #1
	b	.L4
.L18:
	add	r4, r4, #1
	cmp	r4, r5
	beq	.L17
.L4:
	ldrb	r2, [r3, #1]!	@ zero_extendqisi2
	cmp	r2, #10
	bne	.L18
	mov	r2, r4
	mov	r1, r6
	mov	r0, r7
	bl	pvr2_debugifc_do1cmd
	cmp	r0, #0
	poplt	{r4, r5, r6, r7, r8, pc}
	cmp	r4, r5
	addcc	r4, r4, #1
	subs	r5, r5, r4
	add	r6, r6, r4
	bne	.L8
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	mov	r2, r4
	mov	r1, r6
	mov	r0, r7
	bl	pvr2_debugifc_do1cmd
	cmp	r0, #0
	poplt	{r4, r5, r6, r7, r8, pc}
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
	.size	pvr2_debugifc_docmd, .-pvr2_debugifc_docmd
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
