user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<MD4_Update>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r12
  push   %rbx
  sub    $0x50,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %rsi,-0x50(%rbp)
  mov    %rdx,-0x58(%rbp)
  mov    -0x50(%rbp),%rax
  mov    %rax,-0x38(%rbp)
  cmpq   $0x0,-0x58(%rbp)
  jne    L397
  mov    $0x1,%eax
  jmp    L414
L397:
  mov    -0x48(%rbp),%rax
  mov    (%rax),%edx
  mov    -0x58(%rbp),%rax
  shl    $0x3,%eax
  lea    (%rdx,%rax,1),%ebx
  mov    -0x48(%rbp),%rax
  mov    (%rax),%eax
  cmp    %eax,%ebx
  jge    L323
  mov    -0x48(%rbp),%rax
  mov    0x10(%rax),%rax
  lea    0x1(%rax),%rdx
  mov    -0x48(%rbp),%rax
  mov    %rdx,0x10(%rax)
L323:
  mov    -0x48(%rbp),%rax
  mov    0x10(%rax),%rax
  mov    %rax,%rdx
  mov    -0x58(%rbp),%rax
  shr    $0x1d,%rax
  add    %rdx,%rax
  mov    %rax,%rdx
  mov    -0x48(%rbp),%rax
  mov    %rdx,0x10(%rax)
  mov    -0x48(%rbp),%rax
  mov    %ebx,(%rax)
  mov    -0x48(%rbp),%rax
  mov    0x4(%rax),%eax
  test   %eax,%eax
  je     L40
  mov    -0x48(%rbp),%rax
  mov    0x8(%rax),%r12
  mov    -0x48(%rbp),%rax
  mov    0x4(%rax),%eax
  sar    $0x2,%eax
  cltq
  mov    %rax,-0x30(%rbp)
  mov    -0x48(%rbp),%rax
  mov    0x4(%rax),%eax
  cltq
  and    $0x3,%eax
  mov    %rax,-0x20(%rbp)
  mov    -0x48(%rbp),%rax
  mov    0x4(%rax),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  add    %rax,%rdx
  mov    D0(%rip),%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  jb     L56
  mov    -0x30(%rbp),%rax
  shl    $0x2,%rax
  add    %r12,%rax
  mov    (%rax),%ebx
  cmpq   $0x3,-0x20(%rbp)
  je     L169
  cmpq   $0x3,-0x20(%rbp)
  ja     L182
  cmpq   $0x2,-0x20(%rbp)
  je     L212
  cmpq   $0x2,-0x20(%rbp)
  ja     L182
  cmpq   $0x0,-0x20(%rbp)
  je     L183
  cmpq   $0x1,-0x20(%rbp)
  je     L352
  jmp    L182
L183:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%ebx
L352:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x8,%rax
  mov    %eax,%edx
  mov    %ebx,%eax
  or     %edx,%eax
  mov    %eax,%ebx
L212:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x10,%rax
  mov    %eax,%edx
  mov    %ebx,%eax
  or     %edx,%eax
  mov    %eax,%ebx
L169:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x18,%rax
  mov    %eax,%edx
  mov    %ebx,%eax
  or     %edx,%eax
  mov    %eax,%ebx
L182:
  mov    -0x30(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  shl    $0x2,%rax
  add    %r12,%rax
  mov    %ebx,(%rax)
  jmp    L411
L349:
  mov    -0x38(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%ebx
  addq   $0x4,-0x38(%rbp)
  mov    -0x30(%rbp),%rax
  shl    $0x2,%rax
  add    %r12,%rax
  mov    %ebx,(%rax)
  addq   $0x1,-0x30(%rbp)
L411:
  mov    D4(%rip),%rax
  mov    (%rax),%rax
  cmp    %rax,-0x30(%rbp)
  jb     L349
  mov    -0x48(%rbp),%rax
  mov    $0x1,%edx
  mov    %r12,%rsi
  mov    %rax,%rdi
  call   <md4_block_host_order@plt>
  mov    -0x48(%rbp),%rax
  mov    0x4(%rax),%eax
  movslq %eax,%rdx
  mov    D0(%rip),%rax
  mov    (%rax),%rcx
  mov    %rdx,%rax
  sub    %rcx,%rax
  add    %rax,-0x58(%rbp)
  mov    -0x48(%rbp),%rax
  movl   $0x0,0x4(%rax)
  jmp    L40
L56:
  mov    -0x48(%rbp),%rax
  mov    0x4(%rax),%eax
  mov    %eax,%edx
  mov    -0x58(%rbp),%rax
  add    %edx,%eax
  mov    %eax,%edx
  mov    -0x48(%rbp),%rax
  mov    %edx,0x4(%rax)
  mov    -0x20(%rbp),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  cmp    $0x3,%rax
  ja     L292
  mov    -0x30(%rbp),%rax
  shl    $0x2,%rax
  add    %r12,%rax
  mov    (%rax),%ebx
  cmpq   $0x2,-0x20(%rbp)
  je     L79
  cmpq   $0x2,-0x20(%rbp)
  ja     L393
  cmpq   $0x0,-0x20(%rbp)
  je     L365
  cmpq   $0x1,-0x20(%rbp)
  je     L430
  jmp    L393
L365:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%ebx
  subq   $0x1,-0x58(%rbp)
  cmpq   $0x0,-0x58(%rbp)
  je     L455
L430:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x8,%rax
  mov    %eax,%edx
  mov    %ebx,%eax
  or     %edx,%eax
  mov    %eax,%ebx
  subq   $0x1,-0x58(%rbp)
  cmpq   $0x0,-0x58(%rbp)
  je     L483
L79:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x10,%rax
  mov    %eax,%edx
  mov    %ebx,%eax
  or     %edx,%eax
  mov    %eax,%ebx
  jmp    L393
L455:
  nop
  jmp    L393
L483:
  nop
L393:
  mov    -0x30(%rbp),%rax
  shl    $0x2,%rax
  add    %r12,%rax
  mov    %ebx,(%rax)
  jmp    L81
L292:
  mov    -0x48(%rbp),%rax
  mov    0x4(%rax),%eax
  sar    $0x2,%eax
  cltq
  mov    %rax,-0x28(%rbp)
  mov    -0x48(%rbp),%rax
  mov    0x4(%rax),%eax
  cltq
  and    $0x3,%eax
  mov    %rax,-0x18(%rbp)
  cmpq   $0x0,-0x20(%rbp)
  je     L407
  mov    -0x30(%rbp),%rax
  shl    $0x2,%rax
  add    %r12,%rax
  mov    (%rax),%ebx
L407:
  cmpq   $0x3,-0x20(%rbp)
  je     L48
  cmpq   $0x3,-0x20(%rbp)
  ja     L488
  cmpq   $0x2,-0x20(%rbp)
  je     L497
  cmpq   $0x2,-0x20(%rbp)
  ja     L488
  cmpq   $0x0,-0x20(%rbp)
  je     L462
  cmpq   $0x1,-0x20(%rbp)
  je     L476
  jmp    L488
L462:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%ebx
L476:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x8,%rax
  mov    %eax,%edx
  mov    %ebx,%eax
  or     %edx,%eax
  mov    %eax,%ebx
L497:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x10,%rax
  mov    %eax,%edx
  mov    %ebx,%eax
  or     %edx,%eax
  mov    %eax,%ebx
L48:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x18,%rax
  mov    %eax,%edx
  mov    %ebx,%eax
  or     %edx,%eax
  mov    %eax,%ebx
L488:
  mov    -0x30(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  shl    $0x2,%rax
  add    %r12,%rax
  mov    %ebx,(%rax)
  jmp    L516
L453:
  mov    -0x38(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%ebx
  addq   $0x4,-0x38(%rbp)
  mov    -0x30(%rbp),%rax
  shl    $0x2,%rax
  add    %r12,%rax
  mov    %ebx,(%rax)
  addq   $0x1,-0x30(%rbp)
L516:
  mov    -0x30(%rbp),%rax
  cmp    -0x28(%rbp),%rax
  jb     L453
  cmpq   $0x0,-0x18(%rbp)
  je     L81
  mov    $0x0,%ebx
  mov    -0x18(%rbp),%rax
  add    %rax,-0x38(%rbp)
  cmpq   $0x3,-0x18(%rbp)
  je     L304
  cmpq   $0x3,-0x18(%rbp)
  ja     L206
  cmpq   $0x1,-0x18(%rbp)
  je     L474
  cmpq   $0x2,-0x18(%rbp)
  je     L387
  jmp    L206
L304:
  subq   $0x1,-0x38(%rbp)
  mov    -0x38(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x10,%rax
  mov    %eax,%ebx
L387:
  subq   $0x1,-0x38(%rbp)
  mov    -0x38(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x8,%rax
  mov    %eax,%edx
  mov    %ebx,%eax
  or     %edx,%eax
  mov    %eax,%ebx
L474:
  subq   $0x1,-0x38(%rbp)
  mov    -0x38(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%edx
  mov    %ebx,%eax
  or     %edx,%eax
  mov    %eax,%ebx
L206:
  mov    -0x30(%rbp),%rax
  shl    $0x2,%rax
  add    %r12,%rax
  mov    %ebx,(%rax)
L81:
  mov    $0x1,%eax
  jmp    L414
L40:
  mov    D0(%rip),%rax
  mov    (%rax),%rsi
  mov    -0x58(%rbp),%rax
  mov    $0x0,%edx
  div    %rsi
  mov    %rax,-0x30(%rbp)
  cmpq   $0x0,-0x30(%rbp)
  je     L283
  mov    -0x30(%rbp),%rdx
  mov    -0x38(%rbp),%rcx
  mov    -0x48(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <md4_block_data_order@plt>
  mov    D0(%rip),%rax
  mov    (%rax),%rax
  mov    -0x30(%rbp),%rdx
  imul   %rdx,%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x30(%rbp),%rax
  add    %rax,-0x38(%rbp)
  mov    -0x30(%rbp),%rax
  sub    %rax,-0x58(%rbp)
L283:
  cmpq   $0x0,-0x58(%rbp)
  je     L132
  mov    -0x48(%rbp),%rax
  mov    0x8(%rax),%r12
  mov    -0x58(%rbp),%rax
  mov    %eax,%edx
  mov    -0x48(%rbp),%rax
  mov    %edx,0x4(%rax)
  mov    -0x58(%rbp),%rax
  shr    $0x2,%rax
  mov    %rax,-0x28(%rbp)
  mov    -0x58(%rbp),%rax
  and    $0x3,%eax
  mov    %rax,-0x18(%rbp)
  jmp    L277
L31:
  mov    -0x38(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%ebx
  addq   $0x4,-0x38(%rbp)
  mov    %ebx,(%r12)
  subq   $0x1,-0x28(%rbp)
  add    $0x4,%r12
L277:
  cmpq   $0x0,-0x28(%rbp)
  jne    L31
  mov    $0x0,%ebx
  mov    -0x18(%rbp),%rax
  add    %rax,-0x38(%rbp)
  cmpq   $0x3,-0x18(%rbp)
  je     L3
  cmpq   $0x3,-0x18(%rbp)
  ja     L515
  cmpq   $0x1,-0x18(%rbp)
  je     L335
  cmpq   $0x2,-0x18(%rbp)
  je     L141
  jmp    L515
L3:
  subq   $0x1,-0x38(%rbp)
  mov    -0x38(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x10,%rax
  mov    %eax,%ebx
L141:
  subq   $0x1,-0x38(%rbp)
  mov    -0x38(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x8,%rax
  mov    %eax,%edx
  mov    %ebx,%eax
  or     %edx,%eax
  mov    %eax,%ebx
L335:
  subq   $0x1,-0x38(%rbp)
  mov    -0x38(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%edx
  mov    %ebx,%eax
  or     %edx,%eax
  mov    %eax,%ebx
L515:
  mov    %ebx,(%r12)
L132:
  mov    $0x1,%eax
L414:
  add    $0x50,%rsp
  pop    %rbx
  pop    %r12
  pop    %rbp
  ret
```

assistant: ```c
int MD4_Update(MD4_CTX *c, const void *data_, size_t len) {
  const unsigned char *data = data_;
  register MD4_LONG *p;
  register MD4_LONG l;
  size_t sw, sc, ew, ec;
  if (len == 0)
    return 1;
  l = (c->Nl + (((MD4_LONG)len) << 3)) & 0xffffffffUL;
  if (l < c->Nl)
    c->Nh++;
  c->Nh += (len >> 29);
  c->Nl = l;
  if (c->num != 0) {
    p = c->data;
    sw = c->num >> 2;
    sc = c->num & 0x03;
    if ((c->num + len) >= MD4_CBLOCK) {
      l = p[sw];
      {
        switch (sc) {
        case 0:
          l = ((unsigned long)(*((data)++)));
        case 1:
          l |= ((unsigned long)(*((data)++))) << 8;
        case 2:
          l |= ((unsigned long)(*((data)++))) << 16;
        case 3:
          l |= ((unsigned long)(*((data)++))) << 24;
        }
      };
      p[sw++] = l;
      for (; sw < MD4_LBLOCK; sw++) {
        ((l) = *((const unsigned int *)(data)), (data) += 4, l);
        p[sw] = l;
      }
      md4_block_host_order(c, p, 1);
      len -= (MD4_CBLOCK - c->num);
      c->num = 0;
    } else {
      c->num += (unsigned int)len;
      if ((sc + len) < 4) {
        l = p[sw];
        {
          switch (sc) {
          case 0:
            l = ((unsigned long)(*((data)++)));
            if (--len == 0)
              break;
          case 1:
            l |= ((unsigned long)(*((data)++))) << 8;
            if (--len == 0)
              break;
          case 2:
            l |= ((unsigned long)(*((data)++))) << 16;
          }
        };
        p[sw] = l;
      } else {
        ew = (c->num >> 2);
        ec = (c->num & 0x03);
        if (sc)
          l = p[sw];
        {
          switch (sc) {
          case 0:
            l = ((unsigned long)(*((data)++)));
          case 1:
            l |= ((unsigned long)(*((data)++))) << 8;
          case 2:
            l |= ((unsigned long)(*((data)++))) << 16;
          case 3:
            l |= ((unsigned long)(*((data)++))) << 24;
          }
        };
        p[sw++] = l;
        for (; sw < ew; sw++) {
          ((l) = *((const unsigned int *)(data)), (data) += 4, l);
          p[sw] = l;
        }
        if (ec) {
          {
            l = 0;
            (data) += ec;
            switch (ec) {
            case 3:
              l = ((unsigned long)(*(--(data)))) << 16;
            case 2:
              l |= ((unsigned long)(*(--(data)))) << 8;
            case 1:
              l |= ((unsigned long)(*(--(data))));
            }
          };
          p[sw] = l;
        }
      }
      return 1;
    }
  }
  sw = len / MD4_CBLOCK;
  if (sw > 0) {
    {
      md4_block_data_order(c, data, sw);
      sw *= MD4_CBLOCK;
      data += sw;
      len -= sw;
    }
  }
  if (len != 0) {
    p = c->data;
    c->num = len;
    ew = len >> 2;
    ec = len & 0x03;
    for (; ew; ew--, p++) {
      ((l) = *((const unsigned int *)(data)), (data) += 4, l);
      *p = l;
    }
    {
      l = 0;
      (data) += ec;
      switch (ec) {
      case 3:
        l = ((unsigned long)(*(--(data)))) << 16;
      case 2:
        l |= ((unsigned long)(*(--(data)))) << 8;
      case 1:
        l |= ((unsigned long)(*(--(data))));
      }
    };
    *p = l;
  }
  return 1;
}
```