void intr_lib_machine(rep, cc, nm) int *rep, *cc, *nm;
{
  int rr, cc1;
  intr_usr_lib(&rr, &cc1, 1, nm, 2);
  if (rr == 1) {
    clear_gset1();
    clear_gset2();
    clear_gseq();
    push_gseq(&rr, cc1);
    if (rr == 1) {
      analyse(&rr, cc1);
    }
  }
  *rep = rr;
  *cc = cc1;
}


x86 assembly (clang, -O0):
<intr_lib_machine>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x18(%rbp),%rcx
lea    -0x1c(%rbp),%rdi
lea    -0x20(%rbp),%rsi
mov    $0x1,%edx
mov    $0x2,%r8d
mov    $0x0,%al
call   1080 <intr_usr_lib@plt>
cmpl   $0x1,-0x1c(%rbp)
jne    11dc <intr_lib_machine+0x7c>
mov    $0x0,%al
call   1040 <clear_gset1@plt>
mov    $0x0,%al
call   1060 <clear_gset2@plt>
mov    $0x0,%al
call   1070 <clear_gseq@plt>
mov    -0x20(%rbp),%esi
lea    -0x1c(%rbp),%rdi
mov    $0x0,%al
call   1030 <push_gseq@plt>
cmpl   $0x1,-0x1c(%rbp)
jne    11d7 <intr_lib_machine+0x77>
mov    -0x20(%rbp),%esi
lea    -0x1c(%rbp),%rdi
mov    $0x0,%al
call   1050 <analyse@plt>
jmp    11dc <intr_lib_machine+0x7c>
mov    -0x1c(%rbp),%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x20(%rbp),%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<intr_lib_machine>:
push   %r14
push   %rbx
push   %rax
mov    %rdx,%rcx
mov    %rsi,%r14
mov    %rdi,%rbx
mov    %rsp,%rdi
lea    0x4(%rsp),%rsi
mov    $0x1,%edx
mov    $0x2,%r8d
xor    %eax,%eax
call   1080 <intr_usr_lib@plt>
mov    (%rsp),%eax
cmp    $0x1,%eax
jne    11cb <intr_lib_machine+0x6b>
xor    %eax,%eax
call   1040 <clear_gset1@plt>
xor    %eax,%eax
call   1060 <clear_gset2@plt>
xor    %eax,%eax
call   1070 <clear_gseq@plt>
mov    0x4(%rsp),%esi
mov    %rsp,%rdi
xor    %eax,%eax
call   1030 <push_gseq@plt>
mov    (%rsp),%eax
cmp    $0x1,%eax
jne    11cb <intr_lib_machine+0x6b>
mov    0x4(%rsp),%esi
mov    %rsp,%rdi
xor    %eax,%eax
call   1050 <analyse@plt>
mov    (%rsp),%eax
mov    %eax,(%rbx)
mov    0x4(%rsp),%eax
mov    %eax,(%r14)
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @intr_lib_machine(i32* %0, i32* %1, i32* %2) {
%4 = alloca i32*
%5 = alloca i32*
%6 = alloca i32*
%7 = alloca i32
%8 = alloca i32
store i32* %0, i32** %4
store i32* %1, i32** %5
store i32* %2, i32** %6
%9 = load i32*, i32** %6
%10 = call i32 (i32*, i32*, i32, i32*, i32, ...) bitcast (i32 (...)* @intr_usr_lib to i32 (i32*, i32*, i32, i32*, i32, ...)*)(i32* %7, i32* %8, i32 1, i32* %9, i32 2)
%11 = load i32, i32* %7
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %25
13: ; preds = %3
%14 = call i32 (...) @clear_gset1()
%15 = call i32 (...) @clear_gset2()
%16 = call i32 (...) @clear_gseq()
%17 = load i32, i32* %8
%18 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @push_gseq to i32 (i32*, i32, ...)*)(i32* %7, i32 %17)
%19 = load i32, i32* %7
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %24
21: ; preds = %13
%22 = load i32, i32* %8
%23 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @analyse to i32 (i32*, i32, ...)*)(i32* %7, i32 %22)
br label %24
24: ; preds = %21, %13
br label %25
25: ; preds = %24, %3
%26 = load i32, i32* %7
%27 = load i32*, i32** %4
store i32 %26, i32* %27
%28 = load i32, i32* %8
%29 = load i32*, i32** %5
store i32 %28, i32* %29
ret void
}

LLVM IR (-O2):
define void @intr_lib_machine(i32* nocapture writeonly %0, i32* nocapture writeonly %1, i32* %2) {
%4 = alloca i32
%5 = alloca i32
%6 = bitcast i32* %4 to i8*
%7 = bitcast i32* %5 to i8*
%8 = call i32 (i32*, i32*, i32, i32*, i32, ...) bitcast (i32 (...)* @intr_usr_lib to i32 (i32*, i32*, i32, i32*, i32, ...)*)(i32* %4, i32* %5, i32 1, i32* %2, i32 2)
%9 = load i32, i32* %4
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %23
11: ; preds = %3
%12 = call i32 (...) @clear_gset1()
%13 = call i32 (...) @clear_gset2()
%14 = call i32 (...) @clear_gseq()
%15 = load i32, i32* %5
%16 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @push_gseq to i32 (i32*, i32, ...)*)(i32* %4, i32 %15)
%17 = load i32, i32* %4
%18 = icmp eq i32 %17, 1
br i1 %18, label %19, label %23
19: ; preds = %11
%20 = load i32, i32* %5
%21 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @analyse to i32 (i32*, i32, ...)*)(i32* %4, i32 %20)
%22 = load i32, i32* %4
br label %23
23: ; preds = %11, %19, %3
%24 = phi i32 [ %17, %11 ], [ %22, %19 ], [ %9, %3 ]
store i32 %24, i32* %0
%25 = load i32, i32* %5
store i32 %25, i32* %1
ret void
}