user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %edi,%ebx
  mov    %rsi,%rbp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x24(%rsp)
  mov    $0xffffffff,%edi
  call   <acos@plt>
  movsd  %xmm0,0x8(%rsp)
  cmp    $0x4,%ebx
  je     L5
L9:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L26
  mov    $0x0,%eax
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  ret
L5:
  lea    0x1c(%rsp),%rdx
  mov    0x8(%rbp),%rdi
  lea    D103(%rip),%rbx
  mov    %rbx,%rsi
  call   <sscanf@plt>
  lea    0x20(%rsp),%rdx
  mov    0x10(%rbp),%rdi
  mov    %rbx,%rsi
  call   <sscanf@plt>
  lea    0x24(%rsp),%rdx
  mov    0x18(%rbp),%rdi
  mov    %rbx,%rsi
  call   <sscanf@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x1c(%rsp),%xmm0
  mulsd  0x8(%rsp),%xmm0
  divsd  D2(%rip),%xmm0
  call   <cos@plt>
  imul   0x24(%rsp),%eax
  mov    %eax,%ebx
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x1c(%rsp),%xmm0
  mulsd  0x8(%rsp),%xmm0
  divsd  D2(%rip),%xmm0
  call   <sin@plt>
  imul   0x24(%rsp),%eax
  mov    %eax,%esi
  mov    %ebx,%edx
  lea    D0(%rip),%rdi
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x20(%rsp),%xmm0
  mulsd  0x8(%rsp),%xmm0
  divsd  D2(%rip),%xmm0
  call   <cos@plt>
  imul   0x24(%rsp),%eax
  mov    %eax,%ebx
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x20(%rsp),%xmm0
  mulsd  0x8(%rsp),%xmm0
  divsd  D2(%rip),%xmm0
  call   <sin@plt>
  imul   0x24(%rsp),%eax
  mov    %eax,%esi
  mov    %ebx,%edx
  lea    D18(%rip),%rdi
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x20(%rsp),%xmm0
  mulsd  0x8(%rsp),%xmm0
  divsd  D2(%rip),%xmm0
  call   <cos@plt>
  mov    %eax,%ebp
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x1c(%rsp),%xmm0
  mulsd  0x8(%rsp),%xmm0
  divsd  D2(%rip),%xmm0
  call   <cos@plt>
  sub    %eax,%ebp
  imul   0x24(%rsp),%ebp
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x20(%rsp),%xmm0
  mulsd  0x8(%rsp),%xmm0
  divsd  D2(%rip),%xmm0
  call   <sin@plt>
  mov    %eax,%ebx
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x1c(%rsp),%xmm0
  mulsd  0x8(%rsp),%xmm0
  divsd  D2(%rip),%xmm0
  call   <sin@plt>
  sub    %eax,%ebx
  mov    %ebx,%esi
  imul   0x24(%rsp),%esi
  mov    %ebp,%edx
  lea    D63(%rip),%rdi
  call   <printf@plt>
  jmp    L9
L26:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: tag: D103
data_type: string
name: extract_symbolic_data
arguments: tag: D2
data_type: byte[8]
name: extract_symbolic_data
arguments: tag: D0
data_type: string
name: extract_symbolic_data
arguments: tag: D18
data_type: string
name: extract_symbolic_data
arguments: tag: D63
data_type: string

tool: D103: %d

tool: {"D2": [0x00,0x00,0x00,0x00,0x00,0x80,0x66,0x40]}

tool: D0: (x1,y1) : (%f,%f)


tool: D18: (x2,y2) : (%f,%f)


tool: D63: Vector : (%f,%f)


assistant: ```c
int main(int argc, char **argv) {
  int tTa1, tTa2;
  int r = 0;
  double pi = acos(-1);
  if (argc == 4) {
    sscanf(argv[1], "%d", &tTa1);
    sscanf(argv[2], "%d", &tTa2);
    sscanf(argv[3], "%d", &r);
    printf("(x1,y1) : (%f,%f)\n", r * sin(pi * tTa1 / 180), r * cos(pi * tTa1 / 180));
    printf("(x2,y2) : (%f,%f)\n", r * sin(pi * tTa2 / 180), r * cos(pi * tTa2 / 180));
    printf("Vector : (%f,%f)\n", r * (sin(pi * tTa2 / 180) - sin(pi * tTa1 / 180)), r * (cos(pi * tTa2 / 180) - cos(pi * tTa1 / 180)));
  } else {
  }
  return 0;
}
```