user: Demonstrate the C code that generates the assembly output below:

```asm
<mc_test_row>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%r15
  mov    %rsi,0x18(%rsp)
  mov    %rdx,%r13
  mov    %rsi,%rdx
  mov    %rdi,%rsi
  lea    D19(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1,%r14d
  mov    %r13,%rax
  and    $0x40,%eax
  mov    %rax,0x8(%rsp)
  mov    %r13,%rax
  and    $0x80,%eax
  mov    %rax,0x10(%rsp)
  jmp    L342
  mov    $0x1,%ebp
  test   $0x1,%r13b
  je     L333
L223:
  mov    %r14d,0x4(%rsp)
  mov    0x18(%rsp),%r14
  jmp    L131
  test   $0x2,%r13b
  je     L333
  jmp    L223
  mov    $0x1,%ebp
  test   $0x4,%r13b
  je     L333
  jmp    L223
  mov    $0x1,%ebp
  test   $0x8,%r13b
  je     L333
  jmp    L223
  mov    %r13,%rax
  and    $0x10,%eax
  jne    L308
L281:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L308:
  mov    $0x1,%ebp
  jmp    L223
L194:
  mov    $0x1,%ebp
  jmp    L223
L180:
  mov    $0x1,%ebx
  test   $0x200,%r13d
  je     L2
  jmp    L21
L101:
  test   $0x400,%r13d
  jne    L341
L271:
  mov    0x4(%rsp),%r14d
  cmp    $0x4,%r14d
  jg     L132
L333:
  add    $0x1,%r14d
L342:
  lea    -0x1(%r14),%ebp
  mov    %ebp,(%rsp)
  cmp    $0x4,%ebp
  ja     L194
  mov    %ebp,%eax
  lea    D12(%rip),%rcx
  movslq (%rcx,%rax,4),%rax
  add    %rcx,%rax
  notrack jmp *%rax
L341:
  mov    $0x1,%ebx
  jmp    L21
L129:
  test   $0x20,%r13b
  je     L183
  mov    %r14,%rcx
  mov    %r15,%rdx
  mov    %r12d,%esi
  mov    (%rsp),%edi
  call   <mc_test_row_8@plt>
L172:
  test   %eax,%eax
  jne    L349
  mov    %r14,%rsi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <mc_clear_row@plt>
L183:
  add    $0x1,%ebx
L21:
  lea    -0x1(%rbx),%eax
  cmp    $0x2,%ebx
  je     L95
  cmp    $0x2,%eax
  je     L16
  test   %eax,%eax
  je     L129
  mov    %r14,%rsi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <mc_clear_row@plt>
  cmp    $0x2,%ebx
  jle    L183
L74:
  cmp    $0x2,%ebp
  jg     L271
L2:
  add    $0x1,%ebp
L131:
  lea    -0x1(%rbp),%r12d
  cmp    $0x2,%ebp
  je     L180
  cmp    $0x2,%r12d
  je     L101
  mov    $0x1,%ebx
  test   %r12d,%r12d
  jne    L21
  test   $0x100,%r13d
  je     L2
  jmp    L21
L95:
  cmpq   $0x0,0x8(%rsp)
  je     L183
  mov    %r14,%rcx
  mov    %r15,%rdx
  mov    %r12d,%esi
  mov    (%rsp),%edi
  mov    $0x0,%eax
  call   <mc_test_row_16@plt>
  jmp    L172
L16:
  cmpq   $0x0,0x10(%rsp)
  je     L74
  mov    %r14,%rcx
  mov    %r15,%rdx
  mov    %r12d,%esi
  mov    (%rsp),%edi
  mov    $0x0,%eax
  call   <mc_test_row_32@plt>
  test   %eax,%eax
  je     L366
L349:
  cltq
  jmp    L281
L132:
  mov    $0x0,%eax
  jmp    L281
L366:
  mov    %r14,%rsi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <mc_clear_row@plt>
  jmp    L74
```

tool_calls: name: read_data
arguments: tag: D19
data_type: string

tool: D19: 
mc_test_row(0x%08lX, 0x%08lX)


assistant: ```c
unsigned long mc_test_row(unsigned long nFrom, unsigned long nTo, unsigned long flags) {
  int nRun, nSize, nSeq;
  int ret = 0;
  printf("\nmc_test_row(0x%08lX, 0x%08lX)\n", nFrom, nTo);
  for (nRun = 0; nRun < 5; nRun++) {
    switch (nRun) {
    case 0:
      if ((flags & 0x00000001LU) != 0x00000001LU)
        continue;
      break;
    case 1:
      if ((flags & 0x00000002LU) != 0x00000002LU)
        continue;
      break;
    case 2:
      if ((flags & 0x00000004LU) != 0x00000004LU)
        continue;
      break;
    case 3:
      if ((flags & 0x00000008LU) != 0x00000008LU)
        continue;
      break;
    case 4:
      if ((flags & 0x00000010LU) != 0x00000010LU)
        continue;
    }
    for (nSeq = 0; nSeq < 3; nSeq++) {
      switch (nSeq) {
      case 0:
        if ((flags & 0x00000100LU) != 0x00000100LU)
          continue;
        break;
      case 1:
        if ((flags & 0x00000200LU) != 0x00000200LU)
          continue;
        break;
      case 2:
        if ((flags & 0x00000400LU) != 0x00000400LU)
          continue;
      }
      for (nSize = 0; nSize < 3; nSize++) {
        switch (nSize) {
        case 0:
          if ((flags & 0x00000020LU) != 0x00000020LU)
            continue;
          ret = mc_test_row_8(nRun, nSeq, nFrom, nTo);
          break;
        case 1:
          if ((flags & 0x00000040LU) != 0x00000040LU)
            continue;
          ret = mc_test_row_16(nRun, nSeq, nFrom, nTo);
          break;
        case 2:
          if ((flags & 0x00000080LU) != 0x00000080LU)
            continue;
          ret = mc_test_row_32(nRun, nSeq, nFrom, nTo);
        }
        if (ret)
          return ret;
        mc_clear_row(nFrom, nTo);
      }
    }
  }
  return 0;
}
```