user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<test_array_cmp>:
  endbr64
  push   %r12
  mov    $0x20,%edx
  push   %rbp
  sub    $0x78,%rsp
  movdqa D29(%rip),%xmm0
  movdqa D11(%rip),%xmm1
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rbp
  movaps %xmm0,0x10(%rsp)
  mov    %rbp,%rsi
  mov    %rbp,%rdi
  movaps %xmm0,0x30(%rsp)
  pcmpeqd %xmm0,%xmm0
  movaps %xmm1,(%rsp)
  movaps %xmm1,0x20(%rsp)
  movaps %xmm0,0x40(%rsp)
  movaps %xmm0,0x50(%rsp)
  call   <array_cmp@plt>
  mov    %eax,%r8d
  lea    D61(%rip),%rax
  test   %r8d,%r8d
  jne    L23
L57:
  mov    0x68(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L3
  add    $0x78,%rsp
  pop    %rbp
  pop    %r12
  ret
  nopw   0x0(%rax,%rax,1)
L23:
  lea    0x20(%rsp),%r12
  mov    $0x20,%edx
  mov    %rbp,%rsi
  mov    %r12,%rdi
  call   <array_cmp@plt>
  mov    %eax,%r8d
  lea    D33(%rip),%rax
  test   %r8d,%r8d
  je     L57
  mov    $0x20,%edx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <array_cmp@plt>
  mov    %eax,%r8d
  lea    D6(%rip),%rax
  test   %r8d,%r8d
  je     L57
  lea    0x40(%rsp),%r12
  mov    $0x20,%edx
  mov    %rbp,%rdi
  mov    %r12,%rsi
  call   <array_cmp@plt>
  mov    %eax,%r8d
  lea    D79(%rip),%rax
  test   %r8d,%r8d
  jne    L57
  mov    $0x20,%edx
  mov    %rbp,%rsi
  mov    %r12,%rdi
  call   <array_cmp@plt>
  lea    D4(%rip),%rdx
  test   %eax,%eax
  lea    D76(%rip),%rax
  cmovne %rdx,%rax
  jmp    L57
L3:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D29
datatype: byte[16]
name: read_data
arguments: data_label: D11
datatype: byte[16]
name: read_data
arguments: data_label: D61
datatype: string
name: read_data
arguments: data_label: D33
datatype: string
name: read_data
arguments: data_label: D6
datatype: string
name: read_data
arguments: data_label: D79
datatype: string
name: read_data
arguments: data_label: D4
datatype: string
name: read_data
arguments: data_label: D76
datatype: string

tool: {"D29": [0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f]}

tool: {"D11": [0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f]}

tool: D61: Test case for (arr1 == arr1) failed.

tool: D33: Test case for (arr2 == arr1) failed.

tool: D6: Test case for (arr1 == arr2) failed.

tool: D79: Test case for (arr1 != arr3) failed.

tool: D4: Test case for (arr3 != arr1) failed.

tool: 

assistant: ```c
char const *test_array_cmp(void) {
  unsigned char const arr1[32] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F};
  unsigned char const arr2[32] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F};
  unsigned char const arr3[32] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
  do {
    if (!(array_cmp(arr1, arr1, 32))) {
      return "Test case for (arr1 == arr1) failed.";
    }
  } while (0);
  do {
    if (!(array_cmp(arr2, arr1, 32))) {
      return "Test case for (arr2 == arr1) failed.";
    }
  } while (0);
  do {
    if (!(array_cmp(arr1, arr2, 32))) {
      return "Test case for (arr1 == arr2) failed.";
    }
  } while (0);
  do {
    if (!(!array_cmp(arr1, arr3, 32))) {
      return "Test case for (arr1 != arr3) failed.";
    }
  } while (0);
  do {
    if (!(!array_cmp(arr3, arr1, 32))) {
      return "Test case for (arr3 != arr1) failed.";
    }
  } while (0);
  return "";
}
```