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

```asm
<TestEmbedChar>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %ecx,%r13d
  push   %r12
  mov    %r8,%r12
  push   %rbp
  movslq %esi,%rbp
  push   %rbx
  mov    %ebp,%esi
  mov    %rdi,%rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rcx
  movq   $0x0,0x10(%rsp)
  call   <embed@plt>
  cmp    %r13d,%eax
  je     L14
  lea    D19(%rip),%rdi
  call   <puts@plt>
  mov    0x10(%rsp),%rdi
  test   %rdi,%rdi
  je     L47
L71:
  call   <free@plt>
L47:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L12
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  cs nopw 0x0(%rax,%rax,1)
L14:
  lea    D21(%rip),%rdi
  call   <puts@plt>
  test   %rbx,%rbx
  je     L64
  lea    D34(%rip),%rdi
  call   <puts@plt>
  xor    %eax,%eax
  lea    D52(%rip),%rdi
  call   <printf@plt>
  test   %ebp,%ebp
  jle    L64
  xor    %ebx,%ebx
  lea    D14(%rip),%r15
  lea    D44(%rip),%r14
  lea    D62(%rip),%r13
  jmp    L3
  nopl   0x0(%rax)
L68:
  mov    0x10(%rsp),%rax
  movzbl (%r12,%rbx,1),%ecx
  mov    %r13,%r8
  mov    %r15,%rdi
  movzbl (%rax,%rbx,1),%edx
  cmp    %cl,%dl
  cmove  %r14,%r8
  xor    %eax,%eax
  add    $0x1,%rbx
  call   <printf@plt>
  cmp    %rbp,%rbx
  je     L64
L3:
  mov    %ebx,%esi
  test   $0x7,%bl
  jne    L68
  mov    $0xa,%edi
  mov    %ebx,0xc(%rsp)
  call   <putchar@plt>
  mov    0xc(%rsp),%esi
  jmp    L68
  nopl   (%rax)
L64:
  lea    D27(%rip),%rdi
  call   <puts@plt>
  mov    0x10(%rsp),%rdi
  test   %rdi,%rdi
  jne    L71
  jmp    L47
L12:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D19
type_infered: string
name: unpack_data
arguments: label: D21
type_infered: string
name: unpack_data
arguments: label: D34
type_infered: string
name: unpack_data
arguments: label: D52
type_infered: string
name: unpack_data
arguments: label: D14
type_infered: string
name: unpack_data
arguments: label: D44
type_infered: string
name: unpack_data
arguments: label: D62
type_infered: string
name: unpack_data
arguments: label: D27
type_infered: string

tool: D19: Test Failed

tool: D21: Yay it worked! WoooHoo!!!

tool: D34: Compare arrays:

tool: D52:   encode:    result:

tool: D14: %3d: 0x%02x == 0x%02x (%s)


tool: D44: true

tool: D62: false

tool: D27: 


assistant: ```c
void TestEmbedChar(char *image_data, int data_length, char *message, int resultf, char *resultem) {
  char *encoded = NULL;
  int rcembed;
  int idx;
  rcembed = embed(image_data, data_length, message, &encoded);
  if (rcembed != resultf) {
    printf("Test Failed\n");
    if (encoded != NULL) {
      free(encoded);
      encoded = NULL;
    }
    return;
  } else {
    printf("Yay it worked! WoooHoo!!!\n");
  }
  if (image_data != NULL) {
    printf("Compare arrays:\n");
    printf("  encode:    result:");
    for (idx = 0; idx < data_length; idx++) {
      if ((idx % 8) == 0) {
        printf("\n");
      }
      printf("%3d: 0x%02x == 0x%02x (%s)\n", idx, (unsigned char)encoded[idx], (unsigned char)resultem[idx], ((unsigned char)encoded[idx] == (unsigned char)resultem[idx] ? "true" : "false"));
    }
  }
  printf("\n\n");
  if (encoded != NULL) {
    free(encoded);
    encoded = NULL;
  }
}
```