char *test_mySub_bigBrother(const char **_ja_name) {
  do {
    *_ja_name = __func__;
    if (!(mySub(2, 1) == 1))
      return "2 - 1 == 1";
  } while (0);
  do {
    *_ja_name = __func__;
    if (!(mySub(2, 2) == 0))
      return "2 - 2 == 0 (meant to fail)";
  } while (0);
  do {
    *_ja_name = __func__;
    if (!(mySub(2, 3) == -1))
      return "2 - 3 == -1";
  } while (0);
  return 0;
}


x86 assembly (clang, -O0):
<test_mySub_bigBrother>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
lea    0xed9(%rip),%rcx
mov    %rcx,(%rax)
mov    $0x2,%edi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <mySub@plt>
cmp    $0x1,%eax
je     1154 <test_mySub_bigBrother+0x44>
lea    0xecb(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    11e2 <test_mySub_bigBrother+0xd2>
jmp    1159 <test_mySub_bigBrother+0x49>
jmp    115e <test_mySub_bigBrother+0x4e>
mov    -0x10(%rbp),%rax
lea    0xe97(%rip),%rcx
mov    %rcx,(%rax)
mov    $0x2,%esi
mov    %esi,%edi
mov    $0x0,%al
call   1030 <mySub@plt>
cmp    $0x0,%eax
je     1193 <test_mySub_bigBrother+0x83>
lea    0xe97(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    11e2 <test_mySub_bigBrother+0xd2>
jmp    1198 <test_mySub_bigBrother+0x88>
jmp    119d <test_mySub_bigBrother+0x8d>
mov    -0x10(%rbp),%rax
lea    0xe58(%rip),%rcx
mov    %rcx,(%rax)
mov    $0x2,%edi
mov    $0x3,%esi
mov    $0x0,%al
call   1030 <mySub@plt>
cmp    $0xffffffff,%eax
je     11d5 <test_mySub_bigBrother+0xc5>
lea    0xe70(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    11e2 <test_mySub_bigBrother+0xd2>
jmp    11da <test_mySub_bigBrother+0xca>
movq   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_mySub_bigBrother>:
push   %r14
push   %rbx
push   %rax
mov    %rdi,%rbx
lea    0xee2(%rip),%r14
mov    %r14,(%rdi)
mov    $0x2,%edi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <mySub@plt>
cmp    $0x1,%eax
jne    1158 <test_mySub_bigBrother+0x48>
mov    %r14,(%rbx)
mov    $0x2,%edi
mov    $0x2,%esi
xor    %eax,%eax
call   1030 <mySub@plt>
test   %eax,%eax
je     1161 <test_mySub_bigBrother+0x51>
lea    0xecb(%rip),%rbx
jmp    1185 <test_mySub_bigBrother+0x75>
lea    0xeb7(%rip),%rbx
jmp    1185 <test_mySub_bigBrother+0x75>
mov    %r14,(%rbx)
xor    %ebx,%ebx
mov    $0x2,%edi
mov    $0x3,%esi
xor    %eax,%eax
call   1030 <mySub@plt>
cmp    $0xffffffff,%eax
lea    0xebb(%rip),%rax
cmovne %rax,%rbx
mov    %rbx,%rax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@__func__.test_mySub_bigBrother = [22 x i8] c"test_mySub_bigBrother\00"
@.str = [11 x i8] c"2 - 1 == 1\00"
@.str.1 = [27 x i8] c"2 - 2 == 0 (meant to fail)\00"
@.str.2 = [12 x i8] c"2 - 3 == -1\00"
define i8* @test_mySub_bigBrother(i8** %0) {
%2 = alloca i8*
%3 = alloca i8**
store i8** %0, i8*** %3
br label %4
4: ; preds = %1
%5 = load i8**, i8*** %3
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @__func__.test_mySub_bigBrother, i64 0, i64 0), i8** %5
%6 = call i32 (i32, i32, ...) bitcast (i32 (...)* @mySub to i32 (i32, i32, ...)*)(i32 2, i32 1)
%7 = icmp eq i32 %6, 1
br i1 %7, label %9, label %8
8: ; preds = %4
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8** %2
br label %25
9: ; preds = %4
br label %10
10: ; preds = %9
br label %11
11: ; preds = %10
%12 = load i8**, i8*** %3
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @__func__.test_mySub_bigBrother, i64 0, i64 0), i8** %12
%13 = call i32 (i32, i32, ...) bitcast (i32 (...)* @mySub to i32 (i32, i32, ...)*)(i32 2, i32 2)
%14 = icmp eq i32 %13, 0
br i1 %14, label %16, label %15
15: ; preds = %11
store i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i8** %2
br label %25
16: ; preds = %11
br label %17
17: ; preds = %16
br label %18
18: ; preds = %17
%19 = load i8**, i8*** %3
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @__func__.test_mySub_bigBrother, i64 0, i64 0), i8** %19
%20 = call i32 (i32, i32, ...) bitcast (i32 (...)* @mySub to i32 (i32, i32, ...)*)(i32 2, i32 3)
%21 = icmp eq i32 %20, -1
br i1 %21, label %23, label %22
22: ; preds = %18
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i8** %2
br label %25
23: ; preds = %18
br label %24
24: ; preds = %23
store i8* null, i8** %2
br label %25
25: ; preds = %24, %22, %15, %8
%26 = load i8*, i8** %2
ret i8* %26
}

LLVM IR (-O2):
@__func__.test_mySub_bigBrother = [22 x i8] c"test_mySub_bigBrother\00"
@.str = [11 x i8] c"2 - 1 == 1\00"
@.str.1 = [27 x i8] c"2 - 2 == 0 (meant to fail)\00"
@.str.2 = [12 x i8] c"2 - 3 == -1\00"
define i8* @test_mySub_bigBrother(i8** nocapture writeonly %0) {
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @__func__.test_mySub_bigBrother, i64 0, i64 0), i8** %0
%2 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @mySub to i32 (i32, i32, ...)*)(i32 2, i32 1)
%3 = icmp eq i32 %2, 1
br i1 %3, label %4, label %11
4: ; preds = %1
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @__func__.test_mySub_bigBrother, i64 0, i64 0), i8** %0
%5 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @mySub to i32 (i32, i32, ...)*)(i32 2, i32 2)
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %4
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @__func__.test_mySub_bigBrother, i64 0, i64 0), i8** %0
%8 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @mySub to i32 (i32, i32, ...)*)(i32 2, i32 3)
%9 = icmp eq i32 %8, -1
%10 = select i1 %9, i8* null, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0)
br label %11
11: ; preds = %7, %4, %1
%12 = phi i8* [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), %1 ], [ getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), %4 ], [ %10, %7 ]
ret i8* %12
}