// File: /workspace/github_c_makefile_star2_O3/doublec[P]peg/peg.c
// Function: main
int main(int argc, char **argv)
{
  Node *n;
  int   c;

  output= stdout;
  input= stdin;
  lineNumber= 1;
  fileName= "<stdin>";

  while (-1 != (c= getopt(argc, argv, "Vho:v")))
    {
      switch (c)
	{
	case 'V':
	  version(basename(argv[0]));
	  exit(0);

	case 'h':
	  usage(basename(argv[0]));
	  break;

	case 'o':
	  if (!(output= fopen(optarg, "w")))
	    {
	      perror(optarg);
	      exit(1);
	    }
	  break;

	case 'v':
	  verboseFlag= 1;
	  break;

	default:
	  fprintf(stderr, "for usage try: %s -h\n", argv[0]);
	  exit(1);
	}
    }
  argc -= optind;
  argv += optind;

  if (argc)
    {
      for (;  argc;  --argc, ++argv)
	{
	  if (!strcmp(*argv, "-"))
	    {
	      input= stdin;
	      fileName= "<stdin>";
	    }
	  else
	    {
	      if (!(input= fopen(*argv, "r")))
		{
		  perror(*argv);
		  exit(1);
		}
	      fileName= *argv;
	    }
	  lineNumber= 1;
	  if (!yyparse())
	    yyerror("syntax error");
	  if (input != stdin)
	    fclose(input);
	}
    }
  else
    if (!yyparse())
      yyerror("syntax error");

  if (verboseFlag)
    for (n= rules;  n;  n= n->any.next)
      Rule_print(n);

  Rule_compile_c_header();
  if (rules) Rule_compile_c(rules);

  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl %edi, %ebp
movq 0x8873(%rip), %rax      # 0x9fc0
movq (%rax), %rax
leaq 0x8a49(%rip), %r13      # 0xa1a0
movq %rax, (%r13)
movq 0x8866(%rip), %r12      # 0x9fc8
movq (%r12), %rax
movq %rax, 0x899b(%rip)      # 0xa108
movl $0x1, 0x89f9(%rip)      # 0xa170
leaq 0x38b0(%rip), %rax      # 0x502e
movq %rax, 0x89e3(%rip)      # 0xa168
leaq 0x38aa(%rip), %r14      # 0x5036
leaq 0x38a9(%rip), %r15      # 0x503c
movl %ebp, %edi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x1150
cmpl $0x6e, %eax
jle 0x17df
cmpl $0x6f, %eax
je 0x17bf
cmpl $0x76, %eax
jne 0x1929
movl $0x1, 0x8953(%rip)      # 0xa110
jmp 0x1793
movq 0x8812(%rip), %rax      # 0x9fd8
movq (%rax), %rdi
movq %r15, %rsi
callq 0x1130
movq %rax, (%r13)
testq %rax, %rax
jne 0x1793
callq 0x11c0
cmpl $-0x1, %eax
jne 0x18ef
movq 0x87e1(%rip), %rax      # 0x9fd0
movslq (%rax), %rax
subl %eax, %ebp
je 0x188d
leaq (%rbx,%rax,8), %r15
movl %ebp, %ebp
xorl %r13d, %r13d
leaq 0x1ee(%rip), %rbx       # 0x19f8
leaq 0x384e(%rip), %r14      # 0x505f
movq (%r15,%r13,8), %rdi
cmpb $0x2d, (%rdi)
jne 0x1820
cmpb $0x0, 0x1(%rdi)
je 0x1879
movq %r14, %rsi
callq 0x1130
movq %rax, 0x88d9(%rip)      # 0xa108
movq (%r15,%r13,8), %rdi
testq %rax, %rax
je 0x1924
movq %rdi, 0x8925(%rip)      # 0xa168
movl $0x1, 0x8923(%rip)      # 0xa170
movq %rbx, %rdi
callq 0x14dc
testl %eax, %eax
je 0x1918
movq 0x88a4(%rip), %rdi      # 0xa108
cmpq (%r12), %rdi
je 0x186f
callq 0x1030
incq %r13
cmpl %r13d, %ebp
jne 0x1811
jmp 0x189d
movq (%r12), %rax
movq %rax, 0x8884(%rip)      # 0xa108
leaq 0x37a3(%rip), %rdi      # 0x502e
jmp 0x183c
leaq 0x164(%rip), %rdi       # 0x19f8
callq 0x14dc
testl %eax, %eax
je 0x1918
cmpl $0x0, 0x886c(%rip)      # 0xa110
sete %al
leaq 0x88da(%rip), %r14      # 0xa188
movq (%r14), %rbx
testq %rbx, %rbx
sete %cl
orb %al, %cl
jne 0x18cc
movq %rbx, %rdi
callq 0x33d6
movq 0x8(%rbx), %rbx
testq %rbx, %rbx
jne 0x18bb
callq 0x3430
movq (%r14), %rdi
testq %rdi, %rdi
je 0x18de
callq 0x354a
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x56, %eax
je 0x1901
cmpl $0x68, %eax
jne 0x1929
movq %rbx, %rdi
callq 0x11d8
movq (%rbx), %rdi
callq 0x10f0
movq %rax, %rdi
callq 0x1931
xorl %edi, %edi
callq 0x1170
leaq 0x3735(%rip), %rdi      # 0x5054
callq 0x1611
callq 0x12a8
movq %rbx, %rdi
callq 0x12b6