user: Converte this assembly snippet into its equivalent C code:

```asm
<pcmpistri_debug>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    -0x18(%rbp),%rax
  mov    -0x20(%rbp),%rdx
  mov    %rax,%rsi
  mov    %rdx,%rdi
  movups (%rsi),%xmm1
  movups (%rdi),%xmm2
  xor    %rax,%rax
  pcmpistri $0x40,%xmm2,%xmm1
  lahf
  seto   %al
  mov    %ecx,%edx
  mov    %edx,-0x8(%rbp)
  mov    %eax,-0x4(%rbp)
  mov    -0x18(%rbp),%rax
  mov    %rax,%rsi
  lea    D47(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x20(%rbp),%rax
  mov    %rax,%rsi
  lea    D76(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x8(%rbp),%eax
  mov    %eax,%esi
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  lea    D51(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x4(%rbp),%eax
  and    $0x100,%eax
  test   %eax,%eax
  setne  %al
  movzbl %al,%eax
  mov    %eax,%esi
  lea    D48(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x4(%rbp),%eax
  and    $0x4000,%eax
  test   %eax,%eax
  setne  %al
  movzbl %al,%eax
  mov    %eax,%esi
  lea    D70(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x4(%rbp),%eax
  and    $0x8000,%eax
  test   %eax,%eax
  setne  %al
  movzbl %al,%eax
  mov    %eax,%esi
  lea    D86(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x4(%rbp),%eax
  and    $0x1,%eax
  test   %eax,%eax
  setne  %al
  movzbl %al,%eax
  mov    %eax,%esi
  lea    D15(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x4(%rbp),%eax
  and    $0x1000,%eax
  test   %eax,%eax
  setne  %al
  movzbl %al,%eax
  mov    %eax,%esi
  lea    D0(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  nop
  leave
  ret
```

tool_calls: name: read_data
arguments: data_tag: D47
type_infered: string
name: read_data
arguments: data_tag: D76
type_infered: string
name: read_data
arguments: data_tag: D1
type_infered: string
name: read_data
arguments: data_tag: D51
type_infered: string
name: read_data
arguments: data_tag: D48
type_infered: string
name: read_data
arguments: data_tag: D70
type_infered: string
name: read_data
arguments: data_tag: D86
type_infered: string
name: read_data
arguments: data_tag: D15
type_infered: string
name: read_data
arguments: data_tag: D0
type_infered: string

tool: D47: s1  = '%s'


tool: D76: s2  = '%s'


tool: D1: ecx = %d


tool: D51: eax = %x


tool: D48:  CF = %d


tool: D70:  ZF = %d


tool: D86:  SF = %d


tool: D15:  OF = %d


tool: D0:  AF = %d


assistant: ```c
void pcmpistri_debug(const char *s1, const char *s2) {
  int ecx;
  int eax;
  __asm__ __volatile__("movups  (%%rsi), %%xmm1                \n"
                       "movups  (%%rdi), %%xmm2                \n"
                       "xor      %%rax, %%rax                  \n"
                       "pcmpistri %[setup], %%xmm2, %%xmm1     \n"
                       "lahf                                   \n"
                       "seto %%al                              \n"
                       : "=c"(ecx), "=a"(eax)
                       : "S"(s1), "D"(s2), [setup] "i"(0 | 0b1000000));
  printf("s1  = '%s'\n", s1);
  printf("s2  = '%s'\n", s2);
  printf("ecx = %d\n", ecx);
  printf("eax = %x\n", eax);
  printf(" CF = %d\n", (eax & (0b00000001 << 8)) != 0);
  printf(" ZF = %d\n", (eax & (0b01000000 << 8)) != 0);
  printf(" SF = %d\n", (eax & (0b10000000 << 8)) != 0);
  printf(" OF = %d\n", (eax & 1) != 0);
  printf(" AF = %d\n", (eax & (0b00010000 << 8)) != 0);
}
```