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

```asm
<test_one_decoding>:
  endbr64
  push   %rbx
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    D5(%rip),%rsi
  lea    D14(%rip),%rdi
  call   <printf@plt>
  movl   $0x0,(%rsp)
  mov    %rsp,%rbx
  mov    $0x0,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movl   $0x0,(%rsp)
  mov    $0x1,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movl   $0x5,(%rsp)
  mov    $0x1,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movl   $0x9,(%rsp)
  mov    $0x1,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movl   $0xb,(%rsp)
  mov    $0x1,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movl   $0x0,(%rsp)
  movl   $0x1,0x4(%rsp)
  mov    $0x2,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movl   $0x3,(%rsp)
  movl   $0x7,0x4(%rsp)
  mov    $0x2,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movl   $0xb,(%rsp)
  movl   $0x9,0x4(%rsp)
  mov    $0x2,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movl   $0xb,(%rsp)
  movl   $0xc,0x4(%rsp)
  mov    $0x2,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movl   $0x0,(%rsp)
  movl   $0x1,0x4(%rsp)
  movl   $0x4,0x8(%rsp)
  mov    $0x3,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movl   $0x3,(%rsp)
  movl   $0x8,0x4(%rsp)
  movl   $0x7,0x8(%rsp)
  mov    $0x3,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movl   $0xb,(%rsp)
  movl   $0x9,0x4(%rsp)
  movl   $0x1,0x8(%rsp)
  mov    $0x3,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movl   $0xb,(%rsp)
  movl   $0xc,0x4(%rsp)
  movl   $0x9,0x8(%rsp)
  mov    $0x3,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movl   $0xb,(%rsp)
  movl   $0xc,0x4(%rsp)
  movl   $0x9,0x8(%rsp)
  mov    $0x3,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movl   $0xb,(%rsp)
  movl   $0xc,0x4(%rsp)
  movl   $0xa,0x8(%rsp)
  mov    $0x3,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movl   $0x0,(%rsp)
  movl   $0x1,0x4(%rsp)
  movl   $0x4,0x8(%rsp)
  movl   $0x8,0xc(%rsp)
  mov    $0x4,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  setne  %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  movl   $0xb,(%rsp)
  movl   $0xc,0x4(%rsp)
  movl   $0xa,0x8(%rsp)
  movl   $0x9,0xc(%rsp)
  mov    $0x4,%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <test_one_decoding_13@plt>
  test   %eax,%eax
  setne  %dil
  movzbl %dil,%edi
  mov    $0x0,%eax
  call   <assert@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L4
  add    $0x20,%rsp
  pop    %rbx
  ret
L4:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D5
type: string
name: parse_data
arguments: label: D14
type: string

tool: D5: test_one_decoding

tool: D14: %s:


assistant: ```c
void test_one_decoding(void) {
  printf("%s:\n", __FUNCTION__);
  {
    int erases[] = {0};
    int err;
    err = test_one_decoding_13(erases, 0);
    assert(0 == err);
  }
  {
    int erases[] = {0};
    int erases_count = sizeof(erases) / sizeof(int);
    int err;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 5;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 9;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 11;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
  }
  {
    int erases[] = {0, 1};
    int erases_count = sizeof(erases) / sizeof(int);
    int err;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 3;
    erases[1] = 7;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 11;
    erases[1] = 9;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 11;
    erases[1] = 12;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
  }
  {
    int erases[] = {0, 1, 4};
    int erases_count = sizeof(erases) / sizeof(int);
    int err;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 3;
    erases[1] = 8;
    erases[2] = 7;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 11;
    erases[1] = 9;
    erases[2] = 1;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 11;
    erases[1] = 12;
    erases[2] = 9;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 11;
    erases[1] = 12;
    erases[2] = 9;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 11;
    erases[1] = 12;
    erases[2] = 10;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
  }
  {
    int erases[] = {0, 1, 4, 8};
    int erases_count = sizeof(erases) / sizeof(int);
    int err;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 != err);
    erases[0] = 11;
    erases[1] = 12;
    erases[2] = 10;
    erases[3] = 9;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 != err);
  }
}
```