user: Translate the below assembly code into C programming language:

```asm
<generate_tune1>:
  endbr64
  push   %rbx
  lea    D129(%rip),%rdi
  call   <puts@plt>
  mov    $0x2f6,%ebx
L7:
  lea    (%rbx,%rbx,1),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  divsd  D128(%rip),%xmm0
  mulsd  D132(%rip),%xmm0
  addsd  D102(%rip),%xmm0
  cvttsd2si %xmm0,%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebx,%xmm0
  mulsd  D28(%rip),%xmm0
  divsd  D115(%rip),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  divsd  %xmm1,%xmm0
  mulsd  D102(%rip),%xmm0
  mulsd  D102(%rip),%xmm0
  addsd  %xmm0,%xmm0
  mulsd  D1(%rip),%xmm0
  mulsd  D82(%rip),%xmm0
  divsd  D87(%rip),%xmm0
  mulsd  D73(%rip),%xmm0
  cvttsd2si %xmm0,%esi
  lea    0xe(%rbx),%ecx
  movslq %ecx,%rdx
  imul   $0xffffffff88888889,%rdx,%rdx
  shr    $0x20,%rdx
  add    %ecx,%edx
  sar    $0x3,%edx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  sub    $0x30,%edx
  shl    $0x4,%edx
  movslq %ebx,%rcx
  imul   $0xffffffff88888889,%rcx,%rcx
  shr    $0x20,%rcx
  add    %ebx,%ecx
  sar    $0x3,%ecx
  mov    %ebx,%edi
  sar    $0x1f,%edi
  sub    %edi,%ecx
  mov    %ecx,%edi
  shl    $0x4,%edi
  sub    %ecx,%edi
  mov    %ebx,%ecx
  sub    %edi,%ecx
  or     %ecx,%edx
  and    $0x1ff,%edx
  shl    $0x9,%eax
  and    $0x7e00,%eax
  or     %eax,%edx
  mov    %esi,%ecx
  mov    %ebx,%esi
  lea    D35(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x1,%ebx
  cmp    $0x43b,%ebx
  jne    L7
  lea    D63(%rip),%rdi
  call   <puts@plt>
  pop    %rbx
  ret
```

tool_calls: name: parse_data
arguments: data_label: D129
data_type: string
name: parse_data
arguments: data_label: D128
data_type: f64
name: parse_data
arguments: data_label: D132
data_type: byte[8]
name: parse_data
arguments: data_label: D102
data_type: f64
name: parse_data
arguments: data_label: D28
data_type: f64
name: parse_data
arguments: data_label: D115
data_type: f64
name: parse_data
arguments: data_label: D1
data_type: f64
name: parse_data
arguments: data_label: D82
data_type: f64
name: parse_data
arguments: data_label: D87
data_type: f64
name: parse_data
arguments: data_label: D73
data_type: byte[8]
name: parse_data
arguments: data_label: D35
data_type: string
name: parse_data
arguments: data_label: D63
data_type: string

tool: D129: const struct stfm1000_tune1
stfm1000_tune1_table[STFM1000_FREQUENCY_100KHZ_RANGE] = {

tool: D128: 3

tool: {"D132": [0x00,0x00,0x00,0x00,0x00,0x00,0xb0,0x3f]}

tool: D102: 0.5

tool: D28: 100000

tool: D115: 1.5

tool: D1: 8

tool: D82: 256

tool: D87: 228000

tool: {"D73": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x40]}

tool: D35: 	[%d - STFM1000_FREQUENCY_100KHZ_MIN] = { .tune1 = 0x%08x, .sdnom = 0x%08x },


tool: D63: };

assistant: ```c
void generate_tune1(void) {
  int start, end;
  int ndiv;
  int incr;
  int cicosr;
  int sdnominal;
  int i, temp;
  start = 758;
  end = start + 325;
  printf("const struct stfm1000_tune1\n"
         "stfm1000_tune1_table[STFM1000_FREQUENCY_100KHZ_RANGE] = {\n");
  for (i = start; i < end; i++) {
    ndiv = (int)((i + 14) / 15) - 48;
    incr = i - (int)(i / 15) * 15;
    cicosr = (int)(i * 2 / 3.0 / 16.0 + 0.5);
    sdnominal = (int)(i * 100.0e3 / 1.5 / (double)cicosr / 2.0 / 2.0 * 2.0 * 8.0 * 256.0 / 228.0e3 * 65536);
    temp = 0x00000000;
    temp = temp | ((cicosr << 9) & 0x00007E00);
    temp = temp | ((ndiv << 4) & 0x000001FF);
    temp = temp | ((incr)&0x000001FF);
    printf("\t[%d - STFM1000_FREQUENCY_100KHZ_MIN] = "
           "{ .tune1 = 0x%08x, .sdnom = 0x%08x },\n",
           i, temp, sdnominal);
  }
  printf("};\n");
}
```