user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<xSinTable>:
  endbr64
  sub    $0x1,%edi
  pxor   %xmm0,%xmm0
  cmp    $0x3d,%edi
  ja     L2
  lea    D1(%rip),%rax
  movsd  (%rax,%rdi,8),%xmm0
L2:
  ret
```

tool_calls: name: read_data
arguments: data_label: D1
type_guessed: f64

tool: D1: 0.099833

assistant: ```c
double xSinTable(const int details) {
  double result;
  if (details == 0) {
    result = 0.000000;
  } else if (details == 1) {
    result = 0.099833;
  } else if (details == 2) {
    result = 0.198669;
  } else if (details == 3) {
    result = 0.295520;
  } else if (details == 4) {
    result = 0.389418;
  } else if (details == 5) {
    result = 0.479426;
  } else if (details == 6) {
    result = 0.564642;
  } else if (details == 7) {
    result = 0.644218;
  } else if (details == 8) {
    result = 0.717356;
  } else if (details == 9) {
    result = 0.783327;
  } else if (details == 10) {
    result = 0.841471;
  } else if (details == 11) {
    result = 0.891207;
  } else if (details == 12) {
    result = 0.932039;
  } else if (details == 13) {
    result = 0.963558;
  } else if (details == 14) {
    result = 0.985450;
  } else if (details == 15) {
    result = 0.997495;
  } else if (details == 16) {
    result = 0.999574;
  } else if (details == 17) {
    result = 0.991665;
  } else if (details == 18) {
    result = 0.973848;
  } else if (details == 19) {
    result = 0.946300;
  } else if (details == 20) {
    result = 0.909297;
  } else if (details == 21) {
    result = 0.863209;
  } else if (details == 22) {
    result = 0.808496;
  } else if (details == 23) {
    result = 0.745705;
  } else if (details == 24) {
    result = 0.675463;
  } else if (details == 25) {
    result = 0.598472;
  } else if (details == 26) {
    result = 0.515501;
  } else if (details == 27) {
    result = 0.427380;
  } else if (details == 28) {
    result = 0.334988;
  } else if (details == 29) {
    result = 0.239249;
  } else if (details == 30) {
    result = 0.141120;
  } else if (details == 31) {
    result = 0.041581;
  } else if (details == 32) {
    result = -0.058374;
  } else if (details == 33) {
    result = -0.157746;
  } else if (details == 34) {
    result = -0.255541;
  } else if (details == 35) {
    result = -0.350783;
  } else if (details == 36) {
    result = -0.442520;
  } else if (details == 37) {
    result = -0.529836;
  } else if (details == 38) {
    result = -0.611858;
  } else if (details == 39) {
    result = -0.687766;
  } else if (details == 40) {
    result = -0.756802;
  } else if (details == 41) {
    result = -0.818277;
  } else if (details == 42) {
    result = -0.871576;
  } else if (details == 43) {
    result = -0.916166;
  } else if (details == 44) {
    result = -0.951602;
  } else if (details == 45) {
    result = -0.977530;
  } else if (details == 46) {
    result = -0.993691;
  } else if (details == 47) {
    result = -0.999923;
  } else if (details == 48) {
    result = -0.996165;
  } else if (details == 49) {
    result = -0.982453;
  } else if (details == 50) {
    result = -0.958924;
  } else if (details == 51) {
    result = -0.925815;
  } else if (details == 52) {
    result = -0.883455;
  } else if (details == 53) {
    result = -0.832267;
  } else if (details == 54) {
    result = -0.772764;
  } else if (details == 55) {
    result = -0.705540;
  } else if (details == 56) {
    result = -0.631267;
  } else if (details == 57) {
    result = -0.550686;
  } else if (details == 58) {
    result = -0.464602;
  } else if (details == 59) {
    result = -0.373877;
  } else if (details == 60) {
    result = -0.279415;
  } else if (details == 61) {
    result = -0.182163;
  } else if (details == 62) {
    result = -0.083089;
  } else {
    result = 0.0;
  }
  return result;
}
```