#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 *);
char *gettext(char *);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ set_params(int, int, char **);
int sscanf(char *, char *, char *, char *, char *, char *, char *, char *,
           char *, char *, char *, char *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ strcmp(char *, char *);
void find_params(int cmd, int fd, char *name) {
  FILE *file;
  char line[200 + 2], this[200 + 2], param[9][200 + 2];
  char *params[9], *start;
  int count;
  if ((file = fopen("/etc/fdprm", "r")) == NULL) {
    perror("/etc/fdprm");
    exit(1);
  }
  while (fgets(line, 200, file)) {
    for (start = line; *start == ' ' || *start == '\t'; start++)
      ;
    if (*start && *start != '\n' && *start != '#') {
      if (sscanf(start, "%s %s %s %s %s %s %s %s %s %s", this, param[0],
                 param[1], param[2], param[3], param[4], param[5], param[6],
                 param[7], param[8]) != 10) {
        fprintf(stderr, gettext("Syntax error: '%s'\n"), line);
        exit(1);
      }
      if (!strcmp(this, name)) {
        for (count = 0; count < 9; count++)
          params[count] = param[count];
        set_params(cmd, fd, params);
      }
    }
  }
  fprintf(stderr, gettext("No such parameter set: '%s'\n"), name);
  exit(1);
}


x86 assembly (clang, -O0):
<find_params>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %rbx
sub    $0x978,%rsp
mov    %edi,-0x1c(%rbp)
mov    %esi,-0x20(%rbp)
mov    %rdx,-0x28(%rbp)
lea    0xe4f(%rip),%rdi
lea    0xe53(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x30(%rbp)
cmp    $0x0,%rax
jne    11e1 <find_params+0x51>
lea    0xe2e(%rip),%rdi
call   1090 <perror@plt>
mov    $0x1,%edi
call   10a0 <exit@plt>
jmp    11e6 <find_params+0x56>
lea    -0x100(%rbp),%rdi
mov    -0x30(%rbp),%rdx
mov    $0xc8,%esi
call   1040 <fgets@plt>
cmp    $0x0,%rax
je     1423 <find_params+0x293>
lea    -0x100(%rbp),%rax
mov    %rax,-0x948(%rbp)
mov    -0x948(%rbp),%rax
movsbl (%rax),%ecx
mov    $0x1,%al
cmp    $0x20,%ecx
mov    %al,-0x94d(%rbp)
je     1244 <find_params+0xb4>
mov    -0x948(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x9,%eax
sete   %al
mov    %al,-0x94d(%rbp)
mov    -0x94d(%rbp),%al
test   $0x1,%al
jne    1257 <find_params+0xc7>
jmp    1273 <find_params+0xe3>
jmp    125c <find_params+0xcc>
mov    -0x948(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x948(%rbp)
jmp    1213 <find_params+0x83>
mov    -0x948(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     141e <find_params+0x28e>
mov    -0x948(%rbp),%rax
movsbl (%rax),%eax
cmp    $0xa,%eax
je     141e <find_params+0x28e>
mov    -0x948(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x23,%eax
je     141e <find_params+0x28e>
mov    -0x948(%rbp),%rdi
lea    -0x1d0(%rbp),%rdx
lea    -0x8f0(%rbp),%rcx
lea    -0x8f0(%rbp),%r8
add    $0xca,%r8
lea    -0x8f0(%rbp),%r9
add    $0x194,%r9
lea    -0x8f0(%rbp),%r15
add    $0x25e,%r15
lea    -0x8f0(%rbp),%r14
add    $0x328,%r14
lea    -0x8f0(%rbp),%rbx
add    $0x3f2,%rbx
lea    -0x8f0(%rbp),%r11
add    $0x4bc,%r11
lea    -0x8f0(%rbp),%r10
add    $0x586,%r10
lea    -0x8f0(%rbp),%rax
add    $0x650,%rax
lea    0xcd6(%rip),%rsi
mov    %r15,(%rsp)
mov    %r14,0x8(%rsp)
mov    %rbx,0x10(%rsp)
mov    %r11,0x18(%rsp)
mov    %r10,0x20(%rsp)
mov    %rax,0x28(%rsp)
call   1070 <sscanf@plt>
cmp    $0xa,%eax
je     139c <find_params+0x20c>
mov    0x2c77(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x954(%rbp)
lea    0xcb3(%rip),%rdi
call   1030 <gettext@plt>
mov    -0x954(%rbp),%edi
mov    %rax,%rsi
lea    -0x100(%rbp),%rdx
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   10a0 <exit@plt>
lea    -0x1d0(%rbp),%rdi
mov    -0x28(%rbp),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    1419 <find_params+0x289>
movl   $0x0,-0x94c(%rbp)
cmpl   $0x9,-0x94c(%rbp)
jge    1407 <find_params+0x277>
movslq -0x94c(%rbp),%rax
lea    -0x8f0(%rbp),%rcx
imul   $0xca,%rax,%rax
add    %rax,%rcx
movslq -0x94c(%rbp),%rax
mov    %rcx,-0x940(%rbp,%rax,8)
ff
mov    -0x94c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94c(%rbp)
jmp    13bf <find_params+0x22f>
mov    -0x1c(%rbp),%edi
mov    -0x20(%rbp),%esi
lea    -0x940(%rbp),%rdx
call   10b0 <set_params@plt>
jmp    141e <find_params+0x28e>
jmp    11e6 <find_params+0x56>
mov    0x2bb6(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x958(%rbp)
lea    0xc06(%rip),%rdi
call   1030 <gettext@plt>
mov    -0x958(%rbp),%edi
mov    %rax,%rsi
mov    -0x28(%rbp),%rdx
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   10a0 <exit@plt>

x86 assembly (clang, -O2):
<find_params>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x928,%rsp
mov    %rdx,%r12
mov    %esi,%r14d
mov    %edi,%ebx
lea    0xe50(%rip),%rdi
lea    0xe54(%rip),%rsi
call   1080 <fopen@plt>
test   %rax,%rax
jne    11d7 <find_params+0x47>
lea    0xe38(%rip),%rdi
call   1090 <perror@plt>
mov    $0x1,%edi
call   10a0 <exit@plt>
mov    %rax,%rbp
mov    %ebx,0x8(%rsp)
mov    %r14d,0xc(%rsp)
lea    0x780(%rsp),%rbx
mov    %rbx,%rdi
mov    $0xc8,%esi
mov    %rax,%rdx
call   1040 <fgets@plt>
test   %rax,%rax
jne    122c <find_params+0x9c>
mov    0x2dd9(%rip),%rax
mov    (%rax),%ebx
lea    0xe2f(%rip),%rdi
call   1030 <gettext@plt>
mov    %ebx,%edi
mov    %rax,%rsi
mov    %r12,%rdx
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   10a0 <exit@plt>
lea    0x850(%rsp),%r15
movabs $0x800000401,%r14
movabs $0x100000200,%r13
mov    %rbx,%rdi
jmp    1268 <find_params+0xd8>
nopl   (%rax)
mov    %rbx,%rdi
mov    $0xc8,%esi
mov    %rbp,%rdx
call   1040 <fgets@plt>
mov    %rbx,%rdi
test   %rax,%rax
je     1200 <find_params+0x70>
movzbl (%rdi),%eax
cmp    $0x23,%rax
ja     1283 <find_params+0xf3>
bt     %rax,%r14
jb     1250 <find_params+0xc0>
bt     %rax,%r13
jae    1283 <find_params+0xf3>
add    $0x1,%rdi
jmp    1268 <find_params+0xd8>
lea    0xd83(%rip),%rsi
mov    %r15,%rdx
lea    0x60(%rsp),%rcx
lea    0x12a(%rsp),%r8
lea    0x1f4(%rsp),%r9
lea    0x6b0(%rsp),%rax
push   %rax
lea    0x5ee(%rsp),%rax
push   %rax
lea    0x52c(%rsp),%rax
push   %rax
lea    0x46a(%rsp),%rax
push   %rax
lea    0x3a8(%rsp),%rax
push   %rax
lea    0x2e6(%rsp),%rax
push   %rax
call   1070 <sscanf@plt>
add    $0x30,%rsp
cmp    $0xa,%eax
jne    1386 <find_params+0x1f6>
mov    %r15,%rdi
mov    %r12,%rsi
call   1050 <strcmp@plt>
test   %eax,%eax
jne    1250 <find_params+0xc0>
lea    0x60(%rsp),%rax
mov    %rax,0x10(%rsp)
lea    0x12a(%rsp),%rax
mov    %rax,0x18(%rsp)
lea    0x1f4(%rsp),%rax
mov    %rax,0x20(%rsp)
lea    0x2be(%rsp),%rax
mov    %rax,0x28(%rsp)
lea    0x388(%rsp),%rax
mov    %rax,0x30(%rsp)
lea    0x452(%rsp),%rax
mov    %rax,0x38(%rsp)
lea    0x51c(%rsp),%rax
mov    %rax,0x40(%rsp)
lea    0x5e6(%rsp),%rax
mov    %rax,0x48(%rsp)
lea    0x6b0(%rsp),%rax
mov    %rax,0x50(%rsp)
mov    0x8(%rsp),%edi
mov    0xc(%rsp),%esi
lea    0x10(%rsp),%rdx
call   10b0 <set_params@plt>
jmp    1250 <find_params+0xc0>
mov    0x2c53(%rip),%rax
mov    (%rax),%ebx
lea    0xc95(%rip),%rdi
call   1030 <gettext@plt>
lea    0x780(%rsp),%rdx
mov    %ebx,%edi
mov    %rax,%rsi
jmp    121d <find_params+0x8d>

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

LLVM IR (-O2):
@.str = [11 x i8] c"/etc/fdprm\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [30 x i8] c"%s %s %s %s %s %s %s %s %s %s\00"
@stderr = global i32 0
@.str.3 = [20 x i8] c"Syntax error: '%s'\0A\00"
@.str.4 = [29 x i8] c"No such parameter set: '%s'\0A\00"
define void @find_params(i32 %0, i32 %1, i8* %2) {
%4 = alloca [202 x i8]
%5 = alloca [202 x i8]
%6 = alloca [9 x [202 x i8]]
%7 = alloca [9 x i8*]
%8 = getelementptr inbounds [202 x i8], [202 x i8]* %4, i64 0, i64 0
%9 = getelementptr inbounds [202 x i8], [202 x i8]* %5, i64 0, i64 0
%10 = getelementptr inbounds [9 x [202 x i8]], [9 x [202 x i8]]* %6, i64 0, i64 0, i64 0
%11 = bitcast [9 x i8*]* %7 to i8*
%12 = tail call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%13 = icmp eq i32* %12, null
br i1 %13, label %35, label %14
14: ; preds = %3
%15 = call i64 @fgets(i8* %8, i32 200, i32* %12)
%16 = icmp eq i64 %15, 0
br i1 %16, label %61, label %17
17: ; preds = %14
%18 = getelementptr inbounds [9 x [202 x i8]], [9 x [202 x i8]]* %6, i64 0, i64 1, i64 0
%19 = getelementptr inbounds [9 x [202 x i8]], [9 x [202 x i8]]* %6, i64 0, i64 2, i64 0
%20 = getelementptr inbounds [9 x [202 x i8]], [9 x [202 x i8]]* %6, i64 0, i64 3, i64 0
%21 = getelementptr inbounds [9 x [202 x i8]], [9 x [202 x i8]]* %6, i64 0, i64 4, i64 0
%22 = getelementptr inbounds [9 x [202 x i8]], [9 x [202 x i8]]* %6, i64 0, i64 5, i64 0
%23 = getelementptr inbounds [9 x [202 x i8]], [9 x [202 x i8]]* %6, i64 0, i64 6, i64 0
%24 = getelementptr inbounds [9 x [202 x i8]], [9 x [202 x i8]]* %6, i64 0, i64 7, i64 0
%25 = getelementptr inbounds [9 x [202 x i8]], [9 x [202 x i8]]* %6, i64 0, i64 8, i64 0
%26 = getelementptr inbounds [9 x i8*], [9 x i8*]* %7, i64 0, i64 0
%27 = getelementptr inbounds [9 x i8*], [9 x i8*]* %7, i64 0, i64 1
%28 = getelementptr inbounds [9 x i8*], [9 x i8*]* %7, i64 0, i64 2
%29 = getelementptr inbounds [9 x i8*], [9 x i8*]* %7, i64 0, i64 3
%30 = getelementptr inbounds [9 x i8*], [9 x i8*]* %7, i64 0, i64 4
%31 = getelementptr inbounds [9 x i8*], [9 x i8*]* %7, i64 0, i64 5
%32 = getelementptr inbounds [9 x i8*], [9 x i8*]* %7, i64 0, i64 6
%33 = getelementptr inbounds [9 x i8*], [9 x i8*]* %7, i64 0, i64 7
%34 = getelementptr inbounds [9 x i8*], [9 x i8*]* %7, i64 0, i64 8
br label %38
35: ; preds = %3
%36 = tail call i32 @perror(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%37 = tail call i32 @exit(i32 1)
unreachable
38: ; preds = %43, %17
%39 = phi i8* [ %8, %17 ], [ %44, %43 ]
%40 = load i8, i8* %39
switch i8 %40, label %45 [
i8 32, label %41
i8 9, label %41
i8 0, label %58
i8 10, label %58
i8 35, label %58
]
41: ; preds = %38, %38
%42 = getelementptr inbounds i8, i8* %39, i64 1
br label %43
43: ; preds = %41, %58
%44 = phi i8* [ %42, %41 ], [ %8, %58 ]
br label %38
45: ; preds = %38
%46 = call i32 @sscanf(i8* %39, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), i8* %9, i8* %10, i8* %18, i8* %19, i8* %20, i8* %21, i8* %22, i8* %23, i8* %24, i8* %25)
%47 = icmp eq i32 %46, 10
br i1 %47, label %53, label %48
48: ; preds = %45
%49 = load i32, i32* @stderr
%50 = call i8* @gettext(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
%51 = call i32 @fprintf(i32 %49, i8* %50, i8* %8)
%52 = call i32 @exit(i32 1)
unreachable
53: ; preds = %45
%54 = call i32 @strcmp(i8* %9, i8* dereferenceable(1) %2)
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %53
store i8* %10, i8** %26
store i8* %18, i8** %27
store i8* %19, i8** %28
store i8* %20, i8** %29
store i8* %21, i8** %30
store i8* %22, i8** %31
store i8* %23, i8** %32
store i8* %24, i8** %33
store i8* %25, i8** %34
%57 = call i32 @set_params(i32 %0, i32 %1, i8** %26)
br label %58
58: ; preds = %38, %38, %38, %53, %56
%59 = call i64 @fgets(i8* %8, i32 200, i32* %12)
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %43
61: ; preds = %58, %14
%62 = load i32, i32* @stderr
%63 = call i8* @gettext(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0))
%64 = call i32 @fprintf(i32 %62, i8* %63, i8* %2)
%65 = call i32 @exit(i32 1)
unreachable
}