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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  xor    %r12d,%r12d
  push   %rbp
  push   %rbx
  sub    $0xe8,%rsp
  movdqa D10(%rip),%xmm0
  mov    %fs:0x28,%rax
  mov    %rax,0xd8(%rsp)
  xor    %eax,%eax
  mov    $0xffffffff,%eax
  lea    0x10(%rsp),%r14
  lea    0xd8(%rsp),%rbp
  movups %xmm0,0x78(%rsp)
  movdqa D28(%rip),%xmm0
  mov    %rax,0x30(%rsp)
  lea    0x78(%rsp),%rax
  movups %xmm0,0x88(%rsp)
  movdqa D67(%rip),%xmm0
  mov    %rax,0x8(%rsp)
  lea    0x40(%rsp),%rax
  movups %xmm0,0x98(%rsp)
  movdqa D83(%rip),%xmm0
  mov    %rax,(%rsp)
  movups %xmm0,0xa8(%rsp)
  movdqa D86(%rip),%xmm0
  movups %xmm0,0xb8(%rsp)
  movdqa D81(%rip),%xmm0
  movups %xmm0,0xc8(%rsp)
  movdqa D12(%rip),%xmm0
  movaps %xmm0,0x10(%rsp)
  movdqa D15(%rip),%xmm0
  movaps %xmm0,0x20(%rsp)
L24:
  mov    (%r14,%r12,1),%rdx
  mov    0x8(%rsp),%r13
  mov    %rdx,%rbx
  lea    0x1a37f7fb(%rdx),%r15d
  shr    $0x20,%rbx
  sub    $0x64442738,%ebx
  nopl   0x0(%rax)
L31:
  xor    %r15d,%ebx
  mov    %r15d,%esi
  add    $0x8,%r13
  mov    %ebx,%edi
  and    $0x1f,%esi
  call   <rotl@plt>
  add    -0x8(%r13),%eax
  mov    %r15d,%edi
  mov    %eax,%esi
  xor    %eax,%edi
  mov    %eax,%ebx
  and    $0x1f,%esi
  call   <rotl@plt>
  add    -0x4(%r13),%eax
  mov    %eax,%r15d
  cmp    %r13,%rbp
  jne    L31
  mov    %eax,%edx
  shl    $0x20,%rbx
  mov    (%rsp),%rax
  or     %rdx,%rbx
  mov    %rbx,(%rax,%r12,1)
  add    $0x8,%r12
  cmp    $0x28,%r12
  jne    L24
  lea    D93(%rip),%rdx
  lea    D100(%rip),%rsi
  xor    %eax,%eax
  xor    %ebx,%ebx
  lea    D66(%rip),%rdi
  lea    D91(%rip),%rbp
  call   <printf@plt>
L19:
  mov    (%rsp),%rax
  mov    (%r14,%rbx,1),%rsi
  mov    %rbp,%rdi
  mov    (%rax,%rbx,1),%rdx
  xor    %eax,%eax
  add    $0x8,%rbx
  call   <printf@plt>
  cmp    $0x28,%rbx
  jne    L19
  mov    0xd8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L6
  add    $0xe8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L6:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: label: D10
datatype: byte[16]
name: retrieve_data
arguments: label: D28
datatype: byte[16]
name: retrieve_data
arguments: label: D67
datatype: byte[16]
name: retrieve_data
arguments: label: D83
datatype: byte[16]
name: retrieve_data
arguments: label: D86
datatype: byte[16]
name: retrieve_data
arguments: label: D81
datatype: byte[16]
name: retrieve_data
arguments: label: D12
datatype: byte[16]
name: retrieve_data
arguments: label: D15
datatype: byte[16]
name: retrieve_data
arguments: label: D93
datatype: string
name: retrieve_data
arguments: label: D100
datatype: string
name: retrieve_data
arguments: label: D66
datatype: string
name: retrieve_data
arguments: label: D91
datatype: string

tool: {"D10": [0xc5,0xe8,0xf8,0x46,0x85,0x60,0x0c,0x46,0x8a,0x3b,0xf8,0x70,0x03,0x83,0x4b,0x28]}

tool: {"D28": [0x54,0x14,0x3e,0x51,0x22,0xed,0x21,0xf6,0x5d,0x06,0x25,0x31,0x5d,0x3a,0xa8,0x11]}

tool: {"D67": [0x6b,0x68,0x27,0xd4,0x2d,0xd8,0x3a,0x71,0x99,0x2f,0x79,0x4b,0xdd,0xa4,0x99,0x27]}

tool: {"D83": [0x49,0x1c,0x90,0xa7,0x1a,0x87,0xde,0xde,0x96,0x31,0xc0,0x36,0x49,0xc2,0xef,0xa7]}

tool: {"D86": [0xb8,0x8b,0xa7,0x61,0x2b,0x1d,0x0a,0x3b,0x76,0xca,0xbf,0x4d,0x67,0x21,0x16,0xae]}

tool: {"D81": [0x0a,0x6b,0xd7,0x30,0x04,0x23,0x19,0x43,0x31,0x14,0xcc,0xf6,0x80,0x63,0x04,0x65]}

tool: {"D12": [0x10,0x32,0x54,0x76,0x98,0xba,0xdc,0xfe,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

tool: {"D15": [0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff]}

tool: D93: : RESULT

tool: D100: INPUT

tool: D66: %s%22s


tool: D91: 0x%016llX : 0x%016llX


assistant: ```c
int main() {
  int i, s;
  int skey[26] = {0x9BBBD8C8, 0x1A37F7FB, 0x46F8E8C5, 0x460C6085, 0x70F83B8A, 0x284B8303, 0x513E1454, 0xF621ED22, 0x3125065D, 0x11A83A5D, 0xD427686B, 0x713AD82D, 0x4B792F99, 0x2799A4DD, 0xA7901C49, 0xDEDE871A, 0x36C03196, 0xA7EFC249, 0x61A78BB8, 0x3B0A1D2B, 0x4DBFCA76, 0xAE162167, 0x30D76B0A, 0x43192304, 0xF6CC1431, 0x65046380};
  unsigned long long din[5] = {0xFEDCBA9876543210, 0x0000000000000000, 0xFFFFFFFFFFFFFFFF, 0xFFFFFFFF00000000, 0x00000000FFFFFFFF};
  unsigned long long dout[5];
  unsigned long long sig = 0;
  unsigned long long res = 0;
  unsigned int A = 0;
  unsigned int B = 0;
  for (s = 0; s < 5; s++) {
    sig = din[s];
    A = sig >> 32;
    B = sig & 0xFFFFFFFF;
    A += skey[0];
    B += skey[1];
    for (i = 1; i <= 12; i++) {
      A ^= B;
      A = rotl(A, B & 0x1f);
      A += skey[2 * i];
      B ^= A;
      B = rotl(B, A & 0x1f);
      B += skey[2 * i + 1];
    }
    res = (long long)A << 32 | B;
    dout[s] = res;
  }
  printf("%s%22s\n", "INPUT", ": RESULT");
  for (i = 0; i < 5; i++) {
    printf("0x%016llX : 0x%016llX\n", din[i], dout[i]);
  }
  return 0;
}
```