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

```asm
<match_rating_comparison>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rsi,%rbp
  call   <match_rating_codex@plt>
  mov    %rax,%rbx
  mov    %rbp,%rdi
  call   <match_rating_codex@plt>
  test   %rbx,%rbx
  je     L112
  mov    %rax,%rbp
  test   %rax,%rax
  je     L130
  mov    %rbx,%rdi
  call   <strlen@plt>
  mov    %rax,%r12
  mov    %rbp,%rdi
  call   <strlen@plt>
  mov    %rax,%r13
  mov    %r12,%rdi
  sub    %rax,%rdi
  call   <abs@plt>
  cmp    $0x2,%eax
  jg     L85
  cmp    %r13,%r12
  mov    %r13,%rdx
  cmovbe %r12,%rdx
  mov    $0x0,%eax
  test   %rdx,%rdx
  jne    L201
L250:
  lea    -0x1(%r13),%rdx
  lea    -0x1(%r12),%rax
  cmp    $0x1,%r12
  je     L210
  test   %rdx,%rdx
  jne    L60
L210:
  cmp    %r13,%r12
  mov    %rbp,%rdx
  cmova  %rbx,%rdx
  movzbl (%rdx),%eax
  test   %al,%al
  je     L108
  mov    $0x0,%r14d
L84:
  cmp    $0x20,%al
  setne  %al
  movzbl %al,%eax
  add    %eax,%r14d
  add    $0x1,%rdx
  movzbl (%rdx),%eax
  test   %al,%al
  jne    L84
L144:
  mov    %rbx,%rdi
  call   <free@plt>
  mov    %rbp,%rdi
  call   <free@plt>
  mov    $0x6,%eax
  sub    %r14d,%eax
  add    %r13,%r12
  cmp    $0x4,%r12
  jbe    L182
  cmp    $0x7,%r12
  jbe    L282
  cmp    $0xb,%r12
  ja     L73
  cmp    $0x2,%eax
  setg   %al
  movzbl %al,%eax
  jmp    L157
L130:
  mov    %rbx,%rdi
  call   <free@plt>
  mov    $0xffffffff,%eax
  jmp    L157
L85:
  mov    %rbx,%rdi
  call   <free@plt>
  mov    %rbp,%rdi
  call   <free@plt>
  mov    $0xffffffff,%eax
  jmp    L157
L151:
  add    $0x1,%rax
  cmp    %rdx,%rax
  je     L250
L201:
  movzbl 0x0(%rbp,%rax,1),%ecx
  cmp    %cl,(%rbx,%rax,1)
  jne    L151
  movb   $0x20,(%rbx,%rax,1)
  movb   $0x20,0x0(%rbp,%rax,1)
  jmp    L151
L97:
  sub    $0x1,%rax
  jmp    L195
L72:
  sub    $0x1,%rdx
  jmp    L195
L0:
  sub    $0x1,%rax
  sub    $0x1,%rdx
L195:
  test   %rax,%rax
  je     L210
  test   %rdx,%rdx
  je     L210
L60:
  lea    (%rbx,%rax,1),%rdi
  movzbl (%rdi),%ecx
  cmp    $0x20,%cl
  je     L97
  lea    0x0(%rbp,%rdx,1),%r8
  movzbl (%r8),%esi
  cmp    $0x20,%sil
  je     L72
  cmp    %sil,%cl
  jne    L0
  movb   $0x20,(%rdi)
  movb   $0x20,(%r8)
  jmp    L0
L108:
  mov    $0x0,%r14d
  jmp    L144
L182:
  cmp    $0x4,%eax
  setg   %al
  movzbl %al,%eax
L157:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L282:
  cmp    $0x3,%eax
  setg   %al
  movzbl %al,%eax
  jmp    L157
L73:
  cmp    $0x1,%eax
  setg   %al
  movzbl %al,%eax
  jmp    L157
L112:
  mov    $0xffffffff,%eax
  jmp    L157
```

assistant: ```c
int match_rating_comparison(const char *s1, const char *s2) {
  size_t s1c_len, s2c_len;
  size_t i, j;
  int diff;
  char *longer;
  char *s1_codex = match_rating_codex(s1);
  char *s2_codex = match_rating_codex(s2);
  if (!s1_codex) {
    return -1;
  }
  if (!s2_codex) {
    free(s1_codex);
    return -1;
  }
  s1c_len = strlen(s1_codex);
  s2c_len = strlen(s2_codex);
  if (abs(s1c_len - s2c_len) >= 3) {
    free(s1_codex);
    free(s2_codex);
    return -1;
  }
  for (i = 0; i < s1c_len && i < s2c_len; i++) {
    if (s1_codex[i] == s2_codex[i]) {
      s1_codex[i] = ' ';
      s2_codex[i] = ' ';
    }
  }
  i = s1c_len - 1;
  j = s2c_len - 1;
  while (i != 0 && j != 0) {
    if (s1_codex[i] == ' ') {
      i--;
      continue;
    }
    if (s2_codex[j] == ' ') {
      j--;
      continue;
    }
    if (s1_codex[i] == s2_codex[j]) {
      s1_codex[i] = ' ';
      s2_codex[j] = ' ';
    }
    i--;
    j--;
  }
  if (s1c_len > s2c_len) {
    longer = s1_codex;
  } else {
    longer = s2_codex;
  }
  for (diff = 0; *longer; longer++) {
    if (*longer != ' ') {
      diff++;
    }
  }
  free(s1_codex);
  free(s2_codex);
  diff = 6 - diff;
  i = s1c_len + s2c_len;
  if (i <= 4) {
    return diff >= 5;
  } else if (i <= 7) {
    return diff >= 4;
  } else if (i <= 11) {
    return diff >= 3;
  } else {
    return diff >= 2;
  }
}
```