user: Please show me the C implementation that matches the assembly code listed below:

```asm
<palindromicString>:
  endbr64
  push   %rbp
  push   %rbx
  sub    $0xe8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xd8(%rsp)
  xor    %eax,%eax
  lea    D17(%rip),%rdi
  call   <puts@plt>
  lea    D58(%rip),%rdi
  call   <puts@plt>
  lea    D0(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rsp,%rbx
  mov    %rbx,%rsi
  lea    D53(%rip),%rdi
  call   <scanf@plt>
  mov    %rbx,%rsi
  lea    D4(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x70(%rsp),%rdi
  mov    %rbx,%rsi
  call   <strcpy@plt>
  mov    %rbx,%rdi
  call   <strlen@plt>
  lea    -0x1(%rax),%ecx
  test   %ecx,%ecx
  jle    L45
  mov    %rsp,%rsi
  movslq %eax,%rdx
  add    %rbx,%rdx
L35:
  movzbl (%rsi),%edi
  movzbl -0x1(%rdx),%r8d
  mov    %r8b,(%rsi)
  mov    %dil,-0x1(%rdx)
  mov    %ecx,%r8d
  sub    $0x1,%ecx
  add    $0x1,%rsi
  sub    $0x1,%rdx
  mov    %eax,%edi
  sub    %r8d,%edi
  cmp    %edi,%ecx
  jg     L35
L45:
  mov    %rsp,%rbx
  mov    %rbx,%rsi
  lea    D12(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x70(%rsp),%rbp
  mov    %rbp,%rsi
  lea    D30(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L14
  lea    D59(%rip),%rdi
  call   <puts@plt>
L23:
  mov    0xd8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L37
  add    $0xe8,%rsp
  pop    %rbx
  pop    %rbp
  ret
L14:
  lea    D15(%rip),%rdi
  call   <puts@plt>
  jmp    L23
L37:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D17
type_guessed: string
name: unpack_data
arguments: data_tag: D58
type_guessed: string
name: unpack_data
arguments: data_tag: D0
type_guessed: string
name: unpack_data
arguments: data_tag: D53
type_guessed: string
name: unpack_data
arguments: data_tag: D4
type_guessed: string
name: unpack_data
arguments: data_tag: D12
type_guessed: string
name: unpack_data
arguments: data_tag: D30
type_guessed: string
name: unpack_data
arguments: data_tag: D59
type_guessed: string
name: unpack_data
arguments: data_tag: D15
type_guessed: string

tool: D17: --------------------------------

tool: D58: PALINDROME WITH STRING

tool: D0: Enter the string to check: 

tool: D53: %s

tool: D4: You entered: %s


tool: D12: The reversed string is %s


tool: D30: Since the original is %s

tool: D59:  it is a palindrome.

tool: D15:  it is NOT a palindrome.

assistant: ```c
void palindromicString() {
  printf("--------------------------------\n");
  printf("PALINDROME WITH STRING\n");
  char string[100], original[100], temp;
  int begin, end;
  printf("Enter the string to check: ");
  scanf("%s", string);
  printf("You entered: %s\n", string);
  strcpy(original, string);
  begin = 0;
  end = strlen(string) - 1;
  while (begin < end) {
    temp = string[begin];
    string[begin] = string[end];
    string[end] = temp;
    begin++;
    end--;
  }
  printf("The reversed string is %s\n", string);
  printf("Since the original is %s", original);
  if (!strcmp(string, original)) {
    printf(" it is a palindrome.\n");
  } else {
    printf(" it is NOT a palindrome.\n");
  }
}
```