#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 /*<<< orphan*/ cm_read_line(char *);
int /*<<< orphan*/ cm_read_packed_date(char *);
int main(int argc, char const *argv[argc]) {
  cm_read_packed_date("K129U");
  cm_read_packed_date("J609N");
  cm_read_packed_date("J739F");
  cm_read_packed_date("J77AO");
  cm_read_packed_date("J77A4");
  cm_read_packed_date("J9611");
  cm_read_packed_date("J961A");
  cm_read_packed_date("J969U");
  cm_read_packed_date("J96A1");
  cm_read_packed_date("K01AM");
  cm_read_line(
      "00001    3.34  0.12 K129U 285.41022   71.87913   80.33049   10.59313  "
      "0.0769128  0.21377719   2.7700980  0 MPO216418  6332  99 1802-2011 0.60 "
      "M-v 30h MPCLINUX   0000      (1) Ceres              20111215");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xec3(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xebd(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xeb7(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xeb1(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xeab(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xea5(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xe9f(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xe99(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xe93(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xe8d(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xe87(%rip),%rdi
call   1040 <cm_read_line@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xed2(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xecc(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xec6(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xec0(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xeba(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xeb4(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xeae(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xea8(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xea2(%rip),%rdi
call   1030 <cm_read_packed_date@plt>
lea    0xe9c(%rip),%rdi
call   1040 <cm_read_line@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [6 x i8] c"K129U\00"
@.str.1 = [6 x i8] c"J609N\00"
@.str.2 = [6 x i8] c"J739F\00"
@.str.3 = [6 x i8] c"J77AO\00"
@.str.4 = [6 x i8] c"J77A4\00"
@.str.5 = [6 x i8] c"J9611\00"
@.str.6 = [6 x i8] c"J961A\00"
@.str.7 = [6 x i8] c"J969U\00"
@.str.8 = [6 x i8] c"J96A1\00"
@.str.9 = [6 x i8] c"K01AM\00"
@.str.10 = [203 x i8] c"00001 3.34 0.12 K129U 285.41022 71.87913 80.33049 10.59313 0.0769128 0.21377719 2.7700980 0 MPO216418 6332 99 1802-2011 0.60 M-v 30h MPCLINUX 0000 (1) Ceres 20111215\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = load i32, i32* %4
%7 = zext i32 %6 to i64
%8 = call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%9 = call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%10 = call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%11 = call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%12 = call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%13 = call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%14 = call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%15 = call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%16 = call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%17 = call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%18 = call i32 @cm_read_line(i8* getelementptr inbounds ([203 x i8], [203 x i8]* @.str.10, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [6 x i8] c"K129U\00"
@.str.1 = [6 x i8] c"J609N\00"
@.str.2 = [6 x i8] c"J739F\00"
@.str.3 = [6 x i8] c"J77AO\00"
@.str.4 = [6 x i8] c"J77A4\00"
@.str.5 = [6 x i8] c"J9611\00"
@.str.6 = [6 x i8] c"J961A\00"
@.str.7 = [6 x i8] c"J969U\00"
@.str.8 = [6 x i8] c"J96A1\00"
@.str.9 = [6 x i8] c"K01AM\00"
@.str.10 = [203 x i8] c"00001 3.34 0.12 K129U 285.41022 71.87913 80.33049 10.59313 0.0769128 0.21377719 2.7700980 0 MPO216418 6332 99 1802-2011 0.60 M-v 30h MPCLINUX 0000 (1) Ceres 20111215\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%4 = tail call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%6 = tail call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%7 = tail call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%8 = tail call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%9 = tail call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%10 = tail call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%11 = tail call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%12 = tail call i32 @cm_read_packed_date(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%13 = tail call i32 @cm_read_line(i8* getelementptr inbounds ([203 x i8], [203 x i8]* @.str.10, i64 0, i64 0))
ret i32 0
}