void test_numeric_bin_to_oct() {
  {
    if (strcmp(numeric_bin_to_oct("-0b110110001000101011001000111000110"),
               "-0o66105310706") == 0) {
      if (0 == 1)
        printf((0 == 1) ? "\033[1;37;42mOK\033[00m: %s (%s, %d)\n"
                        : "OK: %s (%s, %d)\n",
               __func__,
               "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/setivolkylany/c-utils/refs/"
               "heads/master/utils/convertors/numeric.c",
               236);
    } else
      printf("%s (%s %d): \"%s\" != \"%s\"\n", __func__,
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/setivolkylany/c-utils/refs/heads/"
             "master/utils/convertors/numeric.c",
             236, numeric_bin_to_oct("-0b110110001000101011001000111000110"),
             "-0o66105310706");
  };
  {
    if (strcmp(numeric_bin_to_oct("-0b110000111110101000001100111111"),
               "-0o6076501477") == 0) {
      if (0 == 1)
        printf((0 == 1) ? "\033[1;37;42mOK\033[00m: %s (%s, %d)\n"
                        : "OK: %s (%s, %d)\n",
               __func__,
               "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/setivolkylany/c-utils/refs/"
               "heads/master/utils/convertors/numeric.c",
               237);
    } else
      printf("%s (%s %d): \"%s\" != \"%s\"\n", __func__,
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/setivolkylany/c-utils/refs/heads/"
             "master/utils/convertors/numeric.c",
             237, numeric_bin_to_oct("-0b110000111110101000001100111111"),
             "-0o6076501477");
  };
  {
    if (strcmp(numeric_bin_to_oct("-0b11011000101101000110001110"),
               "-0o330550616") == 0) {
      if (0 == 1)
        printf((0 == 1) ? "\033[1;37;42mOK\033[00m: %s (%s, %d)\n"
                        : "OK: %s (%s, %d)\n",
               __func__,
               "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/setivolkylany/c-utils/refs/"
               "heads/master/utils/convertors/numeric.c",
               238);
    } else
      printf("%s (%s %d): \"%s\" != \"%s\"\n", __func__,
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/setivolkylany/c-utils/refs/heads/"
             "master/utils/convertors/numeric.c",
             238, numeric_bin_to_oct("-0b11011000101101000110001110"),
             "-0o330550616");
  };
  {
    if (strcmp(numeric_bin_to_oct("0b10111010011100000100000"), "0o27234040") ==
        0) {
      if (0 == 1)
        printf((0 == 1) ? "\033[1;37;42mOK\033[00m: %s (%s, %d)\n"
                        : "OK: %s (%s, %d)\n",
               __func__,
               "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/setivolkylany/c-utils/refs/"
               "heads/master/utils/convertors/numeric.c",
               254);
    } else
      printf("%s (%s %d): \"%s\" != \"%s\"\n", __func__,
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/setivolkylany/c-utils/refs/heads/"
             "master/utils/convertors/numeric.c",
             254, numeric_bin_to_oct("0b10111010011100000100000"),
             "0o27234040");
  };
  {
    if (strcmp(numeric_bin_to_oct("0b10101100010011010101100100"),
               "0o254232544") == 0) {
      if (0 == 1)
        printf((0 == 1) ? "\033[1;37;42mOK\033[00m: %s (%s, %d)\n"
                        : "OK: %s (%s, %d)\n",
               __func__,
               "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/setivolkylany/c-utils/refs/"
               "heads/master/utils/convertors/numeric.c",
               255);
    } else
      printf("%s (%s %d): \"%s\" != \"%s\"\n", __func__,
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/setivolkylany/c-utils/refs/heads/"
             "master/utils/convertors/numeric.c",
             255, numeric_bin_to_oct("0b10101100010011010101100100"),
             "0o254232544");
  };
}


x86 assembly (clang, -O0):
<test_numeric_bin_to_oct>:
push   %rbp
mov    %rsp,%rbp
lea    0xec5(%rip),%rdi
mov    $0x0,%al
call   1050 <numeric_bin_to_oct@plt>
movslq %eax,%rdi
lea    0xed9(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    115f <test_numeric_bin_to_oct+0x2f>
jmp    1198 <test_numeric_bin_to_oct+0x68>
lea    0xe9a(%rip),%rdi
mov    $0x0,%al
call   1050 <numeric_bin_to_oct@plt>
mov    %eax,%r8d
lea    0xebd(%rip),%rdi
lea    0xed0(%rip),%rsi
lea    0xee1(%rip),%rdx
mov    $0xec,%ecx
lea    0xe94(%rip),%r9
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf64(%rip),%rdi
mov    $0x0,%al
call   1050 <numeric_bin_to_oct@plt>
movslq %eax,%rdi
lea    0xf75(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    11c3 <test_numeric_bin_to_oct+0x93>
jmp    11fc <test_numeric_bin_to_oct+0xcc>
lea    0xf39(%rip),%rdi
mov    $0x0,%al
call   1050 <numeric_bin_to_oct@plt>
mov    %eax,%r8d
lea    0xe59(%rip),%rdi
lea    0xe6c(%rip),%rsi
lea    0xe7d(%rip),%rdx
mov    $0xed,%ecx
lea    0xf30(%rip),%r9
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf30(%rip),%rdi
mov    $0x0,%al
call   1050 <numeric_bin_to_oct@plt>
movslq %eax,%rdi
lea    0xf3d(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    1227 <test_numeric_bin_to_oct+0xf7>
jmp    1260 <test_numeric_bin_to_oct+0x130>
lea    0xf05(%rip),%rdi
mov    $0x0,%al
call   1050 <numeric_bin_to_oct@plt>
mov    %eax,%r8d
lea    0xdf5(%rip),%rdi
lea    0xe08(%rip),%rsi
lea    0xe19(%rip),%rdx
mov    $0xee,%ecx
lea    0xef8(%rip),%r9
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef7(%rip),%rdi
mov    $0x0,%al
call   1050 <numeric_bin_to_oct@plt>
movslq %eax,%rdi
lea    0xf00(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    128b <test_numeric_bin_to_oct+0x15b>
jmp    12c4 <test_numeric_bin_to_oct+0x194>
lea    0xecc(%rip),%rdi
mov    $0x0,%al
call   1050 <numeric_bin_to_oct@plt>
mov    %eax,%r8d
lea    0xd91(%rip),%rdi
lea    0xda4(%rip),%rsi
lea    0xdb5(%rip),%rdx
mov    $0xfe,%ecx
lea    0xebb(%rip),%r9
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeb8(%rip),%rdi
mov    $0x0,%al
call   1050 <numeric_bin_to_oct@plt>
movslq %eax,%rdi
lea    0xec4(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    12ef <test_numeric_bin_to_oct+0x1bf>
jmp    1328 <test_numeric_bin_to_oct+0x1f8>
lea    0xe8d(%rip),%rdi
mov    $0x0,%al
call   1050 <numeric_bin_to_oct@plt>
mov    %eax,%r8d
lea    0xd2d(%rip),%rdi
lea    0xd40(%rip),%rsi
lea    0xd51(%rip),%rdx
mov    $0xff,%ecx
lea    0xe7f(%rip),%r9
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_numeric_bin_to_oct>:
push   %rax
lea    0xec8(%rip),%rdi
xor    %eax,%eax
call   1050 <numeric_bin_to_oct@plt>
movslq %eax,%rdi
lea    0xedc(%rip),%rsi
call   1040 <strcmp@plt>
test   %eax,%eax
je     118b <test_numeric_bin_to_oct+0x5b>
lea    0xea7(%rip),%rdi
xor    %eax,%eax
call   1050 <numeric_bin_to_oct@plt>
lea    0xecd(%rip),%rdi
lea    0xee0(%rip),%rsi
lea    0xef1(%rip),%rdx
lea    0xea9(%rip),%r9
mov    $0xec,%ecx
mov    %eax,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf71(%rip),%rdi
xor    %eax,%eax
call   1050 <numeric_bin_to_oct@plt>
movslq %eax,%rdi
lea    0xf82(%rip),%rsi
call   1040 <strcmp@plt>
test   %eax,%eax
je     11e5 <test_numeric_bin_to_oct+0xb5>
lea    0xf50(%rip),%rdi
xor    %eax,%eax
call   1050 <numeric_bin_to_oct@plt>
lea    0xe73(%rip),%rdi
lea    0xe86(%rip),%rsi
lea    0xe97(%rip),%rdx
lea    0xf4f(%rip),%r9
mov    $0xed,%ecx
mov    %eax,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf47(%rip),%rdi
xor    %eax,%eax
call   1050 <numeric_bin_to_oct@plt>
movslq %eax,%rdi
lea    0xf54(%rip),%rsi
call   1040 <strcmp@plt>
test   %eax,%eax
je     123f <test_numeric_bin_to_oct+0x10f>
lea    0xf26(%rip),%rdi
xor    %eax,%eax
call   1050 <numeric_bin_to_oct@plt>
lea    0xe19(%rip),%rdi
lea    0xe2c(%rip),%rsi
lea    0xe3d(%rip),%rdx
lea    0xf21(%rip),%r9
mov    $0xee,%ecx
mov    %eax,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf18(%rip),%rdi
xor    %eax,%eax
call   1050 <numeric_bin_to_oct@plt>
movslq %eax,%rdi
lea    0xf21(%rip),%rsi
call   1040 <strcmp@plt>
test   %eax,%eax
je     1299 <test_numeric_bin_to_oct+0x169>
lea    0xef7(%rip),%rdi
xor    %eax,%eax
call   1050 <numeric_bin_to_oct@plt>
lea    0xdbf(%rip),%rdi
lea    0xdd2(%rip),%rsi
lea    0xde3(%rip),%rdx
lea    0xeee(%rip),%r9
mov    $0xfe,%ecx
mov    %eax,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xee3(%rip),%rdi
xor    %eax,%eax
call   1050 <numeric_bin_to_oct@plt>
movslq %eax,%rdi
lea    0xeef(%rip),%rsi
call   1040 <strcmp@plt>
test   %eax,%eax
je     12f5 <test_numeric_bin_to_oct+0x1c5>
lea    0xec2(%rip),%rdi
xor    %eax,%eax
call   1050 <numeric_bin_to_oct@plt>
lea    0xd65(%rip),%rdi
lea    0xd78(%rip),%rsi
lea    0xd89(%rip),%rdx
lea    0xebc(%rip),%r9
mov    $0xff,%ecx
mov    %eax,%r8d
xor    %eax,%eax
pop    %r11
jmp    1030 <printf@plt>
pop    %rax
ret

LLVM IR (-O0):
@.str = [37 x i8] c"-0b110110001000101011001000111000110\00"
@.str.1 = [15 x i8] c"-0o66105310706\00"
@.str.2 = [26 x i8] c"%s (%s %d): \22%s\22 != \22%s\22\0A\00"
@__func__.test_numeric_bin_to_oct = [24 x i8] c"test_numeric_bin_to_oct\00"
@.str.3 = [157 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/setivolkylany/c-utils/refs/heads/master/utils/convertors/numeric.c\00"
@.str.4 = [34 x i8] c"-0b110000111110101000001100111111\00"
@.str.5 = [14 x i8] c"-0o6076501477\00"
@.str.6 = [30 x i8] c"-0b11011000101101000110001110\00"
@.str.7 = [13 x i8] c"-0o330550616\00"
@.str.8 = [26 x i8] c"0b10111010011100000100000\00"
@.str.9 = [11 x i8] c"0o27234040\00"
@.str.10 = [29 x i8] c"0b10101100010011010101100100\00"
@.str.11 = [12 x i8] c"0o254232544\00"
define void @test_numeric_bin_to_oct() {
%1 = call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0))
%2 = sext i32 %1 to i64
%3 = inttoptr i64 %2 to i8*
%4 = call i32 @strcmp(i8* %3, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0))
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %0
br label %10
7: ; preds = %0
%8 = call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @__func__.test_numeric_bin_to_oct, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.3, i64 0, i64 0), i32 236, i32 %8, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0))
br label %10
10: ; preds = %7, %6
%11 = call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0))
%12 = sext i32 %11 to i64
%13 = inttoptr i64 %12 to i8*
%14 = call i32 @strcmp(i8* %13, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0))
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %10
br label %20
17: ; preds = %10
%18 = call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @__func__.test_numeric_bin_to_oct, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.3, i64 0, i64 0), i32 237, i32 %18, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0))
br label %20
20: ; preds = %17, %16
%21 = call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0))
%22 = sext i32 %21 to i64
%23 = inttoptr i64 %22 to i8*
%24 = call i32 @strcmp(i8* %23, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0))
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %20
br label %30
27: ; preds = %20
%28 = call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0))
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @__func__.test_numeric_bin_to_oct, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.3, i64 0, i64 0), i32 238, i32 %28, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0))
br label %30
30: ; preds = %27, %26
%31 = call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0))
%32 = sext i32 %31 to i64
%33 = inttoptr i64 %32 to i8*
%34 = call i32 @strcmp(i8* %33, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0))
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %30
br label %40
37: ; preds = %30
%38 = call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0))
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @__func__.test_numeric_bin_to_oct, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.3, i64 0, i64 0), i32 254, i32 %38, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0))
br label %40
40: ; preds = %37, %36
%41 = call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0))
%42 = sext i32 %41 to i64
%43 = inttoptr i64 %42 to i8*
%44 = call i32 @strcmp(i8* %43, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %40
br label %50
47: ; preds = %40
%48 = call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0))
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @__func__.test_numeric_bin_to_oct, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.3, i64 0, i64 0), i32 255, i32 %48, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
br label %50
50: ; preds = %47, %46
ret void
}

LLVM IR (-O2):
@.str = [37 x i8] c"-0b110110001000101011001000111000110\00"
@.str.1 = [15 x i8] c"-0o66105310706\00"
@.str.2 = [26 x i8] c"%s (%s %d): \22%s\22 != \22%s\22\0A\00"
@__func__.test_numeric_bin_to_oct = [24 x i8] c"test_numeric_bin_to_oct\00"
@.str.3 = [157 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/setivolkylany/c-utils/refs/heads/master/utils/convertors/numeric.c\00"
@.str.4 = [34 x i8] c"-0b110000111110101000001100111111\00"
@.str.5 = [14 x i8] c"-0o6076501477\00"
@.str.6 = [30 x i8] c"-0b11011000101101000110001110\00"
@.str.7 = [13 x i8] c"-0o330550616\00"
@.str.8 = [26 x i8] c"0b10111010011100000100000\00"
@.str.9 = [11 x i8] c"0o27234040\00"
@.str.10 = [29 x i8] c"0b10101100010011010101100100\00"
@.str.11 = [12 x i8] c"0o254232544\00"
define void @test_numeric_bin_to_oct() {
%1 = tail call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0))
%2 = sext i32 %1 to i64
%3 = inttoptr i64 %2 to i8*
%4 = tail call i32 @strcmp(i8* dereferenceable(1) %3, i8* dereferenceable(15) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0))
%5 = icmp eq i32 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %0
%7 = tail call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0))
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @__func__.test_numeric_bin_to_oct, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.3, i64 0, i64 0), i32 236, i32 %7, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0))
br label %9
9: ; preds = %0, %6
%10 = tail call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0))
%11 = sext i32 %10 to i64
%12 = inttoptr i64 %11 to i8*
%13 = tail call i32 @strcmp(i8* dereferenceable(1) %12, i8* dereferenceable(14) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0))
%14 = icmp eq i32 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %9
%16 = tail call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0))
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @__func__.test_numeric_bin_to_oct, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.3, i64 0, i64 0), i32 237, i32 %16, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0))
br label %18
18: ; preds = %9, %15
%19 = tail call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0))
%20 = sext i32 %19 to i64
%21 = inttoptr i64 %20 to i8*
%22 = tail call i32 @strcmp(i8* dereferenceable(1) %21, i8* dereferenceable(13) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0))
%23 = icmp eq i32 %22, 0
br i1 %23, label %27, label %24
24: ; preds = %18
%25 = tail call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0))
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @__func__.test_numeric_bin_to_oct, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.3, i64 0, i64 0), i32 238, i32 %25, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0))
br label %27
27: ; preds = %18, %24
%28 = tail call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0))
%29 = sext i32 %28 to i64
%30 = inttoptr i64 %29 to i8*
%31 = tail call i32 @strcmp(i8* dereferenceable(1) %30, i8* dereferenceable(11) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0))
%32 = icmp eq i32 %31, 0
br i1 %32, label %36, label %33
33: ; preds = %27
%34 = tail call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0))
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @__func__.test_numeric_bin_to_oct, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.3, i64 0, i64 0), i32 254, i32 %34, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0))
br label %36
36: ; preds = %27, %33
%37 = tail call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0))
%38 = sext i32 %37 to i64
%39 = inttoptr i64 %38 to i8*
%40 = tail call i32 @strcmp(i8* dereferenceable(1) %39, i8* dereferenceable(12) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
%41 = icmp eq i32 %40, 0
br i1 %41, label %45, label %42
42: ; preds = %36
%43 = tail call i32 (i8*, ...) bitcast (i32 (...)* @numeric_bin_to_oct to i32 (i8*, ...)*)(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0))
%44 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @__func__.test_numeric_bin_to_oct, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.3, i64 0, i64 0), i32 255, i32 %43, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
br label %45
45: ; preds = %36, %42
ret void
}