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

```asm
<parse_time_inc>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  mov    %rdi,%rbx
  mov    %rsi,%r13
  mov    %rdx,%r12
  movsbl (%rdi),%ebp
  sub    $0x30,%ebp
  movsbl 0x1(%rdi),%edi
  call   <isdigit@plt>
  mov    %rax,%rdx
  mov    $0x1,%eax
  test   %rdx,%rdx
  je     L162
  lea    0x0(%rbp,%rbp,4),%edx
  movsbl 0x1(%rbx),%eax
  lea    -0x30(%rax,%rdx,2),%ebp
  mov    $0x2,%eax
L162:
  cltq
  movzbl (%rbx,%rax,1),%edx
  cmp    $0x4d,%dl
  je     L160
  cmp    $0x6d,%dl
  je     L76
  cmp    $0x48,%dl
  jne    L205
  cmpb   $0x52,0x1(%rbx,%rax,1)
  je     L273
  mov    $0x0,%ebp
  mov    $0x0,%ecx
  mov    $0x0,%edx
  jmp    L144
L160:
  cmpb   $0x4e,0x1(%rbx,%rax,1)
  je     L269
  cmpb   $0x4f,0x1(%rbx,%rax,1)
  je     L86
  mov    $0x0,%ebp
  mov    $0x0,%ecx
  mov    $0x0,%edx
  jmp    L144
L76:
  cmpb   $0x6e,0x1(%rbx,%rax,1)
  je     L269
  cmpb   $0x6f,0x1(%rbx,%rax,1)
  je     L86
  mov    $0x0,%ebp
  mov    $0x0,%ecx
  mov    $0x0,%edx
  jmp    L144
L269:
  imul   $0x3c,%ebp,%ecx
  mov    $0x0,%ebp
  mov    $0x1,%edx
L144:
  mov    %ebp,0x0(%r13)
  mov    %ecx,(%r12)
  mov    %edx,%eax
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L205:
  cmp    $0x68,%dl
  jne    L62
  cmpb   $0x72,0x1(%rbx,%rax,1)
  je     L273
  mov    $0x0,%ebp
  mov    $0x0,%ecx
  mov    $0x0,%edx
  jmp    L144
L273:
  imul   $0xe10,%ebp,%ecx
  mov    $0x0,%ebp
  mov    $0x1,%edx
  jmp    L144
L62:
  cmp    $0x44,%dl
  jne    L118
  mov    $0x0,%ecx
  cmpb   $0x59,0x1(%rbx,%rax,1)
  sete   %dl
  movzbl %dl,%edx
  mov    $0x0,%eax
  cmovne %eax,%ebp
  jmp    L144
L118:
  cmp    $0x64,%dl
  jne    L179
  mov    $0x0,%ecx
  cmpb   $0x79,0x1(%rbx,%rax,1)
  sete   %dl
  movzbl %dl,%edx
  mov    $0x0,%eax
  cmovne %eax,%ebp
  jmp    L144
L86:
  imul   $0x1e,%ebp,%ebp
  mov    $0x8ca0,%ecx
  mov    $0x1,%edx
  jmp    L144
L179:
  cmp    $0x59,%dl
  je     L239
  cmp    $0x79,%dl
  jne    L264
  cmpb   $0x72,0x1(%rbx,%rax,1)
  jne    L57
L170:
  imul   $0x16d,%ebp,%ebp
  mov    $0x0,%ecx
  mov    $0x1,%edx
  jmp    L144
L239:
  cmpb   $0x52,0x1(%rbx,%rax,1)
  je     L170
  mov    $0x0,%ebp
  mov    $0x0,%ecx
  mov    $0x0,%edx
  jmp    L144
L264:
  mov    $0x0,%ebp
  mov    $0x0,%ecx
  mov    $0x0,%edx
  jmp    L144
L57:
  mov    $0x0,%ebp
  mov    $0x0,%ecx
  mov    $0x0,%edx
  jmp    L144
```

assistant: ```c
int parse_time_inc(char *inc, int *days, int *seconds) {
  int i, k;
  i = inc[0] - '0';
  if (isdigit(inc[1])) {
    i = i * 10 + inc[1] - '0';
    k = 2;
  } else {
    k = 1;
  }
  if ((inc[k] == 'M' && inc[k + 1] == 'N') || (inc[k] == 'm' && inc[k + 1] == 'n')) {
    *days = 0;
    *seconds = i * 60;
  } else if ((inc[k] == 'H' && inc[k + 1] == 'R') || (inc[k] == 'h' && inc[k + 1] == 'r')) {
    *days = 0;
    *seconds = i * 60 * 60;
  } else if ((inc[k] == 'D' && inc[k + 1] == 'Y') || (inc[k] == 'd' && inc[k + 1] == 'y')) {
    *days = i;
    *seconds = 0;
  } else if ((inc[k] == 'M' && inc[k + 1] == 'O') || (inc[k] == 'm' && inc[k + 1] == 'o')) {
    *days = 30 * i;
    *seconds = 60 * 60 * 10;
  } else if ((inc[k] == 'Y' && inc[k + 1] == 'R') || (inc[k] == 'y' && inc[k + 1] == 'r')) {
    *days = 365 * i;
    *seconds = 0;
  } else {
    *days = 0;
    *seconds = 0;
    return 0;
  }
  return 1;
}
```