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

```asm
<nsvg__parseNumber>:
  endbr64
  push   %r15
  push   %r14
  mov    %rdi,%r14
  push   %r13
  lea    -0x1(%rdx),%r13d
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  movsbl (%rdi),%edi
  lea    -0x2b(%rdi),%eax
  test   $0xfd,%al
  jne    L266
  test   %r13d,%r13d
  jle    L259
  mov    %dil,(%rsi)
  lea    0x1(%rsi),%rax
  mov    $0x1,%ebx
L256:
  movsbl 0x1(%r14),%edi
  add    $0x1,%r14
  jmp    L85
  cs nopw 0x0(%rax,%rax,1)
L266:
  mov    %rsi,%rax
  xor    %ebx,%ebx
L85:
  movslq %ebx,%rbp
  test   %dil,%dil
  jne    L224
  jmp    L314
  nopw   0x0(%rax,%rax,1)
L62:
  cmp    %ebx,%r13d
  jle    L48
  movzbl (%r14),%edx
  add    $0x1,%ebx
  movslq %ebx,%rbp
  mov    %dl,(%rax)
L48:
  movsbl 0x1(%r14),%edi
  add    $0x1,%r14
  test   %dil,%dil
  je     L237
L224:
  call   <nsvg__isdigit@plt>
  mov    %rax,%r8
  lea    (%r12,%rbp,1),%rax
  test   %r8,%r8
  jne    L62
  movzbl (%r14),%edx
  cmp    $0x2e,%dl
  jne    L98
  cmp    %ebx,%r13d
  jg     L307
L87:
  movsbl 0x1(%r14),%edi
  lea    0x1(%r14),%r15
  test   %dil,%dil
  jne    L255
  jmp    L227
  nopl   (%rax)
L346:
  cmp    %ebx,%r13d
  jle    L49
  movzbl (%r15),%edx
  add    $0x1,%ebx
  movslq %ebx,%rbp
  mov    %dl,(%rax)
L49:
  movsbl 0x1(%r15),%edi
  add    $0x1,%r15
  test   %dil,%dil
  je     L227
L255:
  call   <nsvg__isdigit@plt>
  mov    %rax,%r8
  lea    (%r12,%rbp,1),%rax
  test   %r8,%r8
  jne    L346
  movzbl (%r15),%edx
L92:
  mov    %edx,%ecx
  and    $0xffffffdf,%ecx
  cmp    $0x45,%cl
  jne    L318
  movsbl 0x1(%r15),%edi
  cmp    $0x6d,%dil
  je     L318
  cmp    $0x78,%dil
  je     L318
  lea    0x1(%r15),%r14
  cmp    %r13d,%ebx
  jge    L13
  mov    %dl,(%rax)
  movsbl 0x1(%r15),%edi
  lea    0x1(%rbx),%ecx
  movslq %ecx,%rax
  lea    -0x2b(%rdi),%edx
  add    %r12,%rax
  and    $0xfd,%edx
  jne    L15
  cmp    %ecx,%r13d
  jle    L207
  add    $0x2,%ebx
  mov    %dil,(%rax)
  movslq %ebx,%rbp
  lea    (%r12,%rbp,1),%rax
L74:
  movsbl 0x2(%r15),%edi
  lea    0x2(%r15),%r14
L332:
  movslq %ebx,%rbp
  test   %dil,%dil
  jne    L265
  jmp    L314
  nopl   0x0(%rax)
L240:
  cmp    %ebx,%r13d
  jle    L185
  movzbl (%r14),%edx
  add    $0x1,%ebx
  movslq %ebx,%rbp
  mov    %dl,(%rax)
L185:
  movsbl 0x1(%r14),%edi
  add    $0x1,%r14
  test   %dil,%dil
  je     L237
L265:
  call   <nsvg__isdigit@plt>
  mov    %rax,%r8
  lea    (%r12,%rbp,1),%rax
  test   %r8,%r8
  jne    L240
L314:
  mov    %r14,%r15
L318:
  movb   $0x0,(%rax)
  add    $0x8,%rsp
  mov    %r15,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L237:
  lea    (%r12,%rbp,1),%rax
  jmp    L314
  cs nopw 0x0(%rax,%rax,1)
L259:
  mov    %rsi,%rax
  xor    %ebx,%ebx
  jmp    L256
  nopw   0x0(%rax,%rax,1)
L307:
  add    $0x1,%ebx
  movb   $0x2e,(%rax)
  movslq %ebx,%rbp
  jmp    L87
  xchg   %ax,%ax
L227:
  lea    (%r12,%rbp,1),%rax
  jmp    L318
  cs nopw 0x0(%rax,%rax,1)
L98:
  mov    %r14,%r15
  jmp    L92
  nopl   0x0(%rax,%rax,1)
L13:
  lea    -0x2b(%rdi),%edx
  and    $0xfd,%edx
  je     L74
  jmp    L332
L15:
  mov    %ecx,%ebx
  jmp    L332
L207:
  mov    %ecx,%ebx
  jmp    L74
```

assistant: ```c
const char *nsvg__parseNumber(const char *s, char *it, const int size) {
  const int last = size - 1;
  int i = 0;
  if (*s == '-' || *s == '+') {
    if (i < last)
      it[i++] = *s;
    s++;
  }
  while (*s && nsvg__isdigit(*s)) {
    if (i < last)
      it[i++] = *s;
    s++;
  }
  if (*s == '.') {
    if (i < last)
      it[i++] = *s;
    s++;
    while (*s && nsvg__isdigit(*s)) {
      if (i < last)
        it[i++] = *s;
      s++;
    }
  }
  if ((*s == 'e' || *s == 'E') && (s[1] != 'm' && s[1] != 'x')) {
    if (i < last)
      it[i++] = *s;
    s++;
    if (*s == '-' || *s == '+') {
      if (i < last)
        it[i++] = *s;
      s++;
    }
    while (*s && nsvg__isdigit(*s)) {
      if (i < last)
        it[i++] = *s;
      s++;
    }
  }
  it[i] = '\0';
  return s;
}
```