#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int pid_t;

/* Variables and functions */
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int fork();
int /*<<< orphan*/ justWork(int);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
int startWorker();
int /*<<< orphan*/ stopWorker(int);
int main(void) {
  pid_t pid, worker1, worker2;
  int i;
  worker1 = startWorker();
  worker2 = startWorker();
  pid = fork();
  switch (pid) {
  case -1:
    perror("Could not fork");
    break;
  case 0:
    for (i = 0; i < 20; i++) {
      justWork(20000000);
      printf("%d \t\tChild\n", i);
    }
    break;
  default:
    for (i = 0; i < 20; i++) {
      ;
      justWork(20000000);
      printf("%d \tMother\n", i);
    }
    stopWorker(worker1);
    stopWorker(worker2);
    break;
  }
  printf("I go it ...\n");
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
xor    %eax,%eax
mov    %al,-0x19(%rbp)
call   1070 <startWorker@plt>
mov    %eax,%ecx
mov    -0x19(%rbp),%al
mov    %ecx,-0xc(%rbp)
call   1070 <startWorker@plt>
mov    %eax,%ecx
mov    -0x19(%rbp),%al
mov    %ecx,-0x10(%rbp)
call   1080 <fork@plt>
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0x18(%rbp)
sub    $0xffffffff,%eax
je     11ca <main+0x5a>
jmp    11ba <main+0x4a>
mov    -0x18(%rbp),%eax
test   %eax,%eax
je     11db <main+0x6b>
jmp    121a <main+0xaa>
lea    0xe2f(%rip),%rdi
call   1050 <perror@plt>
jmp    1264 <main+0xf4>
movl   $0x0,-0x14(%rbp)
cmpl   $0x14,-0x14(%rbp)
jge    1215 <main+0xa5>
mov    $0x1312d00,%edi
call   1040 <justWork@plt>
mov    -0x14(%rbp),%esi
lea    0xe0f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11e2 <main+0x72>
jmp    1264 <main+0xf4>
movl   $0x0,-0x14(%rbp)
cmpl   $0x14,-0x14(%rbp)
jge    1254 <main+0xe4>
mov    $0x1312d00,%edi
call   1040 <justWork@plt>
mov    -0x14(%rbp),%esi
lea    0xddc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1221 <main+0xb1>
mov    -0xc(%rbp),%edi
call   1090 <stopWorker@plt>
mov    -0x10(%rbp),%edi
call   1090 <stopWorker@plt>
lea    0xdbc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1060 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
xor    %eax,%eax
call   1080 <startWorker@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1080 <startWorker@plt>
mov    %eax,%ebp
xor    %eax,%eax
call   1090 <fork@plt>
cmp    $0xffffffff,%eax
jne    11c1 <main+0x41>
lea    0xe57(%rip),%rdi
call   1060 <perror@plt>
lea    0xe72(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1070 <exit@plt>
mov    $0x1312d00,%edi
test   %eax,%eax
jne    13c6 <main+0x246>
call   1050 <justWork@plt>
lea    0xe35(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0xb,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0xc,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0xd,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0xe,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0xf,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0x10,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0x11,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0x12,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %rbx,%rdi
mov    $0x13,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    11ae <main+0x2e>
call   1050 <justWork@plt>
lea    0xc49(%rip),%r14
mov    %r14,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0xb,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0xc,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0xd,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0xe,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0xf,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0x10,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0x11,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0x12,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1312d00,%edi
call   1050 <justWork@plt>
mov    %r14,%rdi
mov    $0x13,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %ebx,%edi
call   10a0 <stopWorker@plt>
mov    %ebp,%edi
call   10a0 <stopWorker@plt>
jmp    11ae <main+0x2e>

LLVM IR (-O0):
@.str = [15 x i8] c"Could not fork\00"
@.str.1 = [12 x i8] c"%d \09\09Child\0A\00"
@.str.2 = [12 x i8] c"%d \09Mother\0A\00"
@.str.3 = [13 x i8] c"I go it ...\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
store i32 0, i32* %1
%6 = call i32 (...) @startWorker()
store i32 %6, i32* %3
%7 = call i32 (...) @startWorker()
store i32 %7, i32* %4
%8 = call i32 (...) @fork()
store i32 %8, i32* %2
%9 = load i32, i32* %2
switch i32 %9, label %24 [
i32 -1, label %10
i32 0, label %12
]
10: ; preds = %0
%11 = call i32 @perror(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
br label %40
12: ; preds = %0
store i32 0, i32* %5
br label %13
13: ; preds = %20, %12
%14 = load i32, i32* %5
%15 = icmp slt i32 %14, 20
br i1 %15, label %16, label %23
16: ; preds = %13
%17 = call i32 @justWork(i32 20000000)
%18 = load i32, i32* %5
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 %18)
br label %20
20: ; preds = %16
%21 = load i32, i32* %5
%22 = add nsw i32 %21, 1
store i32 %22, i32* %5
br label %13
23: ; preds = %13
br label %40
24: ; preds = %0
store i32 0, i32* %5
br label %25
25: ; preds = %32, %24
%26 = load i32, i32* %5
%27 = icmp slt i32 %26, 20
br i1 %27, label %28, label %35
28: ; preds = %25
%29 = call i32 @justWork(i32 20000000)
%30 = load i32, i32* %5
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 %30)
br label %32
32: ; preds = %28
%33 = load i32, i32* %5
%34 = add nsw i32 %33, 1
store i32 %34, i32* %5
br label %25
35: ; preds = %25
%36 = load i32, i32* %3
%37 = call i32 @stopWorker(i32 %36)
%38 = load i32, i32* %4
%39 = call i32 @stopWorker(i32 %38)
br label %40
40: ; preds = %35, %23, %10
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%42 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [15 x i8] c"Could not fork\00"
@.str.1 = [12 x i8] c"%d \09\09Child\0A\00"
@.str.2 = [12 x i8] c"%d \09Mother\0A\00"
@str = [12 x i8] c"I go it ...\00"
define i32 @main() {
%1 = tail call i32 (...) @startWorker()
%2 = tail call i32 (...) @startWorker()
%3 = tail call i32 (...) @fork()
switch i32 %3, label %45 [
i32 -1, label %88
i32 0, label %4
]
4: ; preds = %0
%5 = tail call i32 @justWork(i32 20000000)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 0)
%7 = tail call i32 @justWork(i32 20000000)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 1)
%9 = tail call i32 @justWork(i32 20000000)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 2)
%11 = tail call i32 @justWork(i32 20000000)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 3)
%13 = tail call i32 @justWork(i32 20000000)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 4)
%15 = tail call i32 @justWork(i32 20000000)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 5)
%17 = tail call i32 @justWork(i32 20000000)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 6)
%19 = tail call i32 @justWork(i32 20000000)
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 7)
%21 = tail call i32 @justWork(i32 20000000)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 8)
%23 = tail call i32 @justWork(i32 20000000)
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 9)
%25 = tail call i32 @justWork(i32 20000000)
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 10)
%27 = tail call i32 @justWork(i32 20000000)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 11)
%29 = tail call i32 @justWork(i32 20000000)
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 12)
%31 = tail call i32 @justWork(i32 20000000)
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 13)
%33 = tail call i32 @justWork(i32 20000000)
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 14)
%35 = tail call i32 @justWork(i32 20000000)
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 15)
%37 = tail call i32 @justWork(i32 20000000)
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 16)
%39 = tail call i32 @justWork(i32 20000000)
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 17)
%41 = tail call i32 @justWork(i32 20000000)
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 18)
%43 = tail call i32 @justWork(i32 20000000)
%44 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 19)
br label %90
45: ; preds = %0
%46 = tail call i32 @justWork(i32 20000000)
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 0)
%48 = tail call i32 @justWork(i32 20000000)
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 1)
%50 = tail call i32 @justWork(i32 20000000)
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 2)
%52 = tail call i32 @justWork(i32 20000000)
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 3)
%54 = tail call i32 @justWork(i32 20000000)
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 4)
%56 = tail call i32 @justWork(i32 20000000)
%57 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 5)
%58 = tail call i32 @justWork(i32 20000000)
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 6)
%60 = tail call i32 @justWork(i32 20000000)
%61 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 7)
%62 = tail call i32 @justWork(i32 20000000)
%63 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 8)
%64 = tail call i32 @justWork(i32 20000000)
%65 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 9)
%66 = tail call i32 @justWork(i32 20000000)
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 10)
%68 = tail call i32 @justWork(i32 20000000)
%69 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 11)
%70 = tail call i32 @justWork(i32 20000000)
%71 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 12)
%72 = tail call i32 @justWork(i32 20000000)
%73 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 13)
%74 = tail call i32 @justWork(i32 20000000)
%75 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 14)
%76 = tail call i32 @justWork(i32 20000000)
%77 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 15)
%78 = tail call i32 @justWork(i32 20000000)
%79 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 16)
%80 = tail call i32 @justWork(i32 20000000)
%81 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 17)
%82 = tail call i32 @justWork(i32 20000000)
%83 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 18)
%84 = tail call i32 @justWork(i32 20000000)
%85 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 19)
%86 = tail call i32 @stopWorker(i32 %1)
%87 = tail call i32 @stopWorker(i32 %2)
br label %90
88: ; preds = %0
%89 = tail call i32 @perror(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
br label %90
90: ; preds = %4, %45, %88
%91 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str, i64 0, i64 0))
%92 = tail call i32 @exit(i32 0)
unreachable
}