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

```asm
<RLEdecompress>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x440,%rsp
  mov    %edi,-0x434(%rbp)
  mov    %esi,-0x438(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x42c(%rbp)
  movl   $0x0,-0x428(%rbp)
  jmp    L243
L52:
  movl   $0x0,-0x424(%rbp)
  cmpl   $0x0,-0x42c(%rbp)
  jle    L99
  movl   $0x0,-0x424(%rbp)
  jmp    L195
L84:
  lea    -0x410(%rbp),%rcx
  mov    -0x438(%rbp),%eax
  mov    $0x1,%edx
  mov    %rcx,%rsi
  mov    %eax,%edi
  call   <write@plt>
  addl   $0x1,-0x424(%rbp)
L195:
  mov    -0x424(%rbp),%eax
  cmp    -0x42c(%rbp),%eax
  jl     L84
  movl   $0x0,-0x42c(%rbp)
  movl   $0x1,-0x424(%rbp)
L99:
  cmpl   $0x0,-0x42c(%rbp)
  jns    L241
  mov    -0x42c(%rbp),%eax
  neg    %eax
  mov    %eax,%edx
  lea    -0x410(%rbp),%rcx
  mov    -0x438(%rbp),%eax
  mov    %rcx,%rsi
  mov    %eax,%edi
  call   <write@plt>
  mov    -0x42c(%rbp),%eax
  neg    %eax
  mov    %eax,-0x424(%rbp)
  movl   $0x0,-0x42c(%rbp)
  jmp    L241
L202:
  mov    -0x424(%rbp),%eax
  cltq
  movzbl -0x410(%rbp,%rax,1),%eax
  movsbl %al,%eax
  mov    %eax,-0x418(%rbp)
  cmpl   $0x0,-0x418(%rbp)
  jle    L121
  mov    -0x41c(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x424(%rbp)
  jne    L100
  mov    -0x418(%rbp),%eax
  mov    %eax,-0x42c(%rbp)
  jmp    L165
L100:
  movl   $0x0,-0x420(%rbp)
  jmp    L77
L155:
  mov    -0x424(%rbp),%eax
  add    $0x1,%eax
  cmp    %eax,-0x41c(%rbp)
  jg     L117
  movl   $0x1,-0x428(%rbp)
  jmp    L53
L117:
  mov    -0x424(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  lea    -0x410(%rbp),%rax
  lea    (%rax,%rdx,1),%rcx
  mov    -0x438(%rbp),%eax
  mov    $0x1,%edx
  mov    %rcx,%rsi
  mov    %eax,%edi
  call   <write@plt>
  addl   $0x1,-0x420(%rbp)
L77:
  mov    -0x420(%rbp),%eax
  cmp    -0x418(%rbp),%eax
  jle    L155
L53:
  addl   $0x1,-0x424(%rbp)
  jmp    L204
L121:
  mov    -0x424(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x41c(%rbp),%eax
  sub    %edx,%eax
  mov    %eax,-0x414(%rbp)
  mov    -0x418(%rbp),%eax
  neg    %eax
  cmp    %eax,-0x414(%rbp)
  jge    L174
  mov    -0x424(%rbp),%eax
  add    $0x1,%eax
  cmp    %eax,-0x41c(%rbp)
  jg     L122
  movl   $0x1,-0x428(%rbp)
  jmp    L165
L122:
  mov    -0x424(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  lea    -0x410(%rbp),%rax
  lea    (%rax,%rdx,1),%rcx
  mov    -0x414(%rbp),%edx
  mov    -0x438(%rbp),%eax
  mov    %rcx,%rsi
  mov    %eax,%edi
  call   <write@plt>
  mov    -0x418(%rbp),%edx
  mov    -0x414(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x42c(%rbp)
  jmp    L165
L174:
  mov    -0x424(%rbp),%eax
  add    $0x1,%eax
  cmp    %eax,-0x41c(%rbp)
  jg     L194
  movl   $0x1,-0x428(%rbp)
  jmp    L165
L194:
  mov    -0x418(%rbp),%eax
  neg    %eax
  mov    %eax,%edx
  mov    -0x424(%rbp),%eax
  cltq
  lea    0x1(%rax),%rcx
  lea    -0x410(%rbp),%rax
  add    %rax,%rcx
  mov    -0x438(%rbp),%eax
  mov    %rcx,%rsi
  mov    %eax,%edi
  call   <write@plt>
  mov    -0x418(%rbp),%eax
  sub    %eax,-0x424(%rbp)
L204:
  addl   $0x1,-0x424(%rbp)
L241:
  mov    -0x424(%rbp),%eax
  cmp    -0x41c(%rbp),%eax
  jl     L202
L165:
  cmpl   $0x0,-0x428(%rbp)
  jne    L94
L243:
  lea    -0x410(%rbp),%rcx
  mov    -0x434(%rbp),%eax
  mov    $0x400,%edx
  mov    %rcx,%rsi
  mov    %eax,%edi
  call   <read@plt>
  mov    %eax,-0x41c(%rbp)
  cmpl   $0x0,-0x41c(%rbp)
  jne    L52
  jmp    L21
L94:
  nop
L21:
  mov    -0x438(%rbp),%eax
  mov    %eax,%edi
  call   <close@plt>
  mov    -0x434(%rbp),%eax
  mov    %eax,%edi
  call   <close@plt>
  cmpl   $0x0,-0x428(%rbp)
  jne    L38
  cmpl   $0x0,-0x42c(%rbp)
  je     L250
L38:
  mov    $0x1,%eax
  jmp    L239
L250:
  mov    $0x0,%eax
L239:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L33
  call   <__stack_chk_fail@plt>
L33:
  leave
  ret
```

assistant: ```c
int RLEdecompress(int in, int out) {
  int last_ocatet = 0;
  ssize_t lu;
  signed char buf[1024];
  int ERROR = 0;
  while ((lu = read(in, buf, 1024)) != 0) {
    int i = 0, j;
    if (last_ocatet > 0) {
      for (i = 0; i < last_ocatet; i++)
        write(out, buf, 1);
      last_ocatet = 0;
      i = 1;
    }
    if (last_ocatet < 0) {
      write(out, buf, -last_ocatet);
      i = -last_ocatet;
      last_ocatet = 0;
    }
    while (i < lu) {
      int c = buf[i];
      if (c > 0) {
        if (i == lu - 1) {
          last_ocatet = c;
          break;
        }
        for (j = 0; j <= c; j++) {
          if (i + 1 >= lu) {
            ERROR = 1;
            break;
          }
          write(out, buf + i + 1, 1);
        }
        i++;
      } else {
        int a = lu - (i + 1);
        if (a < -c) {
          if (i + 1 >= lu) {
            ERROR = 1;
            break;
          }
          write(out, buf + i + 1, a);
          last_ocatet = c + a;
          break;
        }
        if (i + 1 >= lu) {
          ERROR = 1;
          break;
        }
        write(out, buf + 1 + i, -c);
        i += -c;
      }
      i++;
    }
    if (ERROR) {
      break;
    }
  }
  close(out);
  close(in);
  if (ERROR || last_ocatet != 0) {
    return 1;
  }
  return 0;
}
```