	.file	"395242.c"
	.intel_syntax noprefix
	.text
	.local	argc
	.comm	argc,4,4
	.local	argi
	.comm	argi,4,4
	.local	argv
	.comm	argv,8,8
	.local	flag
	.comm	flag,8,8
	.type	nextarg, @function
nextarg:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR flag[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR flag[rip], 0
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L2
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	jmp	.L3
.L2:
	mov	eax, DWORD PTR argi[rip]
	add	eax, 1
	mov	DWORD PTR argi[rip], eax
	mov	edx, DWORD PTR argi[rip]
	mov	eax, DWORD PTR argc[rip]
	cmp	edx, eax
	jne	.L4
	mov	eax, 0
	jmp	.L3
.L4:
	mov	rdx, QWORD PTR argv[rip]
	mov	eax, DWORD PTR argi[rip]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	nextarg, .-nextarg
	.type	args_parse, @function
args_parse:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR argc[rip], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR argv[rip], rax
	mov	DWORD PTR argi[rip], 1
	jmp	.L6
.L17:
	mov	rdx, QWORD PTR argv[rip]
	mov	eax, DWORD PTR argi[rip]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L21
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L9
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L10
.L9:
	cmp	QWORD PTR -48[rbp], 0
	je	.L22
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	rdx
	jmp	.L22
.L10:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L12
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L12
	mov	eax, DWORD PTR argi[rip]
	add	eax, 1
	mov	DWORD PTR argi[rip], eax
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	mov	QWORD PTR flag[rip], rax
	jmp	.L14
.L16:
	mov	rax, QWORD PTR flag[rip]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, nextarg[rip]
	mov	edi, eax
	call	rdx
	mov	rax, QWORD PTR flag[rip]
	test	rax, rax
	je	.L23
	mov	rax, QWORD PTR flag[rip]
	add	rax, 1
	mov	QWORD PTR flag[rip], rax
.L14:
	mov	rax, QWORD PTR flag[rip]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L16
	jmp	.L8
.L21:
	nop
	jmp	.L8
.L22:
	nop
	jmp	.L8
.L23:
	nop
.L8:
	mov	eax, DWORD PTR argi[rip]
	add	eax, 1
	mov	DWORD PTR argi[rip], eax
.L6:
	mov	edx, DWORD PTR argi[rip]
	mov	eax, DWORD PTR argc[rip]
	cmp	edx, eax
	jl	.L17
.L13:
	jmp	.L18
.L20:
	cmp	QWORD PTR -48[rbp], 0
	je	.L19
	mov	rdx, QWORD PTR argv[rip]
	mov	eax, DWORD PTR argi[rip]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	rdx
.L19:
	mov	eax, DWORD PTR argi[rip]
	add	eax, 1
	mov	DWORD PTR argi[rip], eax
.L18:
	mov	edx, DWORD PTR argi[rip]
	mov	eax, DWORD PTR argc[rip]
	cmp	edx, eax
	jl	.L20
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	args_parse, .-args_parse
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"395242.c"
	.text
	.local	argc
	.comm	argc,4,4
	.local	argi
	.comm	argi,4,4
	.local	argv
	.comm	argv,4,4
	.local	flag
	.comm	flag,4,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nextarg, %function
nextarg:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L5
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	b	.L3
.L2:
	ldr	r3, .L5+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L5+4
	str	r3, [r2]
	ldr	r3, .L5+4
	ldr	r2, [r3]
	ldr	r3, .L5+8
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L4
	mov	r3, #0
	b	.L3
.L4:
	ldr	r3, .L5+12
	ldr	r2, [r3]
	ldr	r3, .L5+4
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L6:
	.align	2
.L5:
	.word	flag
	.word	argi
	.word	argc
	.word	argv
	.size	nextarg, .-nextarg
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	args_parse, %function
args_parse:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r2, .L26
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	ldr	r2, .L26+4
	ldr	r3, [fp, #-20]
	str	r3, [r2]
	ldr	r3, .L26+8
	mov	r2, #1
	str	r2, [r3]
	b	.L8
.L19:
	ldr	r3, .L26+4
	ldr	r2, [r3]
	ldr	r3, .L26+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L11
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
.L11:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-28]
	ldr	r0, [fp, #-8]
	blx	r3
	b	.L24
.L12:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L14
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L26+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L26+8
	str	r3, [r2]
	b	.L15
.L14:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, .L26+12
	str	r3, [r2]
	b	.L16
.L18:
	ldr	r3, .L26+12
	ldr	r3, [r3]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-24]
	ldr	r1, .L26+16
	mov	r0, r2
	blx	r3
	ldr	r3, .L26+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L25
	ldr	r3, .L26+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L26+12
	str	r3, [r2]
.L16:
	ldr	r3, .L26+12
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L18
	b	.L10
.L23:
	nop
	b	.L10
.L24:
	nop
	b	.L10
.L25:
	nop
.L10:
	ldr	r3, .L26+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L26+8
	str	r3, [r2]
.L8:
	ldr	r3, .L26+8
	ldr	r2, [r3]
	ldr	r3, .L26
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L19
.L15:
	b	.L20
.L22:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L26+4
	ldr	r2, [r3]
	ldr	r3, .L26+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	mov	r0, r2
	blx	r3
.L21:
	ldr	r3, .L26+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L26+8
	str	r3, [r2]
.L20:
	ldr	r3, .L26+8
	ldr	r2, [r3]
	ldr	r3, .L26
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L22
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	argc
	.word	argv
	.word	argi
	.word	flag
	.word	nextarg
	.size	args_parse, .-args_parse
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
