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
  xor    %ebp,%ebp
  push   %rbx
  sub    $0x178,%rsp
  mov    %rdx,0x10(%rsp)
  xor    %edx,%edx
  lea    0x60(%rsp),%r15
  lea    0xa0(%rsp),%rbx
  mov    %rsi,0x8(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x168(%rsp)
  xor    %eax,%eax
  xor    %eax,%eax
  mov    %dx,0x90(%rsp)
  mov    %ax,0x50(%rsp)
  movaps %xmm0,0x20(%rsp)
  movaps %xmm0,0x30(%rsp)
  movaps %xmm0,0x40(%rsp)
  movaps %xmm0,0x60(%rsp)
  movaps %xmm0,0x70(%rsp)
  movaps %xmm0,0x80(%rsp)
  nopl   (%rax)
L143:
  mov    %r12,%rdx
  mov    $0xc8,%esi
  mov    %rbx,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L171
  mov    %rbx,%rdi
  add    $0x1,%ebp
  call   <rstrip@plt>
  mov    %rax,%rdi
  call   <lskip@plt>
  mov    %rax,%r14
  movzbl (%rax),%eax
  cmp    $0x3b,%al
  je     L143
  cmp    $0x23,%al
  je     L143
  cmpb   $0x0,0x60(%rsp)
  setne  %sil
  cmp    %rbx,%r14
  seta   %dl
  test   %dl,%sil
  je     L58
  test   %al,%al
  jne    L144
L58:
  cmp    $0x5b,%al
  je     L5
  test   %al,%al
  je     L143
  mov    $0x3d,%esi
  mov    %r14,%rdi
  call   <find_char_or_comment@plt>
  cmpb   $0x3d,(%rax)
  mov    %rax,%rdx
  jne    L123
L28:
  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)
  jne    L79
  movb   $0x0,(%rax)
L79:
  mov    %rcx,%rdi
  mov    %rcx,0x18(%rsp)
  call   <rstrip@plt>
  mov    $0x32,%edx
  mov    %r14,%rsi
  mov    %r15,%rdi
  call   <strncpy0@plt>
  mov    0x18(%rsp),%rcx
  lea    0x20(%rsp),%rsi
  mov    %r14,%rdx
L26:
  mov    0x10(%rsp),%rdi
  mov    0x8(%rsp),%rax
  call   *%rax
  cmp    $0xffffffff,%eax
  je     L85
  or     %r13d,%eax
  cmove  %ebp,%r13d
  jmp    L143
  nop
L5:
  add    $0x1,%r14
  mov    $0x5d,%esi
  mov    %r14,%rdi
  call   <find_char_or_comment@plt>
  cmpb   $0x5d,(%rax)
  je     L139
L90:
  test   %r13d,%r13d
  cmove  %ebp,%r13d
  jmp    L143
  nopw   0x0(%rax,%rax,1)
L123:
  mov    $0x3a,%esi
  mov    %r14,%rdi
  call   <find_char_or_comment@plt>
  mov    %rax,%rdx
  movzbl (%rax),%eax
  cmp    $0x3d,%al
  je     L28
  cmp    $0x3a,%al
  jne    L90
  jmp    L28
  nopl   0x0(%rax)
L144:
  lea    0x20(%rsp),%rsi
  mov    %r14,%rcx
  mov    %r15,%rdx
  jmp    L26
L85:
  mov    $0xffffffff,%r13d
  nopl   0x0(%rax,%rax,1)
L171:
  mov    0x168(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L104
  add    $0x178,%rsp
  mov    %r13d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L139:
  movb   $0x0,(%rax)
  lea    0x20(%rsp),%rdi
  mov    $0x32,%edx
  mov    %r14,%rsi
  call   <strncpy0@plt>
  movb   $0x0,0x60(%rsp)
  jmp    L143
L104:
  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[200];
  char section[50] = "";
  char prev_name[50] = "";
  char *start;
  char *end;
  char *name;
  char *value;
  int lineno = 0;
  int error = 0;
  int rc = 0;
  while (fgets(line, sizeof(line), file) != NULL) {
    lineno++;
    start = lskip(rstrip(line));
    if (*start == ';' || *start == '#') {
    } else if (*prev_name && *start && start > line) {
      rc = handler(user, section, prev_name, start);
      if (rc == -1)
        return -1;
      if (!rc && !error)
        error = lineno;
    } 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));
        rc = handler(user, section, name, value);
        if (rc == -1)
          return -1;
        if (!rc && !error)
          error = lineno;
      } else if (!error) {
        error = lineno;
      }
    }
  }
  return error;
}
```