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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  add    $0xffffffffffffff80,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0xcd,-0x70(%rbp)
  movl   $0xab,-0x6c(%rbp)
  movl   $0xab,-0x68(%rbp)
  movl   $0xcd,-0x64(%rbp)
  lea    -0x70(%rbp),%rax
  mov    %rax,%rdi
  call   <ReadUint16LE@plt>
  mov    %eax,-0x80(%rbp)
  cmpl   $0xabcd,-0x80(%rbp)
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    -0x68(%rbp),%rax
  mov    %rax,%rdi
  call   <ReadUint16BE@plt>
  mov    %eax,-0x7c(%rbp)
  cmpl   $0xabcd,-0x7c(%rbp)
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  movq   $0x0,-0x60(%rbp)
  lea    -0x60(%rbp),%rdx
  mov    -0x80(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <WriteUint16LE@plt>
  lea    -0x70(%rbp),%rcx
  lea    -0x60(%rbp),%rax
  mov    $0x2,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcmp@plt>
  test   %rax,%rax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  movq   $0x0,-0x58(%rbp)
  lea    -0x58(%rbp),%rdx
  mov    -0x7c(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <WriteUint16BE@plt>
  lea    -0x68(%rbp),%rcx
  lea    -0x58(%rbp),%rax
  mov    $0x2,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcmp@plt>
  test   %rax,%rax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  movl   $0xd2,-0x50(%rbp)
  movl   $0x2,-0x4c(%rbp)
  movl   $0x96,-0x48(%rbp)
  movl   $0x49,-0x44(%rbp)
  movl   $0x49,-0x40(%rbp)
  movl   $0x96,-0x3c(%rbp)
  movl   $0x2,-0x38(%rbp)
  movl   $0xd2,-0x34(%rbp)
  lea    -0x50(%rbp),%rax
  mov    %rax,%rdi
  call   <ReadUint32LE@plt>
  mov    %eax,-0x78(%rbp)
  cmpl   $0x499602d2,-0x78(%rbp)
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  cmpl   $0x499602d2,-0x78(%rbp)
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    -0x40(%rbp),%rax
  mov    %rax,%rdi
  call   <ReadUint32BE@plt>
  mov    %eax,-0x74(%rbp)
  cmpl   $0x499602d2,-0x74(%rbp)
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  cmpl   $0x499602d2,-0x74(%rbp)
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  movq   $0x0,-0x30(%rbp)
  movq   $0x0,-0x28(%rbp)
  lea    -0x30(%rbp),%rdx
  mov    -0x78(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <WriteUint32LE@plt>
  lea    -0x50(%rbp),%rcx
  lea    -0x30(%rbp),%rax
  mov    $0x4,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcmp@plt>
  test   %rax,%rax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  movq   $0x0,-0x20(%rbp)
  movq   $0x0,-0x18(%rbp)
  lea    -0x20(%rbp),%rax
  mov    %rax,%rsi
  mov    $0x499602d2,%edi
  call   <WriteUint32BE@plt>
  lea    -0x20(%rbp),%rcx
  lea    -0x40(%rbp),%rax
  mov    $0x4,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcmp@plt>
  test   %rax,%rax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    D8(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L5
  call   <__stack_chk_fail@plt>
L5:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: label: D8
data_type: string

tool: D8: ok

assistant: ```c
int main(void) {
  const uint8_t data16_le[] = {0xcd, 0xab};
  const uint8_t data16_be[] = {0xab, 0xcd};
  uint16_t le16 = ReadUint16LE(data16_le);
  assert(0xabcd == le16);
  uint16_t be16 = ReadUint16BE(data16_be);
  assert(0xabcd == be16);
  uint8_t out16_le[2] = {0};
  WriteUint16LE(le16, out16_le);
  assert(memcmp(out16_le, data16_le, 2) == 0);
  uint8_t out16_be[2] = {0};
  WriteUint16BE(be16, out16_be);
  assert(memcmp(out16_be, data16_be, 2) == 0);
  const uint8_t data32_le[] = {0xd2, 0x02, 0x96, 0x49};
  const uint8_t data32_be[] = {0x49, 0x96, 0x02, 0xd2};
  uint32_t le32 = ReadUint32LE(data32_le);
  assert(1234567890u == le32);
  assert(0x499602d2u == le32);
  uint32_t be32 = ReadUint32BE(data32_be);
  assert(1234567890u == be32);
  assert(0x499602d2u == be32);
  uint8_t out32_le[4] = {0};
  WriteUint32LE(le32, out32_le);
  assert(memcmp(out32_le, data32_le, 4) == 0);
  uint8_t out32_be[4] = {0};
  WriteUint32BE(1234567890u, out32_be);
  assert(memcmp(data32_be, out32_be, 4) == 0);
  puts("ok");
  return 0;
}
```