user: What is the c source code of the assembly code below:

```asm
<main>:
  endbr64
  push   %r15
  mov    $0x30,%edi
  xor    %r15d,%r15d
  push   %r14
  push   %r13
  push   %r12
  mov    %r15d,%r12d
  push   %rbp
  push   %rbx
  sub    $0x1f8,%rsp
  movdqa D92(%rip),%xmm0
  movdqa D128(%rip),%xmm1
  mov    %fs:0x28,%rax
  mov    %rax,0x1e8(%rsp)
  xor    %eax,%eax
  movabs $0x347c69489a42fb2d,%rax
  movl   $0x86a86d00,0x13c(%rsp)
  movaps %xmm0,0x140(%rsp)
  movdqa D93(%rip),%xmm0
  movaps %xmm1,0x160(%rsp)
  movaps %xmm0,0x150(%rsp)
  movaps %xmm0,0x170(%rsp)
  movdqa D106(%rip),%xmm0
  mov    %rax,0x134(%rsp)
  movaps %xmm0,0x180(%rsp)
  movdqa D40(%rip),%xmm0
  movaps %xmm0,0x190(%rsp)
  movdqa D285(%rip),%xmm0
  movaps %xmm0,0x1a0(%rsp)
  movdqa D118(%rip),%xmm0
  movaps %xmm0,0x30(%rsp)
  movdqa D117(%rip),%xmm0
  movaps %xmm0,0x40(%rsp)
  movdqa D319(%rip),%xmm0
  movaps %xmm0,0x50(%rsp)
  movdqa D255(%rip),%xmm0
  movaps %xmm0,0x60(%rsp)
  movdqa D155(%rip),%xmm0
  movaps %xmm0,0x70(%rsp)
  movdqa D286(%rip),%xmm0
  movaps %xmm0,0x80(%rsp)
  movdqa D119(%rip),%xmm0
  movaps %xmm0,0x90(%rsp)
  movdqa D83(%rip),%xmm0
  movaps %xmm0,0xa0(%rsp)
  movdqa D167(%rip),%xmm0
  movaps %xmm0,0xb0(%rsp)
  movdqa D263(%rip),%xmm0
  movaps %xmm0,0xc0(%rsp)
  movdqa D146(%rip),%xmm0
  movaps %xmm0,0xd0(%rsp)
  movdqa D28(%rip),%xmm0
  movaps %xmm0,0xe0(%rsp)
  movdqa D87(%rip),%xmm0
  movaps %xmm0,0xf0(%rsp)
  movdqa D180(%rip),%xmm0
  movaps %xmm0,0x100(%rsp)
  movdqa D275(%rip),%xmm0
  movaps %xmm0,0x110(%rsp)
  movdqa D150(%rip),%xmm0
  movaps %xmm0,0x120(%rsp)
  movdqa D137(%rip),%xmm0
  movaps %xmm0,0x1b0(%rsp)
  movdqa D219(%rip),%xmm0
  movaps %xmm0,0x1c0(%rsp)
  movdqa D214(%rip),%xmm0
  movaps %xmm0,0x1d0(%rsp)
  call   <malloc@plt>
  mov    $0x10,%edi
  mov    %rax,%r14
  call   <malloc@plt>
  lea    0x150(%rsp),%r8
  mov    %rax,%r13
  lea    0x30(%rsp),%rax
  mov    %rax,0x28(%rsp)
  lea    0x134(%rsp),%rax
  mov    %rax,0x10(%rsp)
  lea    0x140(%rsp),%rax
  mov    %rax,0x20(%rsp)
  lea    0x180(%rsp),%rax
  mov    %rax,0x8(%rsp)
  lea    0x1b0(%rsp),%rax
  mov    %rax,0x18(%rsp)
L4:
  mov    %r12d,%ebp
  mov    0x28(%rsp),%rbx
  xor    %r15d,%r15d
  shl    $0x4,%ebp
L20:
  push   %r15
  mov    %r12d,%r9d
  mov    %r13,%rsi
  mov    %r14,%rdi
  push   0x10(%rsp)
  mov    0x20(%rsp),%rcx
  xor    %eax,%eax
  mov    0x30(%rsp),%rdx
  mov    %r8,0x10(%rsp)
  call   <aes128gcm@plt>
  mov    %r15d,%edx
  mov    %r12d,%esi
  xor    %eax,%eax
  lea    D107(%rip),%rdi
  call   <printf@plt>
  mov    0x28(%rsp),%rsi
  mov    %ebp,%edx
  mov    %r14,%rdi
  call   <memcmp@plt>
  lea    D240(%rip),%rsi
  pop    %rdx
  pop    %rcx
  test   %eax,%eax
  lea    D158(%rip),%rax
  lea    D34(%rip),%rdi
  cmove  %rax,%rsi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbx,%rsi
  mov    $0x10,%edx
  mov    %r13,%rdi
  call   <memcmp@plt>
  lea    D240(%rip),%rsi
  lea    D251(%rip),%rdi
  test   %eax,%eax
  lea    D158(%rip),%rax
  cmove  %rax,%rsi
  xor    %eax,%eax
  add    $0x1,%r15d
  add    $0x10,%rbx
  call   <printf@plt>
  cmp    $0x4,%r15d
  mov    (%rsp),%r8
  jne    L20
  add    $0x1,%r12d
  addq   $0x40,0x28(%rsp)
  cmp    $0x4,%r12d
  jne    L4
  mov    %r14,%rdi
  call   <free@plt>
  mov    %r13,%rdi
  call   <free@plt>
  mov    0x1e8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L5
  add    $0x1f8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L5:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_tag: D92
type: byte[16]
name: retrieve_data
arguments: data_tag: D128
type: byte[16]
name: retrieve_data
arguments: data_tag: D93
type: byte[16]
name: retrieve_data
arguments: data_tag: D106
type: byte[16]
name: retrieve_data
arguments: data_tag: D40
type: byte[16]
name: retrieve_data
arguments: data_tag: D285
type: byte[16]
name: retrieve_data
arguments: data_tag: D118
type: byte[16]
name: retrieve_data
arguments: data_tag: D117
type: byte[16]
name: retrieve_data
arguments: data_tag: D319
type: byte[16]
name: retrieve_data
arguments: data_tag: D255
type: byte[16]
name: retrieve_data
arguments: data_tag: D155
type: byte[16]
name: retrieve_data
arguments: data_tag: D286
type: byte[16]
name: retrieve_data
arguments: data_tag: D119
type: byte[16]
name: retrieve_data
arguments: data_tag: D83
type: byte[16]
name: retrieve_data
arguments: data_tag: D167
type: byte[16]
name: retrieve_data
arguments: data_tag: D263
type: byte[16]
name: retrieve_data
arguments: data_tag: D146
type: byte[16]
name: retrieve_data
arguments: data_tag: D28
type: byte[16]
name: retrieve_data
arguments: data_tag: D87
type: byte[16]
name: retrieve_data
arguments: data_tag: D180
type: byte[16]
name: retrieve_data
arguments: data_tag: D275
type: byte[16]
name: retrieve_data
arguments: data_tag: D150
type: byte[16]
name: retrieve_data
arguments: data_tag: D137
type: byte[16]
name: retrieve_data
arguments: data_tag: D219
type: byte[16]
name: retrieve_data
arguments: data_tag: D214
type: byte[16]
name: retrieve_data
arguments: data_tag: D107
type: string
name: retrieve_data
arguments: data_tag: D240
type: string
name: retrieve_data
arguments: data_tag: D158
type: string
name: retrieve_data
arguments: data_tag: D34
type: string
name: retrieve_data
arguments: data_tag: D251
type: string

tool: {"D92": [0x98,0xff,0xf6,0x7e,0x64,0xe4,0x6b,0xe5,0xee,0x2e,0x05,0xcc,0x9a,0xf6,0xd0,0x12]}

tool: {"D128": [0x7a,0xfc,0x9e,0x1a,0xca,0x83,0xe1,0x29,0xb0,0x85,0xbd,0x63,0x7f,0xf6,0x7c,0x01]}

tool: {"D93": [0x29,0xb9,0x1b,0x4a,0x68,0xa9,0x9f,0x97,0xc4,0x1c,0x75,0x08,0xf1,0x7a,0x5c,0x7a]}

tool: {"D106": [0xa0,0xca,0x58,0x61,0xc0,0x22,0x6c,0x5b,0x5a,0x65,0x14,0xc8,0x2b,0x77,0x81,0x5a]}

tool: {"D40": [0x9e,0x0e,0xb3,0x59,0xd0,0xd4,0x6d,0x03,0x33,0xc3,0xf2,0xba,0xe1,0x4d,0xa0,0xc4]}

tool: {"D285": [0x03,0x30,0xc0,0x02,0x16,0xb4,0xaa,0x64,0xb7,0xc1,0xed,0xb8,0x71,0xc3,0x28,0xf6]}

tool: {"D118": [0xec,0x1c,0x5a,0xff,0xad,0x2c,0xad,0xb9,0xf5,0xeb,0xcf,0x1d,0xee,0x28,0x95,0xea]}

tool: {"D117": [0x7f,0x05,0x0d,0x45,0x4e,0x55,0x2d,0x40,0xf1,0x73,0xbb,0xa9,0x2a,0xd9,0x23,0xe0]}

tool: {"D319": [0x3e,0xba,0xc7,0xcf,0x15,0xee,0xf3,0xe0,0xee,0xff,0xf7,0x96,0xd7,0x87,0x0f,0x03]}

tool: {"D255": [0xfc,0x89,0x33,0x0c,0x1d,0x86,0xf3,0x7d,0x70,0x0b,0x4d,0xcd,0x61,0x1e,0x94,0x35]}

tool: {"D155": [0x01,0xbf,0xa5,0xb2,0x75,0xc7,0xcc,0xf8,0x52,0xea,0x28,0x97,0x87,0x76,0xbe,0x58]}

tool: {"D286": [0x9e,0x27,0xe2,0x10,0xd6,0xe1,0xef,0x0f,0x18,0xde,0x98,0xf4,0xc3,0xd0,0xf9,0x68]}

tool: {"D119": [0xaa,0x2f,0xe8,0x0f,0x1c,0x21,0xce,0x8a,0x5d,0x7d,0xf0,0x10,0x39,0x90,0x25,0x2e]}

tool: {"D83": [0xc7,0x30,0x2f,0x77,0xc8,0x78,0x68,0x1f,0xe9,0x72,0x8a,0xd7,0x25,0xfc,0x74,0x01]}

tool: {"D167": [0x54,0x77,0x45,0x9e,0x58,0x74,0x89,0xa5,0xb4,0x95,0xc7,0x73,0xd1,0x31,0x9d,0xe2]}

tool: {"D263": [0xb4,0xdf,0xfa,0xcc,0xdd,0x27,0x27,0x17,0xef,0x9c,0x73,0x8e,0x7b,0x00,0xb9,0x41]}

tool: {"D146": [0xe9,0x1d,0xbb,0x07,0xae,0x09,0xc2,0x62,0xe0,0xcd,0xa9,0xb2,0x89,0x91,0xb5,0x14]}

tool: {"D28": [0xf1,0x96,0xec,0x54,0x6c,0x4c,0x0a,0xf0,0x8b,0xe0,0x88,0xba,0xb9,0x71,0x91,0x75]}

tool: {"D87": [0x79,0x4c,0x36,0xa8,0x18,0x23,0x7e,0x57,0x68,0x6f,0xe9,0x83,0xbd,0x41,0x83,0x0d]}

tool: {"D180": [0x78,0x8c,0xda,0x60,0xfd,0xf2,0x79,0x99,0xea,0x2e,0x86,0x47,0xd5,0xb4,0xc4,0x90]}

tool: {"D275": [0x42,0xeb,0xba,0x9c,0xae,0xdb,0x79,0x83,0x21,0x43,0x95,0x32,0x68,0x36,0xd2,0xd7]}

tool: {"D150": [0x70,0xfa,0x28,0x15,0x5c,0x47,0x88,0x70,0x72,0xaa,0xe1,0x2a,0x05,0xde,0x63,0x08]}

tool: {"D137": [0xc2,0x2f,0xee,0xb3,0xe2,0x7d,0xc3,0x29,0x93,0x45,0x03,0x01,0x39,0xee,0x81,0x67]}

tool: {"D219": [0x19,0xa8,0xa8,0x99,0x39,0x03,0x78,0x95,0xd7,0x49,0x65,0xfa,0x02,0x40,0xaf,0x5b]}

tool: {"D214": [0xe3,0x19,0x26,0x59,0xd5,0x66,0x39,0x8a,0x5d,0x95,0xf3,0xe0,0x4b,0xcd,0x53,0x57]}

tool: D107: lenghts %d %d: 

tool: D240: FAIL

tool: D158: PASS

tool: D34: ciphertext %s 

tool: D251: tag %s



assistant: ```c
int main() {
  const unsigned char key[16] = {0x98, 0xff, 0xf6, 0x7e, 0x64, 0xe4, 0x6b, 0xe5, 0xee, 0x2e, 0x05, 0xcc, 0x9a, 0xf6, 0xd0, 0x12};
  const unsigned char IV[12] = {0x2d, 0xfb, 0x42, 0x9a, 0x48, 0x69, 0x7c, 0x34, 0x00, 0x6d, 0xa8, 0x86};
  const unsigned char plaintext[3 * 16] = {0x29, 0xb9, 0x1b, 0x4a, 0x68, 0xa9, 0x9f, 0x97, 0xc4, 0x1c, 0x75, 0x08, 0xf1, 0x7a, 0x5c, 0x7a, 0x7a, 0xfc, 0x9e, 0x1a, 0xca, 0x83, 0xe1, 0x29, 0xb0, 0x85, 0xbd, 0x63, 0x7f, 0xf6, 0x7c, 0x01, 0x29, 0xb9, 0x1b, 0x4a, 0x68, 0xa9, 0x9f, 0x97, 0xc4, 0x1c, 0x75, 0x08, 0xf1, 0x7a, 0x5c, 0x7a};
  const unsigned char add_data[3 * 16] = {0xa0, 0xca, 0x58, 0x61, 0xc0, 0x22, 0x6c, 0x5b, 0x5a, 0x65, 0x14, 0xc8, 0x2b, 0x77, 0x81, 0x5a, 0x9e, 0x0e, 0xb3, 0x59, 0xd0, 0xd4, 0x6d, 0x03, 0x33, 0xc3, 0xf2, 0xba, 0xe1, 0x4d, 0xa0, 0xc4, 0x03, 0x30, 0xc0, 0x02, 0x16, 0xb4, 0xaa, 0x64, 0xb7, 0xc1, 0xed, 0xb8, 0x71, 0xc3, 0x28, 0xf6};
  const unsigned char tag_ref[16][16] = {{0xec, 0x1c, 0x5a, 0xff, 0xad, 0x2c, 0xad, 0xb9, 0xf5, 0xeb, 0xcf, 0x1d, 0xee, 0x28, 0x95, 0xea}, {0x7f, 0x05, 0x0d, 0x45, 0x4e, 0x55, 0x2d, 0x40, 0xf1, 0x73, 0xbb, 0xa9, 0x2a, 0xd9, 0x23, 0xe0}, {0x3e, 0xba, 0xc7, 0xcf, 0x15, 0xee, 0xf3, 0xe0, 0xee, 0xff, 0xf7, 0x96, 0xd7, 0x87, 0x0f, 0x03}, {0xfc, 0x89, 0x33, 0x0c, 0x1d, 0x86, 0xf3, 0x7d, 0x70, 0x0b, 0x4d, 0xcd, 0x61, 0x1e, 0x94, 0x35}, {0x01, 0xbf, 0xa5, 0xb2, 0x75, 0xc7, 0xcc, 0xf8, 0x52, 0xea, 0x28, 0x97, 0x87, 0x76, 0xbe, 0x58}, {0x9e, 0x27, 0xe2, 0x10, 0xd6, 0xe1, 0xef, 0x0f, 0x18, 0xde, 0x98, 0xf4, 0xc3, 0xd0, 0xf9, 0x68}, {0xaa, 0x2f, 0xe8, 0x0f, 0x1c, 0x21, 0xce, 0x8a, 0x5d, 0x7d, 0xf0, 0x10, 0x39, 0x90, 0x25, 0x2e}, {0xc7, 0x30, 0x2f, 0x77, 0xc8, 0x78, 0x68, 0x1f, 0xe9, 0x72, 0x8a, 0xd7, 0x25, 0xfc, 0x74, 0x01}, {0x54, 0x77, 0x45, 0x9e, 0x58, 0x74, 0x89, 0xa5, 0xb4, 0x95, 0xc7, 0x73, 0xd1, 0x31, 0x9d, 0xe2}, {0xb4, 0xdf, 0xfa, 0xcc, 0xdd, 0x27, 0x27, 0x17, 0xef, 0x9c, 0x73, 0x8e, 0x7b, 0x00, 0xb9, 0x41}, {0xe9, 0x1d, 0xbb, 0x07, 0xae, 0x09, 0xc2, 0x62, 0xe0, 0xcd, 0xa9, 0xb2, 0x89, 0x91, 0xb5, 0x14}, {0xf1, 0x96, 0xec, 0x54, 0x6c, 0x4c, 0x0a, 0xf0, 0x8b, 0xe0, 0x88, 0xba, 0xb9, 0x71, 0x91, 0x75}, {0x79, 0x4c, 0x36, 0xa8, 0x18, 0x23, 0x7e, 0x57, 0x68, 0x6f, 0xe9, 0x83, 0xbd, 0x41, 0x83, 0x0d}, {0x78, 0x8c, 0xda, 0x60, 0xfd, 0xf2, 0x79, 0x99, 0xea, 0x2e, 0x86, 0x47, 0xd5, 0xb4, 0xc4, 0x90}, {0x42, 0xeb, 0xba, 0x9c, 0xae, 0xdb, 0x79, 0x83, 0x21, 0x43, 0x95, 0x32, 0x68, 0x36, 0xd2, 0xd7}, {0x70, 0xfa, 0x28, 0x15, 0x5c, 0x47, 0x88, 0x70, 0x72, 0xaa, 0xe1, 0x2a, 0x05, 0xde, 0x63, 0x08}};
  const unsigned char ciphertext_ref[3 * 16] = {0xc2, 0x2f, 0xee, 0xb3, 0xe2, 0x7d, 0xc3, 0x29, 0x93, 0x45, 0x03, 0x01, 0x39, 0xee, 0x81, 0x67, 0x19, 0xa8, 0xa8, 0x99, 0x39, 0x03, 0x78, 0x95, 0xd7, 0x49, 0x65, 0xfa, 0x02, 0x40, 0xaf, 0x5b, 0xe3, 0x19, 0x26, 0x59, 0xd5, 0x66, 0x39, 0x8a, 0x5d, 0x95, 0xf3, 0xe0, 0x4b, 0xcd, 0x53, 0x57};
  unsigned char *ciphertext = malloc(3 * 16 * sizeof(unsigned char));
  unsigned char *tag = malloc(16 * sizeof(unsigned char));
  unsigned int len_p;
  unsigned int len_ad;
  for (len_p = 0; len_p <= 3; len_p++) {
    for (len_ad = 0; len_ad <= 3; len_ad++) {
      aes128gcm(ciphertext, tag, key, IV, plaintext, len_p, add_data, len_ad);
      printf("lenghts %d %d: ", len_p, len_ad);
      printf("ciphertext %s ", !memcmp(ciphertext, ciphertext_ref, (len_p)*16) ? "PASS" : "FAIL");
      printf("tag %s\n\n", !memcmp(tag, tag_ref[len_p * 4 + len_ad], 16) ? "PASS" : "FAIL");
    }
  }
  free(ciphertext);
  free(tag);
  return 0;
}
```