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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  movsd  D42(%rip),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  D21(%rip),%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movsd  -0x40(%rbp),%xmm0
  mulsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movsd  D32(%rip),%xmm0
  movsd  %xmm0,-0x48(%rbp)
  movsd  -0x40(%rbp),%xmm0
  movsd  D3(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  -0x38(%rbp),%xmm0
  movsd  D3(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  jmp    L34
L12:
  movsd  -0x28(%rbp),%xmm0
  mov    -0x48(%rbp),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <gcd@plt>
  cmp    $0x1,%eax
  je     L6
  movsd  -0x48(%rbp),%xmm1
  movsd  D3(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x48(%rbp)
L34:
  movsd  -0x28(%rbp),%xmm0
  comisd -0x48(%rbp),%xmm0
  ja     L12
  jmp    L3
L6:
  nop
L3:
  movl   $0x2,-0x4c(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x4c(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x28(%rbp),%xmm1
  movsd  D3(%rip),%xmm0
  addsd  %xmm1,%xmm0
  divsd  -0x48(%rbp),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movsd  D31(%rip),%xmm0
  movsd  %xmm0,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  movq   %rax,%xmm0
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  movsd  -0x48(%rbp),%xmm0
  mov    -0x18(%rbp),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <pow@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x10(%rbp)
  movsd  -0x30(%rbp),%xmm0
  mov    -0x10(%rbp),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <fmod@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  movq   %rax,%xmm0
  lea    D73(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  movsd  -0x20(%rbp),%xmm0
  mov    -0x10(%rbp),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <pow@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x8(%rbp)
  movsd  -0x30(%rbp),%xmm0
  mov    -0x8(%rbp),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <fmod@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  movq   %rax,%xmm0
  lea    D17(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_label: D42
datatype: f64
name: unpack_data
arguments: data_label: D21
datatype: f64
name: unpack_data
arguments: data_label: D32
datatype: f64
name: unpack_data
arguments: data_label: D3
datatype: f64
name: unpack_data
arguments: data_label: D31
datatype: f64
name: unpack_data
arguments: data_label: D75
datatype: string
name: unpack_data
arguments: data_label: D73
datatype: string
name: unpack_data
arguments: data_label: D17
datatype: string

tool: D42: 3

tool: D21: 7

tool: D32: 2

tool: D3: 1

tool: D31: 12

tool: D75: Message data = %lf

tool: D73: 
Encrypted data = %lf

tool: D17: 
Original Message Sent = %lf

assistant: ```c
int main() {
  double p = 3;
  double q = 7;
  double n = p * q;
  double e = 2;
  double phi = (p - 1) * (q - 1);
  while (e < phi) {
    if (gcd(e, phi) == 1)
      break;
    else
      e++;
  }
  int k = 2;
  double d = (1 + (k * phi)) / e;
  double msg = 12;
  printf("Message data = %lf", msg);
  double c = pow(msg, e);
  c = fmod(c, n);
  printf("\nEncrypted data = %lf", c);
  double m = pow(c, d);
  m = fmod(m, n);
  printf("\nOriginal Message Sent = %lf", m);
  return 0;
}
```