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

```asm
<graphics_render_qr_code>:
  endbr64
  push   %r13
  lea    D149(%rip),%rsi
  mov    $0x78,%ecx
  push   %r12
  xor    %r12d,%r12d
  push   %rbp
  push   %rbx
  sub    $0x3d8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x3c8(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rdi
  mov    %rsp,%r13
  rep movsq %ds:(%rsi),%es:(%rdi)
  movzbl (%rsi),%eax
  mov    %al,(%rdi)
  nopl   0x0(%rax)
L53:
  add    $0x1,%r12d
  mov    %r13,%rbp
  mov    $0x5,%ebx
  jmp    L50
  cs nopw 0x0(%rax,%rax,1)
L4:
  add    $0x2,%ebx
  add    $0x1,%rbp
  cmp    $0x43,%ebx
  je     L27
L50:
  cmpb   $0x1,0x0(%rbp)
  jne    L4
  mov    %ebx,%edi
  mov    $0x1,%ecx
  mov    $0x2,%edx
  mov    %r12d,%esi
  xor    %eax,%eax
  add    $0x2,%ebx
  add    $0x1,%rbp
  call   <graphics_sprites_render_box@plt>
  cmp    $0x43,%ebx
  jne    L50
L27:
  add    $0x1f,%r13
  cmp    $0x1f,%r12d
  jne    L53
  lea    D100(%rip),%rdx
  mov    $0xe,%esi
  mov    $0x22,%edi
  xor    %eax,%eax
  call   <mvprintw@plt>
  lea    D312(%rip),%rdx
  mov    $0x1e,%esi
  xor    %eax,%eax
  mov    $0x24,%edi
  call   <mvprintw@plt>
  lea    D193(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x1,%edi
  call   <mvprintw@plt>
  lea    D121(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x3,%edi
  call   <mvprintw@plt>
  lea    D34(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x4,%edi
  call   <mvprintw@plt>
  lea    D232(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x5,%edi
  call   <mvprintw@plt>
  lea    D49(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x6,%edi
  call   <mvprintw@plt>
  lea    D4(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x7,%edi
  call   <mvprintw@plt>
  lea    D0(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x8,%edi
  call   <mvprintw@plt>
  lea    D201(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x9,%edi
  call   <mvprintw@plt>
  lea    D173(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0xa,%edi
  call   <mvprintw@plt>
  lea    D133(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0xb,%edi
  call   <mvprintw@plt>
  lea    D48(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0xc,%edi
  call   <mvprintw@plt>
  lea    D87(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0xd,%edi
  call   <mvprintw@plt>
  lea    D299(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0xe,%edi
  call   <mvprintw@plt>
  lea    D72(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0xf,%edi
  call   <mvprintw@plt>
  xor    %eax,%eax
  mov    $0x48,%esi
  lea    D185(%rip),%rdx
  mov    $0x10,%edi
  call   <mvprintw@plt>
  lea    D292(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x11,%edi
  call   <mvprintw@plt>
  lea    D78(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x12,%edi
  call   <mvprintw@plt>
  lea    D126(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x13,%edi
  call   <mvprintw@plt>
  lea    D262(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x14,%edi
  call   <mvprintw@plt>
  lea    D301(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x15,%edi
  call   <mvprintw@plt>
  lea    D318(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x16,%edi
  call   <mvprintw@plt>
  lea    D55(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x17,%edi
  call   <mvprintw@plt>
  lea    D59(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x18,%edi
  call   <mvprintw@plt>
  lea    D242(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x19,%edi
  call   <mvprintw@plt>
  lea    D191(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x1a,%edi
  call   <mvprintw@plt>
  lea    D213(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x1b,%edi
  call   <mvprintw@plt>
  lea    D224(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  mov    $0x1c,%edi
  call   <mvprintw@plt>
  xor    %eax,%eax
  mov    $0x48,%esi
  lea    D218(%rip),%rdx
  mov    $0x1d,%edi
  call   <mvprintw@plt>
  mov    0x3c8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L46
  add    $0x3d8,%rsp
  lea    D273(%rip),%rdx
  mov    $0x48,%esi
  xor    %eax,%eax
  pop    %rbx
  mov    $0x1e,%edi
  pop    %rbp
  pop    %r12
  pop    %r13
  jmp    1090 <mvprintw@plt>
L46:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D149
data_type: string
name: extract_symbolic_data
arguments: data_label: D100
data_type: string
name: extract_symbolic_data
arguments: data_label: D312
data_type: string
name: extract_symbolic_data
arguments: data_label: D193
data_type: string
name: extract_symbolic_data
arguments: data_label: D121
data_type: string
name: extract_symbolic_data
arguments: data_label: D34
data_type: string
name: extract_symbolic_data
arguments: data_label: D232
data_type: string
name: extract_symbolic_data
arguments: data_label: D49
data_type: string
name: extract_symbolic_data
arguments: data_label: D4
data_type: string
name: extract_symbolic_data
arguments: data_label: D0
data_type: string
name: extract_symbolic_data
arguments: data_label: D201
data_type: string
name: extract_symbolic_data
arguments: data_label: D173
data_type: string
name: extract_symbolic_data
arguments: data_label: D133
data_type: string
name: extract_symbolic_data
arguments: data_label: D48
data_type: string
name: extract_symbolic_data
arguments: data_label: D87
data_type: string
name: extract_symbolic_data
arguments: data_label: D299
data_type: string
name: extract_symbolic_data
arguments: data_label: D72
data_type: string
name: extract_symbolic_data
arguments: data_label: D185
data_type: string
name: extract_symbolic_data
arguments: data_label: D292
data_type: string
name: extract_symbolic_data
arguments: data_label: D78
data_type: string
name: extract_symbolic_data
arguments: data_label: D126
data_type: string
name: extract_symbolic_data
arguments: data_label: D262
data_type: string
name: extract_symbolic_data
arguments: data_label: D301
data_type: string
name: extract_symbolic_data
arguments: data_label: D318
data_type: string
name: extract_symbolic_data
arguments: data_label: D55
data_type: string
name: extract_symbolic_data
arguments: data_label: D59
data_type: string
name: extract_symbolic_data
arguments: data_label: D242
data_type: string
name: extract_symbolic_data
arguments: data_label: D191
data_type: string
name: extract_symbolic_data
arguments: data_label: D213
data_type: string
name: extract_symbolic_data
arguments: data_label: D224
data_type: string
name: extract_symbolic_data
arguments: data_label: D218
data_type: string
name: extract_symbolic_data
arguments: data_label: D273
data_type: string

tool: D149: 

tool: D100: https://github.com/NIPE-SYSTEMS/turbo-bomber

tool: D312: Made in 2016

tool: D193: Features:

tool: D121:  - Command line game (based on ncurses)

tool: D34:  - Animations

tool: D232:  - Complex cutscenes (made by hand)

tool: D49:  - Colors (more or less)

tool: D4:  - ASCII art

tool: D0:  - Cheats (TURBO-MODE)

tool: D201:  - Sprite rendering (based on ncurses)

tool: D173:  - Dynamic sprite reading (file I/O)

tool: D133:  - Multilayered rendering (alpha rendering)

tool: D48:  - AI: Bomb spot selection

tool: D87:  - AI: Explosion simulation (array magic)

tool: D299:  - AI: Pathfinding (wavefront/floodfill)

tool: D72:  - AI: Job lists (linked lists)

tool: D185:  - Explosion algorithm (array magic v2)

tool: D292:  - Explosion triggers nearby bombs

tool: D78:  - Items, power ups (linked lists, structs)

tool: D126:  - Destroyable items

tool: D262:  - Destructable walls

tool: D301:  - Random drops (item drops, probabilities)

tool: D318:  - Game states (enums, controlled state changes)

tool: D55:  - Logging, debug output (file I/O)

tool: D59:  - Git, public repository with complete code

tool: D242:  - Modular code (many header files)

tool: D191:  - Game loop (timing)

tool: D213:  - Keyboard input handling (based on ncurses)

tool: D224:  - QR code (maybe this one)

tool: D218:  - Game pausing

tool: D273:  - Screenshot taking (file I/O)

assistant: ```c
void graphics_render_qr_code(void) {
  char qr_code[] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 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 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1};
  int x = 0;
  int y = 0;
  int render_x = 0;
  int render_y = 0;
  int offset_line = 0;
  for (y = 0; y < 31; y++) {
    for (x = 0; x < 31; x++) {
      if (qr_code[y * 31 + x] == 1) {
        render_x = (x * 2) + 5;
        render_y = (y * 1) + 1;
        graphics_sprites_render_box(render_x, render_y, 2, 1);
      }
    }
  }
  render_x = 5 + 2 * 31 / 2 - 44 / 2;
  render_y = 1 + 1 * 31 + 2;
  mvprintw(render_y, render_x, "https://github.com/NIPE-SYSTEMS/turbo-bomber");
  render_x = 5 + 2 * 31 / 2 - 12 / 2;
  render_y = 1 + 1 * 31 + 4;
  mvprintw(render_y, render_x, "Made in 2016");
  render_x = 2 * 5 + 2 * 31;
  render_y = 1;
  mvprintw(render_y, render_x, "Features:");
  offset_line = 2;
  mvprintw(render_y + offset_line++, render_x, " - Command line game (based on ncurses)");
  mvprintw(render_y + offset_line++, render_x, " - Animations");
  mvprintw(render_y + offset_line++, render_x, " - Complex cutscenes (made by hand)");
  mvprintw(render_y + offset_line++, render_x, " - Colors (more or less)");
  mvprintw(render_y + offset_line++, render_x, " - ASCII art");
  mvprintw(render_y + offset_line++, render_x, " - Cheats (TURBO-MODE)");
  mvprintw(render_y + offset_line++, render_x, " - Sprite rendering (based on ncurses)");
  mvprintw(render_y + offset_line++, render_x, " - Dynamic sprite reading (file I/O)");
  mvprintw(render_y + offset_line++, render_x, " - Multilayered rendering (alpha rendering)");
  mvprintw(render_y + offset_line++, render_x, " - AI: Bomb spot selection");
  mvprintw(render_y + offset_line++, render_x, " - AI: Explosion simulation (array magic)");
  mvprintw(render_y + offset_line++, render_x, " - AI: Pathfinding (wavefront/floodfill)");
  mvprintw(render_y + offset_line++, render_x, " - AI: Job lists (linked lists)");
  mvprintw(render_y + offset_line++, render_x, " - Explosion algorithm (array magic v2)");
  mvprintw(render_y + offset_line++, render_x, " - Explosion triggers nearby bombs");
  mvprintw(render_y + offset_line++, render_x, " - Items, power ups (linked lists, structs)");
  mvprintw(render_y + offset_line++, render_x, " - Destroyable items");
  mvprintw(render_y + offset_line++, render_x, " - Destructable walls");
  mvprintw(render_y + offset_line++, render_x, " - Random drops (item drops, probabilities)");
  mvprintw(render_y + offset_line++, render_x, " - Game states (enums, controlled state changes)");
  mvprintw(render_y + offset_line++, render_x, " - Logging, debug output (file I/O)");
  mvprintw(render_y + offset_line++, render_x, " - Git, public repository with complete code");
  mvprintw(render_y + offset_line++, render_x, " - Modular code (many header files)");
  mvprintw(render_y + offset_line++, render_x, " - Game loop (timing)");
  mvprintw(render_y + offset_line++, render_x, " - Keyboard input handling (based on ncurses)");
  mvprintw(render_y + offset_line++, render_x, " - QR code (maybe this one)");
  mvprintw(render_y + offset_line++, render_x, " - Game pausing");
  mvprintw(render_y + offset_line++, render_x, " - Screenshot taking (file I/O)");
}
```