	.file	"extr_gen.c_parseflags.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"-d"
.LC1:
	.string	"-b"
	.text
	.p2align 4
	.globl	parseflags
	.type	parseflags, @function
parseflags:
.LFB0:
	.cfi_startproc
	endbr64
	test	edi, edi
	jle	.L8
	lea	eax, -1[rdi]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, 8[rsi+rax*8]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	lea	rbp, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	mov	DWORD PTR dflag[rip], 1
.L4:
	add	rbx, 8
	cmp	rbx, r12
	je	.L12
.L5:
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, rbp
	call	strcmp@PLT
	test	rax, rax
	je	.L13
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	call	strcmp@PLT
	test	rax, rax
	jne	.L4
	mov	DWORD PTR bflag[rip], 1
	add	rbx, 8
	cmp	rbx, r12
	jne	.L5
.L12:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
	.cfi_endproc
.LFE0:
	.size	parseflags, .-parseflags
	.comm	dflag,4,4
	.comm	bflag,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_gen.c_parseflags.c"
	.text
	.align	2
	.global	parseflags
	.syntax unified
	.arm
	.fpu softvfp
	.type	parseflags, %function
parseflags:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #0
	bxle	lr
	push	{r4, r5, lr}
	mov	lr, #1
	sub	r1, r1, #4
	ldr	r5, .L15
	ldr	r4, .L15+4
	add	r0, r1, r0, lsl #2
.L7:
	ldr	r3, [r1, #4]!
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #45
	bne	.L5
	ldrb	ip, [r3, #1]	@ zero_extendqisi2
	cmp	ip, #100
	beq	.L14
.L4:
	cmp	r2, #45
	bne	.L5
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	cmp	r2, #98
	bne	.L5
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	cmp	r3, #0
	streq	lr, [r5]
.L5:
	cmp	r1, r0
	bne	.L7
	pop	{r4, r5, pc}
.L14:
	ldrb	ip, [r3, #2]	@ zero_extendqisi2
	cmp	ip, #0
	bne	.L4
	cmp	r1, r0
	str	lr, [r4]
	bne	.L7
	pop	{r4, r5, pc}
.L16:
	.align	2
.L15:
	.word	bflag
	.word	dflag
	.size	parseflags, .-parseflags
	.comm	dflag,4,4
	.comm	bflag,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
