user: 请将以下的汇编代码转换成C语言代码：

```asm
<test_urldecode>:
  endbr64
  push   %r12
  pxor   %xmm0,%xmm0
  mov    $0x80,%edx
  lea    D121(%rip),%rsi
  push   %rbp
  sub    $0x98,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x88(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rbp
  movaps %xmm0,(%rsp)
  mov    %rbp,%rdi
  movaps %xmm0,0x10(%rsp)
  movaps %xmm0,0x20(%rsp)
  movaps %xmm0,0x30(%rsp)
  movaps %xmm0,0x40(%rsp)
  movaps %xmm0,0x50(%rsp)
  movaps %xmm0,0x60(%rsp)
  movaps %xmm0,0x70(%rsp)
  call   <urldecode@plt>
  test   %eax,%eax
  je     L6
  lea    D22(%rip),%r12
  mov    %rbp,%rdi
  mov    %r12,%rsi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L44
  lea    D61(%rip),%rsi
  lea    D38(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L48:
  mov    0x88(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L2
  add    $0x98,%rsp
  pop    %rbp
  pop    %r12
  ret
  nopl   0x0(%rax,%rax,1)
L44:
  lea    D41(%rip),%rdx
  lea    D81(%rip),%rsi
  xor    %eax,%eax
  lea    D119(%rip),%rdi
  call   <printf@plt>
  mov    %rbp,%rsi
  lea    D67(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r12,%rsi
  lea    D54(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D61(%rip),%rsi
  lea    D145(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L48
  nopl   (%rax)
L6:
  lea    D120(%rip),%rdx
  lea    D88(%rip),%rsi
  lea    D149(%rip),%rdi
  call   <printf@plt>
  lea    D61(%rip),%rsi
  lea    D145(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L48
L2:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D121
data_type: string
name: read_data
arguments: label: D22
data_type: string
name: read_data
arguments: label: D61
data_type: string
name: read_data
arguments: label: D38
data_type: string
name: read_data
arguments: label: D41
data_type: string
name: read_data
arguments: label: D81
data_type: string
name: read_data
arguments: label: D119
data_type: string
name: read_data
arguments: label: D67
data_type: string
name: read_data
arguments: label: D54
data_type: string
name: read_data
arguments: label: D145
data_type: string
name: read_data
arguments: label: D120
data_type: string
name: read_data
arguments: label: D88
data_type: string
name: read_data
arguments: label: D149
data_type: string

tool: D121: %26bla+r

tool: D22: &bla r

tool: D61: test_urldecode

tool: D38: %s -> OK


tool: D41: "&bla r"

tool: D81: dest

tool: D119: expected [%s == %s]


tool: D67:  a = "%s"


tool: D54:  b = "%s"


tool: D145: %s -> FAILED


tool: D120: Failed to decode.

tool: D88: urldecode(dest, param, 128)

tool: D149: [%s] failed: %s


assistant: ```c
void test_urldecode() {
  char *param = "%26bla+r";
  char dest[128] = {
      0,
  };
  do {
    if (!urldecode(dest, param, 128)) {
      printf("[%s] failed: %s\n", "urldecode(dest, param, 128)", "Failed to decode.");
      printf("%s -> FAILED\n", __func__);
      return;
    }
  } while (0);
  do {
    if (strcmp(dest, "&bla r")) {
      printf("expected [%s == %s]\n", "dest", "\"&bla r\"");
      printf(" a = \"%s\"\n", dest);
      printf(" b = \"%s\"\n", "&bla r");
      printf("%s -> FAILED\n", __func__);
      return;
    }
  } while (0);
  printf("%s -> OK\n", __func__);
}
```