	.file	"extr_panels.c___parse_panels_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__parse_panels_config
	.type	__parse_panels_config, @function
__parse_panels_config:
.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
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	R_STR_ISEMPTY@PLT
	test	rax, rax
	jne	.L7
	cmp	ebx, 1
	jle	.L7
	lea	esi, 1[rbx]
	mov	rdi, rbp
	call	r_str_newlen@PLT
	mov	edx, 1
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	ebx, edx
	jle	.L1
.L5:
	add	rdx, 1
.L6:
	cmp	BYTE PTR -1[rax+rdx], 125
	jne	.L3
	lea	rcx, [rax+rdx]
	cmp	ebx, edx
	jg	.L10
	mov	BYTE PTR [rcx], 10
.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
.L10:
	.cfi_restore_state
	cmp	BYTE PTR [rax+rdx], 44
	jne	.L5
	mov	BYTE PTR [rax+rdx], 10
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	__parse_panels_config, .-__parse_panels_config
	.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_panels.c___parse_panels_config.c"
	.text
	.align	2
	.global	__parse_panels_config
	.syntax unified
	.arm
	.fpu softvfp
	.type	__parse_panels_config, %function
__parse_panels_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r0
	bl	R_STR_ISEMPTY
	cmp	r5, #1
	movgt	r3, #0
	movle	r3, #1
	cmp	r0, #0
	moveq	r4, r3
	movne	r4, #1
	cmp	r4, #0
	bne	.L7
	mov	r0, r6
	add	r1, r5, #1
	bl	r_str_newlen
	mov	r3, r4
	mov	r2, r0
	mov	ip, #10
.L6:
	ldrb	r1, [r2], #1	@ zero_extendqisi2
	add	r3, r3, #1
	cmp	r1, #125
	beq	.L11
.L3:
	cmp	r5, r3
	pople	{r4, r5, r6, pc}
	ldrb	r1, [r2], #1	@ zero_extendqisi2
	add	r3, r3, #1
	cmp	r1, #125
	bne	.L3
.L11:
	cmp	r5, r3
	bgt	.L12
	mov	r3, #10
	strb	r3, [r2]
	pop	{r4, r5, r6, pc}
.L12:
	ldrb	r1, [r2]	@ zero_extendqisi2
	cmp	r1, #44
	strbeq	ip, [r2]
	b	.L6
.L7:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
	.size	__parse_panels_config, .-__parse_panels_config
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
