user: 提供的汇编代码用C语言表示会是什么样子：

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x98(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rbp
  nopl   (%rax)
L120:
  mov    %eax,0x0(%rbp,%rax,4)
  add    $0x1,%rax
  cmp    $0x10,%rax
  jne    L120
  lea    D132(%rip),%rdi
  xor    %r12d,%r12d
  lea    D130(%rip),%r13
  call   <puts@plt>
  lea    0x50(%rsp),%rax
  lea    D110(%rip),%r14
  mov    %rax,0x8(%rsp)
  lea    D145(%rip),%rbx
  nopl   0x0(%rax)
L46:
  lea    0x1(%r12),%eax
  xor    %r15d,%r15d
  mov    %eax,0x4(%rsp)
  mov    %rbp,%rax
  mov    %r12d,%ebp
  mov    %rax,%r12
  nopl   (%rax)
L58:
  mov    %r15,%rax
  lea    D75(%rip),%rdi
  mov    (%r12,%r15,4),%esi
  push   %r15
  and    $0x3,%eax
  mov    %ebp,%r9d
  movsbl (%rdi,%rax,1),%edx
  mov    0xc(%rsp),%edi
  movsbl 0x0(%r13,%rax,1),%r8d
  push   %rdi
  lea    D57(%rip),%rdi
  movsbl (%rdi,%rax,1),%ecx
  mov    %r14,%rdi
  xor    %eax,%eax
  push   %rcx
  mov    %esi,%ecx
  push   %r15
  add    $0x1,%r15
  call   <printf@plt>
  add    $0x20,%rsp
  cmp    $0x10,%r15
  jne    L58
  mov    %r12,%rax
  mov    %ebp,%r12d
  xor    %r15d,%r15d
  mov    %r12d,0x4(%rsp)
  mov    0x8(%rsp),%r12
  mov    %rax,%rbp
L74:
  mov    0x10(%rsp),%esi
  mov    0x14(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %ecx,%r9d
  mov    %esi,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x18(%rsp),%esi
  mov    0x1c(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x20(%rsp),%esi
  mov    0x24(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x28(%rsp),%esi
  mov    0x2c(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x30(%rsp),%esi
  mov    0x34(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x38(%rsp),%esi
  mov    0x3c(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x40(%rsp),%esi
  mov    0x44(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x48(%rsp),%esi
  mov    0x4c(%rsp),%ecx
  xor    %eax,%eax
  mov    %rbx,%rdi
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  cmp    $0x3,%r15d
  je     L148
  mov    0x30(%rsp),%eax
  mov    $0x40,%edx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  add    $0x1,%r15d
  mov    %eax,0x50(%rsp)
  mov    0x3c(%rsp),%rax
  mov    %rax,0x54(%rsp)
  mov    0x4c(%rsp),%eax
  mov    %eax,0x5c(%rsp)
  mov    0x18(%rsp),%eax
  mov    %eax,0x60(%rsp)
  mov    0x14(%rsp),%eax
  mov    %eax,0x64(%rsp)
  mov    0x28(%rsp),%eax
  mov    %eax,0x68(%rsp)
  mov    0x24(%rsp),%eax
  mov    %eax,0x6c(%rsp)
  mov    0x38(%rsp),%eax
  mov    %eax,0x70(%rsp)
  mov    0x34(%rsp),%eax
  mov    %eax,0x74(%rsp)
  mov    0x48(%rsp),%eax
  mov    %eax,0x78(%rsp)
  mov    0x44(%rsp),%eax
  mov    %eax,0x7c(%rsp)
  mov    0x10(%rsp),%eax
  mov    %eax,0x80(%rsp)
  mov    0x2c(%rsp),%eax
  mov    %eax,0x84(%rsp)
  mov    0x20(%rsp),%eax
  mov    %eax,0x88(%rsp)
  mov    0x1c(%rsp),%eax
  mov    %eax,0x8c(%rsp)
  call   <memcpy@plt>
  jmp    L74
  nopl   0x0(%rax)
L148:
  mov    0x4(%rsp),%r12d
  add    $0x2,%r12d
  cmp    $0x10,%r12d
  jne    L46
  lea    D71(%rip),%rdi
  xor    %r15d,%r15d
  call   <puts@plt>
  nopw   0x0(%rax,%rax,1)
L29:
  mov    %r15,%rax
  mov    0x0(%rbp,%r15,4),%edx
  mov    %r15d,%esi
  mov    %r15d,%r8d
  and    $0x3,%eax
  lea    D4(%rip),%rdi
  add    $0x1,%r15
  movsbl 0x0(%r13,%rax,1),%ecx
  xor    %eax,%eax
  call   <printf@plt>
  cmp    $0x10,%r15
  jne    L29
  lea    D70(%rip),%rdi
  call   <puts@plt>
  lea    D123(%rip),%rdi
  call   <puts@plt>
  lea    0x50(%rsp),%rax
  mov    %rax,0x8(%rsp)
  nopl   0x0(%rax)
L8:
  lea    0x1(%r12),%eax
  xor    %r15d,%r15d
  mov    %eax,0x4(%rsp)
  mov    %rbp,%rax
  mov    %r12d,%ebp
  mov    %rax,%r12
  nopl   (%rax)
L122:
  mov    (%r12,%r15,4),%esi
  push   %r15
  mov    %r15,%rax
  lea    D75(%rip),%rdx
  mov    0xc(%rsp),%edi
  and    $0x3,%eax
  mov    %ebp,%r9d
  movsbl (%rdx,%rax,1),%edx
  movsbl 0x0(%r13,%rax,1),%r8d
  push   %rdi
  lea    D57(%rip),%rdi
  movsbl (%rdi,%rax,1),%ecx
  mov    %r14,%rdi
  xor    %eax,%eax
  push   %rcx
  mov    %esi,%ecx
  push   %r15
  add    $0x1,%r15
  call   <printf@plt>
  add    $0x20,%rsp
  cmp    $0x10,%r15
  jne    L122
  mov    %r12,%rax
  mov    %ebp,%r12d
  xor    %r15d,%r15d
  mov    %r12d,0x4(%rsp)
  mov    0x8(%rsp),%r12
  mov    %rax,%rbp
L150:
  mov    0x10(%rsp),%esi
  mov    0x14(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %ecx,%r9d
  mov    %esi,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x18(%rsp),%esi
  mov    0x1c(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x20(%rsp),%esi
  mov    0x24(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x28(%rsp),%esi
  mov    0x2c(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x30(%rsp),%esi
  mov    0x34(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x38(%rsp),%esi
  mov    0x3c(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x40(%rsp),%esi
  mov    0x44(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x48(%rsp),%esi
  mov    0x4c(%rsp),%ecx
  xor    %eax,%eax
  mov    %rbx,%rdi
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  cmp    $0x3,%r15d
  je     L140
  mov    0x30(%rsp),%eax
  mov    $0x40,%edx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  add    $0x1,%r15d
  mov    %eax,0x50(%rsp)
  mov    0x3c(%rsp),%rax
  mov    %rax,0x54(%rsp)
  mov    0x4c(%rsp),%eax
  mov    %eax,0x5c(%rsp)
  mov    0x18(%rsp),%eax
  mov    %eax,0x60(%rsp)
  mov    0x14(%rsp),%eax
  mov    %eax,0x64(%rsp)
  mov    0x28(%rsp),%eax
  mov    %eax,0x68(%rsp)
  mov    0x24(%rsp),%eax
  mov    %eax,0x6c(%rsp)
  mov    0x38(%rsp),%eax
  mov    %eax,0x70(%rsp)
  mov    0x34(%rsp),%eax
  mov    %eax,0x74(%rsp)
  mov    0x48(%rsp),%eax
  mov    %eax,0x78(%rsp)
  mov    0x44(%rsp),%eax
  mov    %eax,0x7c(%rsp)
  mov    0x10(%rsp),%eax
  mov    %eax,0x80(%rsp)
  mov    0x2c(%rsp),%eax
  mov    %eax,0x84(%rsp)
  mov    0x20(%rsp),%eax
  mov    %eax,0x88(%rsp)
  mov    0x1c(%rsp),%eax
  mov    %eax,0x8c(%rsp)
  call   <memcpy@plt>
  jmp    L150
  nopl   0x0(%rax)
L140:
  mov    0x4(%rsp),%r12d
  add    $0x2,%r12d
  cmp    $0x18,%r12d
  jne    L8
  lea    D219(%rip),%rdi
  xor    %r15d,%r15d
  call   <puts@plt>
  lea    D165(%rip),%rdi
  call   <puts@plt>
  xchg   %ax,%ax
L143:
  mov    %r15,%rax
  mov    0x0(%rbp,%r15,4),%edx
  mov    %r15d,%esi
  mov    %r15d,%r8d
  and    $0x3,%eax
  lea    D4(%rip),%rdi
  add    $0x1,%r15
  movsbl 0x0(%r13,%rax,1),%ecx
  xor    %eax,%eax
  call   <printf@plt>
  cmp    $0x10,%r15
  jne    L143
  lea    D70(%rip),%rdi
  call   <puts@plt>
  lea    D10(%rip),%rdi
  call   <puts@plt>
  lea    0x50(%rsp),%rax
  mov    %rax,0x8(%rsp)
  nopl   0x0(%rax)
L163:
  lea    0x1(%r12),%eax
  xor    %r15d,%r15d
  mov    %eax,0x4(%rsp)
  mov    %rbp,%rax
  mov    %r12d,%ebp
  mov    %rax,%r12
  nopl   (%rax)
L97:
  mov    (%r12,%r15,4),%esi
  push   %r15
  mov    %r15,%rax
  lea    D75(%rip),%rdx
  mov    0xc(%rsp),%edi
  and    $0x3,%eax
  mov    %ebp,%r9d
  movsbl (%rdx,%rax,1),%edx
  movsbl 0x0(%r13,%rax,1),%r8d
  push   %rdi
  lea    D57(%rip),%rdi
  movsbl (%rdi,%rax,1),%ecx
  mov    %r14,%rdi
  xor    %eax,%eax
  push   %rcx
  mov    %esi,%ecx
  push   %r15
  add    $0x1,%r15
  call   <printf@plt>
  add    $0x20,%rsp
  cmp    $0x10,%r15
  jne    L97
  mov    %r12,%rax
  mov    %ebp,%r12d
  xor    %r15d,%r15d
  mov    %r12d,0x4(%rsp)
  mov    0x8(%rsp),%r12
  mov    %rax,%rbp
L93:
  mov    0x10(%rsp),%esi
  mov    0x14(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %ecx,%r9d
  mov    %esi,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x18(%rsp),%esi
  mov    0x1c(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x20(%rsp),%esi
  mov    0x24(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x28(%rsp),%esi
  mov    0x2c(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x30(%rsp),%esi
  mov    0x34(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x38(%rsp),%esi
  mov    0x3c(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x40(%rsp),%esi
  mov    0x44(%rsp),%ecx
  mov    %rbx,%rdi
  xor    %eax,%eax
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  mov    0x48(%rsp),%esi
  mov    0x4c(%rsp),%ecx
  xor    %eax,%eax
  mov    %rbx,%rdi
  mov    %esi,%r9d
  mov    %ecx,%r8d
  mov    %esi,%edx
  call   <printf@plt>
  cmp    $0x3,%r15d
  je     L153
  mov    0x30(%rsp),%eax
  mov    $0x40,%edx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  add    $0x1,%r15d
  mov    %eax,0x50(%rsp)
  mov    0x3c(%rsp),%rax
  mov    %rax,0x54(%rsp)
  mov    0x4c(%rsp),%eax
  mov    %eax,0x5c(%rsp)
  mov    0x18(%rsp),%eax
  mov    %eax,0x60(%rsp)
  mov    0x14(%rsp),%eax
  mov    %eax,0x64(%rsp)
  mov    0x28(%rsp),%eax
  mov    %eax,0x68(%rsp)
  mov    0x24(%rsp),%eax
  mov    %eax,0x6c(%rsp)
  mov    0x38(%rsp),%eax
  mov    %eax,0x70(%rsp)
  mov    0x34(%rsp),%eax
  mov    %eax,0x74(%rsp)
  mov    0x48(%rsp),%eax
  mov    %eax,0x78(%rsp)
  mov    0x44(%rsp),%eax
  mov    %eax,0x7c(%rsp)
  mov    0x10(%rsp),%eax
  mov    %eax,0x80(%rsp)
  mov    0x2c(%rsp),%eax
  mov    %eax,0x84(%rsp)
  mov    0x20(%rsp),%eax
  mov    %eax,0x88(%rsp)
  mov    0x1c(%rsp),%eax
  mov    %eax,0x8c(%rsp)
  call   <memcpy@plt>
  jmp    L93
  nopl   0x0(%rax)
L153:
  mov    0x4(%rsp),%r12d
  add    $0x2,%r12d
  cmp    $0x20,%r12d
  jne    L163
  xor    %ebx,%ebx
  nopl   (%rax)
L70:
  mov    %rbx,%rax
  mov    0x0(%rbp,%rbx,4),%edx
  mov    %ebx,%esi
  mov    %ebx,%r8d
  and    $0x3,%eax
  lea    D4(%rip),%rdi
  add    $0x1,%rbx
  movsbl 0x0(%r13,%rax,1),%ecx
  xor    %eax,%eax
  call   <printf@plt>
  cmp    $0x10,%rbx
  jne    L70
  lea    D168(%rip),%rdi
  call   <puts@plt>
  lea    D155(%rip),%rdi
  call   <puts@plt>
  mov    0x98(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L156
  add    $0xa8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L156:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_label: D132
type: string
name: retrieve_data
arguments: data_label: D130
type: string
name: retrieve_data
arguments: data_label: D110
type: string
name: retrieve_data
arguments: data_label: D145
type: string
name: retrieve_data
arguments: data_label: D75
type: string
name: retrieve_data
arguments: data_label: D57
type: string
name: retrieve_data
arguments: data_label: D71
type: string
name: retrieve_data
arguments: data_label: D4
type: string
name: retrieve_data
arguments: data_label: D70
type: string
name: retrieve_data
arguments: data_label: D123
type: string
name: retrieve_data
arguments: data_label: D219
type: string
name: retrieve_data
arguments: data_label: D165
type: string
name: retrieve_data
arguments: data_label: D10
type: string
name: retrieve_data
arguments: data_label: D168
type: string
name: retrieve_data
arguments: data_label: D155
type: string

tool: D132: void saferp_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey)
{
   int x;
   unsigned char b[16];

   LTC_ARGCHK(pt   != NULL);
   LTC_ARGCHK(ct   != NULL);
   LTC_ARGCHK(skey != NULL);

   /* do eight rounds */
   for (x = 0; x < 16; x++) {
       b[x] = pt[x];
   }

tool: D130: ^++^

tool: D110: b[%d] = (safer_%cbox[(b[%d] %c skey->saferp.K[%d][%d]) & 255] %c skey->saferp.K[%d][%d]) & 255;


tool: D145:    b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;


tool: D75: elle

tool: D57: +^^+

tool: D71:    if (skey->saferp.rounds <= 8) {

tool: D4:       ct[%d] = (b[%d] %c skey->saferp.K[skey->saferp.rounds*2][%d]) & 255;


tool: D70:       return;
   }

tool: D123:    /* 192-bit key? */
   if (skey->saferp.rounds > 8) {

tool: D219: }

tool: D165:    if (skey->saferp.rounds <= 12) {

tool: D10:    /* 256-bit key? */
   if (skey->saferp.rounds > 12) {

tool: D168:    return;

tool: D155:    }
}


assistant: ```c
int main(void) {
  int b[16], b2[16], x, y, z;
  for (x = 0; x < 16; x++)
    b[x] = x;
  printf("void saferp_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey)\n"
         "{\n"
         "   int x;\n"
         "   unsigned char b[16];\n"
         "\n"
         "   LTC_ARGCHK(pt   != NULL);\n"
         "   LTC_ARGCHK(ct   != NULL);\n"
         "   LTC_ARGCHK(skey != NULL);\n"
         "\n"
         "   /* do eight rounds */\n"
         "   for (x = 0; x < 16; x++) {\n"
         "       b[x] = pt[x];\n"
         "   }\n");
  for (x = 0; x < 8; x++) {
    for (y = 0; y < 16; y++) {
      printf("b[%d] = (safer_%cbox[(b[%d] %c skey->saferp.K[%d][%d]) & 255] %c skey->saferp.K[%d][%d]) & 255;\n", b[y], "elle"[y & 3], b[y], "^++^"[y & 3], x * 2, y, "+^^+"[y & 3], x * 2 + 1, y);
    }
    for (y = 0; y < 4; y++) {
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[0], b[0], b[1], b[0], b[1]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[2], b[2], b[3], b[3], b[2]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[4], b[4], b[5], b[5], b[4]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[6], b[6], b[7], b[7], b[6]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[8], b[8], b[9], b[9], b[8]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[10], b[10], b[11], b[11], b[10]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[12], b[12], b[13], b[13], b[12]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[14], b[14], b[15], b[15], b[14]);
      if (y < 3) {
        b2[0] = b[8];
        b2[1] = b[11];
        b2[2] = b[12];
        b2[3] = b[15];
        b2[4] = b[2];
        b2[5] = b[1];
        b2[6] = b[6];
        b2[7] = b[5];
        b2[8] = b[10];
        b2[9] = b[9];
        b2[10] = b[14];
        b2[11] = b[13];
        b2[12] = b[0];
        b2[13] = b[7];
        b2[14] = b[4];
        b2[15] = b[3];
        memcpy(b, b2, sizeof(b));
        ;
      }
    }
  }
  printf("   if (skey->saferp.rounds <= 8) {\n");
  for (x = 0; x < 16; x++) {
    printf("      ct[%d] = (b[%d] %c skey->saferp.K[skey->saferp.rounds*2][%d]) & 255;\n", x, b[x], "^++^"[x & 3], x);
  }
  printf("      return;\n   }\n");
  printf("   /* 192-bit key? */\n"
         "   if (skey->saferp.rounds > 8) {\n");
  for (x = 8; x < 12; x++) {
    for (y = 0; y < 16; y++) {
      printf("b[%d] = (safer_%cbox[(b[%d] %c skey->saferp.K[%d][%d]) & 255] %c skey->saferp.K[%d][%d]) & 255;\n", b[y], "elle"[y & 3], b[y], "^++^"[y & 3], x * 2, y, "+^^+"[y & 3], x * 2 + 1, y);
    }
    for (y = 0; y < 4; y++) {
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[0], b[0], b[1], b[0], b[1]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[2], b[2], b[3], b[3], b[2]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[4], b[4], b[5], b[5], b[4]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[6], b[6], b[7], b[7], b[6]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[8], b[8], b[9], b[9], b[8]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[10], b[10], b[11], b[11], b[10]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[12], b[12], b[13], b[13], b[12]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[14], b[14], b[15], b[15], b[14]);
      if (y < 3) {
        b2[0] = b[8];
        b2[1] = b[11];
        b2[2] = b[12];
        b2[3] = b[15];
        b2[4] = b[2];
        b2[5] = b[1];
        b2[6] = b[6];
        b2[7] = b[5];
        b2[8] = b[10];
        b2[9] = b[9];
        b2[10] = b[14];
        b2[11] = b[13];
        b2[12] = b[0];
        b2[13] = b[7];
        b2[14] = b[4];
        b2[15] = b[3];
        memcpy(b, b2, sizeof(b));
        ;
      }
    }
  }
  printf("}\n");
  printf("   if (skey->saferp.rounds <= 12) {\n");
  for (x = 0; x < 16; x++) {
    printf("      ct[%d] = (b[%d] %c skey->saferp.K[skey->saferp.rounds*2][%d]) & 255;\n", x, b[x], "^++^"[x & 3], x);
  }
  printf("      return;\n   }\n");
  printf("   /* 256-bit key? */\n"
         "   if (skey->saferp.rounds > 12) {\n");
  for (x = 12; x < 16; x++) {
    for (y = 0; y < 16; y++) {
      printf("b[%d] = (safer_%cbox[(b[%d] %c skey->saferp.K[%d][%d]) & 255] %c skey->saferp.K[%d][%d]) & 255;\n", b[y], "elle"[y & 3], b[y], "^++^"[y & 3], x * 2, y, "+^^+"[y & 3], x * 2 + 1, y);
    }
    for (y = 0; y < 4; y++) {
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[0], b[0], b[1], b[0], b[1]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[2], b[2], b[3], b[3], b[2]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[4], b[4], b[5], b[5], b[4]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[6], b[6], b[7], b[7], b[6]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[8], b[8], b[9], b[9], b[8]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[10], b[10], b[11], b[11], b[10]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[12], b[12], b[13], b[13], b[12]);
      printf("   b[%d]  = (b[%d] + (b[%d] = (b[%d] + b[%d]) & 255)) & 255;\n", b[14], b[14], b[15], b[15], b[14]);
      if (y < 3) {
        b2[0] = b[8];
        b2[1] = b[11];
        b2[2] = b[12];
        b2[3] = b[15];
        b2[4] = b[2];
        b2[5] = b[1];
        b2[6] = b[6];
        b2[7] = b[5];
        b2[8] = b[10];
        b2[9] = b[9];
        b2[10] = b[14];
        b2[11] = b[13];
        b2[12] = b[0];
        b2[13] = b[7];
        b2[14] = b[4];
        b2[15] = b[3];
        memcpy(b, b2, sizeof(b));
        ;
      }
    }
  }
  for (x = 0; x < 16; x++) {
    printf("      ct[%d] = (b[%d] %c skey->saferp.K[skey->saferp.rounds*2][%d]) & 255;\n", x, b[x], "^++^"[x & 3], x);
  }
  printf("   return;\n");
  printf("   }\n}\n\n");
  return 0;
}
```