user: What would the C source look like for the assembly code provided here:

```asm
<tryLength>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %edi,-0x44(%rbp)
  mov    %rsi,-0x50(%rbp)
  mov    %rdx,-0x58(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%rbx
  movl   $0x0,-0x3c(%rbp)
  jmp    L70
L57:
  mov    -0x3c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movb   $0x20,(%rax)
  addl   $0x1,-0x3c(%rbp)
L70:
  mov    -0x3c(%rbp),%eax
  cmp    -0x44(%rbp),%eax
  jl     L57
  mov    -0x44(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x30(%rbp)
  mov    D16(%rip),%rax
  mov    (%rax),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x28(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r10
  mov    $0x0,%r11d
  movslq %eax,%rdx
  mov    %rdx,%r8
  mov    $0x0,%r9d
  cltq
  mov    $0x10,%edx
  sub    $0x1,%rdx
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L64:
  cmp    %rdx,%rsp
  je     L7
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L64
L7:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L91
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L91:
  mov    %rsp,%rax
  add    $0x0,%rax
  mov    %rax,-0x20(%rbp)
L76:
  mov    -0x58(%rbp),%rax
  mov    %rax,-0x38(%rbp)
  jmp    L2
L51:
  mov    -0x38(%rbp),%rax
  cmp    -0x30(%rbp),%rax
  jne    L88
  mov    $0x0,%eax
  jmp    L75
L88:
  mov    -0x38(%rbp),%rax
  sub    $0x1,%rax
  movb   $0x20,(%rax)
  mov    -0x38(%rbp),%rax
  movzbl (%rax),%eax
  add    $0x1,%eax
  mov    %eax,%edx
  mov    -0x38(%rbp),%rax
  mov    %dl,(%rax)
L2:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  movzbl (%rax),%eax
  cmp    $0x7f,%al
  je     L51
  mov    -0x20(%rbp),%rdx
  mov    -0x44(%rbp),%ecx
  mov    -0x58(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <hash@plt>
  mov    D16(%rip),%rax
  mov    (%rax),%edx
  mov    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L9
  mov    $0x1,%eax
  jmp    L75
L9:
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  add    $0x1,%eax
  mov    %eax,%edx
  mov    -0x58(%rbp),%rax
  mov    %dl,(%rax)
  jmp    L76
L75:
  mov    %rbx,%rsp
  mov    -0x18(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L96
  call   <__stack_chk_fail@plt>
L96:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

assistant: ```c
int tryLength(int len, unsigned const char *target, char *plaintext) {
  int i;
  for (i = 0; i < len; i++) {
    *(plaintext + i) = 32;
  }
  char *max = plaintext + len;
  unsigned char h[SHA_DIGEST_LENGTH];
  while (1) {
    char *j;
    for (j = plaintext; *(j++) == 126 + 1;) {
      if (j == max) {
        return 0;
      }
      *(j - 1) = 32;
      (*j)++;
    }
    hash(plaintext, len, h);
    if (strncmp(target, h, SHA_DIGEST_LENGTH) == 0) {
      return 1;
    }
    (*plaintext)++;
  }
}
```