	.file	"944378.c"
	.intel_syntax noprefix
	.text
	.globl	optarg
	.bss
	.align 8
	.type	optarg, @object
	.size	optarg, 8
optarg:
	.zero	8
	.globl	optind
	.data
	.align 4
	.type	optind, @object
	.size	optind, 4
optind:
	.long	1
	.globl	opterr
	.align 4
	.type	opterr, @object
	.size	opterr, 4
opterr:
	.long	1
	.globl	optopt
	.bss
	.align 4
	.type	optopt, @object
	.size	optopt, 4
optopt:
	.zero	4
	.data
	.align 4
	.type	optwhere, @object
	.size	optwhere, 4
optwhere:
	.long	1
	.section	.rodata
.LC0:
	.string	"-"
.LC1:
	.string	"%s: illegal option -- %c\n"
	.align 8
.LC2:
	.string	"%s: option requires an argument -- %c\n"
	.text
	.globl	getopt
	.type	getopt, @function
getopt:
.LFB0:
	.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
	cmp	DWORD PTR -20[rbp], 0
	je	.L2
	cmp	QWORD PTR -32[rbp], 0
	je	.L2
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -20[rbp], eax
	jg	.L3
.L2:
	mov	eax, -1
	jmp	.L4
.L3:
	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]
	test	rax, rax
	je	.L5
	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]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L5
	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]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
.L5:
	mov	eax, -1
	jmp	.L4
.L6:
	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]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L7
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
	mov	eax, -1
	jmp	.L4
.L7:
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR optwhere[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR optwhere[rip], edx
	cdqe
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -13[rbp], al
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	sete	al
	movzx	eax, al
	mov	DWORD PTR -12[rbp], eax
	movsx	edx, BYTE PTR -13[rbp]
	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	.L8
	movsx	eax, BYTE PTR -13[rbp]
	mov	DWORD PTR optopt[rip], eax
	mov	eax, DWORD PTR opterr[rip]
	test	eax, eax
	je	.L9
	cmp	DWORD PTR -12[rbp], 0
	jne	.L9
	movsx	ecx, BYTE PTR -13[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L9:
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR optwhere[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L10
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
	mov	DWORD PTR optwhere[rip], 1
.L10:
	mov	eax, 63
	jmp	.L4
.L8:
	add	QWORD PTR -8[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L11
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR optwhere[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L12
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR optwhere[rip]
	cdqe
	add	rax, rdx
	mov	QWORD PTR optarg[rip], rax
	jmp	.L13
.L12:
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jle	.L14
	mov	eax, DWORD PTR optind[rip]
	cdqe
	add	rax, 1
	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
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
	jmp	.L13
.L14:
	movsx	eax, BYTE PTR -13[rbp]
	mov	DWORD PTR optopt[rip], eax
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
	mov	DWORD PTR optwhere[rip], 1
	cmp	DWORD PTR -12[rbp], 0
	je	.L15
	mov	eax, 58
	jmp	.L4
.L15:
	mov	eax, DWORD PTR opterr[rip]
	test	eax, eax
	je	.L16
	movsx	ecx, BYTE PTR -13[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L16:
	mov	eax, 63
	jmp	.L4
.L11:
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR optwhere[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L13
	movsx	eax, BYTE PTR -13[rbp]
	jmp	.L4
.L13:
	mov	DWORD PTR optwhere[rip], 1
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
	movsx	eax, BYTE PTR -13[rbp]
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	getopt, .-getopt
	.globl	getopt_long
	.type	getopt_long, @function
getopt_long:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	QWORD PTR -32[rbp], rcx
	mov	QWORD PTR -40[rbp], r8
	mov	eax, -1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	getopt_long, .-getopt_long
	.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	"944378.c"
	.text
	.comm	optarg,4,4
	.global	optind
	.data
	.align	2
	.type	optind, %object
	.size	optind, 4
optind:
	.word	1
	.global	opterr
	.align	2
	.type	opterr, %object
	.size	opterr, 4
opterr:
	.word	1
	.comm	optopt,4,4
	.align	2
	.type	optwhere, %object
	.size	optwhere, 4
optwhere:
	.word	1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-\000"
	.align	2
.LC1:
	.ascii	"%s: illegal option -- %c\012\000"
	.align	2
.LC2:
	.ascii	"%s: 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 = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L17
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bgt	.L3
.L2:
	mvn	r3, #0
	b	.L4
.L3:
	ldr	r3, .L17
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L17
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L5
	ldr	r3, .L17
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L17+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
.L5:
	mvn	r3, #0
	b	.L4
.L6:
	ldr	r3, .L17
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L7
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L17
	str	r3, [r2]
	mvn	r3, #0
	b	.L4
.L7:
	ldr	r3, .L17
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L17+8
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L17+8
	str	r1, [r0]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-13]
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-12]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	strchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L8
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L17+12
	str	r3, [r2]
	ldr	r3, .L17+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L17+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-28]
	ldr	r2, [r3]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r1, .L17+24
	bl	fprintf
.L9:
	ldr	r3, .L17
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L17+8
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L10
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L17
	str	r3, [r2]
	ldr	r3, .L17+8
	mov	r2, #1
	str	r2, [r3]
.L10:
	mov	r3, #63
	b	.L4
.L8:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L11
	ldr	r3, .L17
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L17+8
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L17
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L17+8
	ldr	r2, [r2]
	add	r3, r3, r2
	ldr	r2, .L17+28
	str	r3, [r2]
	b	.L13
.L12:
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L14
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L17+28
	str	r3, [r2]
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L17
	str	r3, [r2]
	b	.L13
.L14:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L17+12
	str	r3, [r2]
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L17
	str	r3, [r2]
	ldr	r3, .L17+8
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L15
	mov	r3, #58
	b	.L4
.L15:
	ldr	r3, .L17+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L17+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-28]
	ldr	r2, [r3]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r1, .L17+32
	bl	fprintf
.L16:
	mov	r3, #63
	b	.L4
.L11:
	ldr	r3, .L17
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L17+8
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L13
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	b	.L4
.L13:
	ldr	r3, .L17+8
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L17
	str	r3, [r2]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	optind
	.word	.LC0
	.word	optwhere
	.word	optopt
	.word	opterr
	.word	stderr
	.word	.LC1
	.word	optarg
	.word	.LC2
	.size	getopt, .-getopt
	.align	2
	.global	getopt_long
	.syntax unified
	.arm
	.fpu softvfp
	.type	getopt_long, %function
getopt_long:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	mvn	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	getopt_long, .-getopt_long
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
