user: Translate the below assembly code into C programming language:

```asm
<ini_parse_file>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x1a0,%rsp
  mov    %rdi,-0x188(%rbp)
  mov    %rsi,-0x190(%rbp)
  mov    %rdx,-0x198(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movq   $0x0,-0x150(%rbp)
  movq   $0x0,-0x148(%rbp)
  movq   $0x0,-0x140(%rbp)
  movq   $0x0,-0x138(%rbp)
  movq   $0x0,-0x130(%rbp)
  movq   $0x0,-0x128(%rbp)
  movw   $0x0,-0x120(%rbp)
  movq   $0x0,-0x110(%rbp)
  movq   $0x0,-0x108(%rbp)
  movq   $0x0,-0x100(%rbp)
  movq   $0x0,-0xf8(%rbp)
  movq   $0x0,-0xf0(%rbp)
  movq   $0x0,-0xe8(%rbp)
  movw   $0x0,-0xe0(%rbp)
  movl   $0x0,-0x178(%rbp)
  movl   $0x0,-0x174(%rbp)
  jmp    L17
L163:
  addl   $0x1,-0x178(%rbp)
  lea    -0xd0(%rbp),%rax
  mov    %rax,-0x170(%rbp)
  cmpl   $0x1,-0x178(%rbp)
  jne    L281
  mov    -0x170(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0xef,%al
  jne    L281
  mov    -0x170(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  cmp    $0xbb,%al
  jne    L281
  mov    -0x170(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  cmp    $0xbf,%al
  jne    L281
  addq   $0x3,-0x170(%rbp)
L281:
  mov    -0x170(%rbp),%rax
  mov    %rax,%rdi
  call   <rstrip@plt>
  mov    %rax,%rdi
  call   <lskip@plt>
  mov    %rax,-0x170(%rbp)
  mov    -0x170(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3b,%al
  je     L17
  mov    -0x170(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x23,%al
  je     L17
  movzbl -0x110(%rbp),%eax
  test   %al,%al
  je     L190
  mov    -0x170(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L190
  lea    -0xd0(%rbp),%rax
  cmp    %rax,-0x170(%rbp)
  jbe    L190
  mov    -0x170(%rbp),%rcx
  lea    -0x110(%rbp),%rdx
  lea    -0x150(%rbp),%rsi
  mov    -0x198(%rbp),%rax
  mov    -0x190(%rbp),%r8
  mov    %rax,%rdi
  call   *%r8
  test   %eax,%eax
  jne    L17
  cmpl   $0x0,-0x174(%rbp)
  jne    L17
  mov    -0x178(%rbp),%eax
  mov    %eax,-0x174(%rbp)
  jmp    L17
L190:
  mov    -0x170(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x5b,%al
  jne    L128
  mov    -0x170(%rbp),%rax
  add    $0x1,%rax
  mov    $0x5d,%esi
  mov    %rax,%rdi
  call   <find_char_or_comment@plt>
  mov    %rax,-0x168(%rbp)
  mov    -0x168(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x5d,%al
  jne    L139
  mov    -0x168(%rbp),%rax
  movb   $0x0,(%rax)
  mov    -0x170(%rbp),%rax
  lea    0x1(%rax),%rcx
  lea    -0x150(%rbp),%rax
  mov    $0x32,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncpy0@plt>
  movb   $0x0,-0x110(%rbp)
  jmp    L17
L139:
  cmpl   $0x0,-0x174(%rbp)
  jne    L17
  mov    -0x178(%rbp),%eax
  mov    %eax,-0x174(%rbp)
  jmp    L17
L128:
  mov    -0x170(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L17
  mov    -0x170(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3b,%al
  je     L17
  mov    -0x170(%rbp),%rax
  mov    $0x3d,%esi
  mov    %rax,%rdi
  call   <find_char_or_comment@plt>
  mov    %rax,-0x168(%rbp)
  mov    -0x168(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3d,%al
  je     L210
  mov    -0x170(%rbp),%rax
  mov    $0x3a,%esi
  mov    %rax,%rdi
  call   <find_char_or_comment@plt>
  mov    %rax,-0x168(%rbp)
L210:
  mov    -0x168(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3d,%al
  je     L285
  mov    -0x168(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3a,%al
  jne    L220
L285:
  mov    -0x168(%rbp),%rax
  movb   $0x0,(%rax)
  mov    -0x170(%rbp),%rax
  mov    %rax,%rdi
  call   <rstrip@plt>
  mov    %rax,-0x160(%rbp)
  mov    -0x168(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,%rdi
  call   <lskip@plt>
  mov    %rax,-0x158(%rbp)
  mov    -0x158(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <find_char_or_comment@plt>
  mov    %rax,-0x168(%rbp)
  mov    -0x168(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3b,%al
  jne    L24
  mov    -0x168(%rbp),%rax
  movb   $0x0,(%rax)
L24:
  mov    -0x158(%rbp),%rax
  mov    %rax,%rdi
  call   <rstrip@plt>
  mov    -0x160(%rbp),%rcx
  lea    -0x110(%rbp),%rax
  mov    $0x32,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncpy0@plt>
  mov    -0x158(%rbp),%rcx
  mov    -0x160(%rbp),%rdx
  lea    -0x150(%rbp),%rsi
  mov    -0x198(%rbp),%rax
  mov    -0x190(%rbp),%r8
  mov    %rax,%rdi
  call   *%r8
  test   %eax,%eax
  jne    L17
  cmpl   $0x0,-0x174(%rbp)
  jne    L17
  mov    -0x178(%rbp),%eax
  mov    %eax,-0x174(%rbp)
  jmp    L17
L220:
  cmpl   $0x0,-0x174(%rbp)
  jne    L17
  mov    -0x178(%rbp),%eax
  mov    %eax,-0x174(%rbp)
L17:
  mov    -0x188(%rbp),%rdx
  lea    -0xd0(%rbp),%rax
  mov    $0xc8,%esi
  mov    %rax,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  jne    L163
  mov    -0x174(%rbp),%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L289
  call   <__stack_chk_fail@plt>
L289:
  leave
  ret
```

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;
  while (fgets(line, 200, file) != NULL) {
    lineno++;
    start = line;
    if (lineno == 1 && (unsigned char)start[0] == 0xEF && (unsigned char)start[1] == 0xBB && (unsigned char)start[2] == 0xBF) {
      start += 3;
    }
    start = lskip(rstrip(start));
    if (*start == ';' || *start == '#')
      ;
    else if (*prev_name && *start && start > line) {
      if (!handler(user, section, prev_name, start) && !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));
        if (!handler(user, section, name, value) && !error)
          error = lineno;
      } else if (!error) {
        error = lineno;
      }
    }
  }
  return error;
}
```