#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 */
struct Cyc_Set_Set {
  int dummy;
};

/* Variables and functions */
int Cyc_AssnDef_simple_prv(struct Cyc_Set_Set *, void *);
struct Cyc_Set_Set *Cyc_AssnDef_widen_it(void *);
int Cyc_AssnDef_simple_prove(void *ctxt, void *a) {
  int _T0;
  if (ctxt != a)
    goto _TL2A2;
  return 1;
_TL2A2 : {
  struct Cyc_Set_Set *sopt = Cyc_AssnDef_widen_it(ctxt);
  if (sopt != 0)
    goto _TL2A4;
  return 1;
_TL2A4:
  _T0 = Cyc_AssnDef_simple_prv(sopt, a);
  return _T0;
}
}


x86 assembly (clang, -O0):
<Cyc_AssnDef_simple_prove>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    -0x10(%rbp),%rax
cmp    -0x18(%rbp),%rax
je     1143 <Cyc_AssnDef_simple_prove+0x23>
jmp    114f <Cyc_AssnDef_simple_prove+0x2f>
movl   $0x1,-0x4(%rbp)
jmp    118e <Cyc_AssnDef_simple_prove+0x6e>
mov    -0x10(%rbp),%rdi
call   1040 <Cyc_AssnDef_widen_it@plt>
mov    %rax,-0x28(%rbp)
cmpq   $0x0,-0x28(%rbp)
je     116c <Cyc_AssnDef_simple_prove+0x4c>
jmp    1178 <Cyc_AssnDef_simple_prove+0x58>
movl   $0x1,-0x4(%rbp)
jmp    118e <Cyc_AssnDef_simple_prove+0x6e>
mov    -0x28(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1030 <Cyc_AssnDef_simple_prv@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Cyc_AssnDef_simple_prove>:
push   %rbx
cmp    %rsi,%rdi
je     113f <Cyc_AssnDef_simple_prove+0x1f>
mov    %rsi,%rbx
call   1040 <Cyc_AssnDef_widen_it@plt>
test   %rax,%rax
je     113f <Cyc_AssnDef_simple_prove+0x1f>
mov    %rax,%rdi
mov    %rbx,%rsi
pop    %rbx
jmp    1030 <Cyc_AssnDef_simple_prv@plt>
mov    $0x1,%eax
pop    %rbx
ret

LLVM IR (-O0):
%struct.Cyc_Set_Set = type { i32 }
define i32 @Cyc_AssnDef_simple_prove(i8* %0, i8* %1) {
%3 = alloca i32
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i32
%7 = alloca %struct.Cyc_Set_Set*
store i8* %0, i8** %4
store i8* %1, i8** %5
%8 = load i8*, i8** %4
%9 = load i8*, i8** %5
%10 = icmp ne i8* %8, %9
br i1 %10, label %11, label %12
11: ; preds = %2
br label %13
12: ; preds = %2
store i32 1, i32* %3
br label %25
13: ; preds = %11
%14 = load i8*, i8** %4
%15 = call %struct.Cyc_Set_Set* @Cyc_AssnDef_widen_it(i8* %14)
store %struct.Cyc_Set_Set* %15, %struct.Cyc_Set_Set** %7
%16 = load %struct.Cyc_Set_Set*, %struct.Cyc_Set_Set** %7
%17 = icmp ne %struct.Cyc_Set_Set* %16, null
br i1 %17, label %18, label %19
18: ; preds = %13
br label %20
19: ; preds = %13
store i32 1, i32* %3
br label %25
20: ; preds = %18
%21 = load %struct.Cyc_Set_Set*, %struct.Cyc_Set_Set** %7
%22 = load i8*, i8** %5
%23 = call i32 @Cyc_AssnDef_simple_prv(%struct.Cyc_Set_Set* %21, i8* %22)
store i32 %23, i32* %6
%24 = load i32, i32* %6
store i32 %24, i32* %3
br label %25
25: ; preds = %20, %19, %12
%26 = load i32, i32* %3
ret i32 %26
}

LLVM IR (-O2):
%struct.Cyc_Set_Set = type { i32 }
define i32 @Cyc_AssnDef_simple_prove(i8* %0, i8* %1) {
%3 = icmp eq i8* %0, %1
br i1 %3, label %9, label %4
4: ; preds = %2
%5 = tail call %struct.Cyc_Set_Set* @Cyc_AssnDef_widen_it(i8* %0)
%6 = icmp eq %struct.Cyc_Set_Set* %5, null
br i1 %6, label %9, label %7
7: ; preds = %4
%8 = tail call i32 @Cyc_AssnDef_simple_prv(%struct.Cyc_Set_Set* %5, i8* %1)
br label %9
9: ; preds = %7, %4, %2
%10 = phi i32 [ 1, %2 ], [ %8, %7 ], [ 1, %4 ]
ret i32 %10
}