user: Translate the below assembly code into C programming language:

```asm
<IsTestSelected>:
  endbr64
  push   %r15
  mov    %rdi,%r15
  push   %r14
  mov    %rdx,%r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x28,%rsp
  test   %rdi,%rdi
  setne  %dil
  mov    %rdx,0x18(%rsp)
  movzbl %dil,%edi
  call   <assert@plt>
  xor    %edi,%edi
  test   %rbx,%rbx
  setne  %dil
  call   <assert@plt>
  xor    %edi,%edi
  test   %r14,%r14
  setne  %dil
  call   <assert@plt>
  mov    %rbx,%rdi
  call   <strlen@plt>
  mov    %r14,%rdi
  movslq %eax,%rbp
  call   <strlen@plt>
  cltq
  mov    %rax,0x10(%rsp)
  cmpb   $0x0,(%r15)
  je     L123
L52:
  mov    %r15,%r12
  jmp    L214
  nopl   (%rax)
L79:
  add    $0x1,%r12
L214:
  movsbl (%r12),%edi
  call   <IsTestDelimiter@plt>
  test   %rax,%rax
  jne    L79
  mov    %r12,%r15
  jmp    L78
L97:
  call   <IsFieldDelimiter@plt>
  movsbl (%r15),%edi
  test   %rax,%rax
  jne    L80
  test   %dil,%dil
  je     L80
  add    $0x1,%r15
L78:
  movsbl (%r15),%edi
  call   <IsTestDelimiter@plt>
  movsbl (%r15),%edi
  test   %rax,%rax
  je     L97
L80:
  call   <IsFieldDelimiter@plt>
  mov    %r15,%r14
  mov    %r12,%r13
  sub    %r12,%r14
  test   %rax,%rax
  je     L47
  add    $0x1,%r15
  mov    %r15,%r13
  jmp    L47
  nopl   (%rax)
L63:
  cmpb   $0x0,(%r15)
  je     L187
  add    $0x1,%r15
L47:
  movsbl (%r15),%edi
  call   <IsTestDelimiter@plt>
  test   %rax,%rax
  je     L63
L187:
  mov    %r15,%rax
  sub    %r13,%rax
  mov    %rax,0x8(%rsp)
  je     L14
  test   %r14,%r14
  je     L140
L82:
  cmp    %r13,%r12
  jne    L35
  cmp    0x8(%rsp),%r14
  jne    L76
  mov    %r12,%rcx
  mov    %r14,%rdx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <WildCompare@plt>
  test   %rax,%rax
  jne    L8
  mov    %r12,%rcx
  mov    %r14,%rdx
L221:
  mov    0x18(%rsp),%rsi
  mov    0x10(%rsp),%rdi
  call   <WildCompare@plt>
  test   %rax,%rax
  jne    L8
L167:
  cmpb   $0x0,(%r15)
  jne    L52
L123:
  add    $0x28,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L140:
  mov    0x18(%rsp),%rsi
  mov    0x10(%rsp),%rdi
  mov    %rax,%rdx
  mov    %r13,%rcx
  call   <WildCompare@plt>
  test   %rax,%rax
  jne    L8
L76:
  cmp    %r13,%r12
  je     L167
L35:
  mov    %r12,%rcx
  mov    %r14,%rdx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <WildCompare@plt>
  test   %rax,%rax
  je     L167
  mov    0x8(%rsp),%rdx
  mov    %r13,%rcx
  jmp    L221
  nopw   0x0(%rax,%rax,1)
L14:
  mov    %r12,%rcx
  mov    %r14,%rdx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <WildCompare@plt>
  test   %rax,%rax
  jne    L8
  test   %r14,%r14
  jne    L76
  mov    0x18(%rsp),%rsi
  mov    0x10(%rsp),%rdi
  xor    %edx,%edx
  mov    %r13,%rcx
  call   <WildCompare@plt>
  test   %rax,%rax
  je     L82
L8:
  add    $0x28,%rsp
  mov    $0x1,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
bool IsTestSelected(const char *selection, const char *suite_name, const char *test_name) {
  assert(selection != NULL);
  assert(suite_name != NULL);
  assert(test_name != NULL);
  int32_t suite_length = (int32_t)strlen(suite_name);
  int32_t test_length = (int32_t)strlen(test_name);
  for (const char *c = selection; *c != '\0';) {
    while (IsTestDelimiter(*c)) {
      ++c;
    }
    const char *s_str = c;
    const char *t_str = c;
    while (!IsTestDelimiter(*c) && !IsFieldDelimiter(*c) && *c != '\0') {
      ++c;
    }
    int32_t s_len = (int32_t)(c - s_str);
    if (IsFieldDelimiter(*c)) {
      ++c;
      t_str = c;
    }
    while (!IsTestDelimiter(*c) && *c != '\0') {
      ++c;
    }
    int32_t t_len = (int32_t)(c - t_str);
    if (t_len == 0 && WildCompare(suite_length, suite_name, s_len, s_str)) {
      return true;
    } else if (s_len == 0 && WildCompare(test_length, test_name, t_len, t_str)) {
      return true;
    } else if (s_str == t_str && s_len == t_len && (WildCompare(suite_length, suite_name, s_len, s_str) || WildCompare(test_length, test_name, s_len, s_str))) {
      return true;
    } else if (s_str != t_str && WildCompare(suite_length, suite_name, s_len, s_str) && WildCompare(test_length, test_name, t_len, t_str)) {
      return true;
    }
  }
  return false;
}
```