	.file	"57951.c"
	.intel_syntax noprefix
	.text
	.globl	opterr
	.data
	.align 4
	.type	opterr, @object
	.size	opterr, 4
opterr:
	.long	1
	.globl	optind
	.align 4
	.type	optind, @object
	.size	optind, 4
optind:
	.long	1
	.globl	optopt
	.bss
	.align 4
	.type	optopt, @object
	.size	optopt, 4
optopt:
	.zero	4
	.globl	optreset
	.align 4
	.type	optreset, @object
	.size	optreset, 4
optreset:
	.zero	4
	.globl	optarg
	.align 8
	.type	optarg, @object
	.size	optarg, 8
optarg:
	.zero	8
	.section	.rodata
.LC0:
	.string	""
.LC1:
	.string	"illegal option -- %c\n"
	.align 8
.LC2:
	.string	"option requires an argument -- %c\n"
	.text
	.globl	getopt
	.type	getopt, @function
getopt:
.LFB6:
	.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	eax, DWORD PTR optreset[rip]
	test	eax, eax
	jne	.L2
	mov	rax, QWORD PTR place.0[rip]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L3
.L2:
	mov	DWORD PTR optreset[rip], 0
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR place.0[rip], rax
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -20[rbp], eax
	jle	.L4
	mov	rax, QWORD PTR place.0[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR place.0[rip], rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L5
.L4:
	lea	rax, .LC0[rip]
	mov	QWORD PTR place.0[rip], rax
	mov	eax, -1
	jmp	.L6
.L5:
	mov	rax, QWORD PTR place.0[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR place.0[rip], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR optopt[rip], eax
	mov	eax, DWORD PTR optopt[rip]
	cmp	eax, 45
	jne	.L7
	mov	rax, QWORD PTR place.0[rip]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L7
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR place.0[rip], rax
	mov	eax, -1
	jmp	.L6
.L7:
	mov	eax, DWORD PTR optopt[rip]
	test	eax, eax
	jne	.L10
	lea	rax, .LC0[rip]
	mov	QWORD PTR place.0[rip], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 45
	mov	rdi, rax
	call	strchr@PLT
	test	rax, rax
	jne	.L9
	mov	eax, -1
	jmp	.L6
.L9:
	mov	DWORD PTR optopt[rip], 45
	jmp	.L10
.L3:
	mov	rax, QWORD PTR place.0[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR place.0[rip], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR optopt[rip], eax
.L10:
	mov	eax, DWORD PTR optopt[rip]
	cmp	eax, 58
	je	.L11
	mov	edx, DWORD PTR optopt[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L12
.L11:
	mov	rax, QWORD PTR place.0[rip]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L13
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
.L13:
	mov	eax, DWORD PTR opterr[rip]
	test	eax, eax
	je	.L14
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	je	.L14
	mov	edx, DWORD PTR optopt[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L14:
	mov	eax, 63
	jmp	.L6
.L12:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	je	.L15
	mov	QWORD PTR optarg[rip], 0
	mov	rax, QWORD PTR place.0[rip]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L16
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
	jmp	.L16
.L15:
	mov	rax, QWORD PTR place.0[rip]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L17
	mov	rax, QWORD PTR place.0[rip]
	mov	QWORD PTR optarg[rip], rax
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L19
	mov	QWORD PTR optarg[rip], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -20[rbp], eax
	jle	.L20
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR optarg[rip], rax
	jmp	.L18
.L20:
	lea	rax, .LC0[rip]
	mov	QWORD PTR place.0[rip], rax
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L21
	mov	eax, 58
	jmp	.L6
.L21:
	mov	eax, DWORD PTR opterr[rip]
	test	eax, eax
	je	.L22
	mov	edx, DWORD PTR optopt[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L22:
	mov	eax, 63
	jmp	.L6
.L18:
	lea	rax, .LC0[rip]
	mov	QWORD PTR place.0[rip], rax
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
.L16:
	mov	eax, DWORD PTR optopt[rip]
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getopt, .-getopt
	.section	.data.rel.local,"aw"
	.align 8
	.type	place.0, @object
	.size	place.0, 8
place.0:
	.quad	.LC0
	.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	"57951.c"
	.text
	.global	opterr
	.data
	.align	2
	.type	opterr, %object
	.size	opterr, 4
opterr:
	.word	1
	.global	optind
	.align	2
	.type	optind, %object
	.size	optind, 4
optind:
	.word	1
	.comm	optopt,4,4
	.comm	optreset,4,4
	.comm	optarg,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"illegal option -- %c\012\000"
	.align	2
.LC2:
	.ascii	"option requires an argument -- %c\012\000"
	.text
	.align	2
	.global	getopt
	.syntax unified
	.arm
	.fpu softvfp
	.type	getopt, %function
getopt:
	@ 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]
	ldr	r3, .L23
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L23+4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
.L2:
	ldr	r3, .L23
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L23+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L23+4
	str	r3, [r2]
	ldr	r3, .L23+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L4
	ldr	r3, .L23+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L23+4
	str	r2, [r1]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L5
.L4:
	ldr	r3, .L23+4
	ldr	r2, .L23+12
	str	r2, [r3]
	mvn	r3, #0
	b	.L6
.L5:
	ldr	r3, .L23+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L23+4
	str	r2, [r1]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L23+16
	str	r2, [r3]
	ldr	r3, .L23+16
	ldr	r3, [r3]
	cmp	r3, #45
	bne	.L7
	ldr	r3, .L23+4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L23+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L23+8
	str	r3, [r2]
	ldr	r3, .L23+4
	ldr	r2, .L23+12
	str	r2, [r3]
	mvn	r3, #0
	b	.L6
.L7:
	ldr	r3, .L23+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L10
	ldr	r3, .L23+4
	ldr	r2, .L23+12
	str	r2, [r3]
	mov	r1, #45
	ldr	r0, [fp, #-24]
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	mvn	r3, #0
	b	.L6
.L9:
	ldr	r3, .L23+16
	mov	r2, #45
	str	r2, [r3]
	b	.L10
.L3:
	ldr	r3, .L23+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L23+4
	str	r2, [r1]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L23+16
	str	r2, [r3]
.L10:
	ldr	r3, .L23+16
	ldr	r3, [r3]
	cmp	r3, #58
	beq	.L11
	ldr	r3, .L23+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	strchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L12
.L11:
	ldr	r3, .L23+4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L23+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L23+8
	str	r3, [r2]
.L13:
	ldr	r3, .L23+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	beq	.L14
	ldr	r3, .L23+24
	ldr	r3, [r3]
	ldr	r2, .L23+16
	ldr	r2, [r2]
	ldr	r1, .L23+28
	mov	r0, r3
	bl	fprintf
.L14:
	mov	r3, #63
	b	.L6
.L12:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	beq	.L15
	ldr	r3, .L23+32
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L23+4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L23+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L23+8
	str	r3, [r2]
	b	.L16
.L15:
	ldr	r3, .L23+4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L17
	ldr	r3, .L23+4
	ldr	r3, [r3]
	ldr	r2, .L23+32
	str	r3, [r2]
	b	.L18
.L17:
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L19
	ldr	r3, .L23+32
	mov	r2, #0
	str	r2, [r3]
	b	.L18
.L19:
	ldr	r3, .L23+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L23+8
	str	r3, [r2]
	ldr	r3, .L23+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L20
	ldr	r3, .L23+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L23+32
	str	r3, [r2]
	b	.L18
.L20:
	ldr	r3, .L23+4
	ldr	r2, .L23+12
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L21
	mov	r3, #58
	b	.L6
.L21:
	ldr	r3, .L23+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L22
	ldr	r3, .L23+24
	ldr	r3, [r3]
	ldr	r2, .L23+16
	ldr	r2, [r2]
	ldr	r1, .L23+36
	mov	r0, r3
	bl	fprintf
.L22:
	mov	r3, #63
	b	.L6
.L18:
	ldr	r3, .L23+4
	ldr	r2, .L23+12
	str	r2, [r3]
	ldr	r3, .L23+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L23+8
	str	r3, [r2]
.L16:
	ldr	r3, .L23+16
	ldr	r3, [r3]
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	optreset
	.word	place.5911
	.word	optind
	.word	.LC0
	.word	optopt
	.word	opterr
	.word	stderr
	.word	.LC1
	.word	optarg
	.word	.LC2
	.size	getopt, .-getopt
	.data
	.align	2
	.type	place.5911, %object
	.size	place.5911, 4
place.5911:
	.word	.LC0
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
