	.file	"525768.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"a:b:c:d"
.LC1:
	.string	"opt = %c\n"
.LC2:
	.string	"optarg = %s\n"
.LC3:
	.string	"optind = %d\n"
.LC4:
	.string	"argv[optind - 1] = %s\n"
.LC5:
	.string	"option_index = %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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 -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	lea	rax, .LC0[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR optarg[rip]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR optind[rip]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR optind[rip]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, 16[rax]
	mov	eax, DWORD PTR -36[rbp]
	lea	edi, -2[rax]
	lea	rdx, -28[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	r8, rdx
	lea	rcx, long_options.0[rip]
	mov	rdx, rax
	call	getopt_long@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], -1
	jne	.L3
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC6:
	.string	"reqarg"
.LC7:
	.string	"noarg"
.LC8:
	.string	"optarg"
	.section	.data.rel.local,"aw"
	.align 32
	.type	long_options.0, @object
	.size	long_options.0, 128
long_options.0:
	.quad	.LC6
	.long	1
	.zero	4
	.quad	0
	.long	114
	.zero	4
	.quad	.LC7
	.long	0
	.zero	4
	.quad	0
	.long	110
	.zero	4
	.quad	.LC8
	.long	2
	.zero	4
	.quad	0
	.long	111
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.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	"525768.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"a:b:c:d\000"
	.align	2
.LC1:
	.ascii	"opt = %c\012\000"
	.align	2
.LC2:
	.ascii	"optarg = %s\012\000"
	.align	2
.LC3:
	.ascii	"optind = %d\012\000"
	.align	2
.LC4:
	.ascii	"argv[optind - 1] = %s\012\000"
	.align	2
.LC5:
	.ascii	"option_index = %d\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, .L6+4
	str	r3, [fp, #-16]
	b	.L2
.L3:
	ldr	r1, [fp, #-12]
	ldr	r0, .L6+8
	bl	printf
	ldr	r3, .L6+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L6+16
	bl	printf
	ldr	r3, .L6+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L6+24
	bl	printf
	ldr	r3, .L6+20
	ldr	r3, [r3]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L6+28
	bl	printf
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L6+32
	bl	printf
.L2:
	ldr	r3, [fp, #-32]
	sub	r0, r3, #2
	ldr	r3, [fp, #-36]
	add	r1, r3, #8
	sub	r3, fp, #24
	str	r3, [sp]
	ldr	r3, .L6+36
	ldr	r2, [fp, #-16]
	bl	getopt_long
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L3
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	optarg
	.word	.LC2
	.word	optind
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	long_options.5746
	.size	main, .-main
	.section	.rodata
	.align	2
.LC7:
	.ascii	"reqarg\000"
	.align	2
.LC8:
	.ascii	"noarg\000"
	.align	2
.LC9:
	.ascii	"optarg\000"
	.data
	.align	2
	.type	long_options.5746, %object
	.size	long_options.5746, 64
long_options.5746:
	.word	.LC7
	.word	1
	.word	0
	.word	114
	.word	.LC8
	.word	0
	.word	0
	.word	110
	.word	.LC9
	.word	2
	.word	0
	.word	111
	.word	0
	.word	0
	.word	0
	.word	0
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
