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

```asm
<to_565_raw_dither>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %edi,-0x54(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x48(%rbp)
  mov    -0x54(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  shl    $0x2,%rax
  mov    %rax,%rdi
  call   <malloc@plt>
  mov    %rax,-0x28(%rbp)
  mov    -0x54(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  shl    $0x2,%rax
  mov    %rax,%rdi
  call   <malloc@plt>
  mov    %rax,-0x20(%rbp)
  mov    -0x54(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  mov    -0x54(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  addq   $0xc,-0x28(%rbp)
  addq   $0xc,-0x20(%rbp)
  jmp    L60
L65:
  movzbl -0xb(%rbp),%eax
  movzbl %al,%ecx
  mov    -0x48(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %ecx,%eax
  mov    %eax,-0x44(%rbp)
  cmpl   $0x0,-0x44(%rbp)
  js     L68
  mov    -0x44(%rbp),%eax
  mov    $0xff,%edx
  cmp    %edx,%eax
  cmovg  %edx,%eax
  jmp    L50
L68:
  mov    $0x0,%eax
L50:
  mov    %eax,-0x40(%rbp)
  movzbl -0xa(%rbp),%eax
  movzbl %al,%ecx
  mov    -0x48(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %ecx,%eax
  mov    %eax,-0x3c(%rbp)
  cmpl   $0x0,-0x3c(%rbp)
  js     L20
  mov    -0x3c(%rbp),%eax
  mov    $0xff,%edx
  cmp    %edx,%eax
  cmovg  %edx,%eax
  jmp    L97
L20:
  mov    $0x0,%eax
L97:
  mov    %eax,-0x38(%rbp)
  movzbl -0x9(%rbp),%eax
  movzbl %al,%ecx
  mov    -0x48(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %ecx,%eax
  mov    %eax,-0x34(%rbp)
  cmpl   $0x0,-0x34(%rbp)
  js     L66
  mov    -0x34(%rbp),%eax
  mov    $0xff,%edx
  cmp    %edx,%eax
  cmovg  %edx,%eax
  jmp    L12
L66:
  mov    $0x0,%eax
L12:
  mov    %eax,-0x30(%rbp)
  mov    -0x40(%rbp),%eax
  sar    $0x3,%eax
  shl    $0xb,%eax
  mov    %eax,%edx
  mov    -0x38(%rbp),%eax
  sar    $0x2,%eax
  shl    $0x5,%eax
  or     %eax,%edx
  mov    -0x30(%rbp),%eax
  sar    $0x3,%eax
  or     %edx,%eax
  mov    %ax,-0x4a(%rbp)
  lea    -0x4a(%rbp),%rax
  mov    $0x2,%edx
  mov    %rax,%rsi
  mov    $0x1,%edi
  mov    $0x0,%eax
  call   <write@plt>
  movzwl -0x4a(%rbp),%eax
  shr    $0xb,%ax
  movzwl %ax,%eax
  and    $0x1f,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  shl    $0x8,%eax
  sub    %edx,%eax
  movslq %eax,%rdx
  imul   $0xffffffff84210843,%rdx,%rdx
  shr    $0x20,%rdx
  add    %eax,%edx
  mov    %edx,%ecx
  sar    $0x4,%ecx
  sar    $0x1f,%eax
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0x44(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x2c(%rbp)
  mov    -0x48(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x2c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%esi
  mov    -0x48(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  lea    (%rcx,%rsi,1),%edx
  mov    %edx,(%rax)
  mov    -0x48(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x2c(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%esi
  mov    -0x48(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  lea    (%rcx,%rsi,1),%edx
  mov    %edx,(%rax)
  mov    -0x48(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x2c(%rbp),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%esi
  mov    -0x48(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  lea    (%rcx,%rsi,1),%edx
  mov    %edx,(%rax)
  mov    -0x48(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x2c(%rbp),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%esi
  mov    -0x2c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  add    %eax,%esi
  mov    -0x2c(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  lea    (%rsi,%rax,1),%edx
  mov    -0x2c(%rbp),%eax
  sub    %edx,%eax
  mov    %eax,%esi
  mov    -0x48(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  lea    (%rcx,%rsi,1),%edx
  mov    %edx,(%rax)
  movzwl -0x4a(%rbp),%eax
  shr    $0x5,%ax
  movzwl %ax,%eax
  and    $0x3f,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  shl    $0x8,%eax
  sub    %edx,%eax
  movslq %eax,%rdx
  imul   $0xffffffff82082083,%rdx,%rdx
  shr    $0x20,%rdx
  add    %eax,%edx
  mov    %edx,%ecx
  sar    $0x5,%ecx
  sar    $0x1f,%eax
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0x3c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x2c(%rbp)
  mov    -0x48(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x2c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%esi
  mov    -0x48(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  lea    (%rcx,%rsi,1),%edx
  mov    %edx,(%rax)
  mov    -0x48(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x2c(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%esi
  mov    -0x48(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  lea    (%rcx,%rsi,1),%edx
  mov    %edx,(%rax)
  mov    -0x48(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x2c(%rbp),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%esi
  mov    -0x48(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  lea    (%rcx,%rsi,1),%edx
  mov    %edx,(%rax)
  mov    -0x48(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x2c(%rbp),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%esi
  mov    -0x2c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  add    %eax,%esi
  mov    -0x2c(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  lea    (%rsi,%rax,1),%edx
  mov    -0x2c(%rbp),%eax
  sub    %edx,%eax
  mov    %eax,%esi
  mov    -0x48(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  lea    (%rcx,%rsi,1),%edx
  mov    %edx,(%rax)
  movzwl -0x4a(%rbp),%eax
  movzwl %ax,%eax
  and    $0x1f,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  shl    $0x8,%eax
  sub    %edx,%eax
  movslq %eax,%rdx
  imul   $0xffffffff84210843,%rdx,%rdx
  shr    $0x20,%rdx
  add    %eax,%edx
  mov    %edx,%ecx
  sar    $0x4,%ecx
  sar    $0x1f,%eax
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0x34(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x2c(%rbp)
  mov    -0x48(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x2c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%esi
  mov    -0x48(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  lea    (%rcx,%rsi,1),%edx
  mov    %edx,(%rax)
  mov    -0x48(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x2c(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%esi
  mov    -0x48(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  lea    (%rcx,%rsi,1),%edx
  mov    %edx,(%rax)
  mov    -0x48(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x2c(%rbp),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%esi
  mov    -0x48(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  lea    (%rcx,%rsi,1),%edx
  mov    %edx,(%rax)
  mov    -0x48(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x2c(%rbp),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%esi
  mov    -0x2c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  add    %eax,%esi
  mov    -0x2c(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  lea    (%rsi,%rax,1),%edx
  mov    -0x2c(%rbp),%eax
  sub    %edx,%eax
  mov    %eax,%esi
  mov    -0x48(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  lea    (%rcx,%rsi,1),%edx
  mov    %edx,(%rax)
  addl   $0x1,-0x48(%rbp)
  mov    -0x48(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jne    L60
  mov    -0x28(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x20(%rbp),%rax
  mov    %rax,-0x28(%rbp)
  mov    -0x18(%rbp),%rax
  mov    %rax,-0x20(%rbp)
  mov    -0x54(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  movl   $0x0,-0x48(%rbp)
L60:
  lea    -0xb(%rbp),%rax
  mov    $0x3,%edx
  mov    %rax,%rsi
  mov    $0x0,%edi
  mov    $0x0,%eax
  call   <read@plt>
  cmp    $0x3,%eax
  je     L65
  mov    -0x28(%rbp),%rax
  sub    $0xc,%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x20(%rbp),%rax
  sub    $0xc,%rax
  mov    %rax,%rdi
  call   <free@plt>
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L31
  call   <__stack_chk_fail@plt>
L31:
  leave
  ret
```

assistant: ```c
void to_565_raw_dither(int width) {
  unsigned char in[3];
  unsigned short out;
  int i = 0;
  int e;
  int *error = malloc((width + 2) * 3 * sizeof(int));
  int *next_error = malloc((width + 2) * 3 * sizeof(int));
  memset(error, 0, (width + 2) * 3 * sizeof(int));
  memset(next_error, 0, (width + 2) * 3 * sizeof(int));
  error += 3;
  next_error += 3;
  while (read(0, in, 3) == 3) {
    int r = in[0] + error[i * 3 + 0];
    int rb = (r < 0) ? 0 : ((r > 255) ? 255 : r);
    int g = in[1] + error[i * 3 + 1];
    int gb = (g < 0) ? 0 : ((g > 255) ? 255 : g);
    int b = in[2] + error[i * 3 + 2];
    int bb = (b < 0) ? 0 : ((b > 255) ? 255 : b);
    out = ((((rb) >> 3) << 11) | (((gb) >> 2) << 5) | ((bb) >> 3));
    write(1, &out, 2);
    e = r - ((((out) >> 11) & 0x1f) * 255 / 31);
    {
      next_error[(i - 1) * 3 + 0] += e * 3 / 16;
      next_error[(i)*3 + 0] += e * 5 / 16;
      next_error[(i + 1) * 3 + 0] += e * 1 / 16;
      error[(i + 1) * 3 + 0] += e - ((e * 1 / 16) + (e * 3 / 16) + (e * 5 / 16));
    };
    e = g - ((((out) >> 5) & 0x3f) * 255 / 63);
    {
      next_error[(i - 1) * 3 + 1] += e * 3 / 16;
      next_error[(i)*3 + 1] += e * 5 / 16;
      next_error[(i + 1) * 3 + 1] += e * 1 / 16;
      error[(i + 1) * 3 + 1] += e - ((e * 1 / 16) + (e * 3 / 16) + (e * 5 / 16));
    };
    e = b - (((out)&0x1f) * 255 / 31);
    {
      next_error[(i - 1) * 3 + 2] += e * 3 / 16;
      next_error[(i)*3 + 2] += e * 5 / 16;
      next_error[(i + 1) * 3 + 2] += e * 1 / 16;
      error[(i + 1) * 3 + 2] += e - ((e * 1 / 16) + (e * 3 / 16) + (e * 5 / 16));
    };
    ++i;
    if (i == width) {
      int *temp = error;
      error = next_error;
      next_error = temp;
      memset(next_error, 0, (width + 1) * 3 * sizeof(int));
      i = 0;
    }
  }
  free(error - 3);
  free(next_error - 3);
  return;
}
```