#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 */

/* Variables and functions */
int /*<<< orphan*/ close(int);
int connect_server(char *);
int getpid();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ rcvmsg(int, char *, int);
int /*<<< orphan*/ sndmsg(int, char *, int /*<<< orphan*/);
int /*<<< orphan*/ sprintf(char *, char *, char *, int);
int /*<<< orphan*/ sscanf(char *, char *, char *, int *, int *);
int /*<<< orphan*/ strlen(char *);
int /*<<< orphan*/ usleep(int);
int main(int argc, char *argv[]) {
  int val = 0;
  int num = getpid();
  printf("%d号消费者开启。正在连接服务器。。。\n", num);
  int sfd = connect_server("127.0.0.1");
  char msg[1024];
  char type[1024];
  printf("连接成功。开始消费。\n");
  int t = 5;
  while (t--) {
    sprintf(msg, "%s %d -1\n", "consumer", num);
    sndmsg(sfd, msg, strlen(msg));
    rcvmsg(sfd, msg, 1024);
    sscanf(msg, "%s%d%d", type, &num, &val);
    printf("%d号消费者进程从共享内存区中取出数据%d成功.\n", num, val);
    usleep(100000);
  }
  sprintf(msg, "%s %d -1\n", "end", num);
  sndmsg(sfd, msg, strlen(msg));
  printf("%d号消费者结束。\n", num);
  close(sfd);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x850,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
mov    $0x0,%al
call   1040 <getpid@plt>
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%esi
lea    0xe2c(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    0xe55(%rip),%rdi
call   1050 <connect_server@plt>
mov    %eax,-0x1c(%rbp)
lea    0xe50(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
movl   $0x5,-0x824(%rbp)
mov    -0x824(%rbp),%eax
mov    %eax,%ecx
add    $0xffffffff,%ecx
mov    %ecx,-0x824(%rbp)
cmp    $0x0,%eax
je     12c9 <main+0x129>
lea    -0x420(%rbp),%rdi
mov    -0x18(%rbp),%ecx
lea    0xe34(%rip),%rsi
lea    0xe37(%rip),%rdx
call   10b0 <sprintf@plt>
mov    -0x1c(%rbp),%eax
mov    %eax,-0x834(%rbp)
lea    -0x420(%rbp),%rax
mov    %rax,-0x830(%rbp)
lea    -0x420(%rbp),%rdi
call   1060 <strlen@plt>
mov    -0x834(%rbp),%edi
mov    -0x830(%rbp),%rsi
mov    %eax,%edx
call   1030 <sndmsg@plt>
mov    -0x1c(%rbp),%edi
lea    -0x420(%rbp),%rsi
mov    $0x400,%edx
call   1080 <rcvmsg@plt>
lea    -0x420(%rbp),%rdi
lea    -0x820(%rbp),%rdx
lea    0xddb(%rip),%rsi
lea    -0x18(%rbp),%rcx
lea    -0x14(%rbp),%r8
call   10a0 <sscanf@plt>
mov    -0x18(%rbp),%esi
mov    -0x14(%rbp),%edx
lea    0xdc8(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    $0x186a0,%edi
call   10c0 <usleep@plt>
jmp    1202 <main+0x62>
lea    -0x420(%rbp),%rdi
mov    -0x18(%rbp),%ecx
lea    0xd87(%rip),%rsi
lea    0xdda(%rip),%rdx
call   10b0 <sprintf@plt>
mov    -0x1c(%rbp),%eax
mov    %eax,-0x844(%rbp)
lea    -0x420(%rbp),%rax
mov    %rax,-0x840(%rbp)
lea    -0x420(%rbp),%rdi
call   1060 <strlen@plt>
mov    -0x844(%rbp),%edi
mov    -0x840(%rbp),%rsi
mov    %eax,%edx
call   1030 <sndmsg@plt>
mov    -0x18(%rbp),%esi
lea    0xd98(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x1c(%rbp),%edi
call   1090 <close@plt>
xor    %eax,%eax
add    $0x850,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x818,%rsp
movl   $0x0,0xc(%rsp)
xor    %eax,%eax
call   1050 <getpid@plt>
mov    %eax,%ebp
mov    %eax,0x8(%rsp)
lea    0xe23(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0xe4a(%rip),%rdi
call   1060 <connect_server@plt>
mov    %eax,%r15d
lea    0xebc(%rip),%rdi
call   1040 <puts@plt>
lea    0xe39(%rip),%r12
lea    0xe3c(%rip),%r13
lea    0x410(%rsp),%rbx
mov    %rbx,%rdi
mov    %r12,%rsi
mov    %r13,%rdx
mov    %ebp,%ecx
call   10c0 <sprintf@plt>
mov    %rbx,%rdi
call   1070 <strlen@plt>
mov    %r15d,%edi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <sndmsg@plt>
mov    %r15d,%edi
mov    %rbx,%rsi
mov    $0x400,%edx
call   1090 <rcvmsg@plt>
lea    0xe01(%rip),%rbp
lea    0x10(%rsp),%rdx
lea    0x8(%rsp),%r14
lea    0xc(%rsp),%r8
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    %r14,%rcx
call   10b0 <sscanf@plt>
mov    0x8(%rsp),%esi
mov    0xc(%rsp),%edx
lea    0xddc(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    $0x186a0,%edi
call   10d0 <usleep@plt>
mov    0x8(%rsp),%ecx
mov    %rbx,%rdi
mov    %r12,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
mov    %rbx,%rdi
call   1070 <strlen@plt>
mov    %r15d,%edi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <sndmsg@plt>
mov    %r15d,%edi
mov    %rbx,%rsi
mov    $0x400,%edx
call   1090 <rcvmsg@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
lea    0x10(%rsp),%rdx
mov    %r14,%rcx
lea    0xc(%rsp),%r8
call   10b0 <sscanf@plt>
mov    0x8(%rsp),%esi
mov    0xc(%rsp),%edx
lea    0xd6d(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    $0x186a0,%edi
call   10d0 <usleep@plt>
mov    0x8(%rsp),%ecx
mov    %rbx,%rdi
mov    %r12,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
mov    %rbx,%rdi
call   1070 <strlen@plt>
mov    %r15d,%edi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <sndmsg@plt>
mov    %r15d,%edi
mov    %rbx,%rsi
mov    $0x400,%edx
call   1090 <rcvmsg@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
lea    0x10(%rsp),%rdx
mov    %rdx,%rbp
mov    %r14,%rcx
lea    0xc(%rsp),%r8
call   10b0 <sscanf@plt>
mov    0x8(%rsp),%esi
mov    0xc(%rsp),%edx
lea    0xcfb(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    $0x186a0,%edi
call   10d0 <usleep@plt>
mov    0x8(%rsp),%ecx
mov    %rbx,%rdi
mov    %r12,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
mov    %rbx,%rdi
call   1070 <strlen@plt>
mov    %r15d,%edi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <sndmsg@plt>
mov    %r15d,%edi
mov    %rbx,%rsi
mov    $0x400,%edx
call   1090 <rcvmsg@plt>
mov    %rbx,%rdi
lea    0xca2(%rip),%rsi
mov    %rbp,%rdx
mov    %r14,%rcx
lea    0xc(%rsp),%r8
call   10b0 <sscanf@plt>
mov    0x8(%rsp),%esi
mov    0xc(%rsp),%edx
lea    0xc8a(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    $0x186a0,%edi
call   10d0 <usleep@plt>
mov    0x8(%rsp),%ecx
mov    %rbx,%rdi
mov    %r12,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
mov    %rbx,%rdi
call   1070 <strlen@plt>
mov    %r15d,%edi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <sndmsg@plt>
mov    %r15d,%edi
mov    %rbx,%rsi
mov    $0x400,%edx
call   1090 <rcvmsg@plt>
mov    %rbx,%rdi
lea    0xc31(%rip),%rsi
mov    %rbp,%rdx
mov    %r14,%rcx
lea    0xc(%rsp),%r8
call   10b0 <sscanf@plt>
mov    0x8(%rsp),%esi
mov    0xc(%rsp),%edx
lea    0xc19(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    $0x186a0,%edi
call   10d0 <usleep@plt>
mov    0x8(%rsp),%ecx
lea    0xc3d(%rip),%rdx
mov    %rbx,%rdi
mov    %r12,%rsi
call   10c0 <sprintf@plt>
mov    %rbx,%rdi
call   1070 <strlen@plt>
mov    %r15d,%edi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <sndmsg@plt>
mov    0x8(%rsp),%esi
lea    0xc16(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %r15d,%edi
call   10a0 <close@plt>
xor    %eax,%eax
add    $0x818,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [55 x i8] c"%d\E5\8F\B7\E6\B6\88\E8\B4\B9\E8\80\85\E5\BC\80\E5\90\AF\E3\80\82\E6\AD\A3\E5\9C\A8\E8\BF\9E\E6\8E\A5\E6\9C\8D\E5\8A\A1\E5\99\A8\E3\80\82\E3\80\82\E3\80\82\0A\00"
@.str.1 = [10 x i8] c"127.0.0.1\00"
@.str.2 = [32 x i8] c"\E8\BF\9E\E6\8E\A5\E6\88\90\E5\8A\9F\E3\80\82\E5\BC\80\E5\A7\8B\E6\B6\88\E8\B4\B9\E3\80\82\0A\00"
@.str.3 = [10 x i8] c"%s %d -1\0A\00"
@.str.4 = [9 x i8] c"consumer\00"
@.str.5 = [7 x i8] c"%s%d%d\00"
@.str.6 = [64 x i8] c"%d\E5\8F\B7\E6\B6\88\E8\B4\B9\E8\80\85\E8\BF\9B\E7\A8\8B\E4\BB\8E\E5\85\B1\E4\BA\AB\E5\86\85\E5\AD\98\E5\8C\BA\E4\B8\AD\E5\8F\96\E5\87\BA\E6\95\B0\E6\8D\AE%d\E6\88\90\E5\8A\9F.\0A\00"
@.str.7 = [4 x i8] c"end\00"
@.str.8 = [25 x i8] c"%d\E5\8F\B7\E6\B6\88\E8\B4\B9\E8\80\85\E7\BB\93\E6\9D\9F\E3\80\82\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca [1024 x i8]
%10 = alloca [1024 x i8]
%11 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
%12 = call i32 (...) @getpid()
store i32 %12, i32* %7
%13 = load i32, i32* %7
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str, i64 0, i64 0), i32 %13)
%15 = call i32 @connect_server(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
store i32 %15, i32* %8
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0))
store i32 5, i32* %11
br label %17
17: ; preds = %21, %2
%18 = load i32, i32* %11
%19 = add nsw i32 %18, -1
store i32 %19, i32* %11
%20 = icmp ne i32 %18, 0
br i1 %20, label %21, label %40
21: ; preds = %17
%22 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%23 = load i32, i32* %7
%24 = call i32 @sprintf(i8* %22, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %23)
%25 = load i32, i32* %8
%26 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%27 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%28 = call i32 @strlen(i8* %27)
%29 = call i32 @sndmsg(i32 %25, i8* %26, i32 %28)
%30 = load i32, i32* %8
%31 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%32 = call i32 @rcvmsg(i32 %30, i8* %31, i32 1024)
%33 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%34 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%35 = call i32 @sscanf(i8* %33, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i8* %34, i32* %7, i32* %6)
%36 = load i32, i32* %7
%37 = load i32, i32* %6
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.6, i64 0, i64 0), i32 %36, i32 %37)
%39 = call i32 @usleep(i32 100000)
br label %17
40: ; preds = %17
%41 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%42 = load i32, i32* %7
%43 = call i32 @sprintf(i8* %41, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %42)
%44 = load i32, i32* %8
%45 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%46 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%47 = call i32 @strlen(i8* %46)
%48 = call i32 @sndmsg(i32 %44, i8* %45, i32 %47)
%49 = load i32, i32* %7
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0), i32 %49)
%51 = load i32, i32* %8
%52 = call i32 @close(i32 %51)
ret i32 0
}

LLVM IR (-O2):
@.str = [55 x i8] c"%d\E5\8F\B7\E6\B6\88\E8\B4\B9\E8\80\85\E5\BC\80\E5\90\AF\E3\80\82\E6\AD\A3\E5\9C\A8\E8\BF\9E\E6\8E\A5\E6\9C\8D\E5\8A\A1\E5\99\A8\E3\80\82\E3\80\82\E3\80\82\0A\00"
@.str.1 = [10 x i8] c"127.0.0.1\00"
@.str.3 = [10 x i8] c"%s %d -1\0A\00"
@.str.4 = [9 x i8] c"consumer\00"
@.str.5 = [7 x i8] c"%s%d%d\00"
@.str.6 = [64 x i8] c"%d\E5\8F\B7\E6\B6\88\E8\B4\B9\E8\80\85\E8\BF\9B\E7\A8\8B\E4\BB\8E\E5\85\B1\E4\BA\AB\E5\86\85\E5\AD\98\E5\8C\BA\E4\B8\AD\E5\8F\96\E5\87\BA\E6\95\B0\E6\8D\AE%d\E6\88\90\E5\8A\9F.\0A\00"
@.str.7 = [4 x i8] c"end\00"
@.str.8 = [25 x i8] c"%d\E5\8F\B7\E6\B6\88\E8\B4\B9\E8\80\85\E7\BB\93\E6\9D\9F\E3\80\82\0A\00"
@str = [31 x i8] c"\E8\BF\9E\E6\8E\A5\E6\88\90\E5\8A\9F\E3\80\82\E5\BC\80\E5\A7\8B\E6\B6\88\E8\B4\B9\E3\80\82\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca [1024 x i8]
%6 = alloca [1024 x i8]
%7 = bitcast i32* %3 to i8*
store i32 0, i32* %3
%8 = bitcast i32* %4 to i8*
%9 = tail call i32 (...) @getpid()
store i32 %9, i32* %4
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @.str, i64 0, i64 0), i32 %9)
%11 = tail call i32 @connect_server(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%12 = getelementptr inbounds [1024 x i8], [1024 x i8]* %5, i64 0, i64 0
%13 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str, i64 0, i64 0))
%15 = call i32 @sprintf(i8* %12, i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%16 = call i32 @strlen(i8* %12)
%17 = call i32 @sndmsg(i32 %11, i8* %12, i32 %16)
%18 = call i32 @rcvmsg(i32 %11, i8* %12, i32 1024)
%19 = call i32 @sscanf(i8* %12, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i8* %13, i32* %4, i32* %3)
%20 = load i32, i32* %4
%21 = load i32, i32* %3
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @.str.6, i64 0, i64 0), i32 %20, i32 %21)
%23 = call i32 @usleep(i32 100000)
%24 = load i32, i32* %4
%25 = call i32 @sprintf(i8* %12, i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %24)
%26 = call i32 @strlen(i8* %12)
%27 = call i32 @sndmsg(i32 %11, i8* %12, i32 %26)
%28 = call i32 @rcvmsg(i32 %11, i8* %12, i32 1024)
%29 = call i32 @sscanf(i8* %12, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i8* %13, i32* %4, i32* %3)
%30 = load i32, i32* %4
%31 = load i32, i32* %3
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @.str.6, i64 0, i64 0), i32 %30, i32 %31)
%33 = call i32 @usleep(i32 100000)
%34 = load i32, i32* %4
%35 = call i32 @sprintf(i8* %12, i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %34)
%36 = call i32 @strlen(i8* %12)
%37 = call i32 @sndmsg(i32 %11, i8* %12, i32 %36)
%38 = call i32 @rcvmsg(i32 %11, i8* %12, i32 1024)
%39 = call i32 @sscanf(i8* %12, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i8* %13, i32* %4, i32* %3)
%40 = load i32, i32* %4
%41 = load i32, i32* %3
%42 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @.str.6, i64 0, i64 0), i32 %40, i32 %41)
%43 = call i32 @usleep(i32 100000)
%44 = load i32, i32* %4
%45 = call i32 @sprintf(i8* %12, i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %44)
%46 = call i32 @strlen(i8* %12)
%47 = call i32 @sndmsg(i32 %11, i8* %12, i32 %46)
%48 = call i32 @rcvmsg(i32 %11, i8* %12, i32 1024)
%49 = call i32 @sscanf(i8* %12, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i8* %13, i32* %4, i32* %3)
%50 = load i32, i32* %4
%51 = load i32, i32* %3
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @.str.6, i64 0, i64 0), i32 %50, i32 %51)
%53 = call i32 @usleep(i32 100000)
%54 = load i32, i32* %4
%55 = call i32 @sprintf(i8* %12, i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %54)
%56 = call i32 @strlen(i8* %12)
%57 = call i32 @sndmsg(i32 %11, i8* %12, i32 %56)
%58 = call i32 @rcvmsg(i32 %11, i8* %12, i32 1024)
%59 = call i32 @sscanf(i8* %12, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i8* %13, i32* %4, i32* %3)
%60 = load i32, i32* %4
%61 = load i32, i32* %3
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @.str.6, i64 0, i64 0), i32 %60, i32 %61)
%63 = call i32 @usleep(i32 100000)
%64 = load i32, i32* %4
%65 = call i32 @sprintf(i8* %12, i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %64)
%66 = call i32 @strlen(i8* %12)
%67 = call i32 @sndmsg(i32 %11, i8* %12, i32 %66)
%68 = load i32, i32* %4
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0), i32 %68)
%70 = call i32 @close(i32 %11)
ret i32 0
}