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

```asm
<ArrowImage>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa40,%rsp
  mov    %edx,%ebx
  mov    %fs:0x28,%rax
  mov    %rax,0xa38(%rsp)
  xor    %eax,%eax
  test   %rsi,%rsi
  sete   %al
  test   %edx,%edx
  sete   %dl
  or     %dl,%al
  jne    L10
  mov    %rsi,%rbp
  test   %rdi,%rdi
  jne    L14
L10:
  mov    $0x0,%r12d
L29:
  mov    0xa38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L8
  mov    %r12d,%eax
  add    $0xa40,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L14:
  mov    %rsp,%r12
  mov    $0x514,%edx
  lea    D7(%rip),%rsi
  mov    %r12,%rdi
  call   <strncpy@plt>
  lea    0x520(%rsp),%rdi
  mov    %r12,%rsi
  call   <base64decode@plt>
  mov    $0x514,%edx
  cmp    %edx,%eax
  cmovge %eax,%edx
  mov    %edx,%r12d
  cmp    %edx,%ebx
  jge    L45
  mov    $0x0,%r12d
  jmp    L29
L45:
  lea    0x520(%rsp),%rsi
  mov    %rbp,%rdi
  call   <memcpy@plt>
  jmp    L29
L8:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D7
data_type: string

tool: D7: R0lGODlhDwAPAPcAAAQCBPz+5Pz+/AAAAJWYoB7mMAASRQAAAJrjkB3q5wCQEgB8AAA06wDmhxUS1AAAdww4AAAA8AAA/QAAfwA4kAIA5wAAEgAAAADjMgGUiADU1AB3d6DVUOWy5xLUEgB3AHkA/wgGh4IG1HwAdwAgDAAAAAEAAAAAAFYKoAAGgwAFfgAAAKgStOQAgxIAfgACAG4AFAAAAAAAAAAAAMieAeUCABIAAAAAABgBAO4AAJAAAHwAAHAAAAUGAJEGAHwAAP8wEP+AAP9FAP8AAG0KAAUGAJEFAHwAABUABwoAAIKZAHziAADjAACUABXUAAB3AGBJAANmAADWAAB3ALACAZAGABcFAAAAAHhOMWFvMBV0MAAgIABhJQAgIABmAABpAH5sJABl7AAAEsAAAAATlAAGBAD/1wD/d/+kCP/miP8S1P8Ad/8Q///g///U//93/wAA/wAGhwAG1AAAdwAgQwAAtwAA1AAAdwAKAAAGABUFAAAAAFcSoPMAMAAARQACANgBAuUABhIABQAAAC/sAA7mAIISAHwAANu+BwXfAILUAHx3AEAAAOUGAE8GAAAAAHggAGEAAAEAFQAAAGwKAAAGAAAFAAAAABRXAOXzABIAAAAAADTwAADmAAASAMAAAPiDAPcqABKCAAB8ABgACO4AAJAAoXwAAHAAAAUAAJEAAHwAAP8AAP8AAP8AAP8AAG0ADQUBAJEAAHwAAErnDfYqAICCAHx8AAAUXADn8BUSEgAAAADC/wAq/wCC/wB8/3gAAGEAABUAAAAAAAAMHAEA6AChEgAAAAC+DgA+zwCCSwB8AFf//Pb/54D/Enz/AAAYW+fo4hISTgAAAHj3MGE+6BWCEgB8ANG4vtzvPtROgncAfKAQqYMZ6H5PEgAAAAwA8QAB/wAA/wAAfwAUnADn6AASEgAAAOAADNwBANQAoXcAAAAWvgA/PgCCggB8fAwBDAAAAAAAoQAAABMAVwYA8/8wAP8AAAHNAACrAAC6AADcAAAAfgAAVQAARwAAACH5BAEAAAIALAAAAAAPAA8ABwhEAAEIGEiwYEEAAg0qFIAw4UKCAAIgfAgxgESHCyNanPhQ40aMBy2K5GjQ40iQDEWqJDnQ5EqMLl9WVEmTY8yaAm/iDAgAOw==

assistant: ```c
int ArrowImage(char *source, char *dest, int size) {
  char Gif[1300];
  char temp[1300];
  int size2;
  if (!source || !dest || !size) {
    return (0);
  }
  strncpy(Gif,
          "R0lGODlhDwAPAPcAAAQCBPz+5Pz+/AAAAJWYoB7mMAASRQAAAJrjkB3q5wCQEgB8AAA06wDmhxUS"
          "1AAAdww4AAAA8AAA/QAAfwA4kAIA5wAAEgAAAADjMgGUiADU1AB3d6DVUOWy5xLUEgB3AHkA/wgG"
          "h4IG1HwAdwAgDAAAAAEAAAAAAFYKoAAGgwAFfgAAAKgStOQAgxIAfgACAG4AFAAAAAAAAAAAAMie"
          "AeUCABIAAAAAABgBAO4AAJAAAHwAAHAAAAUGAJEGAHwAAP8wEP+AAP9FAP8AAG0KAAUGAJEFAHwA"
          "ABUABwoAAIKZAHziAADjAACUABXUAAB3AGBJAANmAADWAAB3ALACAZAGABcFAAAAAHhOMWFvMBV0"
          "MAAgIABhJQAgIABmAABpAH5sJABl7AAAEsAAAAATlAAGBAD/1wD/d/+kCP/miP8S1P8Ad/8Q///g"
          "///U//93/wAA/wAGhwAG1AAAdwAgQwAAtwAA1AAAdwAKAAAGABUFAAAAAFcSoPMAMAAARQACANgB"
          "AuUABhIABQAAAC/sAA7mAIISAHwAANu+BwXfAILUAHx3AEAAAOUGAE8GAAAAAHggAGEAAAEAFQAA"
          "AGwKAAAGAAAFAAAAABRXAOXzABIAAAAAADTwAADmAAASAMAAAPiDAPcqABKCAAB8ABgACO4AAJAA"
          "oXwAAHAAAAUAAJEAAHwAAP8AAP8AAP8AAP8AAG0ADQUBAJEAAHwAAErnDfYqAICCAHx8AAAUXADn"
          "8BUSEgAAAADC/wAq/wCC/wB8/3gAAGEAABUAAAAAAAAMHAEA6AChEgAAAAC+DgA+zwCCSwB8AFf/"
          "/Pb/54D/Enz/AAAYW+fo4hISTgAAAHj3MGE+6BWCEgB8ANG4vtzvPtROgncAfKAQqYMZ6H5PEgAA"
          "AAwA8QAB/wAA/wAAfwAUnADn6AASEgAAAOAADNwBANQAoXcAAAAWvgA/PgCCggB8fAwBDAAAAAAA"
          "oQAAABMAVwYA8/8wAP8AAAHNAACrAAC6AADcAAAAfgAAVQAARwAAACH5BAEAAAIALAAAAAAPAA8A"
          "BwhEAAEIGEiwYEEAAg0qFIAw4UKCAAIgfAgxgESHCyNanPhQ40aMBy2K5GjQ40iQDEWqJDnQ5EqM"
          "Ll9WVEmTY8yaAm/iDAgAOw==",
          1300);
  size2 = base64decode(temp, Gif);
  if (size2 < 1300) {
    size2 = 1300;
  }
  if (size2 > size) {
    return (0);
  }
  memcpy(dest, temp, size2);
  return (size2);
}
```