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

```asm
<rk_rc4>:
  endbr64
  push   %rbx
  mov    %rdi,%r10
  mov    %rsi,%r11
  mov    %edx,%ebx
  sub    $0x220,%rsp
  movdqa D52(%rip),%xmm0
  mov    %fs:0x28,%rax
  mov    %rax,0x218(%rsp)
  xor    %eax,%eax
  lea    0x110(%rsp),%r9
  mov    $0x1,%eax
  movaps %xmm0,(%rsp)
  movdqa D80(%rip),%xmm0
  movaps %xmm0,0x10(%rsp)
  movdqa D60(%rip),%xmm0
  movaps %xmm0,0x20(%rsp)
  movdqa D32(%rip),%xmm0
  movaps %xmm0,0x30(%rsp)
  movdqa D61(%rip),%xmm0
  movaps %xmm0,0x40(%rsp)
  movdqa D162(%rip),%xmm0
  movaps %xmm0,0x50(%rsp)
  movdqa D91(%rip),%xmm0
  movaps %xmm0,0x60(%rsp)
  movdqa D153(%rip),%xmm0
  movaps %xmm0,0x70(%rsp)
  movdqa D81(%rip),%xmm0
  movaps %xmm0,0x80(%rsp)
  movdqa D15(%rip),%xmm0
  movaps %xmm0,0x90(%rsp)
  movdqa D49(%rip),%xmm0
  movaps %xmm0,0xa0(%rsp)
  movdqa D74(%rip),%xmm0
  movaps %xmm0,0xb0(%rsp)
  movdqa D138(%rip),%xmm0
  movaps %xmm0,0xc0(%rsp)
  movdqa D124(%rip),%xmm0
  movaps %xmm0,0xd0(%rsp)
  movdqa D123(%rip),%xmm0
  movb   $0x7c,0x110(%rsp)
  movaps %xmm0,0xe0(%rsp)
  movdqa D77(%rip),%xmm0
  movaps %xmm0,0xf0(%rsp)
  movdqa D19(%rip),%xmm0
  movaps %xmm0,0x100(%rsp)
  nopl   0x0(%rax,%rax,1)
L6:
  mov    %rax,%rdx
  add    $0x1,%rax
  and    $0xf,%edx
  movzbl (%rsp,%rdx,1),%edx
  mov    %dl,-0x1(%rax,%r9,1)
  cmp    $0x100,%rax
  jne    L6
  lea    0x10(%rsp),%rdx
  mov    %r9,%rsi
  xor    %r8d,%r8d
  xchg   %ax,%ax
L2:
  movsbl (%rdx),%ecx
  movsbl (%rsi),%eax
  add    $0x1,%rdx
  add    $0x1,%rsi
  mov    %ecx,%edi
  add    %r8d,%ecx
  add    %ecx,%eax
  movzbl %al,%r8d
  movzbl %al,%eax
  movzbl 0x10(%rsp,%rax,1),%ecx
  mov    %cl,-0x1(%rdx)
  mov    %dil,0x10(%rsp,%rax,1)
  cmp    %r9,%rdx
  jne    L2
  test   %ebx,%ebx
  jle    L20
  add    $0x1,%ebx
  mov    $0x1,%edx
  xor    %r8d,%r8d
  nopl   (%rax)
L18:
  movzbl %dl,%esi
  movsbl 0x10(%rsp,%rsi,1),%eax
  lea    (%r8,%rax,1),%ecx
  movzbl %cl,%r8d
  movzbl %cl,%ecx
  movzbl 0x10(%rsp,%rcx,1),%r9d
  mov    %r9b,0x10(%rsp,%rsi,1)
  mov    %al,0x10(%rsp,%rcx,1)
  add    0x10(%rsp,%rsi,1),%al
  movzbl %al,%eax
  movzbl 0x10(%rsp,%rax,1),%eax
  xor    -0x1(%r10,%rdx,1),%al
  mov    %al,-0x1(%r11,%rdx,1)
  add    $0x1,%rdx
  cmp    %rdx,%rbx
  jne    L18
L20:
  mov    0x218(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L44
  add    $0x220,%rsp
  pop    %rbx
  ret
L44:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D52
type_infered: byte[16]
name: unpack_data
arguments: tag: D80
type_infered: byte[16]
name: unpack_data
arguments: tag: D60
type_infered: byte[16]
name: unpack_data
arguments: tag: D32
type_infered: byte[16]
name: unpack_data
arguments: tag: D61
type_infered: byte[16]
name: unpack_data
arguments: tag: D162
type_infered: byte[16]
name: unpack_data
arguments: tag: D91
type_infered: byte[16]
name: unpack_data
arguments: tag: D153
type_infered: byte[16]
name: unpack_data
arguments: tag: D81
type_infered: byte[16]
name: unpack_data
arguments: tag: D15
type_infered: byte[16]
name: unpack_data
arguments: tag: D49
type_infered: byte[16]
name: unpack_data
arguments: tag: D74
type_infered: byte[16]
name: unpack_data
arguments: tag: D138
type_infered: byte[16]
name: unpack_data
arguments: tag: D124
type_infered: byte[16]
name: unpack_data
arguments: tag: D123
type_infered: byte[16]
name: unpack_data
arguments: tag: D77
type_infered: byte[16]
name: unpack_data
arguments: tag: D19
type_infered: byte[16]

tool: {"D52": [0x7c,0x4e,0x03,0x04,0x55,0x05,0x09,0x07,0x2d,0x2c,0x7b,0x38,0x17,0x0d,0x17,0x11]}

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

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

tool: {"D32": [0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f]}

tool: {"D61": [0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f]}

tool: {"D162": [0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f]}

tool: {"D91": [0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f]}

tool: {"D153": [0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f]}

tool: {"D81": [0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f]}

tool: {"D15": [0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f]}

tool: {"D49": [0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f]}

tool: {"D74": [0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf]}

tool: {"D138": [0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf]}

tool: {"D124": [0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf]}

tool: {"D123": [0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xdf]}

tool: {"D77": [0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,0xea,0xeb,0xec,0xed,0xee,0xef]}

tool: {"D19": [0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff]}

assistant: ```c
void rk_rc4(char *inpg, char *outpg, const int size) {
  char key[] = {0x7C, 0x4E, 0x03, 0x04, 0x55, 0x05, 0x09, 0x07, 0x2D, 0x2C, 0x7B, 0x38, 0x17, 0x0D, 0x17, 0x11};
  int i, i3, x, val, idx;
  char key1[0x100];
  char key2[0x100];
  for (i = 0; i < 0x100; i++) {
    key1[i] = i;
    key2[i] = key[i & 0xf];
  }
  i3 = 0;
  for (i = 0; i < 0x100; i++) {
    x = key1[i];
    i3 = key1[i] + i3;
    i3 += key2[i];
    i3 &= 0xff;
    key1[i] = key1[i3];
    key1[i3] = x;
  }
  idx = 0;
  for (i = 0; i < size; i++) {
    x = key1[(i + 1) & 0xff];
    val = x;
    idx = (x + idx) & 0xff;
    key1[(i + 1) & 0xff] = key1[idx];
    key1[idx] = (x & 0xff);
    val = (key1[(i + 1) & 0xff] + x) & 0xff;
    val = key1[val];
    outpg[i] = val ^ inpg[i];
  }
}
```