user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<test_compressed_packet_2>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x290,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movabs $0x220180a429044bc0,%rax
  movabs $0x3f8789f00ec74904,%rdx
  mov    %rax,-0x40(%rbp)
  mov    %rdx,-0x38(%rbp)
  movabs $0x3f336244b71c8658,%rax
  movabs $0x1530817c1c13f319,%rdx
  mov    %rax,-0x30(%rbp)
  mov    %rdx,-0x28(%rbp)
  movabs $0x44a65489932e2684,%rax
  mov    %rax,-0x20(%rbp)
  movl   $0x52a8d556,-0x18(%rbp)
  movb   $0xc0,-0x14(%rbp)
  movl   $0x0,-0x28c(%rbp)
  movl   $0xb,-0x270(%rbp)
  movl   $0x1,-0x26c(%rbp)
  movl   $0x2,-0x268(%rbp)
  movl   $0x2,-0x264(%rbp)
  movl   $0x2,-0x250(%rbp)
  movl   $0x20,-0x24c(%rbp)
  movl   $0x20,-0x248(%rbp)
  movl   $0x10,-0x244(%rbp)
  movl   $0x0,-0x140(%rbp)
  movl   $0xffffffe8,-0x13c(%rbp)
  movl   $0x8,-0x138(%rbp)
  movl   $0x2e,-0x134(%rbp)
  movl   $0x16,-0x130(%rbp)
  movl   $0xffffffc0,-0x12c(%rbp)
  movl   $0xfffffffe,-0x128(%rbp)
  movl   $0xfffffffc,-0x124(%rbp)
  movl   $0x2c,-0x120(%rbp)
  movl   $0x32,-0x11c(%rbp)
  movl   $0xffffffb2,-0x118(%rbp)
  movl   $0xfffffffc,-0x114(%rbp)
  movl   $0xfffffffa,-0x110(%rbp)
  movl   $0x2,-0x10c(%rbp)
  movl   $0x1a,-0x108(%rbp)
  movl   $0x28,-0x104(%rbp)
  movl   $0x0,-0x100(%rbp)
  movl   $0xffffffe0,-0xfc(%rbp)
  movl   $0xffffffc0,-0xf8(%rbp)
  movl   $0xffffffe0,-0xf4(%rbp)
  movl   $0x40,-0xf0(%rbp)
  movl   $0x20,-0xec(%rbp)
  movl   $0xffffff60,-0xe8(%rbp)
  movl   $0x40,-0xe4(%rbp)
  movl   $0x80,-0xe0(%rbp)
  movl   $0xffffffe0,-0xdc(%rbp)
  movl   $0x20,-0xd8(%rbp)
  movl   $0xffffffe0,-0xd4(%rbp)
  movl   $0xffffffa0,-0xd0(%rbp)
  movl   $0xa0,-0xcc(%rbp)
  movl   $0x0,-0xc8(%rbp)
  movl   $0x0,-0xc4(%rbp)
  movl   $0x40,-0xc0(%rbp)
  movl   $0xffffffc0,-0xbc(%rbp)
  movl   $0x0,-0xb8(%rbp)
  movl   $0xffffffe0,-0xb4(%rbp)
  movl   $0x60,-0xb0(%rbp)
  movl   $0x0,-0xac(%rbp)
  movl   $0xffffffe0,-0xa8(%rbp)
  movl   $0x0,-0xa4(%rbp)
  movl   $0x40,-0xa0(%rbp)
  movl   $0xffffffc0,-0x9c(%rbp)
  movl   $0x60,-0x98(%rbp)
  movl   $0xffffffa0,-0x94(%rbp)
  movl   $0xffffffe0,-0x90(%rbp)
  movl   $0x20,-0x8c(%rbp)
  movl   $0xffffffc0,-0x88(%rbp)
  movl   $0x40,-0x84(%rbp)
  movl   $0xfffffff0,-0x80(%rbp)
  movl   $0xffffffd0,-0x7c(%rbp)
  movl   $0xfffffff0,-0x78(%rbp)
  movl   $0x20,-0x74(%rbp)
  movl   $0x20,-0x70(%rbp)
  movl   $0x0,-0x6c(%rbp)
  movl   $0xffffffe0,-0x68(%rbp)
  movl   $0xffffffd0,-0x64(%rbp)
  movl   $0x50,-0x60(%rbp)
  movl   $0xfffffff0,-0x5c(%rbp)
  movl   $0x30,-0x58(%rbp)
  movl   $0xfffffff0,-0x54(%rbp)
  movl   $0xffffffe0,-0x50(%rbp)
  movl   $0xfffffff0,-0x4c(%rbp)
  movl   $0x20,-0x48(%rbp)
  movl   $0x10,-0x44(%rbp)
  movl   $0x0,-0x288(%rbp)
  movl   $0x0,-0x284(%rbp)
  lea    -0x280(%rbp),%rdx
  lea    -0x260(%rbp),%rax
  lea    -0x40(%rbp),%rcx
  add    $0x1,%rcx
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <compressed_parse_medians@plt>
  lea    -0x240(%rbp),%rcx
  lea    -0x260(%rbp),%rdx
  lea    -0x280(%rbp),%rax
  lea    -0x40(%rbp),%rsi
  lea    0x8(%rsi),%rdi
  mov    %rax,%rsi
  call   <compressed_parse_deltas@plt>
  mov    %eax,-0x288(%rbp)
  lea    -0x40(%rbp),%rax
  add    $0x6,%rax
  mov    %rax,%rdi
  call   <compressed_parse_bit_length@plt>
  mov    %eax,-0x284(%rbp)
  lea    -0x140(%rbp),%r9
  lea    -0x240(%rbp),%r8
  lea    -0x250(%rbp),%rcx
  lea    -0x260(%rbp),%rdx
  lea    -0x270(%rbp),%rsi
  lea    -0x280(%rbp),%rax
  mov    -0x284(%rbp),%edi
  push   %rdi
  mov    -0x288(%rbp),%edi
  push   %rdi
  mov    %rax,%rdi
  call   <compressed_test_report@plt>
  add    $0x10,%rsp
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L7
  call   <__stack_chk_fail@plt>
L7:
  leave
  ret
```

assistant: ```c
void test_compressed_packet_2(void) {
  unsigned char packet[45] = {0xc0, 0x4b, 0x04, 0x29, 0xa4, 0x80, 0x01, 0x22, 0x04, 0x49, 0xc7, 0x0e, 0xf0, 0x89, 0x87, 0x3f, 0x58, 0x86, 0x1c, 0xb7, 0x44, 0x62, 0x33, 0x3f, 0x19, 0xf3, 0x13, 0x1c, 0x7c, 0x81, 0x30, 0x15, 0x84, 0x26, 0x2e, 0x93, 0x89, 0x54, 0xa6, 0x44, 0x56, 0xd5, 0xa8, 0x52, 0xc0};
  int i = 0;
  int medians[4];
  int expected_medians[4] = {11, 1, 2, 2};
  int quantizations[4];
  int expected_quantizations[4] = {2, 32, 32, 16};
  int deltas[16 * 4];
  int expected_deltas[16 * 4] = {0, -24, 8, 46, 22, -64, -2, -4, 44, 50, -78, -4, -6, 2, 26, 40, 0, -32, -64, -32, 64, 32, -160, 64, 128, -32, 32, -32, -96, 160, 0, 0, 64, -64, 0, -32, 96, 0, -32, 0, 64, -64, 96, -96, -32, 32, -64, 64, -16, -48, -16, 32, 32, 0, -32, -48, 80, -16, 48, -16, -32, -16, 32, 16};
  int bits_length = 0;
  int expected_bits_length = 0;
  compressed_parse_medians(&(packet[1]), quantizations, medians);
  bits_length = compressed_parse_deltas(&(packet[8]), medians, quantizations, deltas);
  expected_bits_length = compressed_parse_bit_length(&(packet[6]));
  compressed_test_report(medians, expected_medians, quantizations, expected_quantizations, deltas, expected_deltas, bits_length, expected_bits_length);
}
```