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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xb0,%rsp
  mov    %edi,-0xa4(%rbp)
  mov    %rsi,-0xb0(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  cmpl   $0x2,-0xa4(%rbp)
  je     L135
  lea    D23(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1,%eax
  jmp    L74
L135:
  movl   $0x0,-0x94(%rbp)
  mov    -0xb0(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x88(%rbp)
  jmp    L49
L38:
  mov    -0xb0(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rdx
  mov    -0x94(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isalpha@plt>
  test   %rax,%rax
  jne    L31
  lea    D32(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1,%eax
  jmp    L74
L31:
  addl   $0x1,-0x94(%rbp)
L49:
  mov    -0x94(%rbp),%eax
  cmp    -0x88(%rbp),%eax
  jl     L38
  lea    D6(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x70(%rbp),%rax
  mov    %rax,%rsi
  lea    D11(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0xb0(%rbp),%rax
  mov    0x8(%rax),%rax
  mov    %rax,-0x78(%rbp)
  mov    -0x78(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x84(%rbp)
  lea    D5(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movl   $0x0,-0x90(%rbp)
  movl   $0x0,-0x8c(%rbp)
  lea    -0x70(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x80(%rbp)
  jmp    L99
L50:
  mov    -0x8c(%rbp),%eax
  cltd
  idivl  -0x84(%rbp)
  mov    %edx,%eax
  movslq %eax,%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <tolower@plt>
  sub    $0x61,%eax
  mov    %eax,-0x7c(%rbp)
  mov    -0x90(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isalpha@plt>
  test   %rax,%rax
  je     L93
  mov    -0x90(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isupper@plt>
  test   %rax,%rax
  je     L3
  mov    -0x90(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%eax
  movsbl %al,%eax
  lea    -0x41(%rax),%edx
  mov    -0x7c(%rbp),%eax
  add    %eax,%edx
  movslq %edx,%rax
  imul   $0x4ec4ec4f,%rax,%rax
  shr    $0x20,%rax
  sar    $0x3,%eax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  imul   $0x1a,%eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  add    $0x41,%eax
  mov    %eax,%edi
  call   <putchar@plt>
  addl   $0x1,-0x8c(%rbp)
  jmp    L76
L3:
  mov    -0x90(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <islower@plt>
  test   %rax,%rax
  je     L76
  mov    -0x90(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%eax
  movsbl %al,%eax
  lea    -0x61(%rax),%edx
  mov    -0x7c(%rbp),%eax
  add    %eax,%edx
  movslq %edx,%rax
  imul   $0x4ec4ec4f,%rax,%rax
  shr    $0x20,%rax
  sar    $0x3,%eax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  imul   $0x1a,%eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  add    $0x61,%eax
  mov    %eax,%edi
  call   <putchar@plt>
  addl   $0x1,-0x8c(%rbp)
  jmp    L76
L93:
  mov    -0x90(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <putchar@plt>
L76:
  addl   $0x1,-0x90(%rbp)
L99:
  mov    -0x90(%rbp),%eax
  cmp    -0x80(%rbp),%eax
  jl     L50
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    $0x0,%eax
L74:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L133
  call   <__stack_chk_fail@plt>
L133:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: label: D23
datatype: string
name: retrieve_data
arguments: label: D32
datatype: string
name: retrieve_data
arguments: label: D6
datatype: string
name: retrieve_data
arguments: label: D11
datatype: string
name: retrieve_data
arguments: label: D5
datatype: string

tool: D23: Enter the Valid Key

tool: D32: Enter only Alphabets

tool: D6: plaintext:  

tool: D11: %s

tool: D5: ciphertext: 

assistant: ```c
int main(int argc, char *argv[]) {
  if (argc != 2) {
    printf("Enter the Valid Key");
    return 1;
  } else {
    for (int i = 0, n = strlen(argv[1]); i < n; i++) {
      if (!isalpha(argv[1][i])) {
        printf("Enter only Alphabets");
        return 1;
      }
    }
  }
  printf("plaintext:  ");
  char s[100];
  scanf("%s", s);
  char *k = argv[1];
  int klen = strlen(k);
  printf("ciphertext: ");
  for (int i = 0, j = 0, n = strlen(s); i < n; i++) {
    int key = tolower(k[j % klen]) - 97;
    if (isalpha(s[i])) {
      if (isupper(s[i])) {
        printf("%c", ((s[i] - 65 + key) % 26) + 65);
        j++;
      } else if (islower(s[i])) {
        printf("%c", ((s[i] - 97 + key) % 26) + 97);
        j++;
      }
    } else {
      printf("%c", s[i]);
    }
  }
  printf("\n");
  return 0;
}
```