#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 node {
  int dummy;
};
typedef struct node list;

/* Variables and functions */
int /*<<< orphan*/ dumpVarsOutOfScope();
int /*<<< orphan*/ list_add(struct node *, struct node *);
struct node *list_create();
int /*<<< orphan*/ list_dispose(struct node *);
int list_remove(struct node *);
int /*<<< orphan*/ logAssignNoOffset(char *, int, struct node **, char *,
                                     char *, struct node *, char *, char *,
                                     int /*<<< orphan*/);
int /*<<< orphan*/ logBlockEntry(char *, int);
int /*<<< orphan*/ logBlockExit(char *, int);
int /*<<< orphan*/ logComment(char *);
int /*<<< orphan*/ logVarInScope(char *, char *, char *, struct node **);
int /*<<< orphan*/ logVarOutOfScope(char *, struct node **);
struct node *node_malloc(int);
int main(void) {
  int i;
  struct list *l;
  struct list *tmp;
  struct node *n1;
  struct node *tmp___0;
  struct node *n2;
  struct node *tmp___1;
  struct node *n3;
  struct node *tmp___2;
  {
    logComment("Function Entered");
    logVarInScope("local", "l", "struct list *", &l);
    logVarInScope("local", "tmp", "struct list *", &tmp);
    logVarInScope("local", "n1", "struct node *", &n1);
    logVarInScope("local", "tmp___0", "struct node *", &tmp___0);
    logVarInScope("local", "n2", "struct node *", &n2);
    logVarInScope("local", "tmp___1", "struct node *", &tmp___1);
    logVarInScope("local", "n3", "struct node *", &n3);
    logVarInScope("local", "tmp___2", "struct node *", &tmp___2);
    tmp = list_create();
    logBlockEntry("sll_4.c", 76);
    logAssignNoOffset("sll_4.c", 76, &tmp, "struct list *", "tmp", tmp,
                      "struct list", "list_create", 0);
    dumpVarsOutOfScope();
    l = tmp;
    logAssignNoOffset("sll_4.c", 76, &l, "struct list *", "l", l, "struct list",
                      "tmp", 0);
    logBlockExit("sll_4.c", 77);
    tmp___0 = node_malloc(1);
    logBlockEntry("sll_4.c", 77);
    logAssignNoOffset("sll_4.c", 77, &tmp___0, "struct node *", "tmp___0",
                      tmp___0, "struct node", "node_malloc", 0);
    dumpVarsOutOfScope();
    n1 = tmp___0;
    logAssignNoOffset("sll_4.c", 77, &n1, "struct node *", "n1", n1,
                      "struct node", "tmp___0", 0);
    logBlockExit("sll_4.c", 78);
    tmp___1 = node_malloc(2);
    logBlockEntry("sll_4.c", 78);
    logAssignNoOffset("sll_4.c", 78, &tmp___1, "struct node *", "tmp___1",
                      tmp___1, "struct node", "node_malloc", 0);
    dumpVarsOutOfScope();
    n2 = tmp___1;
    logAssignNoOffset("sll_4.c", 78, &n2, "struct node *", "n2", n2,
                      "struct node", "tmp___1", 0);
    logBlockExit("sll_4.c", 79);
    tmp___2 = node_malloc(3);
    logBlockEntry("sll_4.c", 79);
    logAssignNoOffset("sll_4.c", 79, &tmp___2, "struct node *", "tmp___2",
                      tmp___2, "struct node", "node_malloc", 0);
    dumpVarsOutOfScope();
    n3 = tmp___2;
    logAssignNoOffset("sll_4.c", 79, &n3, "struct node *", "n3", n3,
                      "struct node", "tmp___2", 0);
    logBlockExit("sll_4.c", 80);
    list_add(l, n1);
    logBlockEntry("", -1);
    dumpVarsOutOfScope();
    logBlockExit("sll_4.c", 81);
    list_add(l, n2);
    logBlockEntry("", -1);
    dumpVarsOutOfScope();
    logBlockExit("sll_4.c", 82);
    list_add(l, n3);
    logBlockEntry("", -1);
    dumpVarsOutOfScope();
    logBlockExit("sll_4.c", 83);
    i = list_remove(l);
    logBlockEntry("", -1);
    dumpVarsOutOfScope();
    logBlockExit("sll_4.c", 84);
    list_dispose(l);
    logBlockEntry("", -1);
    dumpVarsOutOfScope();
    logBlockExit("", -1);
    {
      logVarOutOfScope("l", &l);
      logVarOutOfScope("tmp", &tmp);
      logVarOutOfScope("n1", &n1);
      logVarOutOfScope("tmp___0", &tmp___0);
      logVarOutOfScope("n2", &n2);
      logVarOutOfScope("tmp___1", &tmp___1);
      logVarOutOfScope("n3", &n3);
      logVarOutOfScope("tmp___2", &tmp___2);
      {
        logComment("Function Exited");
        return (0);
      }
    }
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe2a(%rip),%rdi
call   1050 <logComment@plt>
lea    -0x10(%rbp),%rcx
lea    0xe2b(%rip),%rdi
lea    0xe28(%rip),%rsi
lea    0xe23(%rip),%rdx
call   1040 <logVarInScope@plt>
lea    -0x18(%rbp),%rcx
lea    0xe0d(%rip),%rdi
lea    0xe1a(%rip),%rsi
lea    0xe05(%rip),%rdx
call   1040 <logVarInScope@plt>
lea    0xdf3(%rip),%rdi
lea    0xe04(%rip),%rsi
lea    0xe00(%rip),%rdx
lea    -0x20(%rbp),%rcx
call   1040 <logVarInScope@plt>
lea    0xdd5(%rip),%rdi
lea    0xdf7(%rip),%rsi
lea    0xde2(%rip),%rdx
lea    -0x28(%rbp),%rcx
call   1040 <logVarInScope@plt>
lea    0xdb7(%rip),%rdi
lea    0xde1(%rip),%rsi
lea    0xdc4(%rip),%rdx
lea    -0x30(%rbp),%rcx
call   1040 <logVarInScope@plt>
lea    0xd99(%rip),%rdi
lea    0xdc6(%rip),%rsi
lea    0xda6(%rip),%rdx
lea    -0x38(%rbp),%rcx
call   1040 <logVarInScope@plt>
lea    0xd7b(%rip),%rdi
lea    0xdb0(%rip),%rsi
lea    0xd88(%rip),%rdx
lea    -0x40(%rbp),%rcx
call   1040 <logVarInScope@plt>
lea    0xd5d(%rip),%rdi
lea    0xd95(%rip),%rsi
lea    0xd6a(%rip),%rdx
lea    -0x48(%rbp),%rcx
call   1040 <logVarInScope@plt>
mov    $0x0,%al
call   1080 <list_create@plt>
mov    %rax,-0x18(%rbp)
lea    0xd7b(%rip),%rdi
mov    $0x4c,%esi
call   1070 <logBlockEntry@plt>
lea    -0x18(%rbp),%rdx
mov    -0x18(%rbp),%r9
lea    0xd62(%rip),%rdi
mov    $0x4c,%esi
lea    0xd15(%rip),%rcx
lea    0xd1c(%rip),%r8
lea    0xd50(%rip),%r10
lea    0xd55(%rip),%rax
xor    %r11d,%r11d
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
movl   $0x0,0x10(%rsp)
call   1090 <logAssignNoOffset@plt>
mov    $0x0,%al
call   10c0 <dumpVarsOutOfScope@plt>
mov    -0x18(%rbp),%rax
mov    %rax,-0x10(%rbp)
lea    -0x10(%rbp),%rdx
mov    -0x10(%rbp),%r9
lea    0xd0a(%rip),%rdi
mov    $0x4c,%esi
lea    0xcbd(%rip),%rcx
lea    0xcb4(%rip),%r8
lea    0xcf8(%rip),%r10
lea    0xcb6(%rip),%rax
xor    %r11d,%r11d
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
movl   $0x0,0x10(%rsp)
call   1090 <logAssignNoOffset@plt>
lea    0xcc9(%rip),%rdi
mov    $0x4d,%esi
call   10a0 <logBlockExit@plt>
mov    $0x1,%edi
call   1060 <node_malloc@plt>
mov    %rax,-0x28(%rbp)
lea    0xcaa(%rip),%rdi
mov    $0x4d,%esi
call   1070 <logBlockEntry@plt>
mov    -0x28(%rbp),%r9
lea    0xc95(%rip),%rdi
mov    $0x4d,%esi
lea    -0x28(%rbp),%rdx
lea    0xc59(%rip),%rcx
lea    0xc60(%rip),%r8
lea    0xc97(%rip),%r10
lea    0xc9c(%rip),%rax
xor    %r11d,%r11d
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
movl   $0x0,0x10(%rsp)
call   1090 <logAssignNoOffset@plt>
mov    $0x0,%al
call   10c0 <dumpVarsOutOfScope@plt>
mov    -0x28(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%r9
lea    0xc3d(%rip),%rdi
mov    $0x4d,%esi
lea    -0x20(%rbp),%rdx
lea    0xc01(%rip),%rcx
lea    0xbf7(%rip),%r8
lea    0xc3f(%rip),%r10
lea    0xbfa(%rip),%rax
xor    %r11d,%r11d
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
movl   $0x0,0x10(%rsp)
call   1090 <logAssignNoOffset@plt>
lea    0xbf8(%rip),%rdi
mov    $0x4e,%esi
call   10a0 <logBlockExit@plt>
mov    $0x2,%edi
call   1060 <node_malloc@plt>
mov    %rax,-0x38(%rbp)
lea    0xbd9(%rip),%rdi
mov    $0x4e,%esi
call   1070 <logBlockEntry@plt>
mov    -0x38(%rbp),%r9
lea    0xbc4(%rip),%rdi
mov    $0x4e,%esi
lea    -0x38(%rbp),%rdx
lea    0xb88(%rip),%rcx
lea    0xb9a(%rip),%r8
lea    0xbc6(%rip),%r10
lea    0xbcb(%rip),%rax
xor    %r11d,%r11d
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
movl   $0x0,0x10(%rsp)
call   1090 <logAssignNoOffset@plt>
mov    $0x0,%al
call   10c0 <dumpVarsOutOfScope@plt>
mov    -0x38(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%r9
lea    0xb6c(%rip),%rdi
mov    $0x4e,%esi
lea    -0x30(%rbp),%rdx
lea    0xb30(%rip),%rcx
lea    0xb3f(%rip),%r8
lea    0xb6e(%rip),%r10
lea    0xb34(%rip),%rax
xor    %r11d,%r11d
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
movl   $0x0,0x10(%rsp)
call   1090 <logAssignNoOffset@plt>
lea    0xb27(%rip),%rdi
mov    $0x4f,%esi
call   10a0 <logBlockExit@plt>
mov    $0x3,%edi
call   1060 <node_malloc@plt>
mov    %rax,-0x48(%rbp)
lea    0xb08(%rip),%rdi
mov    $0x4f,%esi
call   1070 <logBlockEntry@plt>
mov    -0x48(%rbp),%r9
lea    0xaf3(%rip),%rdi
mov    $0x4f,%esi
lea    -0x48(%rbp),%rdx
lea    0xab7(%rip),%rcx
lea    0xad4(%rip),%r8
lea    0xaf5(%rip),%r10
lea    0xafa(%rip),%rax
xor    %r11d,%r11d
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
movl   $0x0,0x10(%rsp)
call   1090 <logAssignNoOffset@plt>
mov    $0x0,%al
call   10c0 <dumpVarsOutOfScope@plt>
mov    -0x48(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x40(%rbp),%r9
lea    0xa9b(%rip),%rdi
mov    $0x4f,%esi
lea    -0x40(%rbp),%rdx
lea    0xa5f(%rip),%rcx
lea    0xa79(%rip),%r8
lea    0xa9d(%rip),%r10
lea    0xa6e(%rip),%rax
xor    %r11d,%r11d
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
movl   $0x0,0x10(%rsp)
call   1090 <logAssignNoOffset@plt>
lea    0xa56(%rip),%rdi
mov    $0x50,%esi
call   10a0 <logBlockExit@plt>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10b0 <list_add@plt>
lea    0xa19(%rip),%rdi
mov    $0xffffffff,%esi
call   1070 <logBlockEntry@plt>
mov    $0x0,%al
call   10c0 <dumpVarsOutOfScope@plt>
lea    0xa20(%rip),%rdi
mov    $0x51,%esi
call   10a0 <logBlockExit@plt>
mov    -0x10(%rbp),%rdi
mov    -0x30(%rbp),%rsi
call   10b0 <list_add@plt>
lea    0x9e3(%rip),%rdi
mov    $0xffffffff,%esi
call   1070 <logBlockEntry@plt>
mov    $0x0,%al
call   10c0 <dumpVarsOutOfScope@plt>
lea    0x9ea(%rip),%rdi
mov    $0x52,%esi
call   10a0 <logBlockExit@plt>
mov    -0x10(%rbp),%rdi
mov    -0x40(%rbp),%rsi
call   10b0 <list_add@plt>
lea    0x9ad(%rip),%rdi
mov    $0xffffffff,%esi
call   1070 <logBlockEntry@plt>
mov    $0x0,%al
call   10c0 <dumpVarsOutOfScope@plt>
lea    0x9b4(%rip),%rdi
mov    $0x53,%esi
call   10a0 <logBlockExit@plt>
mov    -0x10(%rbp),%rdi
call   10d0 <list_remove@plt>
mov    %eax,-0x8(%rbp)
lea    0x978(%rip),%rdi
mov    $0xffffffff,%esi
call   1070 <logBlockEntry@plt>
mov    $0x0,%al
call   10c0 <dumpVarsOutOfScope@plt>
lea    0x97f(%rip),%rdi
mov    $0x54,%esi
call   10a0 <logBlockExit@plt>
mov    -0x10(%rbp),%rdi
call   1030 <list_dispose@plt>
lea    0x946(%rip),%rdi
mov    $0xffffffff,%esi
call   1070 <logBlockEntry@plt>
mov    $0x0,%al
call   10c0 <dumpVarsOutOfScope@plt>
lea    0x92e(%rip),%rdi
mov    $0xffffffff,%esi
call   10a0 <logBlockExit@plt>
lea    -0x10(%rbp),%rsi
lea    0x8f5(%rip),%rdi
call   10e0 <logVarOutOfScope@plt>
lea    -0x18(%rbp),%rsi
lea    0x8f5(%rip),%rdi
call   10e0 <logVarOutOfScope@plt>
lea    0x8ed(%rip),%rdi
lea    -0x20(%rbp),%rsi
call   10e0 <logVarOutOfScope@plt>
lea    0x8ee(%rip),%rdi
lea    -0x28(%rbp),%rsi
call   10e0 <logVarOutOfScope@plt>
lea    0x8e6(%rip),%rdi
lea    -0x30(%rbp),%rsi
call   10e0 <logVarOutOfScope@plt>
lea    0x8d9(%rip),%rdi
lea    -0x38(%rbp),%rsi
call   10e0 <logVarOutOfScope@plt>
lea    0x8d1(%rip),%rdi
lea    -0x40(%rbp),%rsi
call   10e0 <logVarOutOfScope@plt>
lea    0x8c4(%rip),%rdi
lea    -0x48(%rbp),%rsi
call   10e0 <logVarOutOfScope@plt>
lea    0x8f4(%rip),%rdi
call   1050 <logComment@plt>
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
lea    0xe2b(%rip),%rdi
call   1050 <logComment@plt>
lea    0xe30(%rip),%rbp
lea    0xe2d(%rip),%rsi
lea    0xe28(%rip),%r12
lea    0x8(%rsp),%rcx
mov    %rbp,%rdi
mov    %r12,%rdx
call   1040 <logVarInScope@plt>
lea    0xe1f(%rip),%rsi
lea    0x38(%rsp),%r14
mov    %rbp,%rdi
mov    %r12,%rdx
mov    %r14,%rcx
call   1040 <logVarInScope@plt>
lea    0xe09(%rip),%rsi
lea    0xe05(%rip),%rbx
lea    0x30(%rsp),%rcx
mov    %rbp,%rdi
mov    %rbx,%rdx
call   1040 <logVarInScope@plt>
lea    0xdfc(%rip),%rsi
lea    0x20(%rsp),%rcx
mov    %rbp,%rdi
mov    %rbx,%rdx
call   1040 <logVarInScope@plt>
lea    0xded(%rip),%rsi
lea    0x28(%rsp),%rcx
mov    %rbp,%rdi
mov    %rbx,%rdx
call   1040 <logVarInScope@plt>
lea    0xdd9(%rip),%rsi
lea    0x18(%rsp),%rcx
mov    %rbp,%rdi
mov    %rbx,%rdx
call   1040 <logVarInScope@plt>
lea    0xdca(%rip),%rsi
lea    0x40(%rsp),%rcx
mov    %rbp,%rdi
mov    %rbx,%rdx
call   1040 <logVarInScope@plt>
lea    0xdb6(%rip),%rsi
lea    0x10(%rsp),%rcx
mov    %rbp,%rdi
mov    %rbx,%rdx
call   1040 <logVarInScope@plt>
xor    %eax,%eax
call   1080 <list_create@plt>
mov    %rax,0x38(%rsp)
lea    0xd9b(%rip),%r13
mov    %r13,%rdi
mov    $0x4c,%esi
call   1070 <logBlockEntry@plt>
mov    0x38(%rsp),%r9
sub    $0x8,%rsp
lea    0xd92(%rip),%rax
lea    0xd7f(%rip),%r15
mov    %r13,%rdi
mov    $0x4c,%esi
mov    %r14,%rdx
mov    %r12,%rcx
lea    0xd2f(%rip),%rbp
mov    %rbp,%r8
push   $0x0
push   %rax
push   %r15
call   1090 <logAssignNoOffset@plt>
add    $0x20,%rsp
xor    %eax,%eax
call   10c0 <dumpVarsOutOfScope@plt>
mov    0x38(%rsp),%r9
mov    %r9,0x8(%rsp)
sub    $0x8,%rsp
mov    %r13,%rdi
mov    $0x4c,%esi
lea    0x10(%rsp),%rdx
mov    %r12,%rcx
lea    0xce2(%rip),%r8
push   $0x0
push   %rbp
push   %r15
call   1090 <logAssignNoOffset@plt>
add    $0x20,%rsp
mov    %r13,%rdi
mov    $0x4d,%esi
call   10a0 <logBlockExit@plt>
mov    $0x1,%edi
call   1060 <node_malloc@plt>
mov    %rax,0x20(%rsp)
mov    %r13,%rdi
mov    $0x4d,%esi
call   1070 <logBlockEntry@plt>
mov    0x20(%rsp),%r9
sub    $0x8,%rsp
lea    0xd0a(%rip),%r15
lea    0xcf7(%rip),%rbp
mov    %r13,%rdi
mov    $0x4d,%esi
lea    0x28(%rsp),%rdx
mov    %rbx,%rcx
lea    0xca2(%rip),%r14
mov    %r14,%r8
push   $0x0
push   %r15
push   %rbp
call   1090 <logAssignNoOffset@plt>
add    $0x20,%rsp
xor    %eax,%eax
call   10c0 <dumpVarsOutOfScope@plt>
mov    0x20(%rsp),%r9
mov    %r9,0x30(%rsp)
sub    $0x8,%rsp
mov    %r13,%rdi
mov    $0x4d,%esi
lea    0x38(%rsp),%rdx
mov    %rbx,%rcx
lea    0xc54(%rip),%r8
push   $0x0
push   %r14
push   %rbp
call   1090 <logAssignNoOffset@plt>
add    $0x20,%rsp
mov    %r13,%rdi
mov    $0x4e,%esi
call   10a0 <logBlockExit@plt>
mov    $0x2,%edi
call   1060 <node_malloc@plt>
mov    %rax,0x18(%rsp)
mov    %r13,%rdi
mov    $0x4e,%esi
call   1070 <logBlockEntry@plt>
mov    0x18(%rsp),%r9
sub    $0x8,%rsp
mov    %r13,%rdi
mov    $0x4e,%esi
lea    0x20(%rsp),%rdx
mov    %rbx,%rcx
lea    0xc19(%rip),%r14
mov    %r14,%r8
push   $0x0
push   %r15
push   %rbp
call   1090 <logAssignNoOffset@plt>
add    $0x20,%rsp
xor    %eax,%eax
call   10c0 <dumpVarsOutOfScope@plt>
mov    0x18(%rsp),%r9
mov    %r9,0x28(%rsp)
sub    $0x8,%rsp
mov    %r13,%rdi
mov    $0x4e,%esi
lea    0x30(%rsp),%rdx
mov    %rbx,%rcx
lea    0xbd9(%rip),%r8
push   $0x0
push   %r14
push   %rbp
call   1090 <logAssignNoOffset@plt>
add    $0x20,%rsp
mov    %r13,%rdi
mov    $0x4f,%esi
call   10a0 <logBlockExit@plt>
mov    $0x3,%edi
call   1060 <node_malloc@plt>
mov    %rax,0x10(%rsp)
mov    %r13,%rdi
mov    $0x4f,%esi
call   1070 <logBlockEntry@plt>
mov    0x10(%rsp),%r9
sub    $0x8,%rsp
mov    %r13,%rdi
mov    $0x4f,%esi
lea    0x18(%rsp),%rdx
mov    %rbx,%rcx
lea    0xb90(%rip),%r12
mov    %r12,%r8
push   $0x0
push   %r15
push   %rbp
call   1090 <logAssignNoOffset@plt>
add    $0x20,%rsp
xor    %eax,%eax
call   10c0 <dumpVarsOutOfScope@plt>
mov    0x10(%rsp),%r9
mov    %r9,0x40(%rsp)
sub    $0x8,%rsp
mov    %r13,%rdi
mov    $0x4f,%esi
lea    0x48(%rsp),%r15
mov    %r15,%rdx
mov    %rbx,%rcx
lea    0xb4d(%rip),%r14
mov    %r14,%r8
push   $0x0
push   %r12
push   %rbp
call   1090 <logAssignNoOffset@plt>
add    $0x20,%rsp
mov    %r13,%rdi
mov    $0x50,%esi
call   10a0 <logBlockExit@plt>
mov    0x8(%rsp),%rdi
mov    0x30(%rsp),%rsi
call   10b0 <list_add@plt>
lea    0xb05(%rip),%rbx
mov    %rbx,%rdi
mov    $0xffffffff,%esi
call   1070 <logBlockEntry@plt>
xor    %eax,%eax
call   10c0 <dumpVarsOutOfScope@plt>
mov    %r13,%rdi
mov    $0x51,%esi
call   10a0 <logBlockExit@plt>
mov    0x8(%rsp),%rdi
mov    0x28(%rsp),%rsi
call   10b0 <list_add@plt>
mov    %rbx,%rdi
mov    $0xffffffff,%esi
call   1070 <logBlockEntry@plt>
xor    %eax,%eax
call   10c0 <dumpVarsOutOfScope@plt>
mov    %r13,%rdi
mov    $0x52,%esi
call   10a0 <logBlockExit@plt>
mov    0x8(%rsp),%rdi
mov    0x40(%rsp),%rsi
call   10b0 <list_add@plt>
mov    %rbx,%rdi
mov    $0xffffffff,%esi
call   1070 <logBlockEntry@plt>
xor    %eax,%eax
call   10c0 <dumpVarsOutOfScope@plt>
mov    %r13,%rdi
mov    $0x53,%esi
call   10a0 <logBlockExit@plt>
mov    0x8(%rsp),%rdi
call   10d0 <list_remove@plt>
mov    %rbx,%rdi
mov    $0xffffffff,%esi
call   1070 <logBlockEntry@plt>
xor    %eax,%eax
call   10c0 <dumpVarsOutOfScope@plt>
mov    %r13,%rdi
mov    $0x54,%esi
call   10a0 <logBlockExit@plt>
mov    0x8(%rsp),%rdi
call   1030 <list_dispose@plt>
mov    %rbx,%rdi
mov    $0xffffffff,%esi
call   1070 <logBlockEntry@plt>
xor    %eax,%eax
call   10c0 <dumpVarsOutOfScope@plt>
mov    %rbx,%rdi
mov    $0xffffffff,%esi
call   10a0 <logBlockExit@plt>
lea    0xa03(%rip),%rdi
lea    0x8(%rsp),%rsi
call   10e0 <logVarOutOfScope@plt>
lea    0xa02(%rip),%rdi
lea    0x38(%rsp),%rsi
call   10e0 <logVarOutOfScope@plt>
lea    0x9f5(%rip),%rdi
lea    0x30(%rsp),%rsi
call   10e0 <logVarOutOfScope@plt>
lea    0x9f5(%rip),%rdi
lea    0x20(%rsp),%rsi
call   10e0 <logVarOutOfScope@plt>
lea    0x9ec(%rip),%rdi
lea    0x28(%rsp),%rsi
call   10e0 <logVarOutOfScope@plt>
lea    0x9de(%rip),%rdi
lea    0x18(%rsp),%rsi
call   10e0 <logVarOutOfScope@plt>
mov    %r14,%rdi
mov    %r15,%rsi
call   10e0 <logVarOutOfScope@plt>
mov    %r12,%rdi
lea    0x10(%rsp),%rsi
call   10e0 <logVarOutOfScope@plt>
lea    0xa00(%rip),%rdi
call   1050 <logComment@plt>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.list = type opaque
%struct.node = type { i32 }
@.str = [17 x i8] c"Function Entered\00"
@.str.1 = [6 x i8] c"local\00"
@.str.2 = [2 x i8] c"l\00"
@.str.3 = [14 x i8] c"struct list *\00"
@.str.4 = [4 x i8] c"tmp\00"
@.str.5 = [3 x i8] c"n1\00"
@.str.6 = [14 x i8] c"struct node *\00"
@.str.7 = [8 x i8] c"tmp___0\00"
@.str.8 = [3 x i8] c"n2\00"
@.str.9 = [8 x i8] c"tmp___1\00"
@.str.10 = [3 x i8] c"n3\00"
@.str.11 = [8 x i8] c"tmp___2\00"
@.str.12 = [8 x i8] c"sll_4.c\00"
@.str.13 = [12 x i8] c"struct list\00"
@.str.14 = [12 x i8] c"list_create\00"
@.str.15 = [12 x i8] c"struct node\00"
@.str.16 = [12 x i8] c"node_malloc\00"
@.str.17 = [1 x i8] zeroinitializer
@.str.18 = [16 x i8] c"Function Exited\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca %struct.list*
%4 = alloca %struct.list*
%5 = alloca %struct.node*
%6 = alloca %struct.node*
%7 = alloca %struct.node*
%8 = alloca %struct.node*
%9 = alloca %struct.node*
%10 = alloca %struct.node*
store i32 0, i32* %1
%11 = call i32 @logComment(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
%12 = bitcast %struct.list** %3 to %struct.node**
%13 = call i32 @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), %struct.node** %12)
%14 = bitcast %struct.list** %4 to %struct.node**
%15 = call i32 @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), %struct.node** %14)
%16 = call i32 @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), %struct.node** %5)
%17 = call i32 @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), %struct.node** %6)
%18 = call i32 @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), %struct.node** %7)
%19 = call i32 @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), %struct.node** %8)
%20 = call i32 @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), %struct.node** %9)
%21 = call i32 @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), %struct.node** %10)
%22 = call %struct.node* (...) @list_create()
%23 = bitcast %struct.node* %22 to %struct.list*
store %struct.list* %23, %struct.list** %4
%24 = call i32 @logBlockEntry(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 76)
%25 = bitcast %struct.list** %4 to %struct.node**
%26 = load %struct.list*, %struct.list** %4
%27 = bitcast %struct.list* %26 to %struct.node*
%28 = call i32 @logAssignNoOffset(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 76, %struct.node** %25, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), %struct.node* %27, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0), i32 0)
%29 = call i32 (...) @dumpVarsOutOfScope()
%30 = load %struct.list*, %struct.list** %4
store %struct.list* %30, %struct.list** %3
%31 = bitcast %struct.list** %3 to %struct.node**
%32 = load %struct.list*, %struct.list** %3
%33 = bitcast %struct.list* %32 to %struct.node*
%34 = call i32 @logAssignNoOffset(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 76, %struct.node** %31, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), %struct.node* %33, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 0)
%35 = call i32 @logBlockExit(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 77)
%36 = call %struct.node* @node_malloc(i32 1)
store %struct.node* %36, %struct.node** %6
%37 = call i32 @logBlockEntry(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 77)
%38 = load %struct.node*, %struct.node** %6
%39 = call i32 @logAssignNoOffset(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 77, %struct.node** %6, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), %struct.node* %38, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i32 0)
%40 = call i32 (...) @dumpVarsOutOfScope()
%41 = load %struct.node*, %struct.node** %6
store %struct.node* %41, %struct.node** %5
%42 = load %struct.node*, %struct.node** %5
%43 = call i32 @logAssignNoOffset(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 77, %struct.node** %5, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), %struct.node* %42, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 0)
%44 = call i32 @logBlockExit(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 78)
%45 = call %struct.node* @node_malloc(i32 2)
store %struct.node* %45, %struct.node** %8
%46 = call i32 @logBlockEntry(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 78)
%47 = load %struct.node*, %struct.node** %8
%48 = call i32 @logAssignNoOffset(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 78, %struct.node** %8, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), %struct.node* %47, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i32 0)
%49 = call i32 (...) @dumpVarsOutOfScope()
%50 = load %struct.node*, %struct.node** %8
store %struct.node* %50, %struct.node** %7
%51 = load %struct.node*, %struct.node** %7
%52 = call i32 @logAssignNoOffset(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 78, %struct.node** %7, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), %struct.node* %51, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i32 0)
%53 = call i32 @logBlockExit(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 79)
%54 = call %struct.node* @node_malloc(i32 3)
store %struct.node* %54, %struct.node** %10
%55 = call i32 @logBlockEntry(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 79)
%56 = load %struct.node*, %struct.node** %10
%57 = call i32 @logAssignNoOffset(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 79, %struct.node** %10, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0), %struct.node* %56, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i32 0)
%58 = call i32 (...) @dumpVarsOutOfScope()
%59 = load %struct.node*, %struct.node** %10
store %struct.node* %59, %struct.node** %9
%60 = load %struct.node*, %struct.node** %9
%61 = call i32 @logAssignNoOffset(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 79, %struct.node** %9, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), %struct.node* %60, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0), i32 0)
%62 = call i32 @logBlockExit(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 80)
%63 = load %struct.list*, %struct.list** %3
%64 = bitcast %struct.list* %63 to %struct.node*
%65 = load %struct.node*, %struct.node** %5
%66 = call i32 @list_add(%struct.node* %64, %struct.node* %65)
%67 = call i32 @logBlockEntry(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.17, i64 0, i64 0), i32 -1)
%68 = call i32 (...) @dumpVarsOutOfScope()
%69 = call i32 @logBlockExit(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 81)
%70 = load %struct.list*, %struct.list** %3
%71 = bitcast %struct.list* %70 to %struct.node*
%72 = load %struct.node*, %struct.node** %7
%73 = call i32 @list_add(%struct.node* %71, %struct.node* %72)
%74 = call i32 @logBlockEntry(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.17, i64 0, i64 0), i32 -1)
%75 = call i32 (...) @dumpVarsOutOfScope()
%76 = call i32 @logBlockExit(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 82)
%77 = load %struct.list*, %struct.list** %3
%78 = bitcast %struct.list* %77 to %struct.node*
%79 = load %struct.node*, %struct.node** %9
%80 = call i32 @list_add(%struct.node* %78, %struct.node* %79)
%81 = call i32 @logBlockEntry(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.17, i64 0, i64 0), i32 -1)
%82 = call i32 (...) @dumpVarsOutOfScope()
%83 = call i32 @logBlockExit(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 83)
%84 = load %struct.list*, %struct.list** %3
%85 = bitcast %struct.list* %84 to %struct.node*
%86 = call i32 @list_remove(%struct.node* %85)
store i32 %86, i32* %2
%87 = call i32 @logBlockEntry(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.17, i64 0, i64 0), i32 -1)
%88 = call i32 (...) @dumpVarsOutOfScope()
%89 = call i32 @logBlockExit(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 84)
%90 = load %struct.list*, %struct.list** %3
%91 = bitcast %struct.list* %90 to %struct.node*
%92 = call i32 @list_dispose(%struct.node* %91)
%93 = call i32 @logBlockEntry(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.17, i64 0, i64 0), i32 -1)
%94 = call i32 (...) @dumpVarsOutOfScope()
%95 = call i32 @logBlockExit(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.17, i64 0, i64 0), i32 -1)
%96 = bitcast %struct.list** %3 to %struct.node**
%97 = call i32 @logVarOutOfScope(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), %struct.node** %96)
%98 = bitcast %struct.list** %4 to %struct.node**
%99 = call i32 @logVarOutOfScope(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), %struct.node** %98)
%100 = call i32 @logVarOutOfScope(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), %struct.node** %5)
%101 = call i32 @logVarOutOfScope(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), %struct.node** %6)
%102 = call i32 @logVarOutOfScope(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), %struct.node** %7)
%103 = call i32 @logVarOutOfScope(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), %struct.node** %8)
%104 = call i32 @logVarOutOfScope(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), %struct.node** %9)
%105 = call i32 @logVarOutOfScope(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0), %struct.node** %10)
%106 = call i32 @logComment(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
%struct.list = type opaque
%struct.node = type { i32 }
@.str = [17 x i8] c"Function Entered\00"
@.str.1 = [6 x i8] c"local\00"
@.str.2 = [2 x i8] c"l\00"
@.str.3 = [14 x i8] c"struct list *\00"
@.str.4 = [4 x i8] c"tmp\00"
@.str.5 = [3 x i8] c"n1\00"
@.str.6 = [14 x i8] c"struct node *\00"
@.str.7 = [8 x i8] c"tmp___0\00"
@.str.8 = [3 x i8] c"n2\00"
@.str.9 = [8 x i8] c"tmp___1\00"
@.str.10 = [3 x i8] c"n3\00"
@.str.11 = [8 x i8] c"tmp___2\00"
@.str.12 = [8 x i8] c"sll_4.c\00"
@.str.13 = [12 x i8] c"struct list\00"
@.str.14 = [12 x i8] c"list_create\00"
@.str.15 = [12 x i8] c"struct node\00"
@.str.16 = [12 x i8] c"node_malloc\00"
@.str.17 = [1 x i8] zeroinitializer
@.str.18 = [16 x i8] c"Function Exited\00"
define i32 @main() {
%1 = alloca %struct.list*
%2 = alloca %struct.list*
%3 = alloca %struct.node*
%4 = alloca %struct.node*
%5 = alloca %struct.node*
%6 = alloca %struct.node*
%7 = alloca %struct.node*
%8 = alloca %struct.node*
%9 = bitcast %struct.list** %1 to i8*
%10 = bitcast %struct.list** %2 to i8*
%11 = bitcast %struct.node** %3 to i8*
%12 = bitcast %struct.node** %4 to i8*
%13 = bitcast %struct.node** %5 to i8*
%14 = bitcast %struct.node** %6 to i8*
%15 = bitcast %struct.node** %7 to i8*
%16 = bitcast %struct.node** %8 to i8*
%17 = tail call i32 @logComment(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
%18 = bitcast %struct.list** %1 to %struct.node**
%19 = call i32 @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), %struct.node** %18)
%20 = bitcast %struct.list** %2 to %struct.node**
%21 = call i32 @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), %struct.node** %20)
%22 = call i32 @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), %struct.node** %3)
%23 = call i32 @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), %struct.node** %4)
%24 = call i32 @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), %struct.node** %5)
%25 = call i32 @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), %struct.node** %6)
%26 = call i32 @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), %struct.node** %7)
%27 = call i32 @logVarInScope(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), %struct.node** %8)
%28 = call %struct.node* (...) @list_create()
store %struct.node* %28, %struct.node** %20
%29 = call i32 @logBlockEntry(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 76)
%30 = load %struct.node*, %struct.node** %20
%31 = call i32 @logAssignNoOffset(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 76, %struct.node** %20, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), %struct.node* %30, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0), i32 0)
%32 = call i32 (...) @dumpVarsOutOfScope()
%33 = load %struct.list*, %struct.list** %2
store %struct.list* %33, %struct.list** %1
%34 = bitcast %struct.list* %33 to %struct.node*
%35 = call i32 @logAssignNoOffset(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 76, %struct.node** %18, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), %struct.node* %34, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 0)
%36 = call i32 @logBlockExit(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 77)
%37 = call %struct.node* @node_malloc(i32 1)
store %struct.node* %37, %struct.node** %4
%38 = call i32 @logBlockEntry(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 77)
%39 = load %struct.node*, %struct.node** %4
%40 = call i32 @logAssignNoOffset(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 77, %struct.node** %4, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), %struct.node* %39, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i32 0)
%41 = call i32 (...) @dumpVarsOutOfScope()
%42 = load %struct.node*, %struct.node** %4
store %struct.node* %42, %struct.node** %3
%43 = call i32 @logAssignNoOffset(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 77, %struct.node** %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), %struct.node* %42, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 0)
%44 = call i32 @logBlockExit(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 78)
%45 = call %struct.node* @node_malloc(i32 2)
store %struct.node* %45, %struct.node** %6
%46 = call i32 @logBlockEntry(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 78)
%47 = load %struct.node*, %struct.node** %6
%48 = call i32 @logAssignNoOffset(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 78, %struct.node** %6, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), %struct.node* %47, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i32 0)
%49 = call i32 (...) @dumpVarsOutOfScope()
%50 = load %struct.node*, %struct.node** %6
store %struct.node* %50, %struct.node** %5
%51 = call i32 @logAssignNoOffset(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 78, %struct.node** %5, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), %struct.node* %50, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i32 0)
%52 = call i32 @logBlockExit(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 79)
%53 = call %struct.node* @node_malloc(i32 3)
store %struct.node* %53, %struct.node** %8
%54 = call i32 @logBlockEntry(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 79)
%55 = load %struct.node*, %struct.node** %8
%56 = call i32 @logAssignNoOffset(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 79, %struct.node** %8, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0), %struct.node* %55, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i32 0)
%57 = call i32 (...) @dumpVarsOutOfScope()
%58 = load %struct.node*, %struct.node** %8
store %struct.node* %58, %struct.node** %7
%59 = call i32 @logAssignNoOffset(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 79, %struct.node** %7, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), %struct.node* %58, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0), i32 0)
%60 = call i32 @logBlockExit(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 80)
%61 = load %struct.node*, %struct.node** %18
%62 = load %struct.node*, %struct.node** %3
%63 = call i32 @list_add(%struct.node* %61, %struct.node* %62)
%64 = call i32 @logBlockEntry(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.17, i64 0, i64 0), i32 -1)
%65 = call i32 (...) @dumpVarsOutOfScope()
%66 = call i32 @logBlockExit(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 81)
%67 = load %struct.node*, %struct.node** %18
%68 = load %struct.node*, %struct.node** %5
%69 = call i32 @list_add(%struct.node* %67, %struct.node* %68)
%70 = call i32 @logBlockEntry(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.17, i64 0, i64 0), i32 -1)
%71 = call i32 (...) @dumpVarsOutOfScope()
%72 = call i32 @logBlockExit(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 82)
%73 = load %struct.node*, %struct.node** %18
%74 = load %struct.node*, %struct.node** %7
%75 = call i32 @list_add(%struct.node* %73, %struct.node* %74)
%76 = call i32 @logBlockEntry(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.17, i64 0, i64 0), i32 -1)
%77 = call i32 (...) @dumpVarsOutOfScope()
%78 = call i32 @logBlockExit(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 83)
%79 = load %struct.node*, %struct.node** %18
%80 = call i32 @list_remove(%struct.node* %79)
%81 = call i32 @logBlockEntry(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.17, i64 0, i64 0), i32 -1)
%82 = call i32 (...) @dumpVarsOutOfScope()
%83 = call i32 @logBlockExit(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 84)
%84 = load %struct.node*, %struct.node** %18
%85 = call i32 @list_dispose(%struct.node* %84)
%86 = call i32 @logBlockEntry(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.17, i64 0, i64 0), i32 -1)
%87 = call i32 (...) @dumpVarsOutOfScope()
%88 = call i32 @logBlockExit(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.17, i64 0, i64 0), i32 -1)
%89 = call i32 @logVarOutOfScope(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), %struct.node** %18)
%90 = call i32 @logVarOutOfScope(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), %struct.node** %20)
%91 = call i32 @logVarOutOfScope(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), %struct.node** %3)
%92 = call i32 @logVarOutOfScope(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), %struct.node** %4)
%93 = call i32 @logVarOutOfScope(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), %struct.node** %5)
%94 = call i32 @logVarOutOfScope(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), %struct.node** %6)
%95 = call i32 @logVarOutOfScope(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), %struct.node** %7)
%96 = call i32 @logVarOutOfScope(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0), %struct.node** %8)
%97 = call i32 @logComment(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0))
ret i32 0
}