	.file	"extr_commands_parser.c_parse_string.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	parse_string
	.type	parse_string, @function
parse_string:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbx, QWORD PTR [rdi]
	movzx	ecx, BYTE PTR [rbx]
	cmp	cl, 34
	je	.L49
	test	esi, esi
	jne	.L50
	cmp	cl, 59
	jbe	.L51
.L13:
	movabs	rcx, 576478344489477121
	lea	rax, 1[rbx]
	.p2align 4,,10
	.p2align 3
.L16:
	mov	QWORD PTR 0[rbp], rax
	movzx	edx, BYTE PTR [rax]
	mov	rdi, rax
	add	rax, 1
	cmp	dl, 59
	ja	.L16
	bt	rcx, rdx
	jnc	.L16
.L9:
	cmp	rbx, rdi
	je	.L19
	sub	rdi, rbx
	mov	esi, 1
	add	edi, 1
	call	scalloc@PLT
	mov	rdx, QWORD PTR 0[rbp]
	sub	rdx, rbx
	test	rdx, rdx
	jle	.L1
	mov	rdi, rax
	xor	esi, esi
	xor	ecx, ecx
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L25:
	mov	esi, r8d
.L21:
	mov	BYTE PTR [rdi], dl
	mov	rdx, QWORD PTR 0[rbp]
	movsx	rcx, esi
	add	rdi, 1
	sub	rdx, rbx
	cmp	rcx, rdx
	jge	.L1
.L23:
	movzx	edx, BYTE PTR [rbx+rcx]
	lea	r8d, 1[rsi]
	cmp	dl, 92
	jne	.L25
	movzx	ecx, BYTE PTR 1[rbx+rcx]
	cmp	cl, 34
	je	.L27
	cmp	cl, 92
	jne	.L25
.L27:
	movsx	r8, r8d
	add	esi, 2
	movzx	edx, BYTE PTR [rbx+r8]
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L50:
	cmp	cl, 93
	setne	dl
	cmp	cl, 59
	jbe	.L52
.L11:
	movabs	rsi, 576478348784444929
	lea	rax, 1[rbx]
	test	dl, dl
	je	.L19
	.p2align 4,,10
	.p2align 3
.L18:
	mov	QWORD PTR 0[rbp], rax
	movzx	ecx, BYTE PTR [rax]
	mov	rdi, rax
	cmp	cl, 93
	setne	dl
	cmp	cl, 59
	ja	.L17
	mov	r9, rsi
	shr	r9, cl
	mov	rcx, r9
	not	rcx
	and	edx, ecx
.L17:
	add	rax, 1
	test	dl, dl
	jne	.L18
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L51:
	movabs	rax, 576478344489477121
	bt	rax, rcx
	jnc	.L13
.L19:
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L49:
	.cfi_restore_state
	lea	rdx, 1[rbx]
	mov	QWORD PTR [rdi], rdx
	movzx	eax, BYTE PTR 1[rbx]
	test	al, al
	je	.L19
	cmp	al, 34
	je	.L19
	mov	rdi, rdx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 0[rbp]
	lea	rdi, 1[rax]
	mov	QWORD PTR 0[rbp], rdi
	movzx	eax, BYTE PTR 1[rax]
	test	al, al
	je	.L26
.L53:
	cmp	al, 34
	je	.L26
.L7:
	cmp	al, 92
	jne	.L6
	cmp	BYTE PTR 1[rdi], 0
	je	.L6
	lea	rax, 1[rdi]
	lea	rdi, 1[rax]
	mov	QWORD PTR 0[rbp], rdi
	movzx	eax, BYTE PTR 1[rax]
	test	al, al
	jne	.L53
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rbx, rdx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L52:
	movabs	rax, 576478348784444929
	shr	rax, cl
	not	rax
	and	edx, eax
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	parse_string, .-parse_string
	.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_commands_parser.c_parse_string.c"
	.text
	.align	2
	.global	parse_string
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_string, %function
parse_string:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r0]
	mov	r5, r0
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #34
	beq	.L35
	subs	ip, r3, #44
	movne	ip, #1
	subs	r0, r3, #59
	movne	r0, #1
	subs	r2, r3, #13
	movne	r2, #1
	cmp	r1, #0
	and	r0, r0, ip
	bne	.L36
	cmp	r3, #0
	moveq	r2, #0
	andne	r2, r2, r0
	cmp	r3, #10
	moveq	r3, #0
	andne	r3, r2, #1
	cmp	r3, #0
	beq	.L12
	mov	r3, r4
.L11:
	add	r3, r3, #1
	str	r3, [r5]
	ldrb	r1, [r3]	@ zero_extendqisi2
	cmp	r1, #59
	cmpne	r1, #44
	movne	r2, #1
	moveq	r2, #0
	cmp	r1, #0
	moveq	r2, #0
	cmp	r1, #13
	moveq	r2, #0
	andne	r2, r2, #1
	cmp	r1, #10
	moveq	r2, #0
	andne	r2, r2, #1
	cmp	r2, #0
	bne	.L11
.L8:
	cmp	r3, r4
	beq	.L12
	sub	r3, r3, r4
	add	r0, r3, #1
	mov	r1, #1
	bl	scalloc
	ldr	r3, [r5]
	sub	r3, r3, r4
	cmp	r3, #0
	pople	{r4, r5, r6, pc}
	mov	r3, #0
	sub	r1, r0, #1
	b	.L15
.L18:
	mov	r3, ip
.L14:
	strb	r2, [r1, #1]!
	ldr	r2, [r5]
	sub	r2, r2, r4
	cmp	r2, r3
	pople	{r4, r5, r6, pc}
.L15:
	ldrb	r2, [r4, r3]	@ zero_extendqisi2
	add	ip, r3, #1
	cmp	r2, #92
	bne	.L18
	add	lr, r4, r3
	ldrb	lr, [lr, #1]	@ zero_extendqisi2
	add	r3, r3, #2
	cmp	lr, #92
	cmpne	lr, #34
	bne	.L18
	ldrb	r2, [r4, ip]	@ zero_extendqisi2
	b	.L14
.L36:
	and	r2, r2, r0
	cmp	r3, #93
	moveq	r2, #0
	andne	r2, r2, #1
	sub	r1, r3, #9
	cmp	r1, #1
	movls	r2, #0
	andhi	r2, r2, #1
	tst	r3, #223
	movne	r3, r2
	moveq	r3, #0
	cmp	r3, #0
	movne	r3, r4
	beq	.L12
.L10:
	add	r3, r3, #1
	str	r3, [r5]
	ldrb	r1, [r3]	@ zero_extendqisi2
	cmp	r1, #44
	cmpne	r1, #93
	movne	r2, #1
	moveq	r2, #0
	cmp	r1, #59
	moveq	r2, #0
	andne	r2, r2, #1
	cmp	r1, #13
	moveq	r2, #0
	andne	r2, r2, #1
	sub	r0, r1, #9
	cmp	r0, #1
	movls	r2, #0
	andhi	r2, r2, #1
	tst	r1, #223
	moveq	r2, #0
	cmp	r2, #0
	bne	.L10
	b	.L8
.L35:
	add	r0, r4, #1
	str	r0, [r5]
	ldrb	r2, [r4, #1]	@ zero_extendqisi2
	cmp	r2, #0
	cmpne	r2, #34
	beq	.L12
	mov	r3, r0
	b	.L7
.L6:
	ldr	r2, [r5]
.L5:
	add	r3, r2, #1
	str	r3, [r5]
	ldrb	r2, [r2, #1]	@ zero_extendqisi2
	cmp	r2, #0
	cmpne	r2, #34
	beq	.L37
.L7:
	cmp	r2, #92
	bne	.L6
	ldrb	r1, [r3, #1]	@ zero_extendqisi2
	add	r2, r3, #1
	cmp	r1, #0
	beq	.L6
	b	.L5
.L37:
	mov	r4, r0
	b	.L8
.L12:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
	.size	parse_string, .-parse_string
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
