#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 */
void *TestObj();
void *TestObjType();
void *TestObj_init(void *, int *);
void *ZCast(void *, void *);
int /*<<< orphan*/ ZDelete(void *);
void *ZNew(void *);
void *ZObject();
void *ZObject_getSuperType(void *);
void *ZObject_getType(void *);
void *ZType();
int /*<<< orphan*/ ZType_getName(void *);
void *ZType_getSuperType(void *);
int /*<<< orphan*/ assert(int);
scalar_t__ strcmp(int /*<<< orphan*/, char *);
int main(int argc, char *argv[]) {
  void *obj = ZNew(ZObject());
  void *type = ZObject_getType(obj);
  void *typeType = ZObject_getType(type);
  assert(ZObject_getType(obj) == ZObject());
  assert(ZObject_getType(ZCast(ZObject(), type)) == ZType());
  assert(ZObject_getType(ZCast(ZObject(), typeType)) == ZType());
  assert(ZObject_getSuperType(obj) == ZObject());
  assert(ZObject_getSuperType(ZCast(ZObject(), type)) == ZObject());
  assert(ZObject_getSuperType(ZCast(ZObject(), typeType)) == ZObject());
  ZDelete(obj);
  assert(strcmp(ZType_getName(type), "Object") == 0);
  assert(strcmp(ZType_getName(typeType), "Type") == 0);
  assert(ZType_getSuperType(type) == ZObject());
  assert(ZType_getSuperType(typeType) == ZObject());
  void *t = TestObj();
  bool destructorIsCalled = false;
  void *testObj = TestObj_init(ZNew(t), &destructorIsCalled);
  assert(ZObject_getType(testObj) == TestObj());
  assert(strcmp(ZType_getName(TestObj()), "TestObj") == 0);
  assert(ZObject_getType(TestObj()) == TestObjType());
  assert(ZType_getSuperType(TestObj()) == ZObject());
  ZDelete(testObj);
  assert(destructorIsCalled);
  ZDelete(t);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x0,%al
call   1080 <ZObject@plt>
mov    %rax,%rdi
call   1060 <ZNew@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
call   10d0 <ZObject_getType@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rdi
call   10d0 <ZObject_getType@plt>
mov    %rax,-0x28(%rbp)
mov    -0x18(%rbp),%rdi
call   10d0 <ZObject_getType@plt>
mov    %rax,-0x98(%rbp)
mov    $0x0,%al
call   1080 <ZObject@plt>
mov    %rax,%rcx
mov    -0x98(%rbp),%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10b0 <assert@plt>
mov    $0x0,%al
call   1080 <ZObject@plt>
mov    %rax,%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <ZCast@plt>
mov    %rax,%rdi
call   10d0 <ZObject_getType@plt>
mov    %rax,-0x90(%rbp)
mov    $0x0,%al
call   1090 <ZType@plt>
mov    %rax,%rcx
mov    -0x90(%rbp),%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10b0 <assert@plt>
mov    $0x0,%al
call   1080 <ZObject@plt>
mov    %rax,%rdi
mov    -0x28(%rbp),%rsi
call   10f0 <ZCast@plt>
mov    %rax,%rdi
call   10d0 <ZObject_getType@plt>
mov    %rax,-0x88(%rbp)
mov    $0x0,%al
call   1090 <ZType@plt>
mov    %rax,%rcx
mov    -0x88(%rbp),%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10b0 <assert@plt>
mov    -0x18(%rbp),%rdi
call   1100 <ZObject_getSuperType@plt>
mov    %rax,-0x80(%rbp)
mov    $0x0,%al
call   1080 <ZObject@plt>
mov    %rax,%rcx
mov    -0x80(%rbp),%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10b0 <assert@plt>
mov    $0x0,%al
call   1080 <ZObject@plt>
mov    %rax,%rdi
mov    -0x20(%rbp),%rsi
call   10f0 <ZCast@plt>
mov    %rax,%rdi
call   1100 <ZObject_getSuperType@plt>
mov    %rax,-0x78(%rbp)
mov    $0x0,%al
call   1080 <ZObject@plt>
mov    %rax,%rcx
mov    -0x78(%rbp),%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10b0 <assert@plt>
mov    $0x0,%al
call   1080 <ZObject@plt>
mov    %rax,%rdi
mov    -0x28(%rbp),%rsi
call   10f0 <ZCast@plt>
mov    %rax,%rdi
call   1100 <ZObject_getSuperType@plt>
mov    %rax,-0x70(%rbp)
mov    $0x0,%al
call   1080 <ZObject@plt>
mov    %rax,%rcx
mov    -0x70(%rbp),%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10b0 <assert@plt>
mov    -0x18(%rbp),%rdi
call   10e0 <ZDelete@plt>
mov    -0x20(%rbp),%rdi
call   1040 <ZType_getName@plt>
mov    %eax,%edi
lea    0xc63(%rip),%rsi
call   10a0 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10b0 <assert@plt>
mov    -0x28(%rbp),%rdi
call   1040 <ZType_getName@plt>
mov    %eax,%edi
lea    0xc42(%rip),%rsi
call   10a0 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10b0 <assert@plt>
mov    -0x20(%rbp),%rdi
call   10c0 <ZType_getSuperType@plt>
mov    %rax,-0x68(%rbp)
mov    $0x0,%al
call   1080 <ZObject@plt>
mov    %rax,%rcx
mov    -0x68(%rbp),%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10b0 <assert@plt>
mov    -0x28(%rbp),%rdi
call   10c0 <ZType_getSuperType@plt>
mov    %rax,-0x60(%rbp)
mov    $0x0,%al
call   1080 <ZObject@plt>
mov    %rax,%rcx
mov    -0x60(%rbp),%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10b0 <assert@plt>
mov    $0x0,%al
call   1030 <TestObj@plt>
mov    %rax,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x30(%rbp),%rdi
call   1060 <ZNew@plt>
mov    %rax,%rdi
lea    -0x34(%rbp),%rsi
call   1070 <TestObj_init@plt>
mov    %rax,-0x40(%rbp)
mov    -0x40(%rbp),%rdi
call   10d0 <ZObject_getType@plt>
mov    %rax,-0x58(%rbp)
mov    $0x0,%al
call   1030 <TestObj@plt>
mov    %rax,%rcx
mov    -0x58(%rbp),%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10b0 <assert@plt>
mov    $0x0,%al
call   1030 <TestObj@plt>
mov    %rax,%rdi
call   1040 <ZType_getName@plt>
mov    %eax,%edi
lea    0xb6d(%rip),%rsi
call   10a0 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10b0 <assert@plt>
mov    $0x0,%al
call   1030 <TestObj@plt>
mov    %rax,%rdi
call   10d0 <ZObject_getType@plt>
mov    %rax,-0x50(%rbp)
mov    $0x0,%al
call   1050 <TestObjType@plt>
mov    %rax,%rcx
mov    -0x50(%rbp),%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10b0 <assert@plt>
mov    $0x0,%al
call   1030 <TestObj@plt>
mov    %rax,%rdi
call   10c0 <ZType_getSuperType@plt>
mov    %rax,-0x48(%rbp)
mov    $0x0,%al
call   1080 <ZObject@plt>
mov    %rax,%rcx
mov    -0x48(%rbp),%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   10b0 <assert@plt>
mov    -0x40(%rbp),%rdi
call   10e0 <ZDelete@plt>
mov    -0x34(%rbp),%edi
call   10b0 <assert@plt>
mov    -0x30(%rbp),%rdi
call   10e0 <ZDelete@plt>
xor    %eax,%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
xor    %eax,%eax
call   1080 <ZObject@plt>
mov    %rax,%rdi
call   1060 <ZNew@plt>
mov    %rax,%r12
mov    %rax,%rdi
call   10d0 <ZObject_getType@plt>
mov    %rax,%r15
mov    %rax,%rdi
call   10d0 <ZObject_getType@plt>
mov    %rax,%r14
mov    %r12,%rdi
call   10d0 <ZObject_getType@plt>
mov    %rax,%rbx
xor    %eax,%eax
call   1080 <ZObject@plt>
xor    %edi,%edi
cmp    %rax,%rbx
sete   %dil
call   10b0 <assert@plt>
xor    %eax,%eax
call   1080 <ZObject@plt>
mov    %rax,%rdi
mov    %r15,%rsi
call   10f0 <ZCast@plt>
mov    %rax,%rdi
call   10d0 <ZObject_getType@plt>
mov    %rax,%rbx
xor    %eax,%eax
call   1090 <ZType@plt>
xor    %edi,%edi
cmp    %rax,%rbx
sete   %dil
call   10b0 <assert@plt>
xor    %eax,%eax
call   1080 <ZObject@plt>
mov    %rax,%rdi
mov    %r14,%rsi
call   10f0 <ZCast@plt>
mov    %rax,%rdi
call   10d0 <ZObject_getType@plt>
mov    %rax,%rbx
xor    %eax,%eax
call   1090 <ZType@plt>
xor    %edi,%edi
cmp    %rax,%rbx
sete   %dil
call   10b0 <assert@plt>
mov    %r12,%rdi
call   1100 <ZObject_getSuperType@plt>
mov    %rax,%rbx
xor    %eax,%eax
call   1080 <ZObject@plt>
xor    %edi,%edi
cmp    %rax,%rbx
sete   %dil
call   10b0 <assert@plt>
xor    %eax,%eax
call   1080 <ZObject@plt>
mov    %rax,%rdi
mov    %r15,%rsi
call   10f0 <ZCast@plt>
mov    %rax,%rdi
call   1100 <ZObject_getSuperType@plt>
mov    %rax,%rbx
xor    %eax,%eax
call   1080 <ZObject@plt>
xor    %edi,%edi
cmp    %rax,%rbx
sete   %dil
call   10b0 <assert@plt>
xor    %eax,%eax
call   1080 <ZObject@plt>
mov    %rax,%rdi
mov    %r14,%rsi
call   10f0 <ZCast@plt>
mov    %rax,%rdi
call   1100 <ZObject_getSuperType@plt>
mov    %rax,%rbx
xor    %eax,%eax
call   1080 <ZObject@plt>
xor    %edi,%edi
cmp    %rax,%rbx
sete   %dil
call   10b0 <assert@plt>
mov    %r12,%rdi
call   10e0 <ZDelete@plt>
mov    %r15,%rdi
call   1040 <ZType_getName@plt>
lea    0xcd1(%rip),%rsi
mov    %eax,%edi
call   10a0 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   10b0 <assert@plt>
mov    %r14,%rdi
call   1040 <ZType_getName@plt>
lea    0xcb4(%rip),%rsi
mov    %eax,%edi
call   10a0 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   10b0 <assert@plt>
mov    %r15,%rdi
call   10c0 <ZType_getSuperType@plt>
mov    %rax,%rbx
xor    %eax,%eax
call   1080 <ZObject@plt>
xor    %edi,%edi
cmp    %rax,%rbx
sete   %dil
call   10b0 <assert@plt>
mov    %r14,%rdi
call   10c0 <ZType_getSuperType@plt>
mov    %rax,%rbx
xor    %eax,%eax
call   1080 <ZObject@plt>
xor    %edi,%edi
cmp    %rax,%rbx
sete   %dil
call   10b0 <assert@plt>
xor    %eax,%eax
call   1030 <TestObj@plt>
mov    %rax,%r14
movl   $0x0,0x4(%rsp)
mov    %rax,%rdi
call   1060 <ZNew@plt>
lea    0x4(%rsp),%rsi
mov    %rax,%rdi
call   1070 <TestObj_init@plt>
mov    %rax,%r15
mov    %rax,%rdi
call   10d0 <ZObject_getType@plt>
mov    %rax,%rbx
xor    %eax,%eax
call   1030 <TestObj@plt>
xor    %edi,%edi
cmp    %rax,%rbx
sete   %dil
call   10b0 <assert@plt>
xor    %eax,%eax
call   1030 <TestObj@plt>
mov    %rax,%rdi
call   1040 <ZType_getName@plt>
lea    0xc04(%rip),%rsi
mov    %eax,%edi
call   10a0 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   10b0 <assert@plt>
xor    %eax,%eax
call   1030 <TestObj@plt>
mov    %rax,%rdi
call   10d0 <ZObject_getType@plt>
mov    %rax,%rbx
xor    %eax,%eax
call   1050 <TestObjType@plt>
xor    %edi,%edi
cmp    %rax,%rbx
sete   %dil
call   10b0 <assert@plt>
xor    %eax,%eax
call   1030 <TestObj@plt>
mov    %rax,%rdi
call   10c0 <ZType_getSuperType@plt>
mov    %rax,%rbx
xor    %eax,%eax
call   1080 <ZObject@plt>
xor    %edi,%edi
cmp    %rax,%rbx
sete   %dil
call   10b0 <assert@plt>
mov    %r15,%rdi
call   10e0 <ZDelete@plt>
mov    0x4(%rsp),%edi
call   10b0 <assert@plt>
mov    %r14,%rdi
call   10e0 <ZDelete@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [7 x i8] c"Object\00"
@.str.1 = [5 x i8] c"Type\00"
@.str.2 = [8 x i8] c"TestObj\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i32
%11 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%12 = call i8* (...) @ZObject()
%13 = call i8* @ZNew(i8* %12)
store i8* %13, i8** %6
%14 = load i8*, i8** %6
%15 = call i8* @ZObject_getType(i8* %14)
store i8* %15, i8** %7
%16 = load i8*, i8** %7
%17 = call i8* @ZObject_getType(i8* %16)
store i8* %17, i8** %8
%18 = load i8*, i8** %6
%19 = call i8* @ZObject_getType(i8* %18)
%20 = call i8* (...) @ZObject()
%21 = icmp eq i8* %19, %20
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 %22)
%24 = call i8* (...) @ZObject()
%25 = load i8*, i8** %7
%26 = call i8* @ZCast(i8* %24, i8* %25)
%27 = call i8* @ZObject_getType(i8* %26)
%28 = call i8* (...) @ZType()
%29 = icmp eq i8* %27, %28
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 %30)
%32 = call i8* (...) @ZObject()
%33 = load i8*, i8** %8
%34 = call i8* @ZCast(i8* %32, i8* %33)
%35 = call i8* @ZObject_getType(i8* %34)
%36 = call i8* (...) @ZType()
%37 = icmp eq i8* %35, %36
%38 = zext i1 %37 to i32
%39 = call i32 @assert(i32 %38)
%40 = load i8*, i8** %6
%41 = call i8* @ZObject_getSuperType(i8* %40)
%42 = call i8* (...) @ZObject()
%43 = icmp eq i8* %41, %42
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 %44)
%46 = call i8* (...) @ZObject()
%47 = load i8*, i8** %7
%48 = call i8* @ZCast(i8* %46, i8* %47)
%49 = call i8* @ZObject_getSuperType(i8* %48)
%50 = call i8* (...) @ZObject()
%51 = icmp eq i8* %49, %50
%52 = zext i1 %51 to i32
%53 = call i32 @assert(i32 %52)
%54 = call i8* (...) @ZObject()
%55 = load i8*, i8** %8
%56 = call i8* @ZCast(i8* %54, i8* %55)
%57 = call i8* @ZObject_getSuperType(i8* %56)
%58 = call i8* (...) @ZObject()
%59 = icmp eq i8* %57, %58
%60 = zext i1 %59 to i32
%61 = call i32 @assert(i32 %60)
%62 = load i8*, i8** %6
%63 = call i32 @ZDelete(i8* %62)
%64 = load i8*, i8** %7
%65 = call i32 @ZType_getName(i8* %64)
%66 = call i64 @strcmp(i32 %65, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%67 = icmp eq i64 %66, 0
%68 = zext i1 %67 to i32
%69 = call i32 @assert(i32 %68)
%70 = load i8*, i8** %8
%71 = call i32 @ZType_getName(i8* %70)
%72 = call i64 @strcmp(i32 %71, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%73 = icmp eq i64 %72, 0
%74 = zext i1 %73 to i32
%75 = call i32 @assert(i32 %74)
%76 = load i8*, i8** %7
%77 = call i8* @ZType_getSuperType(i8* %76)
%78 = call i8* (...) @ZObject()
%79 = icmp eq i8* %77, %78
%80 = zext i1 %79 to i32
%81 = call i32 @assert(i32 %80)
%82 = load i8*, i8** %8
%83 = call i8* @ZType_getSuperType(i8* %82)
%84 = call i8* (...) @ZObject()
%85 = icmp eq i8* %83, %84
%86 = zext i1 %85 to i32
%87 = call i32 @assert(i32 %86)
%88 = call i8* (...) @TestObj()
store i8* %88, i8** %9
store i32 0, i32* %10
%89 = load i8*, i8** %9
%90 = call i8* @ZNew(i8* %89)
%91 = call i8* @TestObj_init(i8* %90, i32* %10)
store i8* %91, i8** %11
%92 = load i8*, i8** %11
%93 = call i8* @ZObject_getType(i8* %92)
%94 = call i8* (...) @TestObj()
%95 = icmp eq i8* %93, %94
%96 = zext i1 %95 to i32
%97 = call i32 @assert(i32 %96)
%98 = call i8* (...) @TestObj()
%99 = call i32 @ZType_getName(i8* %98)
%100 = call i64 @strcmp(i32 %99, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%101 = icmp eq i64 %100, 0
%102 = zext i1 %101 to i32
%103 = call i32 @assert(i32 %102)
%104 = call i8* (...) @TestObj()
%105 = call i8* @ZObject_getType(i8* %104)
%106 = call i8* (...) @TestObjType()
%107 = icmp eq i8* %105, %106
%108 = zext i1 %107 to i32
%109 = call i32 @assert(i32 %108)
%110 = call i8* (...) @TestObj()
%111 = call i8* @ZType_getSuperType(i8* %110)
%112 = call i8* (...) @ZObject()
%113 = icmp eq i8* %111, %112
%114 = zext i1 %113 to i32
%115 = call i32 @assert(i32 %114)
%116 = load i8*, i8** %11
%117 = call i32 @ZDelete(i8* %116)
%118 = load i32, i32* %10
%119 = call i32 @assert(i32 %118)
%120 = load i8*, i8** %9
%121 = call i32 @ZDelete(i8* %120)
ret i32 0
}

LLVM IR (-O2):
@.str = [7 x i8] c"Object\00"
@.str.1 = [5 x i8] c"Type\00"
@.str.2 = [8 x i8] c"TestObj\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i32
%4 = tail call i8* (...) @ZObject()
%5 = tail call i8* @ZNew(i8* %4)
%6 = tail call i8* @ZObject_getType(i8* %5)
%7 = tail call i8* @ZObject_getType(i8* %6)
%8 = tail call i8* @ZObject_getType(i8* %5)
%9 = tail call i8* (...) @ZObject()
%10 = icmp eq i8* %8, %9
%11 = zext i1 %10 to i32
%12 = tail call i32 @assert(i32 %11)
%13 = tail call i8* (...) @ZObject()
%14 = tail call i8* @ZCast(i8* %13, i8* %6)
%15 = tail call i8* @ZObject_getType(i8* %14)
%16 = tail call i8* (...) @ZType()
%17 = icmp eq i8* %15, %16
%18 = zext i1 %17 to i32
%19 = tail call i32 @assert(i32 %18)
%20 = tail call i8* (...) @ZObject()
%21 = tail call i8* @ZCast(i8* %20, i8* %7)
%22 = tail call i8* @ZObject_getType(i8* %21)
%23 = tail call i8* (...) @ZType()
%24 = icmp eq i8* %22, %23
%25 = zext i1 %24 to i32
%26 = tail call i32 @assert(i32 %25)
%27 = tail call i8* @ZObject_getSuperType(i8* %5)
%28 = tail call i8* (...) @ZObject()
%29 = icmp eq i8* %27, %28
%30 = zext i1 %29 to i32
%31 = tail call i32 @assert(i32 %30)
%32 = tail call i8* (...) @ZObject()
%33 = tail call i8* @ZCast(i8* %32, i8* %6)
%34 = tail call i8* @ZObject_getSuperType(i8* %33)
%35 = tail call i8* (...) @ZObject()
%36 = icmp eq i8* %34, %35
%37 = zext i1 %36 to i32
%38 = tail call i32 @assert(i32 %37)
%39 = tail call i8* (...) @ZObject()
%40 = tail call i8* @ZCast(i8* %39, i8* %7)
%41 = tail call i8* @ZObject_getSuperType(i8* %40)
%42 = tail call i8* (...) @ZObject()
%43 = icmp eq i8* %41, %42
%44 = zext i1 %43 to i32
%45 = tail call i32 @assert(i32 %44)
%46 = tail call i32 @ZDelete(i8* %5)
%47 = tail call i32 @ZType_getName(i8* %6)
%48 = tail call i64 @strcmp(i32 %47, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%49 = icmp eq i64 %48, 0
%50 = zext i1 %49 to i32
%51 = tail call i32 @assert(i32 %50)
%52 = tail call i32 @ZType_getName(i8* %7)
%53 = tail call i64 @strcmp(i32 %52, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%54 = icmp eq i64 %53, 0
%55 = zext i1 %54 to i32
%56 = tail call i32 @assert(i32 %55)
%57 = tail call i8* @ZType_getSuperType(i8* %6)
%58 = tail call i8* (...) @ZObject()
%59 = icmp eq i8* %57, %58
%60 = zext i1 %59 to i32
%61 = tail call i32 @assert(i32 %60)
%62 = tail call i8* @ZType_getSuperType(i8* %7)
%63 = tail call i8* (...) @ZObject()
%64 = icmp eq i8* %62, %63
%65 = zext i1 %64 to i32
%66 = tail call i32 @assert(i32 %65)
%67 = tail call i8* (...) @TestObj()
%68 = bitcast i32* %3 to i8*
store i32 0, i32* %3
%69 = tail call i8* @ZNew(i8* %67)
%70 = call i8* @TestObj_init(i8* %69, i32* %3)
%71 = call i8* @ZObject_getType(i8* %70)
%72 = call i8* (...) @TestObj()
%73 = icmp eq i8* %71, %72
%74 = zext i1 %73 to i32
%75 = call i32 @assert(i32 %74)
%76 = call i8* (...) @TestObj()
%77 = call i32 @ZType_getName(i8* %76)
%78 = call i64 @strcmp(i32 %77, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%79 = icmp eq i64 %78, 0
%80 = zext i1 %79 to i32
%81 = call i32 @assert(i32 %80)
%82 = call i8* (...) @TestObj()
%83 = call i8* @ZObject_getType(i8* %82)
%84 = call i8* (...) @TestObjType()
%85 = icmp eq i8* %83, %84
%86 = zext i1 %85 to i32
%87 = call i32 @assert(i32 %86)
%88 = call i8* (...) @TestObj()
%89 = call i8* @ZType_getSuperType(i8* %88)
%90 = call i8* (...) @ZObject()
%91 = icmp eq i8* %89, %90
%92 = zext i1 %91 to i32
%93 = call i32 @assert(i32 %92)
%94 = call i32 @ZDelete(i8* %70)
%95 = load i32, i32* %3
%96 = call i32 @assert(i32 %95)
%97 = call i32 @ZDelete(i8* %67)
ret i32 0
}