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

```asm
<read_conf>:
  endbr64
  push   %r13
  lea    D14(%rip),%rsi
  mov    %rdi,%r13
  push   %r12
  lea    D16(%rip),%r12
  push   %rbp
  push   %rbx
  sub    $0x318,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x308(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rbx
  call   <fopen@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L99
  nopl   0x0(%rax)
L225:
  mov    %rbp,%rdx
  mov    $0x100,%esi
  mov    %rbx,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L20
  movzbl (%rsp),%eax
  cmp    $0x23,%al
  je     L225
  cmp    $0xa,%al
  je     L225
  cmp    $0x3a,%al
  je     L129
  lea    0x100(%rsp),%r8
  xor    %edx,%edx
  mov    %rbx,%rcx
  mov    %r8,%rsi
  nopl   0x0(%rax)
L16:
  add    $0x1,%rcx
  mov    %al,(%rsi)
  mov    %edx,%edi
  add    $0x1,%rsi
  movzbl (%rcx),%eax
  add    $0x1,%edx
  cmp    $0x3a,%al
  je     L132
  cmp    $0xa,%al
  jne    L16
L132:
  movslq %edx,%rdx
  movb   $0x0,0x100(%rsp,%rdx,1)
  cmp    $0x3a,%al
  je     L108
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <ErrMsg@plt>
  jmp    L225
  nopl   (%rax)
L129:
  movb   $0x0,0x100(%rsp)
  mov    $0xffffffff,%edi
  mov    %rbx,%rcx
  lea    0x100(%rsp),%r8
L108:
  movslq %edi,%rax
  movzbl 0x100(%rsp,%rax,1),%edx
  cmp    $0x9,%dl
  je     L29
  cmp    $0x20,%dl
  jne    L222
L29:
  add    %r8,%rax
  nopl   0x0(%rax,%rax,1)
L94:
  movzbl -0x1(%rax),%edx
  movb   $0x0,(%rax)
  sub    $0x1,%rax
  cmp    $0x20,%dl
  je     L94
  cmp    $0x9,%dl
  je     L94
L222:
  movzbl 0x1(%rcx),%eax
  lea    0x1(%rcx),%rdx
  cmp    $0x20,%al
  jne    L10
  nopl   0x0(%rax)
L51:
  movzbl 0x1(%rdx),%eax
  add    $0x1,%rdx
  cmp    $0x20,%al
  je     L51
L10:
  cmp    $0x9,%al
  je     L51
  cmp    $0x27,%al
  je     L2
  cmp    $0x22,%al
  je     L2
  movzbl (%rdx),%ecx
  lea    -0x9(%rcx),%eax
  cmp    $0x1,%al
  jbe    L75
L44:
  mov    $0x1,%eax
  lea    0x1ff(%rsp),%r10
  nopl   0x0(%rax,%rax,1)
L193:
  mov    %cl,(%r10,%rax,1)
  mov    %ecx,%r9d
  movzbl (%rdx,%rax,1),%ecx
  lea    -0x1(%rax),%edi
  mov    %eax,%r11d
  add    $0x1,%rax
  lea    -0x9(%rcx),%esi
  cmp    $0x1,%sil
  ja     L193
  mov    %r9d,%eax
  and    $0xfffffffd,%eax
  cmp    $0x20,%al
  je     L105
  cmp    $0x27,%r9b
  cmovne %r11d,%edi
L105:
  movslq %edi,%rdi
  lea    0x200(%rsp),%rsi
  movb   $0x0,0x200(%rsp,%rdi,1)
  mov    %r8,%rdi
  call   <set_conf_para@plt>
  jmp    L225
  nopl   0x0(%rax,%rax,1)
L20:
  mov    %rbp,%rdi
  call   <fclose@plt>
  mov    0x308(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L109
  add    $0x318,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   0x0(%rax)
L2:
  movzbl 0x1(%rdx),%ecx
  add    $0x1,%rdx
  lea    -0x9(%rcx),%eax
  cmp    $0x1,%al
  ja     L44
L75:
  xor    %edi,%edi
  jmp    L105
L99:
  mov    0x308(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L109
  add    $0x318,%rsp
  mov    %r13,%rsi
  lea    D21(%rip),%rdi
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  jmp    10d0 <ErrMsg@plt>
L109:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_tag: D14
type_guessed: string
name: read_data
arguments: data_tag: D16
type_guessed: string
name: read_data
arguments: data_tag: D21
type_guessed: string

tool: D14: r

tool: D16: * Unknown conf line ...
%s

tool: D21: * Conf file '%s' does not exist.


assistant: ```c
void read_conf(char *cfile) {
  FILE *fp;
  char line[256], cpara[256], val[256], *c;
  int p;
  fp = fopen(cfile, "r");
  if (fp == NULL) {
    ErrMsg("* Conf file '%s' does not exist.\n", cfile);
    return;
  }
  while (fgets(line, 256, fp) != NULL) {
    if (line[0] == '#' || line[0] == '\n')
      continue;
    c = line;
    p = 0;
    while (*c != ':' && *c != '\n') {
      cpara[p++] = *(c++);
    }
    cpara[p] = '\0';
    if (*c != ':') {
      ErrMsg("* Unknown conf line ...\n%s");
      continue;
    }
    --p;
    while (cpara[p] == ' ' || cpara[p] == '\t') {
      cpara[p--] = '\0';
    }
    ++c;
    while (*c == ' ' || *c == '\t') {
      ++c;
    }
    if (*c == '\'' || *c == '"') {
      ++c;
    }
    p = 0;
    while (*c != '\t' && *c != '\n') {
      val[p++] = *(c++);
    }
    if (p >= 1) {
      if (val[p - 1] == ' ' || val[p - 1] == '\'' || val[p - 1] == '"') {
        --p;
      }
    }
    val[p] = '\0';
    set_conf_para(cpara, val);
  }
  fclose(fp);
}
```