int ParseDataLine(line, code, name1, name2, val1, name3, val2)
char *code, *line, *name1, *name2, *name3;
double *val1, *val2;
{
  int i, j;
  char valstr[15], NoBlank[15];
  *val1 = 0.0;
  *val2 = 0.0;
  string_copy(code, &line[1], 2);
  string_copy(name1, &line[4], 8);
  string_copy(name2, &line[14], 8);
  string_copy(valstr, &line[24], 12);
  j = 0;
  for (i = 0; i < 15 && valstr[i] != '\0'; i++)
    if (!isspace(valstr[i]))
      NoBlank[j++] = valstr[i];
  NoBlank[j] = '\0';
  *val1 = atof(NoBlank);
  string_copy(name3, &line[39], 8);
  string_copy(valstr, &line[49], 12);
  j = 0;
  for (i = 0; i < 15 && valstr[i] != '\0'; i++)
    if (!isspace(valstr[i]))
      NoBlank[j++] = valstr[i];
  NoBlank[j] = '\0';
  *val2 = atof(NoBlank);
  return 0;
}


x86 assembly (clang, -O0):
<ParseDataLine>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    -0x28(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
mov    0x10(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0x1,%rsi
mov    $0x2,%edx
mov    $0x0,%al
call   1050 <string_copy@plt>
mov    -0x18(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0x4,%rsi
mov    $0x8,%edx
mov    $0x0,%al
call   1050 <string_copy@plt>
mov    -0x20(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0xe,%rsi
mov    $0x8,%edx
mov    $0x0,%al
call   1050 <string_copy@plt>
lea    -0x47(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0x18,%rsi
mov    $0xc,%edx
mov    $0x0,%al
call   1050 <string_copy@plt>
movl   $0x0,-0x38(%rbp)
movl   $0x0,-0x34(%rbp)
xor    %eax,%eax
cmpl   $0xf,-0x34(%rbp)
mov    %al,-0x57(%rbp)
jge    11f9 <ParseDataLine+0xc9>
movslq -0x34(%rbp),%rax
movsbl -0x47(%rbp,%rax,1),%eax
cmp    $0x0,%eax
setne  %al
mov    %al,-0x57(%rbp)
mov    -0x57(%rbp),%al
test   $0x1,%al
jne    1209 <ParseDataLine+0xd9>
jmp    124c <ParseDataLine+0x11c>
movslq -0x34(%rbp),%rax
movsbl -0x47(%rbp,%rax,1),%edi
call   1040 <isspace@plt>
cmp    $0x0,%eax
jne    1239 <ParseDataLine+0x109>
movslq -0x34(%rbp),%rax
mov    -0x47(%rbp,%rax,1),%cl
mov    -0x38(%rbp),%eax
mov    %eax,%edx
add    $0x1,%edx
mov    %edx,-0x38(%rbp)
cltq
mov    %cl,-0x56(%rbp,%rax,1)
jmp    123e <ParseDataLine+0x10e>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11d8 <ParseDataLine+0xa8>
movslq -0x38(%rbp),%rax
movb   $0x0,-0x56(%rbp,%rax,1)
lea    -0x56(%rbp),%rdi
mov    $0x0,%al
call   1030 <atof@plt>
cvtsi2sd %eax,%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x30(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0x27,%rsi
mov    $0x8,%edx
mov    $0x0,%al
call   1050 <string_copy@plt>
lea    -0x47(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0x31,%rsi
mov    $0xc,%edx
mov    $0x0,%al
call   1050 <string_copy@plt>
movl   $0x0,-0x38(%rbp)
movl   $0x0,-0x34(%rbp)
xor    %eax,%eax
cmpl   $0xf,-0x34(%rbp)
mov    %al,-0x58(%rbp)
jge    12cb <ParseDataLine+0x19b>
movslq -0x34(%rbp),%rax
movsbl -0x47(%rbp,%rax,1),%eax
cmp    $0x0,%eax
setne  %al
mov    %al,-0x58(%rbp)
mov    -0x58(%rbp),%al
test   $0x1,%al
jne    12db <ParseDataLine+0x1ab>
jmp    131e <ParseDataLine+0x1ee>
movslq -0x34(%rbp),%rax
movsbl -0x47(%rbp,%rax,1),%edi
call   1040 <isspace@plt>
cmp    $0x0,%eax
jne    130b <ParseDataLine+0x1db>
movslq -0x34(%rbp),%rax
mov    -0x47(%rbp,%rax,1),%cl
mov    -0x38(%rbp),%eax
mov    %eax,%edx
add    $0x1,%edx
mov    %edx,-0x38(%rbp)
cltq
mov    %cl,-0x56(%rbp,%rax,1)
jmp    1310 <ParseDataLine+0x1e0>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    12aa <ParseDataLine+0x17a>
movslq -0x38(%rbp),%rax
movb   $0x0,-0x56(%rbp,%rax,1)
lea    -0x56(%rbp),%rdi
mov    $0x0,%al
call   1030 <atof@plt>
cvtsi2sd %eax,%xmm0
mov    0x10(%rbp),%rax
movsd  %xmm0,(%rax)
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ParseDataLine>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %r9,0x20(%rsp)
mov    %r8,%r15
mov    %rcx,%r12
mov    %rdx,%rbp
mov    %rsi,%rax
mov    %rdi,%r14
mov    0x60(%rsp),%rcx
movq   $0x0,(%r8)
movq   $0x0,(%rcx)
lea    0x1(%rdi),%rsi
xor    %r13d,%r13d
mov    %rax,%rdi
mov    $0x2,%edx
xor    %eax,%eax
call   1050 <string_copy@plt>
lea    0x4(%r14),%rsi
mov    %rbp,%rdi
mov    $0x8,%edx
xor    %eax,%eax
call   1050 <string_copy@plt>
lea    0xe(%r14),%rsi
mov    %r12,%rdi
mov    $0x8,%edx
xor    %eax,%eax
call   1050 <string_copy@plt>
lea    0x18(%r14),%rsi
lea    0x11(%rsp),%rdi
mov    $0xc,%edx
xor    %eax,%eax
call   1050 <string_copy@plt>
xor    %ebx,%ebx
jmp    11ca <ParseDataLine+0x9a>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r13
cmp    $0xf,%r13
je     11ec <ParseDataLine+0xbc>
movsbl 0x11(%rsp,%r13,1),%ebp
test   %ebp,%ebp
je     11ec <ParseDataLine+0xbc>
mov    %ebp,%edi
call   1040 <isspace@plt>
test   %eax,%eax
jne    11c0 <ParseDataLine+0x90>
movslq %ebx,%rax
add    $0x1,%ebx
mov    %bpl,0x2(%rsp,%rax,1)
jmp    11c0 <ParseDataLine+0x90>
movslq %ebx,%rax
movb   $0x0,0x2(%rsp,%rax,1)
xor    %ebp,%ebp
lea    0x2(%rsp),%rdi
xor    %eax,%eax
call   1030 <atof@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,(%r15)
lea    0x27(%r14),%rsi
mov    0x20(%rsp),%rdi
mov    $0x8,%edx
xor    %eax,%eax
call   1050 <string_copy@plt>
add    $0x31,%r14
lea    0x11(%rsp),%rdi
mov    %r14,%rsi
mov    $0xc,%edx
xor    %eax,%eax
call   1050 <string_copy@plt>
xor    %r14d,%r14d
jmp    124a <ParseDataLine+0x11a>
nopl   (%rax)
add    $0x1,%rbp
cmp    $0xf,%rbp
je     126b <ParseDataLine+0x13b>
movsbl 0x11(%rsp,%rbp,1),%ebx
test   %ebx,%ebx
je     126b <ParseDataLine+0x13b>
mov    %ebx,%edi
call   1040 <isspace@plt>
test   %eax,%eax
jne    1240 <ParseDataLine+0x110>
movslq %r14d,%rax
add    $0x1,%r14d
mov    %bl,0x2(%rsp,%rax,1)
jmp    1240 <ParseDataLine+0x110>
movslq %r14d,%rax
movb   $0x0,0x2(%rsp,%rax,1)
lea    0x2(%rsp),%rdi
xor    %eax,%eax
call   1030 <atof@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mov    0x60(%rsp),%rax
movsd  %xmm0,(%rax)
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i32 @ParseDataLine(i8* %0, i8* %1, i8* %2, i8* %3, double* %4, i8* %5, double* %6) {
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i8*
%11 = alloca i8*
%12 = alloca double*
%13 = alloca i8*
%14 = alloca double*
%15 = alloca i32
%16 = alloca i32
%17 = alloca [15 x i8]
%18 = alloca [15 x i8]
store i8* %0, i8** %8
store i8* %1, i8** %9
store i8* %2, i8** %10
store i8* %3, i8** %11
store double* %4, double** %12
store i8* %5, i8** %13
store double* %6, double** %14
%19 = load double*, double** %12
store double 0.000000e+00, double* %19
%20 = load double*, double** %14
store double 0.000000e+00, double* %20
%21 = load i8*, i8** %9
%22 = load i8*, i8** %8
%23 = getelementptr inbounds i8, i8* %22, i64 1
%24 = call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @string_copy to i32 (i8*, i8*, i32, ...)*)(i8* %21, i8* %23, i32 2)
%25 = load i8*, i8** %10
%26 = load i8*, i8** %8
%27 = getelementptr inbounds i8, i8* %26, i64 4
%28 = call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @string_copy to i32 (i8*, i8*, i32, ...)*)(i8* %25, i8* %27, i32 8)
%29 = load i8*, i8** %11
%30 = load i8*, i8** %8
%31 = getelementptr inbounds i8, i8* %30, i64 14
%32 = call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @string_copy to i32 (i8*, i8*, i32, ...)*)(i8* %29, i8* %31, i32 8)
%33 = getelementptr inbounds [15 x i8], [15 x i8]* %17, i64 0, i64 0
%34 = load i8*, i8** %8
%35 = getelementptr inbounds i8, i8* %34, i64 24
%36 = call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @string_copy to i32 (i8*, i8*, i32, ...)*)(i8* %33, i8* %35, i32 12)
store i32 0, i32* %16
store i32 0, i32* %15
br label %37
37: ; preds = %67, %7
%38 = load i32, i32* %15
%39 = icmp slt i32 %38, 15
br i1 %39, label %40, label %47
40: ; preds = %37
%41 = load i32, i32* %15
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [15 x i8], [15 x i8]* %17, i64 0, i64 %42
%44 = load i8, i8* %43
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %45, 0
br label %47
47: ; preds = %40, %37
%48 = phi i1 [ false, %37 ], [ %46, %40 ]
br i1 %48, label %49, label %70
49: ; preds = %47
%50 = load i32, i32* %15
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [15 x i8], [15 x i8]* %17, i64 0, i64 %51
%53 = load i8, i8* %52
%54 = sext i8 %53 to i32
%55 = call i32 @isspace(i32 %54)
%56 = icmp ne i32 %55, 0
br i1 %56, label %66, label %57
57: ; preds = %49
%58 = load i32, i32* %15
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [15 x i8], [15 x i8]* %17, i64 0, i64 %59
%61 = load i8, i8* %60
%62 = load i32, i32* %16
%63 = add nsw i32 %62, 1
store i32 %63, i32* %16
%64 = sext i32 %62 to i64
%65 = getelementptr inbounds [15 x i8], [15 x i8]* %18, i64 0, i64 %64
store i8 %61, i8* %65
br label %66
66: ; preds = %57, %49
br label %67
67: ; preds = %66
%68 = load i32, i32* %15
%69 = add nsw i32 %68, 1
store i32 %69, i32* %15
br label %37
70: ; preds = %47
%71 = load i32, i32* %16
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [15 x i8], [15 x i8]* %18, i64 0, i64 %72
store i8 0, i8* %73
%74 = getelementptr inbounds [15 x i8], [15 x i8]* %18, i64 0, i64 0
%75 = call i32 (i8*, ...) bitcast (i32 (...)* @atof to i32 (i8*, ...)*)(i8* %74)
%76 = sitofp i32 %75 to double
%77 = load double*, double** %12
store double %76, double* %77
%78 = load i8*, i8** %13
%79 = load i8*, i8** %8
%80 = getelementptr inbounds i8, i8* %79, i64 39
%81 = call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @string_copy to i32 (i8*, i8*, i32, ...)*)(i8* %78, i8* %80, i32 8)
%82 = getelementptr inbounds [15 x i8], [15 x i8]* %17, i64 0, i64 0
%83 = load i8*, i8** %8
%84 = getelementptr inbounds i8, i8* %83, i64 49
%85 = call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @string_copy to i32 (i8*, i8*, i32, ...)*)(i8* %82, i8* %84, i32 12)
store i32 0, i32* %16
store i32 0, i32* %15
br label %86
86: ; preds = %116, %70
%87 = load i32, i32* %15
%88 = icmp slt i32 %87, 15
br i1 %88, label %89, label %96
89: ; preds = %86
%90 = load i32, i32* %15
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [15 x i8], [15 x i8]* %17, i64 0, i64 %91
%93 = load i8, i8* %92
%94 = sext i8 %93 to i32
%95 = icmp ne i32 %94, 0
br label %96
96: ; preds = %89, %86
%97 = phi i1 [ false, %86 ], [ %95, %89 ]
br i1 %97, label %98, label %119
98: ; preds = %96
%99 = load i32, i32* %15
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds [15 x i8], [15 x i8]* %17, i64 0, i64 %100
%102 = load i8, i8* %101
%103 = sext i8 %102 to i32
%104 = call i32 @isspace(i32 %103)
%105 = icmp ne i32 %104, 0
br i1 %105, label %115, label %106
106: ; preds = %98
%107 = load i32, i32* %15
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [15 x i8], [15 x i8]* %17, i64 0, i64 %108
%110 = load i8, i8* %109
%111 = load i32, i32* %16
%112 = add nsw i32 %111, 1
store i32 %112, i32* %16
%113 = sext i32 %111 to i64
%114 = getelementptr inbounds [15 x i8], [15 x i8]* %18, i64 0, i64 %113
store i8 %110, i8* %114
br label %115
115: ; preds = %106, %98
br label %116
116: ; preds = %115
%117 = load i32, i32* %15
%118 = add nsw i32 %117, 1
store i32 %118, i32* %15
br label %86
119: ; preds = %96
%120 = load i32, i32* %16
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [15 x i8], [15 x i8]* %18, i64 0, i64 %121
store i8 0, i8* %122
%123 = getelementptr inbounds [15 x i8], [15 x i8]* %18, i64 0, i64 0
%124 = call i32 (i8*, ...) bitcast (i32 (...)* @atof to i32 (i8*, ...)*)(i8* %123)
%125 = sitofp i32 %124 to double
%126 = load double*, double** %14
store double %125, double* %126
ret i32 0
}

LLVM IR (-O2):
define i32 @ParseDataLine(i8* %0, i8* %1, i8* %2, i8* %3, double* nocapture writeonly %4, i8* %5, double* nocapture writeonly %6) {
%8 = alloca [15 x i8]
%9 = alloca [15 x i8]
%10 = getelementptr inbounds [15 x i8], [15 x i8]* %8, i64 0, i64 0
%11 = getelementptr inbounds [15 x i8], [15 x i8]* %9, i64 0, i64 0
store double 0.000000e+00, double* %4
store double 0.000000e+00, double* %6
%12 = getelementptr inbounds i8, i8* %0, i64 1
%13 = tail call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @string_copy to i32 (i8*, i8*, i32, ...)*)(i8* %1, i8* %12, i32 2)
%14 = getelementptr inbounds i8, i8* %0, i64 4
%15 = tail call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @string_copy to i32 (i8*, i8*, i32, ...)*)(i8* %2, i8* %14, i32 8)
%16 = getelementptr inbounds i8, i8* %0, i64 14
%17 = tail call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @string_copy to i32 (i8*, i8*, i32, ...)*)(i8* %3, i8* %16, i32 8)
%18 = getelementptr inbounds i8, i8* %0, i64 24
%19 = call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @string_copy to i32 (i8*, i8*, i32, ...)*)(i8* %10, i8* %18, i32 12)
br label %20
20: ; preds = %7, %34
%21 = phi i64 [ 0, %7 ], [ %36, %34 ]
%22 = phi i32 [ 0, %7 ], [ %35, %34 ]
%23 = getelementptr inbounds [15 x i8], [15 x i8]* %8, i64 0, i64 %21
%24 = load i8, i8* %23
%25 = icmp eq i8 %24, 0
br i1 %25, label %38, label %26
26: ; preds = %20
%27 = sext i8 %24 to i32
%28 = call i32 @isspace(i32 %27)
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %34
30: ; preds = %26
%31 = add nsw i32 %22, 1
%32 = sext i32 %22 to i64
%33 = getelementptr inbounds [15 x i8], [15 x i8]* %9, i64 0, i64 %32
store i8 %24, i8* %33
br label %34
34: ; preds = %26, %30
%35 = phi i32 [ %22, %26 ], [ %31, %30 ]
%36 = add nuw nsw i64 %21, 1
%37 = icmp eq i64 %36, 15
br i1 %37, label %38, label %20
38: ; preds = %34, %20
%39 = phi i32 [ %35, %34 ], [ %22, %20 ]
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [15 x i8], [15 x i8]* %9, i64 0, i64 %40
store i8 0, i8* %41
%42 = call i32 (i8*, ...) bitcast (i32 (...)* @atof to i32 (i8*, ...)*)(i8* %11)
%43 = sitofp i32 %42 to double
store double %43, double* %4
%44 = getelementptr inbounds i8, i8* %0, i64 39
%45 = call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @string_copy to i32 (i8*, i8*, i32, ...)*)(i8* %5, i8* %44, i32 8)
%46 = getelementptr inbounds i8, i8* %0, i64 49
%47 = call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @string_copy to i32 (i8*, i8*, i32, ...)*)(i8* %10, i8* %46, i32 12)
br label %48
48: ; preds = %38, %62
%49 = phi i64 [ 0, %38 ], [ %64, %62 ]
%50 = phi i32 [ 0, %38 ], [ %63, %62 ]
%51 = getelementptr inbounds [15 x i8], [15 x i8]* %8, i64 0, i64 %49
%52 = load i8, i8* %51
%53 = icmp eq i8 %52, 0
br i1 %53, label %66, label %54
54: ; preds = %48
%55 = sext i8 %52 to i32
%56 = call i32 @isspace(i32 %55)
%57 = icmp eq i32 %56, 0
br i1 %57, label %58, label %62
58: ; preds = %54
%59 = add nsw i32 %50, 1
%60 = sext i32 %50 to i64
%61 = getelementptr inbounds [15 x i8], [15 x i8]* %9, i64 0, i64 %60
store i8 %52, i8* %61
br label %62
62: ; preds = %54, %58
%63 = phi i32 [ %50, %54 ], [ %59, %58 ]
%64 = add nuw nsw i64 %49, 1
%65 = icmp eq i64 %64, 15
br i1 %65, label %66, label %48
66: ; preds = %62, %48
%67 = phi i32 [ %63, %62 ], [ %50, %48 ]
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [15 x i8], [15 x i8]* %9, i64 0, i64 %68
store i8 0, i8* %69
%70 = call i32 (i8*, ...) bitcast (i32 (...)* @atof to i32 (i8*, ...)*)(i8* %11)
%71 = sitofp i32 %70 to double
store double %71, double* %6
ret i32 0
}