signed int NFFGetObject(struct _IO_FILE$link5 *dfile, void *scene) {
  char objtype[80l];
  signed int return_value_fscanf$1;
  return_value_fscanf$1 = fscanf(dfile, "%s", (const void *)objtype);
  if (!(return_value_fscanf$1 == 1))
    return 3;
  signed int return_value_NFFstringcmp$3;
  return_value_NFFstringcmp$3 = NFFstringcmp(objtype, "v");
  if (return_value_NFFstringcmp$3 == 0) {
    signed int return_value_NFFGetScenedefs$2;
    return_value_NFFGetScenedefs$2 = NFFGetScenedefs(dfile, scene);
    return return_value_NFFGetScenedefs$2;
  }
  signed int return_value_NFFstringcmp$5;
  return_value_NFFstringcmp$5 = NFFstringcmp(objtype, "b");
  if (return_value_NFFstringcmp$5 == 0) {
    signed int return_value_NFFGetBackground$4;
    return_value_NFFGetBackground$4 = NFFGetBackground(dfile, scene);
    return return_value_NFFGetBackground$4;
  }
  signed int return_value_NFFstringcmp$7;
  return_value_NFFstringcmp$7 = NFFstringcmp(objtype, "l");
  if (return_value_NFFstringcmp$7 == 0) {
    signed int return_value_NFFGetLight$6;
    return_value_NFFGetLight$6 = NFFGetLight(dfile, scene);
    return return_value_NFFGetLight$6;
  }
  signed int return_value_NFFstringcmp$9;
  return_value_NFFstringcmp$9 = NFFstringcmp(objtype, "f");
  if (return_value_NFFstringcmp$9 == 0) {
    signed int return_value_NFFGetTexture$8;
    return_value_NFFGetTexture$8 = NFFGetTexture(dfile, scene);
    return return_value_NFFGetTexture$8;
  }
  signed int return_value_NFFstringcmp$11;
  return_value_NFFstringcmp$11 = NFFstringcmp(objtype, "s");
  if (return_value_NFFstringcmp$11 == 0) {
    signed int return_value_NFFGetSphere$10;
    return_value_NFFGetSphere$10 = NFFGetSphere(dfile, scene);
    return return_value_NFFGetSphere$10;
  }
  signed int return_value_NFFstringcmp$13;
  return_value_NFFstringcmp$13 = NFFstringcmp(objtype, "c");
  if (return_value_NFFstringcmp$13 == 0) {
    signed int return_value_NFFGetCylCone$12;
    return_value_NFFGetCylCone$12 = NFFGetCylCone(dfile, scene);
    return return_value_NFFGetCylCone$12;
  }
  signed int return_value_NFFstringcmp$15;
  return_value_NFFstringcmp$15 = NFFstringcmp(objtype, "p");
  if (return_value_NFFstringcmp$15 == 0) {
    signed int return_value_NFFGetPolygon$14;
    return_value_NFFGetPolygon$14 = NFFGetPolygon(dfile, scene);
    return return_value_NFFGetPolygon$14;
  }
  signed int return_value_NFFstringcmp$17;
  return_value_NFFstringcmp$17 = NFFstringcmp(objtype, "pp");
  if (return_value_NFFstringcmp$17 == 0) {
    signed int return_value_NFFGetPatch$16;
    return_value_NFFGetPatch$16 = NFFGetPatch(dfile, scene);
    return return_value_NFFGetPatch$16;
  }
  return 3;
}


x86 assembly (clang, -O0):
<NFFGetObject>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x70(%rbp),%rdx
lea    0xe3e(%rip),%rsi
mov    $0x0,%al
call   1050 <fscanf@plt>
mov    %eax,-0x74(%rbp)
cmpl   $0x1,-0x74(%rbp)
je     11e2 <NFFGetObject+0x42>
movl   $0x3,-0x4(%rbp)
jmp    1417 <NFFGetObject+0x277>
lea    -0x70(%rbp),%rdi
lea    0xe16(%rip),%rsi
mov    $0x0,%al
call   10a0 <NFFstringcmp@plt>
mov    %eax,-0x78(%rbp)
cmpl   $0x0,-0x78(%rbp)
jne    121e <NFFGetObject+0x7e>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    $0x0,%al
call   1090 <NFFGetScenedefs@plt>
mov    %eax,-0x7c(%rbp)
mov    -0x7c(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1417 <NFFGetObject+0x277>
lea    -0x70(%rbp),%rdi
lea    0xddc(%rip),%rsi
mov    $0x0,%al
call   10a0 <NFFstringcmp@plt>
mov    %eax,-0x80(%rbp)
cmpl   $0x0,-0x80(%rbp)
jne    1260 <NFFGetObject+0xc0>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    $0x0,%al
call   1080 <NFFGetBackground@plt>
mov    %eax,-0x84(%rbp)
mov    -0x84(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1417 <NFFGetObject+0x277>
lea    -0x70(%rbp),%rdi
lea    0xd9c(%rip),%rsi
mov    $0x0,%al
call   10a0 <NFFstringcmp@plt>
mov    %eax,-0x88(%rbp)
cmpl   $0x0,-0x88(%rbp)
jne    12a8 <NFFGetObject+0x108>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    $0x0,%al
call   1040 <NFFGetLight@plt>
mov    %eax,-0x8c(%rbp)
mov    -0x8c(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1417 <NFFGetObject+0x277>
lea    -0x70(%rbp),%rdi
lea    0xd56(%rip),%rsi
mov    $0x0,%al
call   10a0 <NFFstringcmp@plt>
mov    %eax,-0x90(%rbp)
cmpl   $0x0,-0x90(%rbp)
jne    12f0 <NFFGetObject+0x150>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    $0x0,%al
call   1030 <NFFGetTexture@plt>
mov    %eax,-0x94(%rbp)
mov    -0x94(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1417 <NFFGetObject+0x277>
lea    -0x70(%rbp),%rdi
lea    0xd06(%rip),%rsi
mov    $0x0,%al
call   10a0 <NFFstringcmp@plt>
mov    %eax,-0x98(%rbp)
cmpl   $0x0,-0x98(%rbp)
jne    1338 <NFFGetObject+0x198>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    $0x0,%al
call   1070 <NFFGetSphere@plt>
mov    %eax,-0x9c(%rbp)
mov    -0x9c(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1417 <NFFGetObject+0x277>
lea    -0x70(%rbp),%rdi
lea    0xcc8(%rip),%rsi
mov    $0x0,%al
call   10a0 <NFFstringcmp@plt>
mov    %eax,-0xa0(%rbp)
cmpl   $0x0,-0xa0(%rbp)
jne    1380 <NFFGetObject+0x1e0>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    $0x0,%al
call   1060 <NFFGetCylCone@plt>
mov    %eax,-0xa4(%rbp)
mov    -0xa4(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1417 <NFFGetObject+0x277>
lea    -0x70(%rbp),%rdi
lea    0xc83(%rip),%rsi
mov    $0x0,%al
call   10a0 <NFFstringcmp@plt>
mov    %eax,-0xa8(%rbp)
cmpl   $0x0,-0xa8(%rbp)
jne    13c8 <NFFGetObject+0x228>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    $0x0,%al
call   10b0 <NFFGetPolygon@plt>
mov    %eax,-0xac(%rbp)
mov    -0xac(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1417 <NFFGetObject+0x277>
lea    -0x70(%rbp),%rdi
lea    0xc3a(%rip),%rsi
mov    $0x0,%al
call   10a0 <NFFstringcmp@plt>
mov    %eax,-0xb0(%rbp)
cmpl   $0x0,-0xb0(%rbp)
jne    1410 <NFFGetObject+0x270>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    $0x0,%al
call   10c0 <NFFGetPatch@plt>
mov    %eax,-0xb4(%rbp)
mov    -0xb4(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1417 <NFFGetObject+0x277>
movl   $0x3,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<NFFGetObject>:
push   %rbp
push   %r14
push   %rbx
sub    $0x50,%rsp
mov    %rsi,%r14
mov    %rdi,%rbx
lea    0xe4b(%rip),%rsi
mov    %rsp,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    $0x3,%ebp
cmp    $0x1,%eax
jne    1305 <NFFGetObject+0x165>
lea    0xe2f(%rip),%rsi
mov    %rsp,%rdi
xor    %eax,%eax
call   10a0 <NFFstringcmp@plt>
test   %eax,%eax
je     129c <NFFGetObject+0xfc>
lea    0xe18(%rip),%rsi
mov    %rsp,%rdi
xor    %eax,%eax
call   10a0 <NFFstringcmp@plt>
test   %eax,%eax
je     12ab <NFFGetObject+0x10b>
lea    0xe01(%rip),%rsi
mov    %rsp,%rdi
xor    %eax,%eax
call   10a0 <NFFstringcmp@plt>
test   %eax,%eax
je     12ba <NFFGetObject+0x11a>
lea    0xdea(%rip),%rsi
mov    %rsp,%rdi
xor    %eax,%eax
call   10a0 <NFFstringcmp@plt>
test   %eax,%eax
je     12c9 <NFFGetObject+0x129>
lea    0xdc9(%rip),%rsi
mov    %rsp,%rdi
xor    %eax,%eax
call   10a0 <NFFstringcmp@plt>
test   %eax,%eax
je     12d8 <NFFGetObject+0x138>
lea    0xdba(%rip),%rsi
mov    %rsp,%rdi
xor    %eax,%eax
call   10a0 <NFFstringcmp@plt>
test   %eax,%eax
je     12e7 <NFFGetObject+0x147>
lea    0xda4(%rip),%rsi
mov    %rsp,%rdi
xor    %eax,%eax
call   10a0 <NFFstringcmp@plt>
test   %eax,%eax
je     12f6 <NFFGetObject+0x156>
lea    0xd8e(%rip),%rsi
mov    %rsp,%rdi
xor    %eax,%eax
call   10a0 <NFFstringcmp@plt>
test   %eax,%eax
jne    1305 <NFFGetObject+0x165>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   10c0 <NFFGetPatch@plt>
jmp    1303 <NFFGetObject+0x163>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <NFFGetScenedefs@plt>
jmp    1303 <NFFGetObject+0x163>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1080 <NFFGetBackground@plt>
jmp    1303 <NFFGetObject+0x163>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <NFFGetLight@plt>
jmp    1303 <NFFGetObject+0x163>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1030 <NFFGetTexture@plt>
jmp    1303 <NFFGetObject+0x163>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1070 <NFFGetSphere@plt>
jmp    1303 <NFFGetObject+0x163>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1060 <NFFGetCylCone@plt>
jmp    1303 <NFFGetObject+0x163>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   10b0 <NFFGetPolygon@plt>
mov    %eax,%ebp
mov    %ebp,%eax
add    $0x50,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
%"struct._IO_FILE$link5" = type opaque
@.str = [3 x i8] c"%s\00"
@.str.1 = [2 x i8] c"v\00"
@.str.2 = [2 x i8] c"b\00"
@.str.3 = [2 x i8] c"l\00"
@.str.4 = [2 x i8] c"f\00"
@.str.5 = [2 x i8] c"s\00"
@.str.6 = [2 x i8] c"c\00"
@.str.7 = [2 x i8] c"p\00"
@.str.8 = [3 x i8] c"pp\00"
define i32 @NFFGetObject(%"struct._IO_FILE$link5"* %0, i8* %1) {
%3 = alloca i32
%4 = alloca %"struct._IO_FILE$link5"*
%5 = alloca i8*
%6 = alloca [80 x i8]
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
store %"struct._IO_FILE$link5"* %0, %"struct._IO_FILE$link5"** %4
store i8* %1, i8** %5
%24 = load %"struct._IO_FILE$link5"*, %"struct._IO_FILE$link5"** %4
%25 = getelementptr inbounds [80 x i8], [80 x i8]* %6, i64 0, i64 0
%26 = call i32 (%"struct._IO_FILE$link5"*, i8*, i8*, ...) bitcast (i32 (...)* @fscanf to i32 (%"struct._IO_FILE$link5"*, i8*, i8*, ...)*)(%"struct._IO_FILE$link5"* %24, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %25)
store i32 %26, i32* %7
%27 = load i32, i32* %7
%28 = icmp eq i32 %27, 1
br i1 %28, label %30, label %29
29: ; preds = %2
store i32 3, i32* %3
br label %111
30: ; preds = %2
%31 = getelementptr inbounds [80 x i8], [80 x i8]* %6, i64 0, i64 0
%32 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @NFFstringcmp to i32 (i8*, i8*, ...)*)(i8* %31, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32 %32, i32* %8
%33 = load i32, i32* %8
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %40
35: ; preds = %30
%36 = load %"struct._IO_FILE$link5"*, %"struct._IO_FILE$link5"** %4
%37 = load i8*, i8** %5
%38 = call i32 (%"struct._IO_FILE$link5"*, i8*, ...) bitcast (i32 (...)* @NFFGetScenedefs to i32 (%"struct._IO_FILE$link5"*, i8*, ...)*)(%"struct._IO_FILE$link5"* %36, i8* %37)
store i32 %38, i32* %9
%39 = load i32, i32* %9
store i32 %39, i32* %3
br label %111
40: ; preds = %30
%41 = getelementptr inbounds [80 x i8], [80 x i8]* %6, i64 0, i64 0
%42 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @NFFstringcmp to i32 (i8*, i8*, ...)*)(i8* %41, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32 %42, i32* %10
%43 = load i32, i32* %10
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %50
45: ; preds = %40
%46 = load %"struct._IO_FILE$link5"*, %"struct._IO_FILE$link5"** %4
%47 = load i8*, i8** %5
%48 = call i32 (%"struct._IO_FILE$link5"*, i8*, ...) bitcast (i32 (...)* @NFFGetBackground to i32 (%"struct._IO_FILE$link5"*, i8*, ...)*)(%"struct._IO_FILE$link5"* %46, i8* %47)
store i32 %48, i32* %11
%49 = load i32, i32* %11
store i32 %49, i32* %3
br label %111
50: ; preds = %40
%51 = getelementptr inbounds [80 x i8], [80 x i8]* %6, i64 0, i64 0
%52 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @NFFstringcmp to i32 (i8*, i8*, ...)*)(i8* %51, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32 %52, i32* %12
%53 = load i32, i32* %12
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %60
55: ; preds = %50
%56 = load %"struct._IO_FILE$link5"*, %"struct._IO_FILE$link5"** %4
%57 = load i8*, i8** %5
%58 = call i32 (%"struct._IO_FILE$link5"*, i8*, ...) bitcast (i32 (...)* @NFFGetLight to i32 (%"struct._IO_FILE$link5"*, i8*, ...)*)(%"struct._IO_FILE$link5"* %56, i8* %57)
store i32 %58, i32* %13
%59 = load i32, i32* %13
store i32 %59, i32* %3
br label %111
60: ; preds = %50
%61 = getelementptr inbounds [80 x i8], [80 x i8]* %6, i64 0, i64 0
%62 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @NFFstringcmp to i32 (i8*, i8*, ...)*)(i8* %61, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
store i32 %62, i32* %14
%63 = load i32, i32* %14
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %70
65: ; preds = %60
%66 = load %"struct._IO_FILE$link5"*, %"struct._IO_FILE$link5"** %4
%67 = load i8*, i8** %5
%68 = call i32 (%"struct._IO_FILE$link5"*, i8*, ...) bitcast (i32 (...)* @NFFGetTexture to i32 (%"struct._IO_FILE$link5"*, i8*, ...)*)(%"struct._IO_FILE$link5"* %66, i8* %67)
store i32 %68, i32* %15
%69 = load i32, i32* %15
store i32 %69, i32* %3
br label %111
70: ; preds = %60
%71 = getelementptr inbounds [80 x i8], [80 x i8]* %6, i64 0, i64 0
%72 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @NFFstringcmp to i32 (i8*, i8*, ...)*)(i8* %71, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
store i32 %72, i32* %16
%73 = load i32, i32* %16
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %80
75: ; preds = %70
%76 = load %"struct._IO_FILE$link5"*, %"struct._IO_FILE$link5"** %4
%77 = load i8*, i8** %5
%78 = call i32 (%"struct._IO_FILE$link5"*, i8*, ...) bitcast (i32 (...)* @NFFGetSphere to i32 (%"struct._IO_FILE$link5"*, i8*, ...)*)(%"struct._IO_FILE$link5"* %76, i8* %77)
store i32 %78, i32* %17
%79 = load i32, i32* %17
store i32 %79, i32* %3
br label %111
80: ; preds = %70
%81 = getelementptr inbounds [80 x i8], [80 x i8]* %6, i64 0, i64 0
%82 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @NFFstringcmp to i32 (i8*, i8*, ...)*)(i8* %81, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
store i32 %82, i32* %18
%83 = load i32, i32* %18
%84 = icmp eq i32 %83, 0
br i1 %84, label %85, label %90
85: ; preds = %80
%86 = load %"struct._IO_FILE$link5"*, %"struct._IO_FILE$link5"** %4
%87 = load i8*, i8** %5
%88 = call i32 (%"struct._IO_FILE$link5"*, i8*, ...) bitcast (i32 (...)* @NFFGetCylCone to i32 (%"struct._IO_FILE$link5"*, i8*, ...)*)(%"struct._IO_FILE$link5"* %86, i8* %87)
store i32 %88, i32* %19
%89 = load i32, i32* %19
store i32 %89, i32* %3
br label %111
90: ; preds = %80
%91 = getelementptr inbounds [80 x i8], [80 x i8]* %6, i64 0, i64 0
%92 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @NFFstringcmp to i32 (i8*, i8*, ...)*)(i8* %91, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
store i32 %92, i32* %20
%93 = load i32, i32* %20
%94 = icmp eq i32 %93, 0
br i1 %94, label %95, label %100
95: ; preds = %90
%96 = load %"struct._IO_FILE$link5"*, %"struct._IO_FILE$link5"** %4
%97 = load i8*, i8** %5
%98 = call i32 (%"struct._IO_FILE$link5"*, i8*, ...) bitcast (i32 (...)* @NFFGetPolygon to i32 (%"struct._IO_FILE$link5"*, i8*, ...)*)(%"struct._IO_FILE$link5"* %96, i8* %97)
store i32 %98, i32* %21
%99 = load i32, i32* %21
store i32 %99, i32* %3
br label %111
100: ; preds = %90
%101 = getelementptr inbounds [80 x i8], [80 x i8]* %6, i64 0, i64 0
%102 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @NFFstringcmp to i32 (i8*, i8*, ...)*)(i8* %101, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
store i32 %102, i32* %22
%103 = load i32, i32* %22
%104 = icmp eq i32 %103, 0
br i1 %104, label %105, label %110
105: ; preds = %100
%106 = load %"struct._IO_FILE$link5"*, %"struct._IO_FILE$link5"** %4
%107 = load i8*, i8** %5
%108 = call i32 (%"struct._IO_FILE$link5"*, i8*, ...) bitcast (i32 (...)* @NFFGetPatch to i32 (%"struct._IO_FILE$link5"*, i8*, ...)*)(%"struct._IO_FILE$link5"* %106, i8* %107)
store i32 %108, i32* %23
%109 = load i32, i32* %23
store i32 %109, i32* %3
br label %111
110: ; preds = %100
store i32 3, i32* %3
br label %111
111: ; preds = %110, %105, %95, %85, %75, %65, %55, %45, %35, %29
%112 = load i32, i32* %3
ret i32 %112
}

LLVM IR (-O2):
%"struct._IO_FILE$link5" = type opaque
@.str = [3 x i8] c"%s\00"
@.str.1 = [2 x i8] c"v\00"
@.str.2 = [2 x i8] c"b\00"
@.str.3 = [2 x i8] c"l\00"
@.str.4 = [2 x i8] c"f\00"
@.str.5 = [2 x i8] c"s\00"
@.str.6 = [2 x i8] c"c\00"
@.str.7 = [2 x i8] c"p\00"
@.str.8 = [3 x i8] c"pp\00"
define i32 @NFFGetObject(%"struct._IO_FILE$link5"* %0, i8* %1) {
%3 = alloca [80 x i8]
%4 = getelementptr inbounds [80 x i8], [80 x i8]* %3, i64 0, i64 0
%5 = call i32 (%"struct._IO_FILE$link5"*, i8*, i8*, ...) bitcast (i32 (...)* @fscanf to i32 (%"struct._IO_FILE$link5"*, i8*, i8*, ...)*)(%"struct._IO_FILE$link5"* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %4)
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %47
7: ; preds = %2
%8 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @NFFstringcmp to i32 (i8*, i8*, ...)*)(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 (%"struct._IO_FILE$link5"*, i8*, ...) bitcast (i32 (...)* @NFFGetScenedefs to i32 (%"struct._IO_FILE$link5"*, i8*, ...)*)(%"struct._IO_FILE$link5"* %0, i8* %1)
br label %47
12: ; preds = %7
%13 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @NFFstringcmp to i32 (i8*, i8*, ...)*)(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 (%"struct._IO_FILE$link5"*, i8*, ...) bitcast (i32 (...)* @NFFGetBackground to i32 (%"struct._IO_FILE$link5"*, i8*, ...)*)(%"struct._IO_FILE$link5"* %0, i8* %1)
br label %47
17: ; preds = %12
%18 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @NFFstringcmp to i32 (i8*, i8*, ...)*)(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = call i32 (%"struct._IO_FILE$link5"*, i8*, ...) bitcast (i32 (...)* @NFFGetLight to i32 (%"struct._IO_FILE$link5"*, i8*, ...)*)(%"struct._IO_FILE$link5"* %0, i8* %1)
br label %47
22: ; preds = %17
%23 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @NFFstringcmp to i32 (i8*, i8*, ...)*)(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = call i32 (%"struct._IO_FILE$link5"*, i8*, ...) bitcast (i32 (...)* @NFFGetTexture to i32 (%"struct._IO_FILE$link5"*, i8*, ...)*)(%"struct._IO_FILE$link5"* %0, i8* %1)
br label %47
27: ; preds = %22
%28 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @NFFstringcmp to i32 (i8*, i8*, ...)*)(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 (%"struct._IO_FILE$link5"*, i8*, ...) bitcast (i32 (...)* @NFFGetSphere to i32 (%"struct._IO_FILE$link5"*, i8*, ...)*)(%"struct._IO_FILE$link5"* %0, i8* %1)
br label %47
32: ; preds = %27
%33 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @NFFstringcmp to i32 (i8*, i8*, ...)*)(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = call i32 (%"struct._IO_FILE$link5"*, i8*, ...) bitcast (i32 (...)* @NFFGetCylCone to i32 (%"struct._IO_FILE$link5"*, i8*, ...)*)(%"struct._IO_FILE$link5"* %0, i8* %1)
br label %47
37: ; preds = %32
%38 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @NFFstringcmp to i32 (i8*, i8*, ...)*)(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 (%"struct._IO_FILE$link5"*, i8*, ...) bitcast (i32 (...)* @NFFGetPolygon to i32 (%"struct._IO_FILE$link5"*, i8*, ...)*)(%"struct._IO_FILE$link5"* %0, i8* %1)
br label %47
42: ; preds = %37
%43 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @NFFstringcmp to i32 (i8*, i8*, ...)*)(i8* %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = call i32 (%"struct._IO_FILE$link5"*, i8*, ...) bitcast (i32 (...)* @NFFGetPatch to i32 (%"struct._IO_FILE$link5"*, i8*, ...)*)(%"struct._IO_FILE$link5"* %0, i8* %1)
br label %47
47: ; preds = %10, %20, %30, %40, %42, %45, %35, %25, %15, %2
%48 = phi i32 [ 3, %2 ], [ %11, %10 ], [ %16, %15 ], [ %21, %20 ], [ %26, %25 ], [ %31, %30 ], [ %36, %35 ], [ %41, %40 ], [ %46, %45 ], [ 3, %42 ]
ret i32 %48
}