user: 请从给定的汇编指令推导出C源代码：

```asm
<rul__i18n_string_soundex>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x260,%rsp
  mov    %rdi,-0x258(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  cmpq   $0x0,-0x258(%rbp)
  je     L158
  mov    -0x258(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L158
  mov    $0x1,%eax
  jmp    L159
L158:
  mov    $0x0,%eax
L159:
  mov    %eax,%edi
  call   <assert@plt>
  movq   $0x0,-0x240(%rbp)
  jmp    L12
L135:
  addq   $0x1,-0x240(%rbp)
L12:
  mov    -0x240(%rbp),%rdx
  mov    -0x258(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L7
  mov    -0x240(%rbp),%rdx
  mov    -0x258(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isalpha@plt>
  test   %eax,%eax
  jne    L7
  mov    -0x240(%rbp),%rdx
  mov    -0x258(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <is_multinational_alpha@plt>
  test   %eax,%eax
  je     L135
L7:
  mov    -0x240(%rbp),%rdx
  mov    -0x258(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L116
  mov    $0x1,%edi
  call   <rul__mem_malloc@plt>
  mov    %rax,-0x228(%rbp)
  mov    -0x228(%rbp),%rax
  movb   $0x0,(%rax)
  mov    -0x228(%rbp),%rax
  jmp    L130
L116:
  movq   $0x1,-0x238(%rbp)
  mov    -0x240(%rbp),%rdx
  mov    -0x258(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <multinational_to_upper@plt>
  mov    %al,-0x110(%rbp)
  mov    -0x240(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,-0x230(%rbp)
  mov    -0x230(%rbp),%rax
  mov    %rax,-0x240(%rbp)
  jmp    L168
L59:
  movsbl -0x241(%rbp),%eax
  mov    %eax,%edi
  call   <get_consonant_group@plt>
  lea    -0x220(%rbp),%rcx
  mov    -0x240(%rbp),%rdx
  add    %rcx,%rdx
  mov    %al,(%rdx)
  addq   $0x1,-0x240(%rbp)
L168:
  mov    -0x240(%rbp),%rdx
  mov    -0x258(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0x241(%rbp)
  cmpb   $0x0,-0x241(%rbp)
  jne    L59
  lea    -0x220(%rbp),%rdx
  mov    -0x240(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x230(%rbp),%rax
  mov    %rax,-0x240(%rbp)
  jmp    L14
L86:
  mov    -0x240(%rbp),%rax
  add    $0x1,%rax
  movzbl -0x220(%rbp,%rax,1),%eax
  cmp    %al,-0x241(%rbp)
  je     L23
  cmpb   $0x30,-0x241(%rbp)
  jle    L23
  cmpb   $0x39,-0x241(%rbp)
  jg     L23
  lea    -0x110(%rbp),%rdx
  mov    -0x238(%rbp),%rax
  add    %rax,%rdx
  movzbl -0x241(%rbp),%eax
  mov    %al,(%rdx)
  addq   $0x1,-0x238(%rbp)
L23:
  addq   $0x1,-0x240(%rbp)
L14:
  lea    -0x220(%rbp),%rdx
  mov    -0x240(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0x241(%rbp)
  cmpb   $0x0,-0x241(%rbp)
  jne    L86
  lea    -0x110(%rbp),%rdx
  mov    -0x238(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  lea    -0x110(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  add    $0x1,%eax
  mov    %eax,%edi
  call   <rul__mem_malloc@plt>
  mov    %rax,-0x228(%rbp)
  lea    -0x110(%rbp),%rdx
  mov    -0x228(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  mov    -0x228(%rbp),%rax
L130:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L26
  call   <__stack_chk_fail@plt>
L26:
  leave
  ret
```

assistant: ```c
char *rul__i18n_string_soundex(char *str) {
  char in_buff[256 + 1];
  char out_buff[256 + 1];
  long i, start, out_index;
  char ch, *ret_str;
  assert(str && (str[0] != '\0'));
  i = 0;
  while (str[i] != '\0' && !isalpha(str[i]) && !is_multinational_alpha(str[i]))
    i++;
  if (str[i] == '\0') {
    ret_str = (char *)rul__mem_malloc(1);
    ret_str[0] = '\0';
    return (ret_str);
  }
  out_index = 1;
  out_buff[0] = multinational_to_upper(str[i]);
  start = i + 1;
  i = start;
  while ((ch = str[i]) != '\0') {
    in_buff[i] = get_consonant_group(ch);
    i++;
  }
  in_buff[i] = '\0';
  i = start;
  while ((ch = in_buff[i]) != '\0') {
    if (ch != in_buff[i + 1]) {
      if (ch > '0' && ch <= '9') {
        out_buff[out_index] = ch;
        out_index++;
      }
    }
    i++;
  }
  out_buff[out_index] = '\0';
  ret_str = rul__mem_malloc(strlen(out_buff) + 1);
  strcpy(ret_str, out_buff);
  return (ret_str);
}
```