	.file	"107954253.c"
	.intel_syntax noprefix
	.text
	.local	opt
	.comm	opt,1,1
	.section	.rodata
.LC0:
	.string	"-a"
.LC1:
	.string	"-s"
.LC2:
	.string	"-n"
.LC3:
	.string	"-r"
.LC4:
	.string	"-v"
.LC5:
	.string	"-m"
.LC6:
	.string	"%s: invalid argument: %s\n"
.LC7:
	.string	"%s: %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 432
	mov	DWORD PTR -420[rbp], edi
	mov	QWORD PTR -432[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -404[rbp], 0
	mov	DWORD PTR -408[rbp], 1
	jmp	.L2
.L11:
	mov	eax, DWORD PTR -408[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -432[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L3
	movzx	eax, BYTE PTR opt[rip]
	or	eax, 1
	mov	BYTE PTR opt[rip], al
	movzx	eax, BYTE PTR opt[rip]
	or	eax, 2
	mov	BYTE PTR opt[rip], al
	movzx	eax, BYTE PTR opt[rip]
	or	eax, 4
	mov	BYTE PTR opt[rip], al
	movzx	eax, BYTE PTR opt[rip]
	or	eax, 8
	mov	BYTE PTR opt[rip], al
	movzx	eax, BYTE PTR opt[rip]
	or	eax, 16
	mov	BYTE PTR opt[rip], al
	mov	DWORD PTR -404[rbp], 1
	jmp	.L4
.L3:
	mov	eax, DWORD PTR -408[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -432[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	movzx	eax, BYTE PTR opt[rip]
	or	eax, 1
	mov	BYTE PTR opt[rip], al
	mov	DWORD PTR -404[rbp], 1
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -408[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -432[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	movzx	eax, BYTE PTR opt[rip]
	or	eax, 2
	mov	BYTE PTR opt[rip], al
	mov	DWORD PTR -404[rbp], 1
	jmp	.L4
.L6:
	mov	eax, DWORD PTR -408[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -432[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	movzx	eax, BYTE PTR opt[rip]
	or	eax, 4
	mov	BYTE PTR opt[rip], al
	mov	DWORD PTR -404[rbp], 1
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -408[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -432[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	movzx	eax, BYTE PTR opt[rip]
	or	eax, 8
	mov	BYTE PTR opt[rip], al
	mov	DWORD PTR -404[rbp], 1
	jmp	.L4
.L8:
	mov	eax, DWORD PTR -408[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -432[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
	movzx	eax, BYTE PTR opt[rip]
	or	eax, 16
	mov	BYTE PTR opt[rip], al
	mov	DWORD PTR -404[rbp], 1
	jmp	.L4
.L9:
	mov	eax, DWORD PTR -408[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -432[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -432[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L23
.L4:
	add	DWORD PTR -408[rbp], 1
.L2:
	mov	eax, DWORD PTR -408[rbp]
	cmp	eax, DWORD PTR -420[rbp]
	jl	.L11
	cmp	DWORD PTR -404[rbp], 0
	jne	.L12
	movzx	eax, BYTE PTR opt[rip]
	or	eax, 1
	mov	BYTE PTR opt[rip], al
.L12:
	lea	rax, -400[rbp]
	mov	rdi, rax
	call	uname@PLT
	test	eax, eax
	je	.L13
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -432[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L23
.L13:
	mov	DWORD PTR -404[rbp], 0
	movzx	eax, BYTE PTR opt[rip]
	and	eax, 1
	test	al, al
	je	.L14
	mov	rdx, QWORD PTR stdout[rip]
	lea	rax, -400[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	DWORD PTR -404[rbp], 1
.L14:
	movzx	eax, BYTE PTR opt[rip]
	and	eax, 2
	test	al, al
	je	.L15
	cmp	DWORD PTR -404[rbp], 0
	je	.L16
	mov	edi, 32
	call	putchar@PLT
.L16:
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, -400[rbp]
	add	rdx, 65
	mov	rsi, rax
	mov	rdi, rdx
	call	fputs@PLT
	mov	DWORD PTR -404[rbp], 1
.L15:
	movzx	eax, BYTE PTR opt[rip]
	and	eax, 4
	test	al, al
	je	.L17
	cmp	DWORD PTR -404[rbp], 0
	je	.L18
	mov	edi, 32
	call	putchar@PLT
.L18:
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, -400[rbp]
	add	rdx, 130
	mov	rsi, rax
	mov	rdi, rdx
	call	fputs@PLT
	mov	DWORD PTR -404[rbp], 1
.L17:
	movzx	eax, BYTE PTR opt[rip]
	and	eax, 8
	test	al, al
	je	.L19
	cmp	DWORD PTR -404[rbp], 0
	je	.L20
	mov	edi, 32
	call	putchar@PLT
.L20:
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, -400[rbp]
	add	rdx, 195
	mov	rsi, rax
	mov	rdi, rdx
	call	fputs@PLT
	mov	DWORD PTR -404[rbp], 1
.L19:
	movzx	eax, BYTE PTR opt[rip]
	and	eax, 16
	test	al, al
	je	.L21
	cmp	DWORD PTR -404[rbp], 0
	je	.L22
	mov	edi, 32
	call	putchar@PLT
.L22:
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, -400[rbp]
	add	rdx, 260
	mov	rsi, rax
	mov	rdi, rdx
	call	fputs@PLT
.L21:
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
.L23:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"107954253.c"
	.text
	.local	opt
	.comm	opt,1,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-a\000"
	.align	2
.LC1:
	.ascii	"-s\000"
	.align	2
.LC2:
	.ascii	"-n\000"
	.align	2
.LC3:
	.ascii	"-r\000"
	.align	2
.LC4:
	.ascii	"-v\000"
	.align	2
.LC5:
	.ascii	"-m\000"
	.align	2
.LC6:
	.ascii	"%s: invalid argument: %s\012\000"
	.align	2
.LC7:
	.ascii	"%s: %s\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 416
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #416
	str	r0, [fp, #-424]
	str	r1, [fp, #-428]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-412]
	mov	r3, #1
	str	r3, [fp, #-416]
	b	.L2
.L11:
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-428]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L25+4
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r2, .L25+8
	ldrb	r3, [r2]
	orr	r3, r3, #1
	strb	r3, [r2]
	ldr	r2, .L25+8
	ldrb	r3, [r2]
	orr	r3, r3, #2
	strb	r3, [r2]
	ldr	r2, .L25+8
	ldrb	r3, [r2]
	orr	r3, r3, #4
	strb	r3, [r2]
	ldr	r2, .L25+8
	ldrb	r3, [r2]
	orr	r3, r3, #8
	strb	r3, [r2]
	ldr	r2, .L25+8
	ldrb	r3, [r2]
	orr	r3, r3, #16
	strb	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-412]
	b	.L4
.L3:
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-428]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L25+12
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r2, .L25+8
	ldrb	r3, [r2]
	orr	r3, r3, #1
	strb	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-412]
	b	.L4
.L5:
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-428]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L25+16
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r2, .L25+8
	ldrb	r3, [r2]
	orr	r3, r3, #2
	strb	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-412]
	b	.L4
.L6:
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-428]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L25+20
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r2, .L25+8
	ldrb	r3, [r2]
	orr	r3, r3, #4
	strb	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-412]
	b	.L4
.L7:
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-428]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L25+24
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r2, .L25+8
	ldrb	r3, [r2]
	orr	r3, r3, #8
	strb	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-412]
	b	.L4
.L8:
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-428]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L25+28
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r2, .L25+8
	ldrb	r3, [r2]
	orr	r3, r3, #16
	strb	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-412]
	b	.L4
.L9:
	ldr	r3, .L25+32
	ldr	r0, [r3]
	ldr	r3, [fp, #-428]
	ldr	r1, [r3]
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-428]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r1
	ldr	r1, .L25+36
	bl	fprintf
	mov	r3, #1
	b	.L23
.L4:
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L2:
	ldr	r2, [fp, #-416]
	ldr	r3, [fp, #-424]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-412]
	cmp	r3, #0
	bne	.L12
	ldr	r2, .L25+8
	ldrb	r3, [r2]
	orr	r3, r3, #1
	strb	r3, [r2]
.L12:
	sub	r3, fp, #408
	mov	r0, r3
	bl	uname
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L25+32
	ldr	r4, [r3]
	ldr	r3, [fp, #-428]
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L25+40
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L23
.L13:
	mov	r3, #0
	str	r3, [fp, #-412]
	ldr	r3, .L25+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L25+44
	ldr	r2, [r3]
	sub	r3, fp, #408
	mov	r1, r2
	mov	r0, r3
	bl	fputs
	mov	r3, #1
	str	r3, [fp, #-412]
.L14:
	ldr	r3, .L25+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #2
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-412]
	cmp	r3, #0
	beq	.L16
	mov	r0, #32
	bl	putchar
.L16:
	ldr	r3, .L25+44
	ldr	r2, [r3]
	sub	r3, fp, #408
	add	r3, r3, #65
	mov	r1, r2
	mov	r0, r3
	bl	fputs
	mov	r3, #1
	str	r3, [fp, #-412]
.L15:
	ldr	r3, .L25+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #4
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-412]
	cmp	r3, #0
	beq	.L18
	mov	r0, #32
	bl	putchar
.L18:
	ldr	r3, .L25+44
	ldr	r2, [r3]
	sub	r3, fp, #408
	add	r3, r3, #130
	mov	r1, r2
	mov	r0, r3
	bl	fputs
	mov	r3, #1
	str	r3, [fp, #-412]
.L17:
	ldr	r3, .L25+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #8
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-412]
	cmp	r3, #0
	beq	.L20
	mov	r0, #32
	bl	putchar
.L20:
	ldr	r3, .L25+44
	ldr	r2, [r3]
	sub	r3, fp, #408
	add	r3, r3, #195
	mov	r1, r2
	mov	r0, r3
	bl	fputs
	mov	r3, #1
	str	r3, [fp, #-412]
.L19:
	ldr	r3, .L25+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #16
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-412]
	cmp	r3, #0
	beq	.L22
	mov	r0, #32
	bl	putchar
.L22:
	ldr	r3, .L25+44
	ldr	r2, [r3]
	sub	r3, fp, #408
	add	r3, r3, #260
	mov	r1, r2
	mov	r0, r3
	bl	fputs
.L21:
	mov	r0, #10
	bl	putchar
	mov	r3, #0
.L23:
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC8
	.word	.LC0
	.word	opt
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	stderr
	.word	.LC6
	.word	.LC7
	.word	stdout
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
