user: 下面的汇编指令对应的C源代码是什么:

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  cmp    $0x2,%edi
  je     L90
  mov    (%rsi),%rsi
  lea    D24(%rip),%rdi
  call   <printf@plt>
  lea    D130(%rip),%rdi
  call   <puts@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    $0x1,%edi
  call   <exit@plt>
L90:
  mov    0x8(%rbx),%rdi
  lea    0x4(%rsp),%rdx
  lea    D14(%rip),%rsi
  call   <sscanf@plt>
  cmp    $0x1,%eax
  je     L94
  lea    D109(%rip),%rdi
  call   <puts@plt>
  mov    $0x1,%edi
  call   <exit@plt>
L94:
  mov    0x4(%rsp),%ebx
  test   %ebx,%ebx
  jle    L46
L71:
  test   %ebx,%ebx
  lea    0x3(%rbx),%ebp
  lea    D56(%rip),%rdi
  cmovns %ebx,%ebp
  call   <puts@plt>
  mov    0x4(%rsp),%esi
  lea    D8(%rip),%rdi
  xor    %eax,%eax
  sar    $0x2,%ebp
  call   <printf@plt>
  xor    %eax,%eax
  mov    %ebp,%esi
  lea    D29(%rip),%rdi
  call   <printf@plt>
  cmp    $0x3,%ebx
  jle    L91
  lea    -0x1(%rbp),%r13d
  xor    %ebx,%ebx
  lea    D133(%rip),%r12
  lea    D67(%rip),%r14
  jmp    L0
  nopl   0x0(%rax,%rax,1)
L54:
  add    $0x1,%ebx
  cmp    %ebx,%ebp
  jle    L91
L0:
  pxor   %xmm1,%xmm1
  movsd  D68(%rip),%xmm0
  cvtsi2sdl 0x4(%rsp),%xmm1
  divsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sd %ebx,%xmm1
  mulsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%edi
  call   <sin@plt>
  mulsd  D32(%rip),%xmm0
  xor    %eax,%eax
  mov    %r12,%rdi
  addsd  D98(%rip),%xmm0
  cvttsd2si %xmm0,%rsi
  call   <printf@plt>
  cmp    %r13d,%ebx
  je     L60
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
L60:
  mov    %ebx,%eax
  and    $0x7,%eax
  cmp    $0x7,%eax
  jne    L54
  mov    $0xa,%edi
  add    $0x1,%ebx
  call   <putchar@plt>
  cmp    %ebx,%ebp
  jg     L0
  nopl   0x0(%rax,%rax,1)
L91:
  lea    D117(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L15
  add    $0x10,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L46:
  lea    D109(%rip),%rdi
  call   <puts@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  mov    0x4(%rsp),%ebx
  jmp    L71
L15:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D24
type_infered: string
name: disassemble_data
arguments: tag: D130
type_infered: string
name: disassemble_data
arguments: tag: D14
type_infered: string
name: disassemble_data
arguments: tag: D109
type_infered: string
name: disassemble_data
arguments: tag: D56
type_infered: string
name: disassemble_data
arguments: tag: D8
type_infered: string
name: disassemble_data
arguments: tag: D29
type_infered: string
name: disassemble_data
arguments: tag: D133
type_infered: string
name: disassemble_data
arguments: tag: D67
type_infered: string
name: disassemble_data
arguments: tag: D68
type_infered: byte[8]
name: disassemble_data
arguments: tag: D32
type_infered: byte[8]
name: disassemble_data
arguments: tag: D98
type_infered: f64
name: disassemble_data
arguments: tag: D117
type_infered: string

tool: D24: Usage: %s <size>


tool: D130:   <size>: size of (complex) FFT

tool: D14: %d

tool: D109: Error: Invalid size

tool: D56: // Table generated using gen_twiddle.

tool: D8: // FFT size: %d.


tool: D29: const uint16_t twiddle_factor_lookup[%d] = {


tool: D133: 0x%04x

tool: D67: , 

tool: {"D68": [0x18,0x2d,0x44,0x54,0xfb,0x21,0x19,0x40]}

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

tool: D98: 0.5

tool: D117: };

assistant: ```c
int main(int argc, char **argv) {
  int i;
  int fft_size;
  int table_size;
  unsigned int out;
  if (argc != 2) {
    printf("Usage: %s <size>\n", argv[0]);
    printf("  <size>: size of (complex) FFT\n");
    printf("\n");
    exit(1);
  }
  if (sscanf(argv[1], "%d", &fft_size) != 1) {
    printf("Error: Invalid size\n");
    exit(1);
  }
  if (fft_size <= 0) {
    printf("Error: Invalid size\n");
    exit(1);
  }
  table_size = (fft_size / 4);
  printf("// Table generated using gen_twiddle.\n");
  printf("// FFT size: %d.\n", fft_size);
  printf("const uint16_t twiddle_factor_lookup[%d] = {\n", table_size);
  for (i = 0; i < table_size; i++) {
    out = (unsigned int)(sin(i * (2.0 * 3.141592653589793238462643 / (double)fft_size)) * (double)0x00010000 + 0.5);
    printf("0x%04x", out);
    if (i != (table_size - 1)) {
      printf(", ");
    }
    if ((i % 8) == (8 - 1)) {
      printf("\n");
    }
  }
  printf("};\n");
}
```