void expand_dquotes_escaping(char s[]) {
  static const char table[] =
      "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
      "\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
      "\x20\x21\x22\x23\x24\x25\x26\x27\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
      "\x00\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
      "\x40\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
      "\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
      "\x60\x07\x0b\x63\x64\x65\x0c\x67\x68\x69\x6a\x6b\x6c\x6d\x0a\x6f"
      "\x70\x71\x0d\x73\x09\x75\x0b\x77\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
      "\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
      "\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
      "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
      "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
      "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
      "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
      "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef"
      "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
  char *str = s;
  char *p;
  p = s;
  while (*s != '\0') {
    if (*s != '\\') {
      *p++ = *s++;
      continue;
    }
    s++;
    if (*s == '\0') {
      {
        log_prefix("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                   "outputs/2022-01-22/02-19-57/repos/jubalh/vifm/refs/heads/"
                   "master/src/utils/utils.c",
                   __FUNCTION__, 494);
        log_msg(("Escaped eol in \"%s\""), str);
      };
      break;
    }
    *p++ = table[(int)*s++];
  }
  *p = '\0';
}


x86 assembly (clang, -O0):
<expand_dquotes_escaping>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     1205 <expand_dquotes_escaping+0xe5>
mov    -0x8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x5c,%eax
je     1183 <expand_dquotes_escaping+0x63>
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x8(%rbp)
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x18(%rbp)
mov    %cl,(%rax)
jmp    113c <expand_dquotes_escaping+0x1c>
mov    -0x8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    11d0 <expand_dquotes_escaping+0xb0>
lea    0xf5b(%rip),%rdi
lea    0xfde(%rip),%rsi
mov    $0x1ee,%edx
mov    $0x0,%al
call   1030 <log_prefix@plt>
mov    -0x10(%rbp),%rsi
lea    0xfdf(%rip),%rdi
mov    $0x0,%al
call   1040 <log_msg@plt>
jmp    1205 <expand_dquotes_escaping+0xe5>
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x8(%rbp)
movsbl (%rax),%eax
movslq %eax,%rcx
lea    0xe14(%rip),%rax
mov    (%rax,%rcx,1),%cl
mov    -0x18(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x18(%rbp)
mov    %cl,(%rax)
jmp    113c <expand_dquotes_escaping+0x1c>
mov    -0x18(%rbp),%rax
movb   $0x0,(%rax)
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<expand_dquotes_escaping>:
push   %r14
push   %rbx
push   %rax
mov    %rdi,%r14
lea    0xed2(%rip),%rax
mov    %rdi,%rcx
mov    %rdi,%rbx
jmp    1146 <expand_dquotes_escaping+0x26>
cs nopw 0x0(%rax,%rax,1)
mov    %dl,(%rbx)
add    $0x1,%rbx
movzbl (%rcx),%edx
cmp    $0x5c,%dl
je     1160 <expand_dquotes_escaping+0x40>
test   %dl,%dl
je     119f <expand_dquotes_escaping+0x7f>
add    $0x1,%rcx
jmp    1140 <expand_dquotes_escaping+0x20>
nopl   0x0(%rax,%rax,1)
movsbq 0x1(%rcx),%rdx
test   %rdx,%rdx
je     1174 <expand_dquotes_escaping+0x54>
add    $0x2,%rcx
movzbl (%rdx,%rax,1),%edx
jmp    1140 <expand_dquotes_escaping+0x20>
lea    0xf86(%rip),%rdi
lea    0x1009(%rip),%rsi
mov    $0x1ee,%edx
xor    %eax,%eax
call   1030 <log_prefix@plt>
lea    0x100e(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <log_msg@plt>
movb   $0x0,(%rbx)
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@expand_dquotes_escaping.table = internal constant [257 x i8] c"\00\01\02\03\04\05\06\07\08\09\0A\0B\0C\0D\0E\0F\10\11\12\13\14\15\16\17\18\19\1A\1B\1C\1D\1E\1F !\22#$%&'()*+,-./\00123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`\07\0Bcde\0Cghijklm\0Aopq\0Ds\09u\0Bwxyz{|}~\7F\80\81\82\83\84\85\86\87\88\89\8A\8B\8C\8D\8E\8F\90\91\92\93\94\95\96\97\98\99\9A\9B\9C\9D\9E\9F\A0\A1\A2\A3\A4\A5\A6\A7\A8\A9\AA\AB\AC\AD\AE\AF\B0\B1\B2\B3\B4\B5\B6\B7\B8\B9\BA\BB\BC\BD\BE\BF\C0\C1\C2\C3\C4\C5\C6\C7\C8\C9\CA\CB\CC\CD\CE\CF\D0\D1\D2\D3\D4\D5\D6\D7\D8\D9\DA\DB\DC\DD\DE\DF\E0\E1\E2\E3\E4\E5\E6\E7\E8\E9\EA\EB\EC\ED\EE\EF\F0\F1\F2\F3\F4\F5\F6\F7\F8\F9\FA\FB\FC\FD\FE\FF\00"
@.str = [138 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/jubalh/vifm/refs/heads/master/src/utils/utils.c\00"
@__FUNCTION__.expand_dquotes_escaping = [24 x i8] c"expand_dquotes_escaping\00"
@.str.1 = [20 x i8] c"Escaped eol in \22%s\22\00"
define void @expand_dquotes_escaping(i8* %0) {
%2 = alloca i8*
%3 = alloca i8*
%4 = alloca i8*
store i8* %0, i8** %2
%5 = load i8*, i8** %2
store i8* %5, i8** %3
%6 = load i8*, i8** %2
store i8* %6, i8** %4
br label %7
7: ; preds = %34, %17, %1
%8 = load i8*, i8** %2
%9 = load i8, i8* %8
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %44
12: ; preds = %7
%13 = load i8*, i8** %2
%14 = load i8, i8* %13
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 92
br i1 %16, label %17, label %23
17: ; preds = %12
%18 = load i8*, i8** %2
%19 = getelementptr inbounds i8, i8* %18, i32 1
store i8* %19, i8** %2
%20 = load i8, i8* %18
%21 = load i8*, i8** %4
%22 = getelementptr inbounds i8, i8* %21, i32 1
store i8* %22, i8** %4
store i8 %20, i8* %21
br label %7
23: ; preds = %12
%24 = load i8*, i8** %2
%25 = getelementptr inbounds i8, i8* %24, i32 1
store i8* %25, i8** %2
%26 = load i8*, i8** %2
%27 = load i8, i8* %26
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %34
30: ; preds = %23
%31 = call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @log_prefix to i32 (i8*, i8*, i32, ...)*)(i8* getelementptr inbounds ([138 x i8], [138 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @__FUNCTION__.expand_dquotes_escaping, i64 0, i64 0), i32 494)
%32 = load i8*, i8** %3
%33 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @log_msg to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i8* %32)
br label %44
34: ; preds = %23
%35 = load i8*, i8** %2
%36 = getelementptr inbounds i8, i8* %35, i32 1
store i8* %36, i8** %2
%37 = load i8, i8* %35
%38 = sext i8 %37 to i32
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [257 x i8], [257 x i8]* @expand_dquotes_escaping.table, i64 0, i64 %39
%41 = load i8, i8* %40
%42 = load i8*, i8** %4
%43 = getelementptr inbounds i8, i8* %42, i32 1
store i8* %43, i8** %4
store i8 %41, i8* %42
br label %7
44: ; preds = %30, %7
%45 = load i8*, i8** %4
store i8 0, i8* %45
ret void
}

LLVM IR (-O2):
@expand_dquotes_escaping.table = internal unnamed_addr constant [257 x i8] c"\00\01\02\03\04\05\06\07\08\09\0A\0B\0C\0D\0E\0F\10\11\12\13\14\15\16\17\18\19\1A\1B\1C\1D\1E\1F !\22#$%&'()*+,-./\00123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`\07\0Bcde\0Cghijklm\0Aopq\0Ds\09u\0Bwxyz{|}~\7F\80\81\82\83\84\85\86\87\88\89\8A\8B\8C\8D\8E\8F\90\91\92\93\94\95\96\97\98\99\9A\9B\9C\9D\9E\9F\A0\A1\A2\A3\A4\A5\A6\A7\A8\A9\AA\AB\AC\AD\AE\AF\B0\B1\B2\B3\B4\B5\B6\B7\B8\B9\BA\BB\BC\BD\BE\BF\C0\C1\C2\C3\C4\C5\C6\C7\C8\C9\CA\CB\CC\CD\CE\CF\D0\D1\D2\D3\D4\D5\D6\D7\D8\D9\DA\DB\DC\DD\DE\DF\E0\E1\E2\E3\E4\E5\E6\E7\E8\E9\EA\EB\EC\ED\EE\EF\F0\F1\F2\F3\F4\F5\F6\F7\F8\F9\FA\FB\FC\FD\FE\FF\00"
@.str = [138 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/jubalh/vifm/refs/heads/master/src/utils/utils.c\00"
@__FUNCTION__.expand_dquotes_escaping = [24 x i8] c"expand_dquotes_escaping\00"
@.str.1 = [20 x i8] c"Escaped eol in \22%s\22\00"
define void @expand_dquotes_escaping(i8* %0) {
br label %2
2: ; preds = %8, %1
%3 = phi i8* [ %0, %1 ], [ %10, %8 ]
%4 = phi i8* [ %0, %1 ], [ %11, %8 ]
%5 = load i8, i8* %3
switch i8 %5, label %6 [
i8 0, label %24
i8 92, label %12
]
6: ; preds = %2
%7 = getelementptr inbounds i8, i8* %3, i64 1
br label %8
8: ; preds = %6, %19
%9 = phi i8 [ %23, %19 ], [ %5, %6 ]
%10 = phi i8* [ %20, %19 ], [ %7, %6 ]
%11 = getelementptr inbounds i8, i8* %4, i64 1
store i8 %9, i8* %4
br label %2
12: ; preds = %2
%13 = getelementptr inbounds i8, i8* %3, i64 1
%14 = load i8, i8* %13
%15 = icmp eq i8 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = tail call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @log_prefix to i32 (i8*, i8*, i32, ...)*)(i8* getelementptr inbounds ([138 x i8], [138 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @__FUNCTION__.expand_dquotes_escaping, i64 0, i64 0), i32 494)
%18 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @log_msg to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i8* %0)
br label %24
19: ; preds = %12
%20 = getelementptr inbounds i8, i8* %3, i64 2
%21 = sext i8 %14 to i64
%22 = getelementptr inbounds [257 x i8], [257 x i8]* @expand_dquotes_escaping.table, i64 0, i64 %21
%23 = load i8, i8* %22
br label %8
24: ; preds = %2, %16
store i8 0, i8* %4
ret void
}