user: Please show me the C implementation that matches the assembly code listed below:

```asm
<test_compressed_packet_1>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x278,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x268(%rsp)
  xor    %eax,%eax
  movabs $0xfb009064190a41c0,%rax
  movabs $0x6622261938311338,%rdx
  mov    %rax,0x240(%rsp)
  mov    %rdx,0x248(%rsp)
  movabs $0xc4715a0de6063194,%rax
  movabs $0xf040c68ccf8989c0,%rdx
  mov    %rax,0x250(%rsp)
  mov    %rdx,0x258(%rsp)
  movabs $0x13311988c91844,%rax
  mov    %rax,0x260(%rsp)
  movl   $0x1,0x10(%rsp)
  movl   $0x2,0x14(%rsp)
  movl   $0x1,0x18(%rsp)
  movl   $0x1,0x1c(%rsp)
  movl   $0x20,0x30(%rsp)
  movl   $0x20,0x34(%rsp)
  movl   $0x20,0x38(%rsp)
  movl   $0x20,0x3c(%rsp)
  movl   $0x0,0x140(%rsp)
  movl   $0xffffffc0,0x144(%rsp)
  movl   $0x0,0x148(%rsp)
  movl   $0x20,0x14c(%rsp)
  movl   $0x20,0x150(%rsp)
  movl   $0xffffffe0,0x154(%rsp)
  movl   $0x20,0x158(%rsp)
  movl   $0xffffffc0,0x15c(%rsp)
  movl   $0x0,0x160(%rsp)
  movl   $0x40,0x164(%rsp)
  movl   $0x0,0x168(%rsp)
  movl   $0x0,0x16c(%rsp)
  movl   $0xffffffe0,0x170(%rsp)
  movl   $0xffffffe0,0x174(%rsp)
  movl   $0x20,0x178(%rsp)
  movl   $0x20,0x17c(%rsp)
  movl   $0xffffffa0,0x180(%rsp)
  movl   $0xffffffe0,0x184(%rsp)
  movl   $0xffffffc0,0x188(%rsp)
  movl   $0x20,0x18c(%rsp)
  movl   $0x0,0x190(%rsp)
  movl   $0xffffffc0,0x194(%rsp)
  movl   $0x0,0x198(%rsp)
  movl   $0x60,0x19c(%rsp)
  movl   $0x40,0x1a0(%rsp)
  movl   $0xffffffc0,0x1a4(%rsp)
  movl   $0x0,0x1a8(%rsp)
  movl   $0xffffffa0,0x1ac(%rsp)
  movl   $0x60,0x1b0(%rsp)
  movl   $0xffffffe0,0x1b4(%rsp)
  movl   $0x20,0x1b8(%rsp)
  movl   $0xffffffc0,0x1bc(%rsp)
  movl   $0xffffffa0,0x1c0(%rsp)
  movl   $0x20,0x1c4(%rsp)
  movl   $0xffffffe0,0x1c8(%rsp)
  movl   $0x0,0x1cc(%rsp)
  movl   $0xffffffe0,0x1d0(%rsp)
  movl   $0x20,0x1d4(%rsp)
  movl   $0xffffffe0,0x1d8(%rsp)
  movl   $0x20,0x1dc(%rsp)
  movl   $0x40,0x1e0(%rsp)
  movl   $0xffffff80,0x1e4(%rsp)
  movl   $0x40,0x1e8(%rsp)
  movl   $0xffffffe0,0x1ec(%rsp)
  movl   $0x40,0x1f0(%rsp)
  movl   $0x0,0x1f4(%rsp)
  movl   $0x0,0x1f8(%rsp)
  movl   $0xffffff80,0x1fc(%rsp)
  movl   $0x0,0x200(%rsp)
  movl   $0x0,0x204(%rsp)
  movl   $0xffffffe0,0x208(%rsp)
  movl   $0x0,0x20c(%rsp)
  movl   $0xffffffe0,0x210(%rsp)
  movl   $0x40,0x214(%rsp)
  movl   $0x0,0x218(%rsp)
  movl   $0xffffffe0,0x21c(%rsp)
  movl   $0xffffffe0,0x220(%rsp)
  movl   $0x0,0x224(%rsp)
  movl   $0x40,0x228(%rsp)
  movl   $0x0,0x22c(%rsp)
  movl   $0xffffffe0,0x230(%rsp)
  movl   $0xffffffe0,0x234(%rsp)
  movl   $0x20,0x238(%rsp)
  movl   $0xffffffe0,0x23c(%rsp)
  mov    %rsp,%rbx
  lea    0x20(%rsp),%rbp
  lea    0x241(%rsp),%rdi
  mov    %rbx,%rdx
  mov    %rbp,%rsi
  call   <compressed_parse_medians@plt>
  lea    0x40(%rsp),%r13
  lea    0x248(%rsp),%rdi
  mov    %r13,%rcx
  mov    %rbp,%rdx
  mov    %rbx,%rsi
  call   <compressed_parse_deltas@plt>
  mov    %eax,%r12d
  lea    0x246(%rsp),%rdi
  call   <compressed_parse_bit_length@plt>
  lea    0x30(%rsp),%rcx
  lea    0x10(%rsp),%rsi
  push   %rax
  push   %r12
  lea    0x150(%rsp),%r9
  mov    %r13,%r8
  mov    %rbp,%rdx
  mov    %rbx,%rdi
  call   <compressed_test_report@plt>
  mov    %rbx,%rsp
  mov    0x268(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L4
  add    $0x278,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L4:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void test_compressed_packet_1(void) {
  unsigned char packet[40] = {0xc0, 0x41, 0x0a, 0x19, 0x64, 0x90, 0x00, 0xfb, 0x38, 0x13, 0x31, 0x38, 0x19, 0x26, 0x22, 0x66, 0x94, 0x31, 0x06, 0xe6, 0x0d, 0x5a, 0x71, 0xc4, 0xc0, 0x89, 0x89, 0xcf, 0x8c, 0xc6, 0x40, 0xf0, 0x44, 0x18, 0xc9, 0x88, 0x19, 0x31, 0x13, 0x00};
  int i = 0;
  int medians[4];
  int expected_medians[4] = {1, 2, 1, 1};
  int quantizations[4];
  int expected_quantizations[4] = {32, 32, 32, 32};
  int deltas[16 * 4];
  int expected_deltas[16 * 4] = {0, -64, 0, 32, 32, -32, 32, -64, 0, 64, 0, 0, -32, -32, 32, 32, -96, -32, -64, 32, 0, -64, 0, 96, 64, -64, 0, -96, 96, -32, 32, -64, -96, 32, -32, 0, -32, 32, -32, 32, 64, -128, 64, -32, 64, 0, 0, -128, 0, 0, -32, 0, -32, 64, 0, -32, -32, 0, 64, 0, -32, -32, 32, -32};
  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);
}
```