#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 /*<<< orphan*/ sem_t;
typedef scalar_t__ pid_t;

/* Variables and functions */
int /*<<< orphan*/ O_CREAT;
int /*<<< orphan*/ execl(char *, char *, char *, int /*<<< orphan*/ *);
scalar_t__ fork();
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ *sem_open(char *, int /*<<< orphan*/, int, int);
int /*<<< orphan*/ sem_unlink(char *);
int /*<<< orphan*/ sprintf(char *, char *, int);
int /*<<< orphan*/ system(char *);
int /*<<< orphan*/ waitpid(scalar_t__, int /*<<< orphan*/ *,
                           int /*<<< orphan*/);
int main(void) {
  int j;
  char string[8];
  pid_t tellerPID;
  sem_t *teller, *supplier, *coin;
  sem_unlink("/my_semaphor_1_name_simple_seq");
  sem_unlink("/my_semaphor_2_name_simple_seq");
  sem_unlink("/my_semaphor_3_name_simple_seq");
  teller = sem_open("/my_semaphor_1_name_simple_seq", O_CREAT, 0700, 1);
  supplier = sem_open("/my_semaphor_2_name_simple_seq", O_CREAT, 0700, 1);
  coin = sem_open("/my_semaphor_3_name_simple_seq", O_CREAT, 0700, 1);
  for (j = 1; j <= 4; j++) {
    if (fork() == 0) {
      sprintf(string, "%d", j);
      execl("./customer.e", "customer.e", string, NULL);
      printf("*** could not start customer.e ***\n");
    }
  }
  if (fork() == 0) {
    execl("./supplier.e", "supplier.e", "0", NULL);
    printf("*** could not start supplier ***\n");
  }
  if ((tellerPID = fork()) == 0) {
    execl("./iceCreamTeller.e", "iceCreamTeller.e", "0", NULL);
    printf("*** could not start coffeTeller ***\n");
  }
  waitpid(tellerPID, NULL, 0);
  system("killall customer.e");
  system("killall supplier.e");
  sem_unlink("/my_semaphor_1_name_simple_seq");
  sem_unlink("/my_semaphor_2_name_simple_seq");
  sem_unlink("/my_semaphor_3_name_simple_seq");
  printf("\n");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe6a(%rip),%rdi
call   1090 <sem_unlink@plt>
lea    0xe7d(%rip),%rdi
call   1090 <sem_unlink@plt>
lea    0xe90(%rip),%rdi
call   1090 <sem_unlink@plt>
mov    0x2e3e(%rip),%rax
mov    (%rax),%esi
lea    0xe3d(%rip),%rdi
mov    $0x1c0,%edx
mov    $0x1,%ecx
call   1050 <sem_open@plt>
mov    %rax,-0x20(%rbp)
mov    0x2e1b(%rip),%rax
mov    (%rax),%esi
lea    0xe39(%rip),%rdi
mov    $0x1c0,%edx
mov    $0x1,%ecx
call   1050 <sem_open@plt>
mov    %rax,-0x28(%rbp)
mov    0x2df8(%rip),%rax
mov    (%rax),%esi
lea    0xe35(%rip),%rdi
mov    $0x1c0,%edx
mov    $0x1,%ecx
call   1050 <sem_open@plt>
mov    %rax,-0x30(%rbp)
movl   $0x1,-0x8(%rbp)
cmpl   $0x4,-0x8(%rbp)
jg     128b <main+0x10b>
mov    $0x0,%al
call   10a0 <fork@plt>
cmp    $0x0,%rax
jne    1278 <main+0xf8>
lea    -0x10(%rbp),%rdi
mov    -0x8(%rbp),%edx
lea    0xe11(%rip),%rsi
call   1070 <sprintf@plt>
lea    -0x10(%rbp),%rdx
lea    0xe04(%rip),%rdi
lea    0xe9f(%rip),%rsi
xor    %eax,%eax
mov    %eax,%ecx
call   1080 <execl@plt>
lea    0xdfa(%rip),%rdi
call   1040 <printf@plt>
jmp    127d <main+0xfd>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1223 <main+0xa3>
mov    $0x0,%al
call   10a0 <fork@plt>
cmp    $0x0,%rax
jne    12c6 <main+0x146>
lea    0xdee(%rip),%rdi
lea    0xe6b(%rip),%rsi
lea    0xded(%rip),%rdx
xor    %eax,%eax
mov    %eax,%ecx
call   1080 <execl@plt>
lea    0xddf(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   10a0 <fork@plt>
mov    %rax,-0x18(%rbp)
cmp    $0x0,%rax
jne    1305 <main+0x185>
lea    0xde0(%rip),%rdi
lea    0xddb(%rip),%rsi
lea    0xdae(%rip),%rdx
xor    %eax,%eax
mov    %eax,%ecx
call   1080 <execl@plt>
lea    0xdd5(%rip),%rdi
call   1040 <printf@plt>
mov    -0x18(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
xor    %edx,%edx
call   1060 <waitpid@plt>
lea    0xddf(%rip),%rdi
call   1030 <system@plt>
lea    0xde6(%rip),%rdi
call   1030 <system@plt>
lea    0xccd(%rip),%rdi
call   1090 <sem_unlink@plt>
lea    0xce0(%rip),%rdi
call   1090 <sem_unlink@plt>
lea    0xcf3(%rip),%rdi
call   1090 <sem_unlink@plt>
lea    0xd38(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
lea    0xe61(%rip),%r12
mov    %r12,%rdi
call   10a0 <sem_unlink@plt>
lea    0xe71(%rip),%r14
mov    %r14,%rdi
call   10a0 <sem_unlink@plt>
lea    0xe81(%rip),%r15
mov    %r15,%rdi
call   10a0 <sem_unlink@plt>
mov    0x2e2c(%rip),%rbx
mov    (%rbx),%esi
mov    %r12,%rdi
mov    $0x1c0,%edx
mov    $0x1,%ecx
call   1060 <sem_open@plt>
mov    (%rbx),%esi
mov    %r14,%rdi
mov    $0x1c0,%edx
mov    $0x1,%ecx
call   1060 <sem_open@plt>
mov    (%rbx),%esi
mov    %r15,%rdi
mov    $0x1c0,%edx
mov    $0x1,%ecx
call   1060 <sem_open@plt>
xor    %eax,%eax
call   10b0 <fork@plt>
test   %rax,%rax
jne    124f <main+0xbf>
lea    0xe42(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0x1,%edx
call   1080 <sprintf@plt>
lea    0xe2e(%rip),%rdi
lea    0xe5e(%rip),%rsi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1090 <execl@plt>
lea    0xeb0(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   10b0 <fork@plt>
test   %rax,%rax
jne    1296 <main+0x106>
lea    0xdfb(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0x2,%edx
call   1080 <sprintf@plt>
lea    0xde7(%rip),%rdi
lea    0xe17(%rip),%rsi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1090 <execl@plt>
lea    0xe69(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   10b0 <fork@plt>
test   %rax,%rax
jne    12dd <main+0x14d>
lea    0xdb4(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0x3,%edx
call   1080 <sprintf@plt>
lea    0xda0(%rip),%rdi
lea    0xdd0(%rip),%rsi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1090 <execl@plt>
lea    0xe22(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   10b0 <fork@plt>
test   %rax,%rax
jne    1324 <main+0x194>
lea    0xd6d(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0x4,%edx
call   1080 <sprintf@plt>
lea    0xd59(%rip),%rdi
lea    0xd89(%rip),%rsi
mov    %rbx,%rdx
xor    %ecx,%ecx
call   1090 <execl@plt>
lea    0xddb(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   10b0 <fork@plt>
test   %rax,%rax
jne    1358 <main+0x1c8>
lea    0xd36(%rip),%rdi
lea    0xd6c(%rip),%rsi
lea    0xd35(%rip),%rdx
xor    %ecx,%ecx
call   1090 <execl@plt>
lea    0xd86(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   10b0 <fork@plt>
mov    %rax,%rbx
test   %rax,%rax
jne    138f <main+0x1ff>
lea    0xd0e(%rip),%rdi
lea    0xd09(%rip),%rsi
lea    0xcfe(%rip),%rdx
xor    %ecx,%ecx
call   1090 <execl@plt>
lea    0xd2b(%rip),%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1070 <waitpid@plt>
lea    0xced(%rip),%rdi
call   1050 <system@plt>
lea    0xcf4(%rip),%rdi
call   1050 <system@plt>
lea    0xc46(%rip),%rdi
call   10a0 <sem_unlink@plt>
lea    0xc59(%rip),%rdi
call   10a0 <sem_unlink@plt>
lea    0xc6c(%rip),%rdi
call   10a0 <sem_unlink@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [31 x i8] c"/my_semaphor_1_name_simple_seq\00"
@.str.1 = [31 x i8] c"/my_semaphor_2_name_simple_seq\00"
@.str.2 = [31 x i8] c"/my_semaphor_3_name_simple_seq\00"
@O_CREAT = global i32 0
@.str.3 = [3 x i8] c"%d\00"
@.str.4 = [13 x i8] c"./customer.e\00"
@.str.5 = [11 x i8] c"customer.e\00"
@.str.6 = [36 x i8] c"*** could not start customer.e ***\0A\00"
@.str.7 = [13 x i8] c"./supplier.e\00"
@.str.8 = [11 x i8] c"supplier.e\00"
@.str.9 = [2 x i8] c"0\00"
@.str.10 = [34 x i8] c"*** could not start supplier ***\0A\00"
@.str.11 = [19 x i8] c"./iceCreamTeller.e\00"
@.str.12 = [17 x i8] c"iceCreamTeller.e\00"
@.str.13 = [37 x i8] c"*** could not start coffeTeller ***\0A\00"
@.str.14 = [19 x i8] c"killall customer.e\00"
@.str.15 = [19 x i8] c"killall supplier.e\00"
@.str.16 = [2 x i8] c"\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [8 x i8]
%4 = alloca i64
%5 = alloca i32*
%6 = alloca i32*
%7 = alloca i32*
store i32 0, i32* %1
%8 = call i32 @sem_unlink(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0))
%9 = call i32 @sem_unlink(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0))
%10 = call i32 @sem_unlink(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0))
%11 = load i32, i32* @O_CREAT
%12 = call i32* @sem_open(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0), i32 %11, i32 448, i32 1)
store i32* %12, i32** %5
%13 = load i32, i32* @O_CREAT
%14 = call i32* @sem_open(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0), i32 %13, i32 448, i32 1)
store i32* %14, i32** %6
%15 = load i32, i32* @O_CREAT
%16 = call i32* @sem_open(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 %15, i32 448, i32 1)
store i32* %16, i32** %7
store i32 1, i32* %2
br label %17
17: ; preds = %31, %0
%18 = load i32, i32* %2
%19 = icmp sle i32 %18, 4
br i1 %19, label %20, label %34
20: ; preds = %17
%21 = call i64 (...) @fork()
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %30
23: ; preds = %20
%24 = getelementptr inbounds [8 x i8], [8 x i8]* %3, i64 0, i64 0
%25 = load i32, i32* %2
%26 = call i32 @sprintf(i8* %24, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %25)
%27 = getelementptr inbounds [8 x i8], [8 x i8]* %3, i64 0, i64 0
%28 = call i32 @execl(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8* %27, i32* null)
%29 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.6, i64 0, i64 0))
br label %30
30: ; preds = %23, %20
br label %31
31: ; preds = %30
%32 = load i32, i32* %2
%33 = add nsw i32 %32, 1
store i32 %33, i32* %2
br label %17
34: ; preds = %17
%35 = call i64 (...) @fork()
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %34
%38 = call i32 @execl(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i32* null)
%39 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.10, i64 0, i64 0))
br label %40
40: ; preds = %37, %34
%41 = call i64 (...) @fork()
store i64 %41, i64* %4
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %40
%44 = call i32 @execl(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i32* null)
%45 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.13, i64 0, i64 0))
br label %46
46: ; preds = %43, %40
%47 = load i64, i64* %4
%48 = call i32 @waitpid(i64 %47, i32* null, i32 0)
%49 = call i32 @system(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.14, i64 0, i64 0))
%50 = call i32 @system(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.15, i64 0, i64 0))
%51 = call i32 @sem_unlink(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0))
%52 = call i32 @sem_unlink(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0))
%53 = call i32 @sem_unlink(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0))
%54 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0))
%55 = load i32, i32* %1
ret i32 %55
}

LLVM IR (-O2):
@.str = [31 x i8] c"/my_semaphor_1_name_simple_seq\00"
@.str.1 = [31 x i8] c"/my_semaphor_2_name_simple_seq\00"
@.str.2 = [31 x i8] c"/my_semaphor_3_name_simple_seq\00"
@O_CREAT = global i32 0
@.str.3 = [3 x i8] c"%d\00"
@.str.4 = [13 x i8] c"./customer.e\00"
@.str.5 = [11 x i8] c"customer.e\00"
@.str.7 = [13 x i8] c"./supplier.e\00"
@.str.8 = [11 x i8] c"supplier.e\00"
@.str.9 = [2 x i8] c"0\00"
@.str.11 = [19 x i8] c"./iceCreamTeller.e\00"
@.str.12 = [17 x i8] c"iceCreamTeller.e\00"
@.str.14 = [19 x i8] c"killall customer.e\00"
@.str.15 = [19 x i8] c"killall supplier.e\00"
@str = [36 x i8] c"*** could not start coffeTeller ***\00"
@str.17 = [33 x i8] c"*** could not start supplier ***\00"
@str.18 = [35 x i8] c"*** could not start customer.e ***\00"
define i32 @main() {
%1 = alloca [8 x i8]
%2 = getelementptr inbounds [8 x i8], [8 x i8]* %1, i64 0, i64 0
%3 = tail call i32 @sem_unlink(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0))
%4 = tail call i32 @sem_unlink(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i32 @sem_unlink(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0))
%6 = load i32, i32* @O_CREAT
%7 = tail call i32* @sem_open(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0), i32 %6, i32 448, i32 1)
%8 = load i32, i32* @O_CREAT
%9 = tail call i32* @sem_open(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0), i32 %8, i32 448, i32 1)
%10 = load i32, i32* @O_CREAT
%11 = tail call i32* @sem_open(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 %10, i32 448, i32 1)
%12 = call i64 (...) @fork()
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %0
%15 = call i32 @sprintf(i8* %2, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 1)
%16 = call i32 @execl(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8* %2, i32* null)
%17 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.18, i64 0, i64 0))
br label %18
18: ; preds = %0, %14
%19 = call i64 (...) @fork()
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %25
21: ; preds = %18
%22 = call i32 @sprintf(i8* %2, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 2)
%23 = call i32 @execl(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8* %2, i32* null)
%24 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.18, i64 0, i64 0))
br label %25
25: ; preds = %21, %18
%26 = call i64 (...) @fork()
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %25
%29 = call i32 @sprintf(i8* %2, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 3)
%30 = call i32 @execl(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8* %2, i32* null)
%31 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.18, i64 0, i64 0))
br label %32
32: ; preds = %28, %25
%33 = call i64 (...) @fork()
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %39
35: ; preds = %32
%36 = call i32 @sprintf(i8* %2, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 4)
%37 = call i32 @execl(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8* %2, i32* null)
%38 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.18, i64 0, i64 0))
br label %39
39: ; preds = %35, %32
%40 = call i64 (...) @fork()
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %39
%43 = call i32 @execl(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i32* null)
%44 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.17, i64 0, i64 0))
br label %45
45: ; preds = %42, %39
%46 = call i64 (...) @fork()
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %45
%49 = call i32 @execl(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i32* null)
%50 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str, i64 0, i64 0))
br label %51
51: ; preds = %48, %45
%52 = call i32 @waitpid(i64 %46, i32* null, i32 0)
%53 = call i32 @system(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.14, i64 0, i64 0))
%54 = call i32 @system(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.15, i64 0, i64 0))
%55 = call i32 @sem_unlink(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0))
%56 = call i32 @sem_unlink(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0))
%57 = call i32 @sem_unlink(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0))
%58 = call i32 @putchar(i32 10)
ret i32 0
}