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

```asm
<zoundx_encode>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x1c(%rbp)
  mov    -0x1c(%rbp),%eax
  cltq
  mov    $0x1,%esi
  mov    %rax,%rdi
  call   <calloc@plt>
  mov    %rax,-0x18(%rbp)
  movl   $0x0,-0x24(%rbp)
  jmp    L1143
L1218:
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <tolower@plt>
  mov    %eax,%edx
  mov    -0x18(%rbp),%rcx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rcx,%rax
  mov    %dl,(%rax)
  addl   $0x1,-0x24(%rbp)
L1143:
  mov    -0x24(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jl     L1218
  movl   $0x0,-0x24(%rbp)
  jmp    L478
L686:
  mov    -0x24(%rbp),%eax
  add    $0x1,%eax
  cmp    %eax,-0x1c(%rbp)
  jle    L863
  cmpl   $0x1,-0x24(%rbp)
  jle    L863
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x62,%al
  je     L1211
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x66,%al
  je     L1211
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x70,%al
  je     L1211
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x76,%al
  jne    L403
L1211:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x62,%al
  je     L1105
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x66,%al
  je     L1105
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x70,%al
  je     L1105
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x76,%al
  je     L1105
L403:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x63,%al
  je     L717
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x67,%al
  je     L717
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6a,%al
  je     L717
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6b,%al
  je     L717
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x71,%al
  je     L717
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x73,%al
  je     L717
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x78,%al
  je     L717
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x7a,%al
  jne    L529
L717:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x63,%al
  je     L1105
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x67,%al
  je     L1105
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6a,%al
  je     L1105
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6b,%al
  je     L1105
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x71,%al
  je     L1105
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x73,%al
  je     L1105
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x78,%al
  je     L1105
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x7a,%al
  je     L1105
L529:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x64,%al
  je     L299
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x74,%al
  jne    L758
L299:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x64,%al
  je     L1105
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x74,%al
  je     L1105
L758:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6c,%al
  jne    L413
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6c,%al
  je     L1105
L413:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6d,%al
  je     L651
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6e,%al
  jne    L467
L651:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6d,%al
  je     L1105
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6e,%al
  je     L1105
L467:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x72,%al
  jne    L863
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x72,%al
  jne    L863
L1105:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movb   $0x20,(%rax)
L863:
  addl   $0x1,-0x24(%rbp)
L478:
  mov    -0x24(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jl     L686
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <shift_whitespaces@plt>
  mov    %eax,%edx
  lea    -0x18(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <trim@plt>
  mov    %eax,-0x1c(%rbp)
  movl   $0x0,-0x24(%rbp)
  jmp    L545
L736:
  mov    -0x24(%rbp),%eax
  add    $0x1,%eax
  cmp    %eax,-0x1c(%rbp)
  jle    L1124
  cmpl   $0x1,-0x24(%rbp)
  jle    L1124
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x68,%al
  je     L426
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x77,%al
  jne    L1124
L426:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x62,%al
  je     L1243
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x66,%al
  je     L1243
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x70,%al
  je     L1243
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x76,%al
  jne    L595
L1243:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x62,%al
  je     L897
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x66,%al
  je     L897
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x70,%al
  je     L897
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x76,%al
  je     L897
L595:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x63,%al
  je     L946
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x67,%al
  je     L946
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6a,%al
  je     L946
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6b,%al
  je     L946
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x71,%al
  je     L946
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x73,%al
  je     L946
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x78,%al
  je     L946
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x7a,%al
  jne    L850
L946:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x63,%al
  je     L897
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x67,%al
  je     L897
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6a,%al
  je     L897
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6b,%al
  je     L897
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x71,%al
  je     L897
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x73,%al
  je     L897
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x78,%al
  je     L897
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x7a,%al
  je     L897
L850:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x64,%al
  je     L38
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x74,%al
  jne    L622
L38:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x64,%al
  je     L897
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x74,%al
  je     L897
L622:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6c,%al
  jne    L930
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6c,%al
  je     L897
L930:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6d,%al
  je     L444
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6e,%al
  jne    L352
L444:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6d,%al
  je     L897
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6e,%al
  je     L897
L352:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x72,%al
  jne    L1124
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x72,%al
  jne    L1124
L897:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  movb   $0x20,(%rax)
  mov    -0x18(%rbp),%rcx
  mov    -0x24(%rbp),%edx
  movslq %edx,%rdx
  add    %rcx,%rdx
  movzbl (%rax),%eax
  mov    %al,(%rdx)
L1124:
  addl   $0x1,-0x24(%rbp)
L545:
  mov    -0x24(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jl     L736
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <shift_whitespaces@plt>
  mov    %eax,%edx
  lea    -0x18(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <trim@plt>
  mov    %eax,-0x1c(%rbp)
  movl   $0x1,-0x24(%rbp)
  jmp    L23
L1114:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x61,%al
  je     L165
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x65,%al
  je     L165
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x69,%al
  je     L165
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6f,%al
  je     L165
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x75,%al
  je     L165
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x79,%al
  je     L165
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x68,%al
  je     L165
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x77,%al
  jne    L231
L165:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movb   $0x20,(%rax)
L231:
  addl   $0x1,-0x24(%rbp)
L23:
  mov    -0x24(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jl     L1114
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <shift_whitespaces@plt>
  mov    %eax,%edx
  lea    -0x18(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <trim@plt>
  mov    %eax,-0x1c(%rbp)
  movl   $0x1,-0x24(%rbp)
  jmp    L1282
L726:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x62,%al
  je     L458
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x66,%al
  je     L458
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x70,%al
  je     L458
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x76,%al
  jne    L697
L458:
  movl   $0x1,-0x20(%rbp)
  jmp    L390
L697:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x63,%al
  je     L791
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x67,%al
  je     L791
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6a,%al
  je     L791
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6b,%al
  je     L791
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x71,%al
  je     L791
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x73,%al
  je     L791
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x78,%al
  je     L791
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x7a,%al
  jne    L511
L791:
  movl   $0x2,-0x20(%rbp)
  jmp    L390
L511:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x64,%al
  je     L1281
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x74,%al
  jne    L76
L1281:
  movl   $0x3,-0x20(%rbp)
  jmp    L390
L76:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6c,%al
  jne    L556
  movl   $0x4,-0x20(%rbp)
  jmp    L390
L556:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6d,%al
  je     L420
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6e,%al
  jne    L226
L420:
  movl   $0x5,-0x20(%rbp)
  jmp    L390
L226:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x72,%al
  jne    L484
  movl   $0x6,-0x20(%rbp)
L390:
  mov    -0x20(%rbp),%eax
  lea    0x30(%rax),%ecx
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
L484:
  addl   $0x1,-0x24(%rbp)
L1282:
  mov    -0x24(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jl     L726
  cmpl   $0x4,-0x1c(%rbp)
  jle    L431
  mov    $0x1,%esi
  mov    $0x4,%edi
  call   <calloc@plt>
  mov    %rax,-0x10(%rbp)
  movl   $0x0,-0x24(%rbp)
  jmp    L1119
L889:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  mov    -0x24(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x10(%rbp),%rdx
  add    %rcx,%rdx
  movzbl (%rax),%eax
  mov    %al,(%rdx)
  addl   $0x1,-0x24(%rbp)
L1119:
  cmpl   $0x3,-0x24(%rbp)
  jle    L889
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x10(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  jmp    L623
L431:
  cmpl   $0x3,-0x1c(%rbp)
  jg     L623
  cmpl   $0x0,-0x1c(%rbp)
  jle    L623
  mov    $0x1,%esi
  mov    $0x4,%edi
  call   <calloc@plt>
  mov    %rax,-0x10(%rbp)
  movl   $0x0,-0x24(%rbp)
  jmp    L872
L531:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  mov    -0x24(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x10(%rbp),%rdx
  add    %rcx,%rdx
  movzbl (%rax),%eax
  mov    %al,(%rdx)
  addl   $0x1,-0x24(%rbp)
L872:
  mov    -0x24(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jl     L531
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x10(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x1c(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  jmp    L1221
L351:
  mov    -0x18(%rbp),%rdx
  mov    -0x24(%rbp),%eax
  cltq
  add    %rdx,%rax
  movb   $0x30,(%rax)
  addl   $0x1,-0x24(%rbp)
L1221:
  cmpl   $0x3,-0x24(%rbp)
  jle    L351
L623:
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <toupper@plt>
  mov    %eax,%edx
  mov    -0x18(%rbp),%rax
  mov    %dl,(%rax)
  mov    -0x18(%rbp),%rax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L31
  call   <__stack_chk_fail@plt>
L31:
  leave
  ret
```

assistant: ```c
char *zoundx_encode(const char *query) {
  char *buffer;
  char *lower;
  int i, j, l, val;
  l = strlen(query);
  lower = calloc(l, sizeof(char));
  for (i = 0; i < l; ++i) {
    lower[i] = tolower(query[i]);
  }
  for (i = 0; i < l; ++i) {
    if ((i + 1) < l && i > 1 && (((lower[i] == 'b' || lower[i] == 'f' || lower[i] == 'p' || lower[i] == 'v') && (lower[i + 1] == 'b' || lower[i + 1] == 'f' || lower[i + 1] == 'p' || lower[i + 1] == 'v')) || ((lower[i] == 'c' || lower[i] == 'g' || lower[i] == 'j' || lower[i] == 'k' || lower[i] == 'q' || lower[i] == 's' || lower[i] == 'x' || lower[i] == 'z') && (lower[i + 1] == 'c' || lower[i + 1] == 'g' || lower[i + 1] == 'j' || lower[i + 1] == 'k' || lower[i + 1] == 'q' || lower[i + 1] == 's' || lower[i + 1] == 'x' || lower[i + 1] == 'z')) || ((lower[i] == 'd' || lower[i] == 't') && (lower[i + 1] == 'd' || lower[i + 1] == 't')) || ((lower[i] == 'l') && (lower[i + 1] == 'l')) || ((lower[i] == 'm' || lower[i] == 'n') && (lower[i + 1] == 'm' || lower[i + 1] == 'n')) || ((lower[i] == 'r') && (lower[i + 1] == 'r')))) {
      lower[i + 1] = ' ';
    }
  }
  l = trim(&lower, shift_whitespaces(lower));
  for (i = 0; i < l; ++i) {
    if ((i + 1) < l && i > 1 && (lower[i] == 'h' || lower[i] == 'w') && (((lower[i - 1] == 'b' || lower[i - 1] == 'f' || lower[i - 1] == 'p' || lower[i - 1] == 'v') && (lower[i + 1] == 'b' || lower[i + 1] == 'f' || lower[i + 1] == 'p' || lower[i + 1] == 'v')) || ((lower[i - 1] == 'c' || lower[i - 1] == 'g' || lower[i - 1] == 'j' || lower[i - 1] == 'k' || lower[i - 1] == 'q' || lower[i - 1] == 's' || lower[i - 1] == 'x' || lower[i - 1] == 'z') && (lower[i + 1] == 'c' || lower[i + 1] == 'g' || lower[i + 1] == 'j' || lower[i + 1] == 'k' || lower[i + 1] == 'q' || lower[i + 1] == 's' || lower[i + 1] == 'x' || lower[i + 1] == 'z')) || ((lower[i - 1] == 'd' || lower[i - 1] == 't') && (lower[i + 1] == 'd' || lower[i + 1] == 't')) || ((lower[i - 1] == 'l') && (lower[i + 1] == 'l')) || ((lower[i - 1] == 'm' || lower[i - 1] == 'n') && (lower[i + 1] == 'm' || lower[i + 1] == 'n')) || ((lower[i - 1] == 'r') && (lower[i + 1] == 'r')))) {
      lower[i] = lower[i + 1] = ' ';
    }
  }
  l = trim(&lower, shift_whitespaces(lower));
  for (i = 1; i < l; ++i) {
    if ((lower[i] == 'a' || lower[i] == 'e' || lower[i] == 'i' || lower[i] == 'o' || lower[i] == 'u' || lower[i] == 'y' || lower[i] == 'h' || lower[i] == 'w')) {
      lower[i] = ' ';
    }
  }
  l = trim(&lower, shift_whitespaces(lower));
  for (i = 1; i < l; ++i) {
    if (((lower[i] == 'b' || lower[i] == 'f' || lower[i] == 'p' || lower[i] == 'v') && (val = 1)) || ((lower[i] == 'c' || lower[i] == 'g' || lower[i] == 'j' || lower[i] == 'k' || lower[i] == 'q' || lower[i] == 's' || lower[i] == 'x' || lower[i] == 'z') && (val = 2)) || ((lower[i] == 'd' || lower[i] == 't') && (val = 3)) || ((lower[i] == 'l') && (val = 4)) || ((lower[i] == 'm' || lower[i] == 'n') && (val = 5)) || ((lower[i] == 'r') && (val = 6))) {
      lower[i] = '0' + (char)val;
    }
  }
  if (l > 4) {
    buffer = calloc(4, sizeof(char));
    for (i = 0; i < 4; ++i) {
      buffer[i] = lower[i];
    }
    free(lower);
    lower = buffer;
  } else if (l < 4 && l > 0) {
    buffer = calloc(4, sizeof(char));
    for (i = 0; i < l; ++i) {
      buffer[i] = lower[i];
    }
    free(lower);
    lower = buffer;
    for (i = l; i < 4; ++i) {
      lower[i] = '0';
    }
  }
  lower[0] = toupper(lower[0]);
  return lower;
}
```