user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<ini_parse_file>:
  endbr64
  push   %r15
  pxor   %xmm0,%xmm0
  push   %r14
  push   %r13
  xor    %r13d,%r13d
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  push   %rbx
  xor    %ebx,%ebx
  sub    $0x4b8,%rsp
  mov    %rsi,0x8(%rsp)
  lea    0xa0(%rsp),%rbp
  lea    0x60(%rsp),%r15
  mov    %rdx,0x10(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x4a8(%rsp)
  xor    %eax,%eax
  movaps %xmm0,0x20(%rsp)
  movaps %xmm0,0x30(%rsp)
  movaps %xmm0,0x40(%rsp)
  movaps %xmm0,0x50(%rsp)
  movaps %xmm0,0x60(%rsp)
  movaps %xmm0,0x70(%rsp)
  movaps %xmm0,0x80(%rsp)
  movaps %xmm0,0x90(%rsp)
  nopl   0x0(%rax)
L57:
  mov    %r12,%rdx
  mov    $0x400,%esi
  mov    %rbp,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L154
  mov    %rbp,%rdi
  add    $0x1,%ebx
  call   <rstrip@plt>
  mov    %rax,%rdi
  call   <lskip@plt>
  mov    %rax,%r14
  movzbl (%rax),%eax
  cmp    $0x3b,%al
  je     L57
  cmp    $0x23,%al
  je     L57
  cmp    $0x5b,%al
  je     L67
  test   %al,%al
  je     L57
  mov    $0x3d,%esi
  mov    %r14,%rdi
  call   <find_char_or_comment@plt>
  cmpb   $0x3d,(%rax)
  mov    %rax,%rdx
  jne    L151
L68:
  movb   $0x0,(%rdx)
  mov    %r14,%rdi
  mov    %rdx,0x18(%rsp)
  call   <rstrip@plt>
  mov    0x18(%rsp),%rdx
  mov    %rax,%r14
  lea    0x1(%rdx),%rdi
  call   <lskip@plt>
  xor    %esi,%esi
  mov    %rax,%rdi
  mov    %rax,0x18(%rsp)
  call   <find_char_or_comment@plt>
  mov    0x18(%rsp),%rcx
  cmpb   $0x3b,(%rax)
  je     L23
L110:
  mov    %rcx,%rdi
  mov    %rcx,0x18(%rsp)
  call   <rstrip@plt>
  mov    $0x40,%edx
  mov    %r14,%rsi
  mov    %r15,%rdi
  call   <strncpy0@plt>
  mov    0x18(%rsp),%rcx
  mov    0x10(%rsp),%rdi
  mov    %r14,%rdx
  mov    0x8(%rsp),%rax
  lea    0x20(%rsp),%rsi
  call   *%rax
  or     %r13d,%eax
  cmove  %ebx,%r13d
  jmp    L57
  nop
L154:
  mov    0x4a8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L22
  add    $0x4b8,%rsp
  mov    %r13d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L67:
  add    $0x1,%r14
  mov    $0x5d,%esi
  mov    %r14,%rdi
  call   <find_char_or_comment@plt>
  cmpb   $0x5d,(%rax)
  je     L159
L105:
  test   %r13d,%r13d
  cmove  %ebx,%r13d
  jmp    L57
  nopw   0x0(%rax,%rax,1)
L151:
  mov    $0x3a,%esi
  mov    %r14,%rdi
  call   <find_char_or_comment@plt>
  mov    %rax,%rdx
  movzbl (%rax),%eax
  cmp    $0x3d,%al
  je     L68
  cmp    $0x3a,%al
  jne    L105
  jmp    L68
  nopl   0x0(%rax)
L23:
  movb   $0x0,(%rax)
  jmp    L110
  nopl   0x0(%rax,%rax,1)
L159:
  movb   $0x0,(%rax)
  lea    0x20(%rsp),%rdi
  mov    $0x40,%edx
  mov    %r14,%rsi
  call   <strncpy0@plt>
  movb   $0x0,0x60(%rsp)
  jmp    L57
L22:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int ini_parse_file(FILE *file, int (*handler)(void *, const char *, const char *, const char *), void *user) {
  char line[1024];
  char section[64] = "";
  char prev_name[64] = "";
  char *start;
  char *end;
  char *name;
  char *value;
  int lineno = 0;
  int error = 0;
  while (fgets(line, sizeof(line), file) != NULL) {
    lineno++;
    start = lskip(rstrip(line));
    if (*start == ';' || *start == '#') {
    } else if (*start == '[') {
      end = find_char_or_comment(start + 1, ']');
      if (*end == ']') {
        *end = '\0';
        strncpy0(section, start + 1, sizeof(section));
        *prev_name = '\0';
      } else if (!error) {
        error = lineno;
      }
    } else if (*start && *start != ';') {
      end = find_char_or_comment(start, '=');
      if (*end != '=') {
        end = find_char_or_comment(start, ':');
      }
      if (*end == '=' || *end == ':') {
        *end = '\0';
        name = rstrip(start);
        value = lskip(end + 1);
        end = find_char_or_comment(value, '\0');
        if (*end == ';')
          *end = '\0';
        rstrip(value);
        strncpy0(prev_name, name, sizeof(prev_name));
        if (!handler(user, section, name, value) && !error)
          error = lineno;
      } else if (!error) {
        error = lineno;
      }
    }
  }
  return error;
}
```