#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ exit(int);
scalar_t__ fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *);
scalar_t__ isspace(char);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, char *, ...);
int /*<<< orphan*/ sscanf(char *, char *, char *, ...);
int /*<<< orphan*/ stderr;
int main(int argc, char **argv) {
  char *filename = 0;
  FILE *file = 0;
  char line[4096];
  char ident[4096];
  char args[4096];
  char cast[4096];
  if (argc <= 1) {
    fprintf(stderr, "Usage %s filename\n", argv[0]);
    exit(1);
  }
  filename = argv[1];
  file = fopen(filename, "r");
  if (!file) {
    perror(argv[0]);
    return 1;
  }
  while (fgets(line, 4096, file) && line[0]) {
    if (isspace(line[0]))
      continue;
    ident[0] = 0;
    args[0] = 0;
    sscanf(line, "#define %[a-zA-Z0-9_] ( %[-+0-9] )", ident, args);
    if (ident[0] && args[0]) {
      printf("      INTEGER %s\n", ident);
      printf("      PARAMETER ( %s= (%s) )\n", ident, args);
      continue;
    }
    ident[0] = 0;
    cast[0] = 0;
    args[0] = 0;
    sscanf(line, "#define %[a-zA-Z0-9_] ( ( %[a-zA-Z0-9_] ) %[-+0-9] )", ident,
           cast, args);
    if (ident[0] && cast[0] && args[0]) {
      printf("      INTEGER %s\n", ident);
      printf("      PARAMETER ( %s= (%s) )\n", ident, args);
      continue;
    }
    args[0] = 0;
    sscanf(line, "FORTRAN: %[ ,a-zA-Z0-9_]", args);
    if (args[0]) {
      printf("      %s\n", args);
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x4030,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movq   $0x0,-0x18(%rbp)
movq   $0x0,-0x20(%rbp)
cmpl   $0x1,-0x8(%rbp)
jg     11d9 <main+0x59>
mov    0x2e26(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xe36(%rip),%rsi
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   10a0 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
lea    0xe23(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
jne    121c <main+0x9c>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   1090 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1409 <main+0x289>
jmp    1221 <main+0xa1>
lea    -0x1020(%rbp),%rdi
mov    -0x20(%rbp),%rdx
mov    $0x1000,%esi
call   1050 <fgets@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    $0x0,%rcx
mov    %al,-0x4021(%rbp)
je     125e <main+0xde>
movsbl -0x1020(%rbp),%eax
cmp    $0x0,%eax
setne  %al
mov    %al,-0x4021(%rbp)
mov    -0x4021(%rbp),%al
test   $0x1,%al
jne    1271 <main+0xf1>
jmp    1402 <main+0x282>
movsbl -0x1020(%rbp),%edi
call   1040 <isspace@plt>
cmp    $0x0,%rax
je     128c <main+0x10c>
jmp    1221 <main+0xa1>
movb   $0x0,-0x2020(%rbp)
movb   $0x0,-0x3020(%rbp)
lea    -0x1020(%rbp),%rdi
lea    -0x2020(%rbp),%rdx
lea    -0x3020(%rbp),%rcx
lea    0xd5f(%rip),%rsi
mov    $0x0,%al
call   1070 <sscanf@plt>
movsbl -0x2020(%rbp),%eax
cmp    $0x0,%eax
je     1313 <main+0x193>
movsbl -0x3020(%rbp),%eax
cmp    $0x0,%eax
je     1313 <main+0x193>
lea    -0x2020(%rbp),%rsi
lea    0xd4d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x2020(%rbp),%rsi
lea    -0x3020(%rbp),%rdx
lea    0xd43(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1221 <main+0xa1>
movb   $0x0,-0x2020(%rbp)
movb   $0x0,-0x4020(%rbp)
movb   $0x0,-0x3020(%rbp)
lea    -0x1020(%rbp),%rdi
lea    -0x2020(%rbp),%rdx
lea    -0x4020(%rbp),%rcx
lea    -0x3020(%rbp),%r8
lea    0xd1d(%rip),%rsi
mov    $0x0,%al
call   1070 <sscanf@plt>
movsbl -0x2020(%rbp),%eax
cmp    $0x0,%eax
je     13b8 <main+0x238>
movsbl -0x4020(%rbp),%eax
cmp    $0x0,%eax
je     13b8 <main+0x238>
movsbl -0x3020(%rbp),%eax
cmp    $0x0,%eax
je     13b8 <main+0x238>
lea    -0x2020(%rbp),%rsi
lea    0xca8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x2020(%rbp),%rsi
lea    -0x3020(%rbp),%rdx
lea    0xc9e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1221 <main+0xa1>
movb   $0x0,-0x3020(%rbp)
lea    -0x1020(%rbp),%rdi
lea    -0x3020(%rbp),%rdx
lea    0xcc9(%rip),%rsi
mov    $0x0,%al
call   1070 <sscanf@plt>
cmpb   $0x0,-0x3020(%rbp)
je     13fd <main+0x27d>
lea    -0x3020(%rbp),%rsi
lea    0xcc0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1221 <main+0xa1>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x4030,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x4008,%rsp
mov    %rsi,%rbp
cmp    $0x1,%edi
jle    133b <main+0x1bb>
mov    0x8(%rbp),%rdi
lea    0xe6b(%rip),%rsi
call   1080 <fopen@plt>
test   %rax,%rax
je     131b <main+0x19b>
mov    %rax,%rbx
lea    0x2000(%rsp),%rdi
mov    $0x1000,%esi
mov    %rax,%rdx
call   1050 <fgets@plt>
mov    %rax,%rcx
xor    %eax,%eax
test   %rcx,%rcx
je     1329 <main+0x1a9>
mov    0x2000(%rsp),%cl
test   %cl,%cl
je     1329 <main+0x1a9>
lea    0xe23(%rip),%r14
lea    0x2000(%rsp),%r15
lea    0x1000(%rsp),%r12
mov    %rsp,%r13
lea    0xe3e(%rip),%rbp
nopl   0x0(%rax)
movsbl %cl,%edi
call   1040 <isspace@plt>
test   %rax,%rax
jne    12be <main+0x13e>
movb   $0x0,0x1000(%rsp)
movb   $0x0,(%rsp)
mov    %r15,%rdi
mov    %r14,%rsi
mov    %r12,%rdx
mov    %r13,%rcx
xor    %eax,%eax
call   1070 <sscanf@plt>
cmpb   $0x0,0x1000(%rsp)
je     1250 <main+0xd0>
cmpb   $0x0,(%rsp)
jne    129d <main+0x11d>
movb   $0x0,0x1000(%rsp)
movb   $0x0,0x3000(%rsp)
movb   $0x0,(%rsp)
mov    %r15,%rdi
lea    0xdfa(%rip),%rsi
mov    %r12,%rdx
lea    0x3000(%rsp),%rcx
mov    %r13,%r8
xor    %eax,%eax
call   1070 <sscanf@plt>
cmpb   $0x0,0x1000(%rsp)
je     12ea <main+0x16a>
cmpb   $0x0,0x3000(%rsp)
je     12ea <main+0x16a>
cmpb   $0x0,(%rsp)
je     12ea <main+0x16a>
lea    0xd94(%rip),%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %rbp,%rdi
mov    %r12,%rsi
mov    %r13,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r15,%rdi
mov    $0x1000,%esi
mov    %rbx,%rdx
call   1050 <fgets@plt>
mov    %rax,%rcx
xor    %eax,%eax
test   %rcx,%rcx
je     1329 <main+0x1a9>
movzbl 0x2000(%rsp),%ecx
test   %cl,%cl
jne    1210 <main+0x90>
jmp    1329 <main+0x1a9>
movb   $0x0,(%rsp)
mov    %r15,%rdi
lea    0xda5(%rip),%rsi
mov    %r13,%rdx
xor    %eax,%eax
call   1070 <sscanf@plt>
cmpb   $0x0,(%rsp)
je     12be <main+0x13e>
lea    0xda7(%rip),%rdi
mov    %r13,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    12be <main+0x13e>
mov    0x0(%rbp),%rdi
call   1090 <perror@plt>
mov    $0x1,%eax
add    $0x4008,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2c9e(%rip),%rax
mov    (%rax),%edi
mov    0x0(%rbp),%rdx
lea    0xcb1(%rip),%rsi
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   10a0 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [19 x i8] c"Usage %s filename\0A\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [35 x i8] c"#define %[a-zA-Z0-9_] ( %[-+0-9] )\00"
@.str.3 = [18 x i8] c" INTEGER %s\0A\00"
@.str.4 = [30 x i8] c" PARAMETER ( %s= (%s) )\0A\00"
@.str.5 = [53 x i8] c"#define %[a-zA-Z0-9_] ( ( %[a-zA-Z0-9_] ) %[-+0-9] )\00"
@.str.6 = [25 x i8] c"FORTRAN: %[ ,a-zA-Z0-9_]\00"
@.str.7 = [10 x i8] c" %s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca i32*
%8 = alloca [4096 x i8]
%9 = alloca [4096 x i8]
%10 = alloca [4096 x i8]
%11 = alloca [4096 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i8* null, i8** %6
store i32* null, i32** %7
%12 = load i32, i32* %4
%13 = icmp sle i32 %12, 1
br i1 %13, label %14, label %21
14: ; preds = %2
%15 = load i32, i32* @stderr
%16 = load i8**, i8*** %5
%17 = getelementptr inbounds i8*, i8** %16, i64 0
%18 = load i8*, i8** %17
%19 = call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* %18)
%20 = call i32 @exit(i32 1)
unreachable
21: ; preds = %2
%22 = load i8**, i8*** %5
%23 = getelementptr inbounds i8*, i8** %22, i64 1
%24 = load i8*, i8** %23
store i8* %24, i8** %6
%25 = load i8*, i8** %6
%26 = call i32* @fopen(i8* %25, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %26, i32** %7
%27 = load i32*, i32** %7
%28 = icmp ne i32* %27, null
br i1 %28, label %34, label %29
29: ; preds = %21
%30 = load i8**, i8*** %5
%31 = getelementptr inbounds i8*, i8** %30, i64 0
%32 = load i8*, i8** %31
%33 = call i32 @perror(i8* %32)
store i32 1, i32* %3
br label %117
34: ; preds = %21
br label %35
35: ; preds = %115, %98, %69, %52, %34
%36 = getelementptr inbounds [4096 x i8], [4096 x i8]* %8, i64 0, i64 0
%37 = load i32*, i32** %7
%38 = call i64 @fgets(i8* %36, i32 4096, i32* %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %45
40: ; preds = %35
%41 = getelementptr inbounds [4096 x i8], [4096 x i8]* %8, i64 0, i64 0
%42 = load i8, i8* %41
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %43, 0
br label %45
45: ; preds = %40, %35
%46 = phi i1 [ false, %35 ], [ %44, %40 ]
br i1 %46, label %47, label %116
47: ; preds = %45
%48 = getelementptr inbounds [4096 x i8], [4096 x i8]* %8, i64 0, i64 0
%49 = load i8, i8* %48
%50 = call i64 @isspace(i8 signext %49)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %47
br label %35
53: ; preds = %47
%54 = getelementptr inbounds [4096 x i8], [4096 x i8]* %9, i64 0, i64 0
store i8 0, i8* %54
%55 = getelementptr inbounds [4096 x i8], [4096 x i8]* %10, i64 0, i64 0
store i8 0, i8* %55
%56 = getelementptr inbounds [4096 x i8], [4096 x i8]* %8, i64 0, i64 0
%57 = getelementptr inbounds [4096 x i8], [4096 x i8]* %9, i64 0, i64 0
%58 = getelementptr inbounds [4096 x i8], [4096 x i8]* %10, i64 0, i64 0
%59 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %56, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.2, i64 0, i64 0), i8* %57, i8* %58)
%60 = getelementptr inbounds [4096 x i8], [4096 x i8]* %9, i64 0, i64 0
%61 = load i8, i8* %60
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %75
64: ; preds = %53
%65 = getelementptr inbounds [4096 x i8], [4096 x i8]* %10, i64 0, i64 0
%66 = load i8, i8* %65
%67 = sext i8 %66 to i32
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %75
69: ; preds = %64
%70 = getelementptr inbounds [4096 x i8], [4096 x i8]* %9, i64 0, i64 0
%71 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i8* %70)
%72 = getelementptr inbounds [4096 x i8], [4096 x i8]* %9, i64 0, i64 0
%73 = getelementptr inbounds [4096 x i8], [4096 x i8]* %10, i64 0, i64 0
%74 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), i8* %72, i8* %73)
br label %35
75: ; preds = %64, %53
%76 = getelementptr inbounds [4096 x i8], [4096 x i8]* %9, i64 0, i64 0
store i8 0, i8* %76
%77 = getelementptr inbounds [4096 x i8], [4096 x i8]* %11, i64 0, i64 0
store i8 0, i8* %77
%78 = getelementptr inbounds [4096 x i8], [4096 x i8]* %10, i64 0, i64 0
store i8 0, i8* %78
%79 = getelementptr inbounds [4096 x i8], [4096 x i8]* %8, i64 0, i64 0
%80 = getelementptr inbounds [4096 x i8], [4096 x i8]* %9, i64 0, i64 0
%81 = getelementptr inbounds [4096 x i8], [4096 x i8]* %11, i64 0, i64 0
%82 = getelementptr inbounds [4096 x i8], [4096 x i8]* %10, i64 0, i64 0
%83 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %79, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.5, i64 0, i64 0), i8* %80, i8* %81, i8* %82)
%84 = getelementptr inbounds [4096 x i8], [4096 x i8]* %9, i64 0, i64 0
%85 = load i8, i8* %84
%86 = sext i8 %85 to i32
%87 = icmp ne i32 %86, 0
br i1 %87, label %88, label %104
88: ; preds = %75
%89 = getelementptr inbounds [4096 x i8], [4096 x i8]* %11, i64 0, i64 0
%90 = load i8, i8* %89
%91 = sext i8 %90 to i32
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %104
93: ; preds = %88
%94 = getelementptr inbounds [4096 x i8], [4096 x i8]* %10, i64 0, i64 0
%95 = load i8, i8* %94
%96 = sext i8 %95 to i32
%97 = icmp ne i32 %96, 0
br i1 %97, label %98, label %104
98: ; preds = %93
%99 = getelementptr inbounds [4096 x i8], [4096 x i8]* %9, i64 0, i64 0
%100 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i8* %99)
%101 = getelementptr inbounds [4096 x i8], [4096 x i8]* %9, i64 0, i64 0
%102 = getelementptr inbounds [4096 x i8], [4096 x i8]* %10, i64 0, i64 0
%103 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), i8* %101, i8* %102)
br label %35
104: ; preds = %93, %88, %75
%105 = getelementptr inbounds [4096 x i8], [4096 x i8]* %10, i64 0, i64 0
store i8 0, i8* %105
%106 = getelementptr inbounds [4096 x i8], [4096 x i8]* %8, i64 0, i64 0
%107 = getelementptr inbounds [4096 x i8], [4096 x i8]* %10, i64 0, i64 0
%108 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %106, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0), i8* %107)
%109 = getelementptr inbounds [4096 x i8], [4096 x i8]* %10, i64 0, i64 0
%110 = load i8, i8* %109
%111 = icmp ne i8 %110, 0
br i1 %111, label %112, label %115
112: ; preds = %104
%113 = getelementptr inbounds [4096 x i8], [4096 x i8]* %10, i64 0, i64 0
%114 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i8* %113)
br label %115
115: ; preds = %112, %104
br label %35
116: ; preds = %45
store i32 0, i32* %3
br label %117
117: ; preds = %116, %29
%118 = load i32, i32* %3
ret i32 %118
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [19 x i8] c"Usage %s filename\0A\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [35 x i8] c"#define %[a-zA-Z0-9_] ( %[-+0-9] )\00"
@.str.3 = [18 x i8] c" INTEGER %s\0A\00"
@.str.4 = [30 x i8] c" PARAMETER ( %s= (%s) )\0A\00"
@.str.5 = [53 x i8] c"#define %[a-zA-Z0-9_] ( ( %[a-zA-Z0-9_] ) %[-+0-9] )\00"
@.str.6 = [25 x i8] c"FORTRAN: %[ ,a-zA-Z0-9_]\00"
@.str.7 = [10 x i8] c" %s\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [4096 x i8]
%4 = alloca [4096 x i8]
%5 = alloca [4096 x i8]
%6 = alloca [4096 x i8]
%7 = getelementptr inbounds [4096 x i8], [4096 x i8]* %3, i64 0, i64 0
%8 = getelementptr inbounds [4096 x i8], [4096 x i8]* %4, i64 0, i64 0
%9 = getelementptr inbounds [4096 x i8], [4096 x i8]* %5, i64 0, i64 0
%10 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%11 = icmp slt i32 %0, 2
br i1 %11, label %12, label %17
12: ; preds = %2
%13 = load i32, i32* @stderr
%14 = load i8*, i8** %1
%15 = tail call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* %14)
%16 = tail call i32 @exit(i32 1)
unreachable
17: ; preds = %2
%18 = getelementptr inbounds i8*, i8** %1, i64 1
%19 = load i8*, i8** %18
%20 = tail call i32* @fopen(i8* %19, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%21 = icmp eq i32* %20, null
br i1 %21, label %28, label %22
22: ; preds = %17
%23 = call i64 @fgets(i8* %7, i32 4096, i32* %20)
%24 = icmp ne i64 %23, 0
%25 = load i8, i8* %7
%26 = icmp ne i8 %25, 0
%27 = select i1 %24, i1 %26, i1 false
br i1 %27, label %31, label %70
28: ; preds = %17
%29 = load i8*, i8** %1
%30 = tail call i32 @perror(i8* %29)
br label %70
31: ; preds = %22, %45
%32 = phi i8 [ %48, %45 ], [ %25, %22 ]
%33 = call i64 @isspace(i8 signext %32)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %45
35: ; preds = %31
store i8 0, i8* %8
store i8 0, i8* %9
%36 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %7, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.2, i64 0, i64 0), i8* %8, i8* %9)
%37 = load i8, i8* %8
%38 = icmp ne i8 %37, 0
%39 = load i8, i8* %9
%40 = icmp ne i8 %39, 0
%41 = select i1 %38, i1 %40, i1 false
br i1 %41, label %42, label %51
42: ; preds = %35
%43 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i8* %8)
%44 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), i8* %8, i8* %9)
br label %45
45: ; preds = %64, %68, %42, %61, %31
%46 = call i64 @fgets(i8* %7, i32 4096, i32* %20)
%47 = icmp ne i64 %46, 0
%48 = load i8, i8* %7
%49 = icmp ne i8 %48, 0
%50 = select i1 %47, i1 %49, i1 false
br i1 %50, label %31, label %70
51: ; preds = %35
store i8 0, i8* %8
store i8 0, i8* %10
store i8 0, i8* %9
%52 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %7, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.5, i64 0, i64 0), i8* %8, i8* %10, i8* %9)
%53 = load i8, i8* %8
%54 = icmp ne i8 %53, 0
%55 = load i8, i8* %10
%56 = icmp ne i8 %55, 0
%57 = select i1 %54, i1 %56, i1 false
%58 = load i8, i8* %9
%59 = icmp ne i8 %58, 0
%60 = select i1 %57, i1 %59, i1 false
br i1 %60, label %61, label %64
61: ; preds = %51
%62 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i8* %8)
%63 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), i8* %8, i8* %9)
br label %45
64: ; preds = %51
store i8 0, i8* %9
%65 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %7, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0), i8* %9)
%66 = load i8, i8* %9
%67 = icmp eq i8 %66, 0
br i1 %67, label %45, label %68
68: ; preds = %64
%69 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i8* %9)
br label %45
70: ; preds = %45, %22, %28
%71 = phi i32 [ 1, %28 ], [ 0, %22 ], [ 0, %45 ]
ret i32 %71
}