#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int *csym;
int cval;
int /*<<< orphan*/ declare(int);
int /*<<< orphan*/ error(char);
int /*<<< orphan*/ gen(char, int);
int /*<<< orphan*/ name(int *);
int nauto;
int /*<<< orphan*/ number(int);
int peeksym;
int /*<<< orphan*/ stmt();
int /*<<< orphan*/ stmtlist();
int symbol();
int /*<<< orphan*/ xwrite(char);
void extdef() {
  extern peeksym, *csym, cval, nauto;
  auto o, c;
  o = symbol();
  if (o == 0 | o == 1)
    return;
  if (o != 20)
    goto syntax;
  csym[0] = 6;
  xwrite('.');
  name(csym + 2);
  xwrite(':');
  o = symbol();
  if (o == 2 | o == 6) {
    xwrite('.+');
    xwrite('1\n');
    nauto = 2;
    if (o == 6) {
      declare(8);
      if ((o = symbol()) != 2)
        goto syntax;
    }
    while ((o = symbol()) == 19 & cval < 10)
      declare(cval);
    peeksym = o;
    gen('s', nauto);
    stmtlist();
    gen('n', 7);
    return;
  }
  if (o == 41) {
    if (symbol() != 21)
      goto syntax;
    number(-cval);
    xwrite('\n');
    return;
  }
  if (o == 21) {
    number(cval);
    xwrite('\n');
    return;
  }
  if (o == 1) {
    xwrite('0\n');
    return;
  }
  if (o == 4) {
    c = 0;
    if ((o = symbol()) == 21) {
      c = cval;
      o = symbol();
    }
    if (o != 5)
      goto syntax;
    xwrite('.+');
    xwrite('1\n');
    if ((o = symbol()) == 1)
      goto done;
    while (o == 21 | o == 41) {
      if (o == 41) {
        if (symbol() != 21)
          goto syntax;
        cval = -cval;
      }
      number(cval);
      xwrite('\n');
      c = c - 1;
      if ((o = symbol()) == 1)
        goto done;
      if (o != 9)
        goto syntax;
      else
        o = symbol();
    }
    goto syntax;
  done:
    if (c > 0) {
      xwrite('.=');
      xwrite('.+');
      number(c);
      xwrite('\n');
    }
    return;
  }
  if (o == 0)
    return;
syntax:
  error('xx');
  stmt();
}


x86 assembly (clang, -O0):
<extdef>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    $0x0,%al
call   10b0 <symbol@plt>
mov    %eax,-0x4(%rbp)
cmpl   $0x0,-0x4(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%eax
cmpl   $0x1,-0x4(%rbp)
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
cmp    $0x0,%eax
je     11cb <extdef+0x3b>
jmp    151b <extdef+0x38b>
cmpl   $0x14,-0x4(%rbp)
je     11da <extdef+0x4a>
jmp    150a <extdef+0x37a>
mov    0x2dff(%rip),%rax
mov    (%rax),%rax
movl   $0x6,(%rax)
mov    $0x2e,%edi
call   1030 <xwrite@plt>
mov    0x2de5(%rip),%rax
mov    (%rax),%rdi
add    $0x8,%rdi
call   1050 <name@plt>
mov    $0x3a,%edi
call   1030 <xwrite@plt>
mov    $0x0,%al
call   10b0 <symbol@plt>
mov    %eax,-0x4(%rbp)
cmpl   $0x2,-0x4(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%eax
cmpl   $0x6,-0x4(%rbp)
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
cmp    $0x0,%eax
je     1316 <extdef+0x186>
mov    $0x2b,%edi
call   1030 <xwrite@plt>
mov    $0xa,%edi
call   1030 <xwrite@plt>
mov    0x2d8e(%rip),%rax
movl   $0x2,(%rax)
cmpl   $0x6,-0x4(%rbp)
jne    1291 <extdef+0x101>
mov    $0x8,%edi
call   1040 <declare@plt>
mov    $0x0,%al
call   10b0 <symbol@plt>
mov    %eax,-0x4(%rbp)
cmp    $0x2,%eax
je     128c <extdef+0xfc>
jmp    150a <extdef+0x37a>
jmp    1291 <extdef+0x101>
jmp    1296 <extdef+0x106>
mov    $0x0,%al
call   10b0 <symbol@plt>
mov    %eax,-0x4(%rbp)
cmp    $0x13,%eax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    0x2d16(%rip),%rcx
cmpl   $0xa,(%rcx)
setl   %cl
and    $0x1,%cl
movzbl %cl,%ecx
and    %ecx,%eax
cmp    $0x0,%eax
je     12dc <extdef+0x14c>
mov    0x2cf8(%rip),%rax
mov    (%rax),%edi
call   1040 <declare@plt>
jmp    1296 <extdef+0x106>
mov    -0x4(%rbp),%ecx
mov    0x2cda(%rip),%rax
mov    %ecx,(%rax)
mov    0x2cf9(%rip),%rax
mov    (%rax),%esi
mov    $0x73,%edi
call   1090 <gen@plt>
mov    $0x0,%al
call   1060 <stmtlist@plt>
mov    $0x6e,%edi
mov    $0x7,%esi
call   1090 <gen@plt>
jmp    151b <extdef+0x38b>
cmpl   $0x29,-0x4(%rbp)
jne    1354 <extdef+0x1c4>
mov    $0x0,%al
call   10b0 <symbol@plt>
cmp    $0x15,%eax
je     1335 <extdef+0x1a5>
jmp    150a <extdef+0x37a>
xor    %edi,%edi
mov    0x2c8a(%rip),%rax
sub    (%rax),%edi
call   1080 <number@plt>
mov    $0xa,%edi
call   1030 <xwrite@plt>
jmp    151b <extdef+0x38b>
cmpl   $0x15,-0x4(%rbp)
jne    137b <extdef+0x1eb>
mov    0x2c63(%rip),%rax
mov    (%rax),%edi
call   1080 <number@plt>
mov    $0xa,%edi
call   1030 <xwrite@plt>
jmp    151b <extdef+0x38b>
cmpl   $0x1,-0x4(%rbp)
jne    1394 <extdef+0x204>
mov    $0xa,%edi
call   1030 <xwrite@plt>
jmp    151b <extdef+0x38b>
cmpl   $0x4,-0x4(%rbp)
jne    14f6 <extdef+0x366>
movl   $0x0,-0x8(%rbp)
mov    $0x0,%al
call   10b0 <symbol@plt>
mov    %eax,-0x4(%rbp)
cmp    $0x15,%eax
jne    13ce <extdef+0x23e>
mov    0x2c09(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x8(%rbp)
mov    $0x0,%al
call   10b0 <symbol@plt>
mov    %eax,-0x4(%rbp)
cmpl   $0x5,-0x4(%rbp)
je     13dd <extdef+0x24d>
jmp    150a <extdef+0x37a>
mov    $0x2b,%edi
call   1030 <xwrite@plt>
mov    $0xa,%edi
call   1030 <xwrite@plt>
mov    $0x0,%al
call   10b0 <symbol@plt>
mov    %eax,-0x4(%rbp)
cmp    $0x1,%eax
jne    1409 <extdef+0x279>
jmp    14c1 <extdef+0x331>
jmp    140e <extdef+0x27e>
cmpl   $0x15,-0x4(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%eax
cmpl   $0x29,-0x4(%rbp)
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
cmp    $0x0,%eax
je     14bc <extdef+0x32c>
cmpl   $0x29,-0x4(%rbp)
jne    1465 <extdef+0x2d5>
mov    $0x0,%al
call   10b0 <symbol@plt>
cmp    $0x15,%eax
je     1451 <extdef+0x2c1>
jmp    150a <extdef+0x37a>
xor    %ecx,%ecx
mov    0x2b6e(%rip),%rax
sub    (%rax),%ecx
mov    0x2b65(%rip),%rax
mov    %ecx,(%rax)
mov    0x2b5c(%rip),%rax
mov    (%rax),%edi
call   1080 <number@plt>
mov    $0xa,%edi
call   1030 <xwrite@plt>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x8(%rbp)
mov    $0x0,%al
call   10b0 <symbol@plt>
mov    %eax,-0x4(%rbp)
cmp    $0x1,%eax
jne    149e <extdef+0x30e>
jmp    14c1 <extdef+0x331>
cmpl   $0x9,-0x4(%rbp)
je     14ad <extdef+0x31d>
jmp    150a <extdef+0x37a>
mov    $0x0,%al
call   10b0 <symbol@plt>
mov    %eax,-0x4(%rbp)
jmp    140e <extdef+0x27e>
jmp    150a <extdef+0x37a>
cmpl   $0x0,-0x8(%rbp)
jle    14f1 <extdef+0x361>
mov    $0x3d,%edi
call   1030 <xwrite@plt>
mov    $0x2b,%edi
call   1030 <xwrite@plt>
mov    -0x8(%rbp),%edi
call   1080 <number@plt>
mov    $0xa,%edi
call   1030 <xwrite@plt>
jmp    151b <extdef+0x38b>
cmpl   $0x0,-0x4(%rbp)
jne    1505 <extdef+0x375>
jmp    151b <extdef+0x38b>
jmp    150a <extdef+0x37a>
mov    $0x78,%edi
call   10a0 <error@plt>
mov    $0x0,%al
call   1070 <stmt@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<extdef>:
push   %r14
push   %rbx
push   %rax
xor    %eax,%eax
call   10b0 <symbol@plt>
cmp    $0x2,%eax
jae    11a8 <extdef+0x18>
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret
cmp    $0x14,%eax
jne    13cf <extdef+0x23f>
mov    0x2e28(%rip),%rbx
mov    (%rbx),%rax
movl   $0x6,(%rax)
mov    $0x2e,%edi
call   1030 <xwrite@plt>
mov    (%rbx),%rdi
add    $0x8,%rdi
call   1050 <name@plt>
mov    $0x3a,%edi
call   1030 <xwrite@plt>
xor    %eax,%eax
call   10b0 <symbol@plt>
mov    %eax,%ebx
and    $0xfffffffb,%eax
cmp    $0x2,%eax
jne    12ab <extdef+0x11b>
mov    $0x2b,%edi
call   1030 <xwrite@plt>
mov    $0xa,%edi
call   1030 <xwrite@plt>
mov    0x2dd7(%rip),%r14
movl   $0x2,(%r14)
cmp    $0x6,%ebx
jne    1237 <extdef+0xa7>
mov    $0x8,%edi
call   1040 <declare@plt>
xor    %eax,%eax
call   10b0 <symbol@plt>
cmp    $0x2,%eax
jne    13cf <extdef+0x23f>
xor    %eax,%eax
call   10b0 <symbol@plt>
cmp    $0x13,%eax
jne    1278 <extdef+0xe8>
mov    0x2d7e(%rip),%rbx
mov    (%rbx),%edi
cmp    $0x9,%edi
jg     1278 <extdef+0xe8>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
call   1040 <declare@plt>
xor    %eax,%eax
call   10b0 <symbol@plt>
cmp    $0x13,%eax
jne    1278 <extdef+0xe8>
mov    (%rbx),%edi
cmp    $0xa,%edi
jl     1260 <extdef+0xd0>
mov    0x2d41(%rip),%rcx
mov    %eax,(%rcx)
mov    (%r14),%esi
mov    $0x73,%edi
call   1090 <gen@plt>
xor    %eax,%eax
call   1060 <stmtlist@plt>
mov    $0x6e,%edi
mov    $0x7,%esi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1090 <gen@plt>
cmp    $0x29,%ebx
ja     13cf <extdef+0x23f>
mov    %ebx,%eax
lea    0xd43(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
xor    %ebx,%ebx
xor    %eax,%eax
call   10b0 <symbol@plt>
cmp    $0x15,%eax
jne    12e4 <extdef+0x154>
mov    0x2ced(%rip),%rax
mov    (%rax),%ebx
xor    %eax,%eax
call   10b0 <symbol@plt>
cmp    $0x5,%eax
jne    13cf <extdef+0x23f>
mov    $0x2b,%edi
call   1030 <xwrite@plt>
mov    $0xa,%edi
call   1030 <xwrite@plt>
xor    %eax,%eax
call   10b0 <symbol@plt>
cmp    $0x1,%eax
je     139b <extdef+0x20b>
add    $0xffffffff,%ebx
mov    0x2cad(%rip),%r14
cmp    $0x29,%eax
je     132e <extdef+0x19e>
cmp    $0x15,%eax
jne    13cf <extdef+0x23f>
mov    (%r14),%edi
jmp    1346 <extdef+0x1b6>
xor    %eax,%eax
call   10b0 <symbol@plt>
cmp    $0x15,%eax
jne    13cf <extdef+0x23f>
xor    %edi,%edi
sub    (%r14),%edi
mov    %edi,(%r14)
call   1080 <number@plt>
mov    $0xa,%edi
call   1030 <xwrite@plt>
xor    %eax,%eax
call   10b0 <symbol@plt>
cmp    $0x9,%eax
jne    1396 <extdef+0x206>
xor    %eax,%eax
call   10b0 <symbol@plt>
add    $0xffffffff,%ebx
cmp    $0x29,%eax
jne    1320 <extdef+0x190>
jmp    132e <extdef+0x19e>
mov    0x2c4f(%rip),%rax
mov    (%rax),%edi
jmp    13b9 <extdef+0x229>
xor    %ebx,%ebx
xor    %eax,%eax
call   10b0 <symbol@plt>
cmp    $0x15,%eax
jne    13cf <extdef+0x23f>
mov    0x2c36(%rip),%rax
sub    (%rax),%ebx
jmp    13b7 <extdef+0x227>
cmp    $0x1,%eax
jne    13cf <extdef+0x23f>
test   %ebx,%ebx
jle    11a0 <extdef+0x10>
mov    $0x3d,%edi
call   1030 <xwrite@plt>
mov    $0x2b,%edi
call   1030 <xwrite@plt>
mov    %ebx,%edi
call   1080 <number@plt>
mov    $0xa,%edi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <xwrite@plt>
mov    $0x78,%edi
call   10a0 <error@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1070 <stmt@plt>

LLVM IR (-O0):
@csym = global i32* null
@nauto = global i32 0
@cval = global i32 0
@peeksym = global i32 0
define void @extdef() {
%1 = alloca i32
%2 = alloca i32
%3 = call i32 (...) @symbol()
store i32 %3, i32* %1
%4 = load i32, i32* %1
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
%7 = load i32, i32* %1
%8 = icmp eq i32 %7, 1
%9 = zext i1 %8 to i32
%10 = or i32 %6, %9
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %0
br label %162
13: ; preds = %0
%14 = load i32, i32* %1
%15 = icmp ne i32 %14, 20
br i1 %15, label %16, label %17
16: ; preds = %13
br label %159
17: ; preds = %13
%18 = load i32*, i32** @csym
%19 = getelementptr inbounds i32, i32* %18, i64 0
store i32 6, i32* %19
%20 = call i32 @xwrite(i8 signext 46)
%21 = load i32*, i32** @csym
%22 = getelementptr inbounds i32, i32* %21, i64 2
%23 = call i32 @name(i32* %22)
%24 = call i32 @xwrite(i8 signext 58)
%25 = call i32 (...) @symbol()
store i32 %25, i32* %1
%26 = load i32, i32* %1
%27 = icmp eq i32 %26, 2
%28 = zext i1 %27 to i32
%29 = load i32, i32* %1
%30 = icmp eq i32 %29, 6
%31 = zext i1 %30 to i32
%32 = or i32 %28, %31
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %64
34: ; preds = %17
%35 = call i32 @xwrite(i8 signext 43)
%36 = call i32 @xwrite(i8 signext 10)
store i32 2, i32* @nauto
%37 = load i32, i32* %1
%38 = icmp eq i32 %37, 6
br i1 %38, label %39, label %45
39: ; preds = %34
%40 = call i32 @declare(i32 8)
%41 = call i32 (...) @symbol()
store i32 %41, i32* %1
%42 = icmp ne i32 %41, 2
br i1 %42, label %43, label %44
43: ; preds = %39
br label %159
44: ; preds = %39
br label %45
45: ; preds = %44, %34
br label %46
46: ; preds = %55, %45
%47 = call i32 (...) @symbol()
store i32 %47, i32* %1
%48 = icmp eq i32 %47, 19
%49 = zext i1 %48 to i32
%50 = load i32, i32* @cval
%51 = icmp slt i32 %50, 10
%52 = zext i1 %51 to i32
%53 = and i32 %49, %52
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %46
%56 = load i32, i32* @cval
%57 = call i32 @declare(i32 %56)
br label %46
58: ; preds = %46
%59 = load i32, i32* %1
store i32 %59, i32* @peeksym
%60 = load i32, i32* @nauto
%61 = call i32 @gen(i8 signext 115, i32 %60)
%62 = call i32 (...) @stmtlist()
%63 = call i32 @gen(i8 signext 110, i32 7)
br label %162
64: ; preds = %17
%65 = load i32, i32* %1
%66 = icmp eq i32 %65, 41
br i1 %66, label %67, label %76
67: ; preds = %64
%68 = call i32 (...) @symbol()
%69 = icmp ne i32 %68, 21
br i1 %69, label %70, label %71
70: ; preds = %67
br label %159
71: ; preds = %67
%72 = load i32, i32* @cval
%73 = sub nsw i32 0, %72
%74 = call i32 @number(i32 %73)
%75 = call i32 @xwrite(i8 signext 10)
br label %162
76: ; preds = %64
%77 = load i32, i32* %1
%78 = icmp eq i32 %77, 21
br i1 %78, label %79, label %83
79: ; preds = %76
%80 = load i32, i32* @cval
%81 = call i32 @number(i32 %80)
%82 = call i32 @xwrite(i8 signext 10)
br label %162
83: ; preds = %76
%84 = load i32, i32* %1
%85 = icmp eq i32 %84, 1
br i1 %85, label %86, label %88
86: ; preds = %83
%87 = call i32 @xwrite(i8 signext 10)
br label %162
88: ; preds = %83
%89 = load i32, i32* %1
%90 = icmp eq i32 %89, 4
br i1 %90, label %91, label %154
91: ; preds = %88
store i32 0, i32* %2
%92 = call i32 (...) @symbol()
store i32 %92, i32* %1
%93 = icmp eq i32 %92, 21
br i1 %93, label %94, label %97
94: ; preds = %91
%95 = load i32, i32* @cval
store i32 %95, i32* %2
%96 = call i32 (...) @symbol()
store i32 %96, i32* %1
br label %97
97: ; preds = %94, %91
%98 = load i32, i32* %1
%99 = icmp ne i32 %98, 5
br i1 %99, label %100, label %101
100: ; preds = %97
br label %159
101: ; preds = %97
%102 = call i32 @xwrite(i8 signext 43)
%103 = call i32 @xwrite(i8 signext 10)
%104 = call i32 (...) @symbol()
store i32 %104, i32* %1
%105 = icmp eq i32 %104, 1
br i1 %105, label %106, label %107
106: ; preds = %101
br label %144
107: ; preds = %101
br label %108
108: ; preds = %142, %107
%109 = load i32, i32* %1
%110 = icmp eq i32 %109, 21
%111 = zext i1 %110 to i32
%112 = load i32, i32* %1
%113 = icmp eq i32 %112, 41
%114 = zext i1 %113 to i32
%115 = or i32 %111, %114
%116 = icmp ne i32 %115, 0
br i1 %116, label %117, label %143
117: ; preds = %108
%118 = load i32, i32* %1
%119 = icmp eq i32 %118, 41
br i1 %119, label %120, label %127
120: ; preds = %117
%121 = call i32 (...) @symbol()
%122 = icmp ne i32 %121, 21
br i1 %122, label %123, label %124
123: ; preds = %120
br label %159
124: ; preds = %120
%125 = load i32, i32* @cval
%126 = sub nsw i32 0, %125
store i32 %126, i32* @cval
br label %127
127: ; preds = %124, %117
%128 = load i32, i32* @cval
%129 = call i32 @number(i32 %128)
%130 = call i32 @xwrite(i8 signext 10)
%131 = load i32, i32* %2
%132 = sub nsw i32 %131, 1
store i32 %132, i32* %2
%133 = call i32 (...) @symbol()
store i32 %133, i32* %1
%134 = icmp eq i32 %133, 1
br i1 %134, label %135, label %136
135: ; preds = %127
br label %144
136: ; preds = %127
%137 = load i32, i32* %1
%138 = icmp ne i32 %137, 9
br i1 %138, label %139, label %140
139: ; preds = %136
br label %159
140: ; preds = %136
%141 = call i32 (...) @symbol()
store i32 %141, i32* %1
br label %142
142: ; preds = %140
br label %108
143: ; preds = %108
br label %159
144: ; preds = %135, %106
%145 = load i32, i32* %2
%146 = icmp sgt i32 %145, 0
br i1 %146, label %147, label %153
147: ; preds = %144
%148 = call i32 @xwrite(i8 signext 61)
%149 = call i32 @xwrite(i8 signext 43)
%150 = load i32, i32* %2
%151 = call i32 @number(i32 %150)
%152 = call i32 @xwrite(i8 signext 10)
br label %153
153: ; preds = %147, %144
br label %162
154: ; preds = %88
%155 = load i32, i32* %1
%156 = icmp eq i32 %155, 0
br i1 %156, label %157, label %158
157: ; preds = %154
br label %162
158: ; preds = %154
br label %159
159: ; preds = %158, %143, %139, %123, %100, %70, %43, %16
%160 = call i32 @error(i8 signext 120)
%161 = call i32 (...) @stmt()
br label %162
162: ; preds = %159, %157, %153, %86, %79, %71, %58, %12
ret void
}

LLVM IR (-O2):
@csym = global i32* null
@nauto = global i32 0
@cval = global i32 0
@peeksym = global i32 0
define void @extdef() {
%1 = tail call i32 (...) @symbol()
%2 = icmp ult i32 %1, 2
br i1 %2, label %103, label %3
3: ; preds = %0
%4 = icmp eq i32 %1, 20
br i1 %4, label %5, label %100
5: ; preds = %3
%6 = load i32*, i32** @csym
store i32 6, i32* %6
%7 = tail call i32 @xwrite(i8 signext 46)
%8 = load i32*, i32** @csym
%9 = getelementptr inbounds i32, i32* %8, i64 2
%10 = tail call i32 @name(i32* %9)
%11 = tail call i32 @xwrite(i8 signext 58)
%12 = tail call i32 (...) @symbol()
%13 = and i32 %12, -5
%14 = icmp eq i32 %13, 2
br i1 %14, label %15, label %43
15: ; preds = %5
%16 = icmp eq i32 %12, 6
%17 = tail call i32 @xwrite(i8 signext 43)
%18 = tail call i32 @xwrite(i8 signext 10)
store i32 2, i32* @nauto
br i1 %16, label %19, label %23
19: ; preds = %15
%20 = tail call i32 @declare(i32 8)
%21 = tail call i32 (...) @symbol()
%22 = icmp eq i32 %21, 2
br i1 %22, label %23, label %100
23: ; preds = %19, %15
%24 = tail call i32 (...) @symbol()
%25 = icmp eq i32 %24, 19
%26 = load i32, i32* @cval
%27 = icmp slt i32 %26, 10
%28 = and i1 %25, %27
br i1 %28, label %29, label %37
29: ; preds = %23, %29
%30 = phi i32 [ %34, %29 ], [ %26, %23 ]
%31 = tail call i32 @declare(i32 %30)
%32 = tail call i32 (...) @symbol()
%33 = icmp eq i32 %32, 19
%34 = load i32, i32* @cval
%35 = icmp slt i32 %34, 10
%36 = and i1 %33, %35
br i1 %36, label %29, label %37
37: ; preds = %29, %23
%38 = phi i32 [ %24, %23 ], [ %32, %29 ]
store i32 %38, i32* @peeksym
%39 = load i32, i32* @nauto
%40 = tail call i32 @gen(i8 signext 115, i32 %39)
%41 = tail call i32 (...) @stmtlist()
%42 = tail call i32 @gen(i8 signext 110, i32 7)
br label %103
43: ; preds = %5
switch i32 %12, label %100 [
i32 41, label %44
i32 21, label %52
i32 1, label %56
i32 4, label %58
i32 0, label %103
]
44: ; preds = %43
%45 = tail call i32 (...) @symbol()
%46 = icmp eq i32 %45, 21
br i1 %46, label %47, label %100
47: ; preds = %44
%48 = load i32, i32* @cval
%49 = sub nsw i32 0, %48
%50 = tail call i32 @number(i32 %49)
%51 = tail call i32 @xwrite(i8 signext 10)
br label %103
52: ; preds = %43
%53 = load i32, i32* @cval
%54 = tail call i32 @number(i32 %53)
%55 = tail call i32 @xwrite(i8 signext 10)
br label %103
56: ; preds = %43
%57 = tail call i32 @xwrite(i8 signext 10)
br label %103
58: ; preds = %43
%59 = tail call i32 (...) @symbol()
%60 = icmp eq i32 %59, 21
br i1 %60, label %61, label %64
61: ; preds = %58
%62 = load i32, i32* @cval
%63 = tail call i32 (...) @symbol()
br label %64
64: ; preds = %61, %58
%65 = phi i32 [ %63, %61 ], [ %59, %58 ]
%66 = phi i32 [ %62, %61 ], [ 0, %58 ]
%67 = icmp eq i32 %65, 5
br i1 %67, label %68, label %100
68: ; preds = %64
%69 = tail call i32 @xwrite(i8 signext 43)
%70 = tail call i32 @xwrite(i8 signext 10)
%71 = tail call i32 (...) @symbol()
%72 = icmp eq i32 %71, 1
br i1 %72, label %92, label %73
73: ; preds = %68, %90
%74 = phi i32 [ %91, %90 ], [ %71, %68 ]
%75 = phi i32 [ %88, %90 ], [ %66, %68 ]
switch i32 %74, label %100 [
i32 41, label %78
i32 21, label %76
]
76: ; preds = %73
%77 = load i32, i32* @cval
br label %84
78: ; preds = %73
%79 = tail call i32 (...) @symbol()
%80 = icmp eq i32 %79, 21
br i1 %80, label %81, label %100
81: ; preds = %78
%82 = load i32, i32* @cval
%83 = sub nsw i32 0, %82
store i32 %83, i32* @cval
br label %84
84: ; preds = %76, %81
%85 = phi i32 [ %77, %76 ], [ %83, %81 ]
%86 = tail call i32 @number(i32 %85)
%87 = tail call i32 @xwrite(i8 signext 10)
%88 = add nsw i32 %75, -1
%89 = tail call i32 (...) @symbol()
switch i32 %89, label %100 [
i32 1, label %92
i32 9, label %90
]
90: ; preds = %84
%91 = tail call i32 (...) @symbol()
br label %73
92: ; preds = %84, %68
%93 = phi i32 [ %66, %68 ], [ %88, %84 ]
%94 = icmp sgt i32 %93, 0
br i1 %94, label %95, label %103
95: ; preds = %92
%96 = tail call i32 @xwrite(i8 signext 61)
%97 = tail call i32 @xwrite(i8 signext 43)
%98 = tail call i32 @number(i32 %93)
%99 = tail call i32 @xwrite(i8 signext 10)
br label %103
100: ; preds = %84, %73, %78, %43, %64, %44, %19, %3
%101 = tail call i32 @error(i8 signext 120)
%102 = tail call i32 (...) @stmt()
br label %103
103: ; preds = %43, %92, %95, %0, %100, %56, %52, %47, %37
ret void
}