// File: /workspace/github_c_makefile_star2_O1/nimble-code[P]Uno/Src/uno.c
// Function: main
int
main(int argc, char *argv[])
{
	strcpy(loc_args, lx);
	strcat(loc_args, " ");

	strcpy(glob_cmd, gx);
	strcat(glob_cmd, " ");

	argc--;
	while (argc-- > 0)	/* @uno_suppress side-effect */
	{	argv++;
		if (0) { printf("%3d: '%s'\n", argc, *argv); }
		if ((*argv)[0] == '-')
		{	if (0) { printf("option '%c' -- '%s'\n", (*argv)[1], *argv); }
			switch((*argv)[1]) {
			case 'C':	/* -CPP=... */
			case 'D':
			case 'U':
			case 'I':
				pass_loc(*argv, "");
				break;

			case 'L':
				strcpy(lx, &(*argv)[2]);
				if (verbose) { printf("uno: using %s for uno_local\n", lx); }
				strcpy(loc_args, lx);
				strcat(loc_args, " ");
				break;

			case 'G':
				strcpy(gx, &(*argv)[2]);
				if (verbose) { printf("uno: using %s for uno_global\n", gx); }
				strcpy(glob_cmd, gx);
				strcat(glob_cmd, " ");
				break;

			case 'W':
				w_dir = malloc(strlen(*argv)+1-2);
				strcpy(w_dir, &(*argv)[2]);
				pass_loc(*argv, "");
				break;
			case 'a':	/* l */
				pass_loc("-allerr ", NULL);
				break;
			case 'e':	/* add the else-chain and compound checkers */
				pass_loc("-else ", NULL);
		/*		pass_loc("-compound ", NULL);	* not working */
				break;
			case 'g':	/* g */
				argv++; argc--;
				set_glb(*argv);
				break;
			case 'c':	/* absorb cc args */
			case 'l':	/* l */
				localonly = 1;
				pass_loc("-localonly ", NULL);
				break;
			case 'm':	/* l */
				argv++; argc--;
				pass_loc("-master ", *argv);
				break;
			case 'n':	/* l */
				pass_loc("-nopre ", NULL);
				break;
			case 'o':	/* absorb cc args */
				argv++; argc--;
				break;
			case 'p':	/* l */
				argv++; argc--;
				pass_loc("-prop ", *argv);
				break;
			case 'q':
				quiet = 1;
				break;

			case 'r':	/* experimental XXX */
				pass_loc("-rules ", NULL);
				localonly = 1;
				break;

			case 's':	/* l */
				pass_loc("-s ", NULL);
				localonly = 1;
				break;
			case 't':	/* g */
				strcat(glob_cmd, "-l ");
				break;	/* g */
			case 'V':	/* l */
				version_info();
				break;
			case 'v':	/* g,l */
				pass_loc("-v ", NULL);
				strcat(glob_cmd, "-v ");
				verbose = 1;
				break;
			case 'w':	/* g,l */
				pass_loc("-picky ", NULL);
				strcat(glob_cmd, "-l ");
			case 'u':	/* g,l  @uno_suppress: fall through on switch */
				usecheck = 1;
				pass_loc("-use ", NULL);
				strcat(glob_cmd, "-u ");
				break;
			case 'x':	/* l */
				argv++; argc--;
				pass_loc("-exit ", *argv);
				break;
			default :
				fprintf(stderr, "uno: saw -%c\n", (*argv)[1]);
				uno_usage();
				break;
			}
		} else if (strstr(*argv, ".c") != NULL)
		{	add_target(*argv);
		} else
		{	uno_usage();
	}	}

	if (!fnames)
	{	uno_usage();
	}

	signal(SIGINT, cleanup);

	glob_base = (int) strlen(glob_cmd);

	run_uno();

	if (!usecheck && !quiet)
	{	printf("uno:\tcheck completed, try 'uno -h' for different checks\n");
	}

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbp
movl %edi, %r12d
movups 0xe93(%rip), %xmm0      # 0x2167
movups %xmm0, 0x2dfe(%rip)     # 0x40d9
movups 0xe7c(%rip), %xmm0      # 0x215e
movaps %xmm0, 0x2de7(%rip)     # 0x40d0
leaq 0x2de0(%rip), %r14      # 0x40d0
movq %r14, %rdi
callq 0x1060
movw $0x20, %bx
movw %bx, (%rax,%r14)
movups 0xe6f(%rip), %xmm0      # 0x2177
movaps %xmm0, 0x3dc1(%rip)     # 0x50d0
movups 0xe6b(%rip), %xmm0      # 0x2181
movups %xmm0, 0x3dbd(%rip)     # 0x50da
leaq 0x3dac(%rip), %r14      # 0x50d0
movq %r14, %rdi
callq 0x1060
movw %bx, (%rax,%r14)
cmpl $0x2, %r12d
jl 0x1788
leal -0x2(%r12), %r13d
decl %r12d
leaq 0x8(%rbp), %rbx
movq 0x8(%rbp), %r15
movb (%r15), %r14b
cmpb $0x2d, %r14b
jne 0x1389
movzbl 0x1(%r15), %eax
leal -0x43(%rax), %ecx
cmpl $0x35, %ecx
ja 0x19e1
leaq 0xc98(%rip), %rdx       # 0x2004
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movq %r15, %rdi
leaq 0x10c4(%rip), %rsi      # 0x2443
callq 0x19e9
jmp 0x1774
movq %r15, %rdi
leaq 0xe2e(%rip), %rsi       # 0x21c1
callq 0x1140
testq %rax, %rax
je 0x198c
cmpb $0x5f, %r14b
je 0x1774
movl $0x10, %edi
callq 0x10e0
movq %rax, %r12
movq %r15, %rdi
callq 0x1060
leaq 0x1(%rax), %rdi
callq 0x10e0
movq %rax, (%r12)
movq %rax, %rdi
movq %r15, %rsi
callq 0x1040
movq 0x4d11(%rip), %rax      # 0x60f0
movq %rax, 0x8(%r12)
movq %r12, 0x4d05(%rip)      # 0x60f0
jmp 0x1774
movb $0x1, 0x4ce9(%rip)      # 0x60e0
leaq 0x2cd2(%rip), %r14      # 0x40d0
movq %r14, %rdi
callq 0x1060
movabsq $0x6e6f6c61636f6c2d, %rcx # imm = 0x6E6F6C61636F6C2D
movq %rcx, (%rax,%r14)
movl $0x20796c, 0x8(%rax,%r14) # imm = 0x20796C
jmp 0x1774
leaq 0x2ca7(%rip), %r14      # 0x40d0
movq %r14, %rdi
callq 0x1060
movl $0x20732d, (%rax,%r14)  # imm = 0x20732D
jmp 0x1458
leaq 0x2c8e(%rip), %r14      # 0x40d0
movq %r14, %rdi
callq 0x1060
movabsq $0x2073656c75722d, %rcx # imm = 0x2073656C75722D
movq %rcx, (%rax,%r14)
movb $0x1, 0x4c81(%rip)      # 0x60e0
jmp 0x1774
leaq 0x2c65(%rip), %r14      # 0x40d0
movq %r14, %rdi
callq 0x1060
movl $0x20762d, %ebp         # imm = 0x20762D
movl %ebp, (%rax,%r14)
leaq 0x3c4d(%rip), %r14      # 0x50d0
movq %r14, %rdi
callq 0x1060
movl %ebp, (%rax,%r14)
movb $0x1, 0x4c3a(%rip)      # 0x60d0
jmp 0x1774
leaq 0x3c2e(%rip), %r14      # 0x50d0
movq %r14, %rdi
callq 0x1060
movl $0x206c2d, (%rax,%r14)  # imm = 0x206C2D
jmp 0x1774
addl $-0x2, %r12d
movq 0x10(%rbp), %rsi
addq $0x10, %rbp
leaq 0xc69(%rip), %rdi       # 0x2133
jmp 0x15e5
movq %r15, %rdi
callq 0x1060
leaq -0x1(%rax), %rdi
callq 0x10e0
movq %rax, 0x4bf1(%rip)      # 0x60d8
addq $0x2, %r15
movq %rax, %rdi
movq %r15, %rsi
callq 0x1040
movq (%rbx), %rdi
jmp 0x1378
leaq 0x2bcb(%rip), %r14      # 0x40d0
movq %r14, %rdi
callq 0x1060
movl $0x736c652d, (%rax,%r14) # imm = 0x736C652D
movl $0x206573, 0x3(%rax,%r14) # imm = 0x206573
jmp 0x1774
addq $0x2, %r15
leaq 0xc30(%rip), %rdi       # 0x215e
movq %r15, %rsi
callq 0x1040
cmpb $0x1, 0x4b93(%rip)      # 0x60d0
jne 0x1554
leaq 0xb96(%rip), %rdi       # 0x20dc
leaq 0xc11(%rip), %rsi       # 0x215e
xorl %eax, %eax
callq 0x1080
movups 0xc0c(%rip), %xmm0      # 0x2167
movups %xmm0, 0x2b77(%rip)     # 0x40d9
movups 0xbf5(%rip), %xmm0      # 0x215e
movaps %xmm0, 0x2b60(%rip)     # 0x40d0
leaq 0x2b59(%rip), %r14      # 0x40d0
jmp 0x1643
movb $0x1, 0x4b61(%rip)      # 0x60e4
jmp 0x1774
addq $0x10, %rbp
addl $-0x2, %r12d
jmp 0x16d9
addl $-0x2, %r12d
movq 0x10(%rbp), %rsi
addq $0x10, %rbp
leaq 0xba1(%rip), %rdi       # 0x2149
jmp 0x15e5
leaq 0x2b1f(%rip), %r14      # 0x40d0
movq %r14, %rdi
callq 0x1060
movabsq $0x207272656c6c612d, %rcx # imm = 0x207272656C6C612D
movq %rcx, (%rax,%r14)
movb $0x0, 0x8(%rax,%r14)
jmp 0x1774
addl $-0x2, %r12d
movq 0x10(%rbp), %rsi
addq $0x10, %rbp
leaq 0xb57(%rip), %rdi       # 0x213c
callq 0x19e9
jmp 0x16d9
addq $0x2, %r15
leaq 0xb7d(%rip), %rdi       # 0x2177
movq %r15, %rsi
callq 0x1040
cmpb $0x1, 0x4ac7(%rip)      # 0x60d0
jne 0x1620
leaq 0xae7(%rip), %rdi       # 0x20f9
leaq 0xb5e(%rip), %rsi       # 0x2177
xorl %eax, %eax
callq 0x1080
movups 0xb5a(%rip), %xmm0      # 0x2181
movups %xmm0, 0x3aac(%rip)     # 0x50da
movups 0xb42(%rip), %xmm0      # 0x2177
movaps %xmm0, 0x3a94(%rip)     # 0x50d0
leaq 0x3a8d(%rip), %r14      # 0x50d0
movq %r14, %rdi
callq 0x1060
movw $0x20, (%rax,%r14)
jmp 0x1774
movq 0x10(%rbp), %r15
incl 0x4a9b(%rip)            # 0x60fc
leaq 0xb54(%rip), %rdi       # 0x21bc
movl $0x1a4, %esi            # imm = 0x1A4
callq 0x1100
testl %eax, %eax
js 0x1991
movl %eax, %edi
callq 0x10b0
leaq 0x4a78(%rip), %rbx      # 0x6100
movq %rbx, %rdi
leaq 0xb1e(%rip), %rsi       # 0x21b0
leaq 0xac5(%rip), %rdx       # 0x215e
movq %r15, %rcx
xorl %eax, %eax
callq 0x1110
cmpb $0x1, 0x4a26(%rip)      # 0x60d0
jne 0x16bd
leaq 0xb11(%rip), %rdi       # 0x21c4
movq %rbx, %rsi
xorl %eax, %eax
callq 0x1080
addq $0x10, %rbp
addl $-0x2, %r12d
movq %rbx, %rdi
callq 0x1070
leaq 0xae8(%rip), %rdi       # 0x21bc
callq 0x1030
movl %r12d, %r13d
movq %rbp, %rbx
jmp 0x1774
leaq 0x29e5(%rip), %r14      # 0x40d0
movq %r14, %rdi
callq 0x1060
movabsq $0x206572706f6e2d, %rcx # imm = 0x206572706F6E2D
movq %rcx, (%rax,%r14)
jmp 0x1774
leaq 0x29c6(%rip), %r14      # 0x40d0
movq %r14, %rdi
callq 0x1060
movabsq $0x20796b6369702d, %rcx # imm = 0x20796B6369702D
movq %rcx, (%rax,%r14)
leaq 0x39a9(%rip), %r14      # 0x50d0
movq %r14, %rdi
callq 0x1060
movl $0x206c2d, (%rax,%r14)  # imm = 0x206C2D
movb $0x1, 0x49aa(%rip)      # 0x60e8
leaq 0x298b(%rip), %r14      # 0x40d0
movq %r14, %rdi
callq 0x1060
movl $0x6573752d, (%rax,%r14) # imm = 0x6573752D
movw $0x20, 0x4(%rax,%r14)
leaq 0x396c(%rip), %r14      # 0x50d0
movq %r14, %rdi
callq 0x1060
movl $0x20752d, (%rax,%r14)  # imm = 0x20752D
movl %r13d, %r12d
leal -0x1(%r12), %r13d
movq %rbx, %rbp
testl %r12d, %r12d
jg 0x1343
cmpq $0x0, 0x4960(%rip)      # 0x60f0
je 0x198c
leaq 0x540(%rip), %rsi       # 0x1cdd
movl $0x2, %edi
callq 0x10c0
leaq 0x3922(%rip), %rbx      # 0x50d0
movq %rbx, %rdi
callq 0x1060
movl %eax, 0x493c(%rip)      # 0x60f8
movq 0x492d(%rip), %rbp      # 0x60f0
testq %rbp, %rbp
je 0x1889
leaq 0x492d(%rip), %r14      # 0x6100
leaq 0x28f6(%rip), %r15      # 0x40d0
leaq 0xec6(%rip), %r12       # 0x26a7
leaq 0x9dc(%rip), %r13       # 0x21c4
movq %r14, %rdi
movq %r15, %rsi
callq 0x1040
movq (%rbp), %rsi
movq %r14, %rdi
callq 0x10f0
cmpb $0x1, 0x48ca(%rip)      # 0x60d0
jne 0x1815
movq %r12, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x1080
cmpb $0x1, 0x48b4(%rip)      # 0x60d0
jne 0x182b
movq %r13, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x1080
movq %r14, %rdi
callq 0x1070
movq 0x48b6(%rip), %rbp      # 0x60f0
movq (%rbp), %rsi
movq %rbx, %rdi
callq 0x10f0
movq %rbx, %rdi
movl $0x2e, %esi
callq 0x1090
testq %rax, %rax
je 0x1987
movb $0x0, (%rax)
movq %rbx, %rdi
callq 0x1060
movl $0x6f6e752e, (%rax,%rbx) # imm = 0x6F6E752E
movw $0x20, 0x4(%rax,%rbx)
movq 0x8(%rbp), %rbp
movq %rbp, 0x4870(%rip)      # 0x60f0
testq %rbp, %rbp
jne 0x17e8
cmpb $0x0, 0x4850(%rip)      # 0x60e0
jne 0x1953
cmpl $0x0, 0x485f(%rip)      # 0x60fc
je 0x18bd
movq %rbx, %rdi
callq 0x1060
movabsq $0x6e752e5f6f6e755f, %rcx # imm = 0x6E752E5F6F6E755F
movq %rcx, (%rax,%rbx)
movl $0x206f6e, 0x7(%rax,%rbx) # imm = 0x206F6E
movq 0x4814(%rip), %rbx      # 0x60d8
testq %rbx, %rbx
je 0x1929
leaq 0x3800(%rip), %r15      # 0x50d0
movq %r15, %rdi
callq 0x1060
movq %rax, %r14
movq %rbx, %rdi
callq 0x1060
leaq (%r14,%rax), %rdi
addq $0x5, %rdi
callq 0x10e0
movq %rax, %r14
leaq 0xda2(%rip), %rsi       # 0x269c
movq %rax, %rdi
movq %rbx, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq 0x1110
cmpb $0x1, 0x47bf(%rip)      # 0x60d0
jne 0x1924
leaq 0x8aa(%rip), %rdi       # 0x21c4
movq %r14, %rsi
xorl %eax, %eax
callq 0x1080
movq %r14, %rdi
jmp 0x194e
cmpb $0x1, 0x47a0(%rip)      # 0x60d0
jne 0x1947
leaq 0x88b(%rip), %rdi       # 0x21c4
leaq 0x3790(%rip), %rsi      # 0x50d0
xorl %eax, %eax
callq 0x1080
leaq 0x3782(%rip), %rdi      # 0x50d0
callq 0x1070
callq 0x1cdd
cmpb $0x0, 0x4789(%rip)      # 0x60e8
jne 0x1976
testb $0x1, 0x477c(%rip)      # 0x60e4
jne 0x1976
leaq 0xd60(%rip), %rdi       # 0x26d1
callq 0x1050
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1185
callq 0x1a28
callq 0x1160
leaq 0x2733(%rip), %rbx      # 0x40d0
movq %rbx, %rdi
callq 0x1060
movw $0x562d, (%rax,%rbx)    # imm = 0x562D
movb $0x0, 0x2(%rax,%rbx)
cmpb $0x1, 0x4719(%rip)      # 0x60d0
jne 0x19ce
leaq 0x804(%rip), %rdi       # 0x21c4
leaq 0x2709(%rip), %rsi      # 0x40d0
xorl %eax, %eax
callq 0x1080
leaq 0x26fb(%rip), %rdi      # 0x40d0
callq 0x1070
xorl %edi, %edi
callq 0x1120
movzbl %al, %edi
callq 0x11aa