	.file	"extr_imagefile.c_ImageFile_ParseCmdline.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str4.8,"aMS",@progbits,4
	.align 8
.LC0:
	.string	"U"
	.string	""
	.string	""
	.string	"n"
	.string	""
	.string	""
	.string	"e"
	.string	""
	.string	""
	.string	"x"
	.string	""
	.string	""
	.string	"p"
	.string	""
	.string	""
	.string	"e"
	.string	""
	.string	""
	.string	"c"
	.string	""
	.string	""
	.string	"t"
	.string	""
	.string	""
	.string	"e"
	.string	""
	.string	""
	.string	"d"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"a"
	.string	""
	.string	""
	.string	"r"
	.string	""
	.string	""
	.string	"g"
	.string	""
	.string	""
	.string	"u"
	.string	""
	.string	""
	.string	"m"
	.string	""
	.string	""
	.string	"e"
	.string	""
	.string	""
	.string	"n"
	.string	""
	.string	""
	.string	"t"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"-"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"'"
	.string	""
	.string	""
	.string	"%"
	.string	""
	.string	""
	.string	"s"
	.string	""
	.string	""
	.string	"'"
	.string	""
	.string	""
	.string	"\n"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.align 8
.LC1:
	.string	"N"
	.string	""
	.string	""
	.string	"o"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"I"
	.string	""
	.string	""
	.string	"m"
	.string	""
	.string	""
	.string	"a"
	.string	""
	.string	""
	.string	"g"
	.string	""
	.string	""
	.string	"e"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"s"
	.string	""
	.string	""
	.string	"p"
	.string	""
	.string	""
	.string	"e"
	.string	""
	.string	""
	.string	"c"
	.string	""
	.string	""
	.string	"i"
	.string	""
	.string	""
	.string	"f"
	.string	""
	.string	""
	.string	"i"
	.string	""
	.string	""
	.string	"e"
	.string	""
	.string	""
	.string	"d"
	.string	""
	.string	""
	.string	"\n"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.text
	.p2align 4
	.globl	ImageFile_ParseCmdline
	.type	ImageFile_ParseCmdline, @function
ImageFile_ParseCmdline:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR ImageFile[rip]
	cmp	edi, esi
	jge	.L2
	sub	esi, 1
	movsx	rcx, edi
	sub	esi, edi
	lea	rbx, [rdx+rcx*8]
	add	rcx, rsi
	lea	rbp, 8[rdx+rcx*8]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L3:
	movzx	eax, BYTE PTR [rdi]
	cmp	al, 43
	je	.L18
	cmp	al, 45
	jne	.L8
	cmp	QWORD PTR OptionsSet[rip], 0
	jne	.L16
	mov	esi, DWORD PTR DEST_IMAGE[rip]
	add	rdi, 1
	call	FindFlag@PLT
	or	DWORD PTR OptionsRemove[rip], eax
	mov	rax, QWORD PTR ImageFile[rip]
.L4:
	add	rbx, 8
	cmp	rbx, rbp
	je	.L2
.L11:
	mov	rdi, QWORD PTR [rbx]
	test	rax, rax
	jne	.L3
	add	rbx, 8
	mov	QWORD PTR ImageFile[rip], rdi
	mov	rax, rdi
	cmp	rbx, rbp
	jne	.L11
.L2:
	mov	r8, QWORD PTR TRUE[rip]
	test	rax, rax
	je	.L19
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r8
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	cmp	QWORD PTR OptionsSet[rip], 0
	jne	.L16
	mov	esi, DWORD PTR DEST_IMAGE[rip]
	add	rdi, 1
	call	FindFlag@PLT
	or	DWORD PTR OptionsAdd[rip], eax
	mov	rax, QWORD PTR ImageFile[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR TRUE[rip]
	mov	edx, 16
	xor	esi, esi
	mov	QWORD PTR OptionsSet[rip], rax
	call	wcstoul@PLT
	mov	DWORD PTR OptionsAdd[rip], eax
	cmp	eax, -1
	jne	.L15
	mov	DWORD PTR OptionsAdd[rip], 0
.L15:
	mov	rax, QWORD PTR ImageFile[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rsi, rdi
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	wprintf@PLT
	mov	r8, QWORD PTR FALSE[rip]
	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
	mov	rax, r8
	ret
.L19:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	wprintf@PLT
	mov	r8, QWORD PTR FALSE[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ImageFile_ParseCmdline, .-ImageFile_ParseCmdline
	.comm	TRUE,8,8
	.comm	OptionsSet,8,8
	.comm	OptionsRemove,4,4
	.comm	OptionsAdd,4,4
	.comm	ImageFile,8,8
	.comm	FALSE,8,8
	.comm	DEST_IMAGE,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_imagefile.c_ImageFile_ParseCmdline.c"
	.text
	.section	.rodata.str4.4,"aMS",%progbits,4
	.align	2
.LC0:
	.ascii	"U\000\000\000n\000\000\000e\000\000\000x\000\000\000"
	.ascii	"p\000\000\000e\000\000\000c\000\000\000t\000\000\000"
	.ascii	"e\000\000\000d\000\000\000 \000\000\000a\000\000\000"
	.ascii	"r\000\000\000g\000\000\000u\000\000\000m\000\000\000"
	.ascii	"e\000\000\000n\000\000\000t\000\000\000 \000\000\000"
	.ascii	"-\000\000\000 \000\000\000'\000\000\000%\000\000\000"
	.ascii	"s\000\000\000'\000\000\000\012\000\000\000\000\000\000"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"N\000\000\000o\000\000\000 \000\000\000I\000\000\000"
	.ascii	"m\000\000\000a\000\000\000g\000\000\000e\000\000\000"
	.ascii	" \000\000\000s\000\000\000p\000\000\000e\000\000\000"
	.ascii	"c\000\000\000i\000\000\000f\000\000\000i\000\000\000"
	.ascii	"e\000\000\000d\000\000\000\012\000\000\000\000\000\000"
	.ascii	"\000"
	.text
	.align	2
	.global	ImageFile_ParseCmdline
	.syntax unified
	.arm
	.fpu softvfp
	.type	ImageFile_ParseCmdline, %function
ImageFile_ParseCmdline:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r6, .L18
	cmp	r0, r1
	mov	r5, r1
	ldr	r1, [r6]
	bge	.L2
	sub	r3, r0, #-1073741823
	mov	r4, r0
	ldr	r8, .L18+4
	ldr	r7, .L18+8
	ldr	r9, .L18+12
	ldr	r10, .L18+16
	add	fp, r2, r3, lsl #2
	b	.L11
.L5:
	cmp	r2, #45
	bne	.L8
	ldr	r2, [r8]
	cmp	r2, #0
	bne	.L15
	ldr	r1, [r9]
	add	r0, r0, #1
	bl	FindFlag
	ldr	r2, [r10]
	ldr	r1, [r6]
	orr	r2, r2, r0
	str	r2, [r10]
.L4:
	add	r4, r4, #1
	cmp	r5, r4
	beq	.L2
.L11:
	ldr	r0, [fp, #4]!
	cmp	r1, #0
	moveq	r1, r0
	streq	r0, [r6]
	beq	.L4
	ldrb	r2, [r0]	@ zero_extendqisi2
	cmp	r2, #43
	bne	.L5
	ldr	r2, [r8]
	cmp	r2, #0
	bne	.L15
	ldr	r1, [r9]
	add	r0, r0, #1
	bl	FindFlag
	ldr	r2, [r7]
	add	r4, r4, #1
	orr	r2, r2, r0
	cmp	r5, r4
	ldr	r1, [r6]
	str	r2, [r7]
	bne	.L11
.L2:
	cmp	r1, #0
	beq	.L17
	ldr	r3, .L18+20
	ldr	r0, [r3]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	ldr	r3, .L18+20
	mov	r2, #16
	ldr	ip, [r3]
	mov	r1, #0
	str	ip, [r8]
	bl	wcstoul
	cmn	r0, #1
	moveq	r2, #0
	str	r0, [r7]
	ldrne	r1, [r6]
	ldreq	r1, [r6]
	streq	r2, [r7]
	b	.L4
.L15:
	mov	r1, r0
	ldr	r0, .L18+24
	bl	wprintf
	ldr	r3, .L18+28
	ldr	r0, [r3]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	ldr	r0, .L18+32
	bl	wprintf
	ldr	r3, .L18+28
	ldr	r0, [r3]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	.align	2
.L18:
	.word	ImageFile
	.word	OptionsSet
	.word	OptionsAdd
	.word	DEST_IMAGE
	.word	OptionsRemove
	.word	TRUE
	.word	.LC0
	.word	FALSE
	.word	.LC1
	.size	ImageFile_ParseCmdline, .-ImageFile_ParseCmdline
	.comm	TRUE,4,4
	.comm	OptionsSet,4,4
	.comm	OptionsRemove,4,4
	.comm	OptionsAdd,4,4
	.comm	ImageFile,4,4
	.comm	FALSE,4,4
	.comm	DEST_IMAGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
