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

/* Variables and functions */
int /*<<< orphan*/ add_half_exposure(char *, char const *, double const);
int /*<<< orphan*/ assert(int /*<<< orphan*/ *);
double atoi(char const *);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
scalar_t__ fgets(char *, int, int /*<<< orphan*/ *);
char *find_base_60(char const *);
int /*<<< orphan*/ *fopen(char const *, char *);
int get_base_sixty(char const *);
int /*<<< orphan*/ get_iso_date(char *, char *);
int /*<<< orphan*/ memcmp(char *, char *, int);
int /*<<< orphan*/ memset(char *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, ...);
int strlen(char *);
int main(const int argc, const char **argv) {
  const char *filename =
      (argc == 2 ? argv[1] : "Spacewatch_mosaic.log.2003Mar23-2016Dec24.txt");
  FILE *ifile = fopen(filename, "rb");
  char buff[200];
  char iso_date[30];
  assert(ifile);
  *iso_date = '\0';
  printf("# Spacewatch 'old formula' logs,  processed with sw_xvt.c (q.v.)\n");
  printf("# Version %s\n", "Sat Jan 22 23:03:10 2022");
  printf("# Input file '%s'\n", filename);
  while (fgets(buff, sizeof(buff), ifile))
    if (strlen(buff) > 40 && buff[1] != ':') {
      const char *tptr = find_base_60(buff);
      if (!memcmp(buff + 1, " UT DATE: ", 9))
        get_iso_date(iso_date, buff + 10);
      else if (tptr) {
        const double ra = get_base_sixty(tptr) * 15.;
        tptr = find_base_60(tptr + 8);
        if (tptr) {
          double dec = get_base_sixty(tptr);
          const double exposure = atoi(tptr + 9);
          char time_buff[20];
          if (tptr[-1] == '-')
            dec = -dec;
          while ((tptr = find_base_60(tptr + 8)) != NULL) {
            add_half_exposure(time_buff, tptr, exposure);
            printf("%.3f,%.3f,%sT%s,691,na\n", ra, dec, iso_date, time_buff);
          }
        }
      }
      memset(buff, 0, 120);
    }
  fclose(ifile);
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x160,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
jne    1207 <main+0x37>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x158(%rbp)
jmp    121a <main+0x4a>
lea    0xdfa(%rip),%rax
mov    %rax,-0x158(%rbp)
jmp    121a <main+0x4a>
mov    -0x158(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
lea    0xe06(%rip),%rsi
call   10d0 <fopen@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rdi
call   10a0 <assert@plt>
movb   $0x0,-0x110(%rbp)
lea    0xde9(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xe1d(%rip),%rdi
lea    0xe24(%rip),%rsi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x18(%rbp),%rsi
lea    0xe2b(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    -0xf0(%rbp),%rdi
mov    -0x20(%rbp),%rdx
mov    $0xc8,%esi
call   1090 <fgets@plt>
cmp    $0x0,%rax
je     1471 <main+0x2a1>
lea    -0xf0(%rbp),%rdi
call   1050 <strlen@plt>
cmp    $0x28,%eax
jle    146c <main+0x29c>
movsbl -0xef(%rbp),%eax
cmp    $0x3a,%eax
je     146c <main+0x29c>
lea    -0xf0(%rbp),%rdi
call   10b0 <find_base_60@plt>
mov    %rax,-0x118(%rbp)
lea    -0xf0(%rbp),%rdi
add    $0x1,%rdi
lea    0xdce(%rip),%rsi
mov    $0x9,%edx
call   1080 <memcmp@plt>
cmp    $0x0,%eax
jne    1316 <main+0x146>
lea    -0x110(%rbp),%rdi
lea    -0xf0(%rbp),%rsi
add    $0xa,%rsi
call   10c0 <get_iso_date@plt>
jmp    1459 <main+0x289>
cmpq   $0x0,-0x118(%rbp)
je     1454 <main+0x284>
mov    -0x118(%rbp),%rdi
call   1030 <get_base_sixty@plt>
cvtsi2sd %eax,%xmm0
movsd  0xcc4(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x120(%rbp)
ff
mov    -0x118(%rbp),%rdi
add    $0x8,%rdi
call   10b0 <find_base_60@plt>
mov    %rax,-0x118(%rbp)
cmpq   $0x0,-0x118(%rbp)
je     144f <main+0x27f>
mov    -0x118(%rbp),%rdi
call   1030 <get_base_sixty@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x128(%rbp)
ff
mov    -0x118(%rbp),%rdi
add    $0x9,%rdi
call   10f0 <atoi@plt>
movsd  %xmm0,-0x130(%rbp)
ff
mov    -0x118(%rbp),%rax
movsbl -0x1(%rax),%eax
cmp    $0x2d,%eax
jne    13d8 <main+0x208>
movsd  -0x128(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x128(%rbp)
ff
jmp    13dd <main+0x20d>
mov    -0x118(%rbp),%rdi
add    $0x8,%rdi
call   10b0 <find_base_60@plt>
mov    %rax,-0x118(%rbp)
cmp    $0x0,%rax
je     144a <main+0x27a>
lea    -0x150(%rbp),%rdi
mov    -0x118(%rbp),%rsi
movsd  -0x130(%rbp),%xmm0
ff
call   10e0 <add_half_exposure@plt>
movsd  -0x120(%rbp),%xmm0
ff
movsd  -0x128(%rbp),%xmm1
ff
lea    -0x110(%rbp),%rsi
lea    -0x150(%rbp),%rdx
lea    0xc82(%rip),%rdi
mov    $0x2,%al
call   1060 <printf@plt>
jmp    13dd <main+0x20d>
jmp    144f <main+0x27f>
jmp    1454 <main+0x284>
jmp    1459 <main+0x289>
lea    -0xf0(%rbp),%rdi
xor    %esi,%esi
mov    $0x78,%edx
call   1070 <memset@plt>
jmp    127e <main+0xae>
mov    -0x20(%rbp),%rdi
call   1040 <fclose@plt>
xor    %eax,%eax
add    $0x160,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x138,%rsp
cmp    $0x2,%edi
jne    11fc <main+0x1c>
mov    0x8(%rsi),%rbp
jmp    1203 <main+0x23>
lea    0xe1d(%rip),%rbp
lea    0xe44(%rip),%rsi
mov    %rbp,%rdi
call   10e0 <fopen@plt>
mov    %rax,%rbx
mov    %rax,%rdi
call   10b0 <assert@plt>
movb   $0x0,0x30(%rsp)
lea    0xe85(%rip),%rdi
call   1040 <puts@plt>
lea    0xe1c(%rip),%rdi
lea    0xe23(%rip),%rsi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0xe2e(%rip),%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0x70(%rsp),%rdi
mov    $0xc8,%esi
mov    %rbx,%rdx
call   10a0 <fgets@plt>
test   %rax,%rax
je     13de <main+0x1fe>
lea    0x71(%rsp),%r13
lea    0x70(%rsp),%r14
lea    0x30(%rsp),%r12
lea    0x50(%rsp),%r15
mov    %rbx,0x18(%rsp)
jmp    12bf <main+0xdf>
mov    %r12,%rdi
lea    0x7a(%rsp),%rsi
call   10d0 <get_iso_date@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x78,%edx
call   1080 <memset@plt>
mov    %r14,%rdi
mov    $0xc8,%esi
mov    %rbx,%rdx
call   10a0 <fgets@plt>
test   %rax,%rax
je     13de <main+0x1fe>
mov    %r14,%rdi
call   1060 <strlen@plt>
cmp    $0x29,%eax
jl     12a6 <main+0xc6>
cmpb   $0x3a,0x71(%rsp)
je     12a6 <main+0xc6>
mov    %r14,%rdi
call   10c0 <find_base_60@plt>
mov    %rax,%rbp
mov    %r13,%rdi
lea    0xda3(%rip),%rsi
mov    $0x9,%edx
call   1090 <memcmp@plt>
test   %eax,%eax
je     128a <main+0xaa>
test   %rbp,%rbp
je     1297 <main+0xb7>
mov    %rbp,%rdi
call   1030 <get_base_sixty@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xcee(%rip),%xmm0
movsd  %xmm0,0x28(%rsp)
add    $0x8,%rbp
mov    %rbp,%rdi
call   10c0 <find_base_60@plt>
test   %rax,%rax
je     1297 <main+0xb7>
mov    %rax,%rbp
mov    %rax,%rdi
call   1030 <get_base_sixty@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movapd %xmm0,(%rsp)
lea    0x9(%rbp),%rdi
call   1100 <atoi@plt>
cmpb   $0x2d,-0x1(%rbp)
movsd  %xmm0,0x20(%rsp)
jne    136b <main+0x18b>
movapd (%rsp),%xmm0
xorpd  0xcaa(%rip),%xmm0
movapd %xmm0,(%rsp)
lea    0xd24(%rip),%rbx
add    $0x8,%rbp
mov    %rbp,%rdi
call   10c0 <find_base_60@plt>
test   %rax,%rax
je     13cf <main+0x1ef>
mov    %rax,%r13
cs nopw 0x0(%rax,%rax,1)
mov    %r15,%rdi
mov    %r13,%rsi
movsd  0x20(%rsp),%xmm0
call   10f0 <add_half_exposure@plt>
mov    %rbx,%rdi
movsd  0x28(%rsp),%xmm0
movaps (%rsp),%xmm1
mov    %r12,%rsi
mov    %r15,%rdx
mov    $0x2,%al
call   1070 <printf@plt>
add    $0x8,%r13
mov    %r13,%rdi
call   10c0 <find_base_60@plt>
mov    %rax,%r13
test   %rax,%rax
jne    1390 <main+0x1b0>
mov    0x18(%rsp),%rbx
lea    0x71(%rsp),%r13
jmp    1297 <main+0xb7>
mov    %rbx,%rdi
call   1050 <fclose@plt>
xor    %eax,%eax
add    $0x138,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [46 x i8] c"Spacewatch_mosaic.log.2003Mar23-2016Dec24.txt\00"
@.str.1 = [3 x i8] c"rb\00"
@.str.2 = [66 x i8] c"# Spacewatch 'old formula' logs, processed with sw_xvt.c (q.v.)\0A\00"
@.str.3 = [14 x i8] c"# Version %s\0A\00"
@.str.4 = [25 x i8] c"Sat Jan 22 23:03:10 2022\00"
@.str.5 = [19 x i8] c"# Input file '%s'\0A\00"
@.str.6 = [11 x i8] c" UT DATE: \00"
@.str.7 = [24 x i8] c"%.3f,%.3f,%sT%s,691,na\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 [200 x i8]
%9 = alloca [30 x i8]
%10 = alloca i8*
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca [20 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%15 = load i32, i32* %4
%16 = icmp eq i32 %15, 2
br i1 %16, label %17, label %21
17: ; preds = %2
%18 = load i8**, i8*** %5
%19 = getelementptr inbounds i8*, i8** %18, i64 1
%20 = load i8*, i8** %19
br label %22
21: ; preds = %2
br label %22
22: ; preds = %21, %17
%23 = phi i8* [ %20, %17 ], [ getelementptr inbounds ([46 x i8], [46 x i8]* @.str, i64 0, i64 0), %21 ]
store i8* %23, i8** %6
%24 = load i8*, i8** %6
%25 = call i32* @fopen(i8* %24, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
store i32* %25, i32** %7
%26 = load i32*, i32** %7
%27 = call i32 @assert(i32* %26)
%28 = getelementptr inbounds [30 x i8], [30 x i8]* %9, i64 0, i64 0
store i8 0, i8* %28
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.2, i64 0, i64 0))
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.4, i64 0, i64 0))
%31 = load i8*, i8** %6
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0), i8* %31)
br label %33
33: ; preds = %109, %22
%34 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%35 = load i32*, i32** %7
%36 = call i64 @fgets(i8* %34, i32 200, i32* %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %110
38: ; preds = %33
%39 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%40 = call i32 @strlen(i8* %39)
%41 = icmp sgt i32 %40, 40
br i1 %41, label %42, label %109
42: ; preds = %38
%43 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 1
%44 = load i8, i8* %43
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %45, 58
br i1 %46, label %47, label %109
47: ; preds = %42
%48 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%49 = call i8* @find_base_60(i8* %48)
store i8* %49, i8** %10
%50 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%51 = getelementptr inbounds i8, i8* %50, i64 1
%52 = call i32 @memcmp(i8* %51, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i32 9)
%53 = icmp ne i32 %52, 0
br i1 %53, label %59, label %54
54: ; preds = %47
%55 = getelementptr inbounds [30 x i8], [30 x i8]* %9, i64 0, i64 0
%56 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%57 = getelementptr inbounds i8, i8* %56, i64 10
%58 = call i32 @get_iso_date(i8* %55, i8* %57)
br label %106
59: ; preds = %47
%60 = load i8*, i8** %10
%61 = icmp ne i8* %60, null
br i1 %61, label %62, label %105
62: ; preds = %59
%63 = load i8*, i8** %10
%64 = call i32 @get_base_sixty(i8* %63)
%65 = sitofp i32 %64 to double
%66 = fmul double %65, 1.500000e+01
store double %66, double* %11
%67 = load i8*, i8** %10
%68 = getelementptr inbounds i8, i8* %67, i64 8
%69 = call i8* @find_base_60(i8* %68)
store i8* %69, i8** %10
%70 = load i8*, i8** %10
%71 = icmp ne i8* %70, null
br i1 %71, label %72, label %104
72: ; preds = %62
%73 = load i8*, i8** %10
%74 = call i32 @get_base_sixty(i8* %73)
%75 = sitofp i32 %74 to double
store double %75, double* %12
%76 = load i8*, i8** %10
%77 = getelementptr inbounds i8, i8* %76, i64 9
%78 = call double @atoi(i8* %77)
store double %78, double* %13
%79 = load i8*, i8** %10
%80 = getelementptr inbounds i8, i8* %79, i64 -1
%81 = load i8, i8* %80
%82 = sext i8 %81 to i32
%83 = icmp eq i32 %82, 45
br i1 %83, label %84, label %87
84: ; preds = %72
%85 = load double, double* %12
%86 = fneg double %85
store double %86, double* %12
br label %87
87: ; preds = %84, %72
br label %88
88: ; preds = %93, %87
%89 = load i8*, i8** %10
%90 = getelementptr inbounds i8, i8* %89, i64 8
%91 = call i8* @find_base_60(i8* %90)
store i8* %91, i8** %10
%92 = icmp ne i8* %91, null
br i1 %92, label %93, label %103
93: ; preds = %88
%94 = getelementptr inbounds [20 x i8], [20 x i8]* %14, i64 0, i64 0
%95 = load i8*, i8** %10
%96 = load double, double* %13
%97 = call i32 @add_half_exposure(i8* %94, i8* %95, double %96)
%98 = load double, double* %11
%99 = load double, double* %12
%100 = getelementptr inbounds [30 x i8], [30 x i8]* %9, i64 0, i64 0
%101 = getelementptr inbounds [20 x i8], [20 x i8]* %14, i64 0, i64 0
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), double %98, double %99, i8* %100, i8* %101)
br label %88
103: ; preds = %88
br label %104
104: ; preds = %103, %62
br label %105
105: ; preds = %104, %59
br label %106
106: ; preds = %105, %54
%107 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%108 = call i32 @memset(i8* %107, i32 0, i32 120)
br label %109
109: ; preds = %106, %42, %38
br label %33
110: ; preds = %33
%111 = load i32*, i32** %7
%112 = call i32 @fclose(i32* %111)
ret i32 0
}

LLVM IR (-O2):
@.str = [46 x i8] c"Spacewatch_mosaic.log.2003Mar23-2016Dec24.txt\00"
@.str.1 = [3 x i8] c"rb\00"
@.str.3 = [14 x i8] c"# Version %s\0A\00"
@.str.4 = [25 x i8] c"Sat Jan 22 23:03:10 2022\00"
@.str.5 = [19 x i8] c"# Input file '%s'\0A\00"
@.str.6 = [11 x i8] c" UT DATE: \00"
@.str.7 = [24 x i8] c"%.3f,%.3f,%sT%s,691,na\0A\00"
@str = [65 x i8] c"# Spacewatch 'old formula' logs, processed with sw_xvt.c (q.v.)\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [200 x i8]
%4 = alloca [30 x i8]
%5 = alloca [20 x i8]
%6 = icmp eq i32 %0, 2
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = getelementptr inbounds i8*, i8** %1, i64 1
%9 = load i8*, i8** %8
br label %10
10: ; preds = %2, %7
%11 = phi i8* [ %9, %7 ], [ getelementptr inbounds ([46 x i8], [46 x i8]* @.str, i64 0, i64 0), %2 ]
%12 = tail call i32* @fopen(i8* %11, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%13 = getelementptr inbounds [200 x i8], [200 x i8]* %3, i64 0, i64 0
%14 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 0
%15 = tail call i32 @assert(i32* %12)
store i8 0, i8* %14
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str, i64 0, i64 0))
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.4, i64 0, i64 0))
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0), i8* %11)
%19 = call i64 @fgets(i8* %13, i32 200, i32* %12)
%20 = icmp eq i64 %19, 0
br i1 %20, label %72, label %21
21: ; preds = %10
%22 = getelementptr inbounds [200 x i8], [200 x i8]* %3, i64 0, i64 1
%23 = getelementptr inbounds [20 x i8], [20 x i8]* %5, i64 0, i64 0
%24 = getelementptr inbounds [200 x i8], [200 x i8]* %3, i64 0, i64 10
br label %25
25: ; preds = %21, %69
%26 = call i32 @strlen(i8* %13)
%27 = icmp sgt i32 %26, 40
%28 = load i8, i8* %22
%29 = icmp ne i8 %28, 58
%30 = select i1 %27, i1 %29, i1 false
br i1 %30, label %31, label %69
31: ; preds = %25
%32 = call i8* @find_base_60(i8* %13)
%33 = call i32 @memcmp(i8* %22, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i32 9)
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = call i32 @get_iso_date(i8* %14, i8* %24)
br label %67
37: ; preds = %31
%38 = icmp eq i8* %32, null
br i1 %38, label %67, label %39
39: ; preds = %37
%40 = call i32 @get_base_sixty(i8* %32)
%41 = sitofp i32 %40 to double
%42 = fmul double %41, 1.500000e+01
%43 = getelementptr inbounds i8, i8* %32, i64 8
%44 = call i8* @find_base_60(i8* %43)
%45 = icmp eq i8* %44, null
br i1 %45, label %67, label %46
46: ; preds = %39
%47 = call i32 @get_base_sixty(i8* %44)
%48 = sitofp i32 %47 to double
%49 = getelementptr inbounds i8, i8* %44, i64 9
%50 = call double @atoi(i8* %49)
%51 = getelementptr inbounds i8, i8* %44, i64 -1
%52 = load i8, i8* %51
%53 = icmp eq i8 %52, 45
%54 = fneg double %48
%55 = select i1 %53, double %54, double %48
%56 = getelementptr inbounds i8, i8* %44, i64 8
%57 = call i8* @find_base_60(i8* %56)
%58 = icmp eq i8* %57, null
br i1 %58, label %66, label %59
59: ; preds = %46, %59
%60 = phi i8* [ %64, %59 ], [ %57, %46 ]
%61 = call i32 @add_half_exposure(i8* %23, i8* %60, double %50)
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), double %42, double %55, i8* %14, i8* %23)
%63 = getelementptr inbounds i8, i8* %60, i64 8
%64 = call i8* @find_base_60(i8* %63)
%65 = icmp eq i8* %64, null
br i1 %65, label %66, label %59
66: ; preds = %59, %46
br label %67
67: ; preds = %39, %66, %37, %35
%68 = call i32 @memset(i8* %13, i32 0, i32 120)
br label %69
69: ; preds = %67, %25
%70 = call i64 @fgets(i8* %13, i32 200, i32* %12)
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %25
72: ; preds = %69, %10
%73 = call i32 @fclose(i32* %12)
ret i32 0
}