#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 ListNode {
  int dummy;
};

/* Variables and functions */
struct ListNode *createList(int *, int);
int /*<<< orphan*/ freeList(struct ListNode *);
int /*<<< orphan*/ printList(struct ListNode *);
struct ListNode *swapPairs(struct ListNode *);
int main(void) {
  int arr[15] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15};
  struct ListNode *l0 = createList(arr, 0);
  struct ListNode *l1 = createList(arr, 1);
  struct ListNode *l2 = createList(arr, 2);
  struct ListNode *l3 = createList(arr, 3);
  struct ListNode *l4 = createList(arr, 4);
  struct ListNode *l5 = createList(arr, 5);
  struct ListNode *l6 = createList(arr, 6);
  struct ListNode *l7 = createList(arr, 7);
  struct ListNode *l8 = createList(arr, 8);
  struct ListNode *l9 = createList(arr, 9);
  struct ListNode *l10 = createList(arr, 10);
  struct ListNode *l11 = createList(arr, 11);
  struct ListNode *l12 = createList(arr, 12);
  struct ListNode *l13 = createList(arr, 13);
  struct ListNode *l14 = createList(arr, 14);
  l0 = swapPairs(l0);
  l1 = swapPairs(l1);
  l2 = swapPairs(l2);
  l3 = swapPairs(l3);
  l4 = swapPairs(l4);
  l5 = swapPairs(l5);
  l6 = swapPairs(l6);
  l7 = swapPairs(l7);
  l8 = swapPairs(l8);
  l9 = swapPairs(l9);
  l10 = swapPairs(l10);
  l11 = swapPairs(l11);
  l12 = swapPairs(l12);
  l13 = swapPairs(l13);
  l14 = swapPairs(l14);
  printList(l0);
  printList(l1);
  printList(l2);
  printList(l3);
  printList(l4);
  printList(l5);
  printList(l6);
  printList(l7);
  printList(l8);
  printList(l9);
  printList(l10);
  printList(l11);
  printList(l12);
  printList(l13);
  printList(l14);
  freeList(l0);
  freeList(l1);
  freeList(l2);
  freeList(l3);
  freeList(l4);
  freeList(l5);
  freeList(l6);
  freeList(l7);
  freeList(l8);
  freeList(l9);
  freeList(l10);
  freeList(l11);
  freeList(l12);
  freeList(l13);
  freeList(l14);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x40(%rbp),%rdi
lea    0xe93(%rip),%rsi
mov    $0x3c,%edx
call   1050 <memcpy@plt>
lea    -0x40(%rbp),%rdi
xor    %esi,%esi
call   1060 <createList@plt>
mov    %rax,-0x48(%rbp)
lea    -0x40(%rbp),%rdi
mov    $0x1,%esi
call   1060 <createList@plt>
mov    %rax,-0x50(%rbp)
lea    -0x40(%rbp),%rdi
mov    $0x2,%esi
call   1060 <createList@plt>
mov    %rax,-0x58(%rbp)
lea    -0x40(%rbp),%rdi
mov    $0x3,%esi
call   1060 <createList@plt>
mov    %rax,-0x60(%rbp)
lea    -0x40(%rbp),%rdi
mov    $0x4,%esi
call   1060 <createList@plt>
mov    %rax,-0x68(%rbp)
lea    -0x40(%rbp),%rdi
mov    $0x5,%esi
call   1060 <createList@plt>
mov    %rax,-0x70(%rbp)
lea    -0x40(%rbp),%rdi
mov    $0x6,%esi
call   1060 <createList@plt>
mov    %rax,-0x78(%rbp)
lea    -0x40(%rbp),%rdi
mov    $0x7,%esi
call   1060 <createList@plt>
mov    %rax,-0x80(%rbp)
lea    -0x40(%rbp),%rdi
mov    $0x8,%esi
call   1060 <createList@plt>
mov    %rax,-0x88(%rbp)
lea    -0x40(%rbp),%rdi
mov    $0x9,%esi
call   1060 <createList@plt>
mov    %rax,-0x90(%rbp)
lea    -0x40(%rbp),%rdi
mov    $0xa,%esi
call   1060 <createList@plt>
mov    %rax,-0x98(%rbp)
lea    -0x40(%rbp),%rdi
mov    $0xb,%esi
call   1060 <createList@plt>
mov    %rax,-0xa0(%rbp)
lea    -0x40(%rbp),%rdi
mov    $0xc,%esi
call   1060 <createList@plt>
mov    %rax,-0xa8(%rbp)
lea    -0x40(%rbp),%rdi
mov    $0xd,%esi
call   1060 <createList@plt>
mov    %rax,-0xb0(%rbp)
lea    -0x40(%rbp),%rdi
mov    $0xe,%esi
call   1060 <createList@plt>
mov    %rax,-0xb8(%rbp)
mov    -0x48(%rbp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,-0x48(%rbp)
mov    -0x50(%rbp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,-0x50(%rbp)
mov    -0x58(%rbp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,-0x58(%rbp)
mov    -0x60(%rbp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,-0x60(%rbp)
mov    -0x68(%rbp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,-0x68(%rbp)
mov    -0x70(%rbp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,-0x70(%rbp)
mov    -0x78(%rbp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,-0x78(%rbp)
mov    -0x80(%rbp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,-0x80(%rbp)
mov    -0x88(%rbp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,-0x88(%rbp)
mov    -0x90(%rbp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,-0x90(%rbp)
mov    -0x98(%rbp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,-0x98(%rbp)
mov    -0xa0(%rbp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,-0xa0(%rbp)
mov    -0xa8(%rbp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,-0xa8(%rbp)
mov    -0xb0(%rbp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,-0xb0(%rbp)
mov    -0xb8(%rbp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,-0xb8(%rbp)
mov    -0x48(%rbp),%rdi
call   1070 <printList@plt>
mov    -0x50(%rbp),%rdi
call   1070 <printList@plt>
mov    -0x58(%rbp),%rdi
call   1070 <printList@plt>
mov    -0x60(%rbp),%rdi
call   1070 <printList@plt>
mov    -0x68(%rbp),%rdi
call   1070 <printList@plt>
mov    -0x70(%rbp),%rdi
call   1070 <printList@plt>
mov    -0x78(%rbp),%rdi
call   1070 <printList@plt>
mov    -0x80(%rbp),%rdi
call   1070 <printList@plt>
mov    -0x88(%rbp),%rdi
call   1070 <printList@plt>
mov    -0x90(%rbp),%rdi
call   1070 <printList@plt>
mov    -0x98(%rbp),%rdi
call   1070 <printList@plt>
mov    -0xa0(%rbp),%rdi
call   1070 <printList@plt>
mov    -0xa8(%rbp),%rdi
call   1070 <printList@plt>
mov    -0xb0(%rbp),%rdi
call   1070 <printList@plt>
mov    -0xb8(%rbp),%rdi
call   1070 <printList@plt>
mov    -0x48(%rbp),%rdi
call   1030 <freeList@plt>
mov    -0x50(%rbp),%rdi
call   1030 <freeList@plt>
mov    -0x58(%rbp),%rdi
call   1030 <freeList@plt>
mov    -0x60(%rbp),%rdi
call   1030 <freeList@plt>
mov    -0x68(%rbp),%rdi
call   1030 <freeList@plt>
mov    -0x70(%rbp),%rdi
call   1030 <freeList@plt>
mov    -0x78(%rbp),%rdi
call   1030 <freeList@plt>
mov    -0x80(%rbp),%rdi
call   1030 <freeList@plt>
mov    -0x88(%rbp),%rdi
call   1030 <freeList@plt>
mov    -0x90(%rbp),%rdi
call   1030 <freeList@plt>
mov    -0x98(%rbp),%rdi
call   1030 <freeList@plt>
mov    -0xa0(%rbp),%rdi
call   1030 <freeList@plt>
mov    -0xa8(%rbp),%rdi
call   1030 <freeList@plt>
mov    -0xb0(%rbp),%rdi
call   1030 <freeList@plt>
mov    -0xb8(%rbp),%rdi
call   1030 <freeList@plt>
xor    %eax,%eax
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xd8,%rsp
movups 0xed4(%rip),%xmm0
movups %xmm0,0xbc(%rsp)
movaps 0xeb9(%rip),%xmm0
movaps %xmm0,0xb0(%rsp)
movaps 0xe9a(%rip),%xmm0
movaps %xmm0,0xa0(%rsp)
movaps 0xe7b(%rip),%xmm0
movaps %xmm0,0x90(%rsp)
lea    0x90(%rsp),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
call   1050 <createList@plt>
mov    %rax,%r14
mov    %rbx,%rdi
mov    $0x1,%esi
call   1050 <createList@plt>
mov    %rax,%r15
mov    %rbx,%rdi
mov    $0x2,%esi
call   1050 <createList@plt>
mov    %rax,%rbp
mov    %rbx,%rdi
mov    $0x3,%esi
call   1050 <createList@plt>
mov    %rax,%r12
mov    %rbx,%rdi
mov    $0x4,%esi
call   1050 <createList@plt>
mov    %rax,%r13
mov    %rbx,%rdi
mov    $0x5,%esi
call   1050 <createList@plt>
mov    %rax,0x20(%rsp)
mov    %rbx,%rdi
mov    $0x6,%esi
call   1050 <createList@plt>
mov    %rax,0x18(%rsp)
mov    %rbx,%rdi
mov    $0x7,%esi
call   1050 <createList@plt>
mov    %rax,0x10(%rsp)
mov    %rbx,%rdi
mov    $0x8,%esi
call   1050 <createList@plt>
mov    %rax,0x8(%rsp)
mov    %rbx,%rdi
mov    $0x9,%esi
call   1050 <createList@plt>
mov    %rax,(%rsp)
mov    %rbx,%rdi
mov    $0xa,%esi
call   1050 <createList@plt>
mov    %rax,0x88(%rsp)
mov    %rbx,%rdi
mov    $0xb,%esi
call   1050 <createList@plt>
mov    %rax,0x80(%rsp)
mov    %rbx,%rdi
mov    $0xc,%esi
call   1050 <createList@plt>
mov    %rax,0x78(%rsp)
mov    %rbx,%rdi
mov    $0xd,%esi
call   1050 <createList@plt>
mov    %rax,0x70(%rsp)
mov    %rbx,%rdi
mov    $0xe,%esi
call   1050 <createList@plt>
mov    %rax,0x68(%rsp)
mov    %r14,%rdi
call   1040 <swapPairs@plt>
mov    %rax,%rbx
mov    %rax,0x40(%rsp)
mov    %r15,%rdi
call   1040 <swapPairs@plt>
mov    %rax,0x60(%rsp)
mov    %rbp,%rdi
call   1040 <swapPairs@plt>
mov    %rax,%rbp
mov    %r12,%rdi
call   1040 <swapPairs@plt>
mov    %rax,%r14
mov    %r13,%rdi
call   1040 <swapPairs@plt>
mov    %rax,%r15
mov    %rax,0x38(%rsp)
mov    0x20(%rsp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,%r12
mov    %rax,0x30(%rsp)
mov    0x18(%rsp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,0x58(%rsp)
mov    0x10(%rsp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,0x50(%rsp)
mov    0x8(%rsp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,%r13
mov    %rax,0x28(%rsp)
mov    (%rsp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,0x48(%rsp)
mov    0x88(%rsp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,0x20(%rsp)
mov    0x80(%rsp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,0x18(%rsp)
mov    0x78(%rsp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,0x10(%rsp)
mov    0x70(%rsp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,0x8(%rsp)
mov    0x68(%rsp),%rdi
call   1040 <swapPairs@plt>
mov    %rax,(%rsp)
mov    %rbx,%rdi
call   1060 <printList@plt>
mov    0x60(%rsp),%rbx
mov    %rbx,%rdi
call   1060 <printList@plt>
mov    %rbp,%rdi
call   1060 <printList@plt>
mov    %r14,%rdi
call   1060 <printList@plt>
mov    %r15,%rdi
call   1060 <printList@plt>
mov    %r12,%rdi
call   1060 <printList@plt>
mov    0x58(%rsp),%r15
mov    %r15,%rdi
call   1060 <printList@plt>
mov    0x50(%rsp),%r12
mov    %r12,%rdi
call   1060 <printList@plt>
mov    %r13,%rdi
call   1060 <printList@plt>
mov    0x48(%rsp),%r13
mov    %r13,%rdi
call   1060 <printList@plt>
mov    0x20(%rsp),%rdi
call   1060 <printList@plt>
mov    0x18(%rsp),%rdi
call   1060 <printList@plt>
mov    0x10(%rsp),%rdi
call   1060 <printList@plt>
mov    0x8(%rsp),%rdi
call   1060 <printList@plt>
mov    (%rsp),%rdi
call   1060 <printList@plt>
mov    0x40(%rsp),%rdi
call   1030 <freeList@plt>
mov    %rbx,%rdi
call   1030 <freeList@plt>
mov    %rbp,%rdi
call   1030 <freeList@plt>
mov    %r14,%rdi
call   1030 <freeList@plt>
mov    0x38(%rsp),%rdi
call   1030 <freeList@plt>
mov    0x30(%rsp),%rdi
call   1030 <freeList@plt>
mov    %r15,%rdi
call   1030 <freeList@plt>
mov    %r12,%rdi
call   1030 <freeList@plt>
mov    0x28(%rsp),%rdi
call   1030 <freeList@plt>
mov    %r13,%rdi
call   1030 <freeList@plt>
mov    0x20(%rsp),%rdi
call   1030 <freeList@plt>
mov    0x18(%rsp),%rdi
call   1030 <freeList@plt>
mov    0x10(%rsp),%rdi
call   1030 <freeList@plt>
mov    0x8(%rsp),%rdi
call   1030 <freeList@plt>
mov    (%rsp),%rdi
call   1030 <freeList@plt>
xor    %eax,%eax
add    $0xd8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.ListNode = type { i32 }
@__const.main.arr = [15 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15]
define i32 @main() {
%1 = alloca i32
%2 = alloca [15 x i32]
%3 = alloca %struct.ListNode*
%4 = alloca %struct.ListNode*
%5 = alloca %struct.ListNode*
%6 = alloca %struct.ListNode*
%7 = alloca %struct.ListNode*
%8 = alloca %struct.ListNode*
%9 = alloca %struct.ListNode*
%10 = alloca %struct.ListNode*
%11 = alloca %struct.ListNode*
%12 = alloca %struct.ListNode*
%13 = alloca %struct.ListNode*
%14 = alloca %struct.ListNode*
%15 = alloca %struct.ListNode*
%16 = alloca %struct.ListNode*
%17 = alloca %struct.ListNode*
store i32 0, i32* %1
%18 = bitcast [15 x i32]* %2 to i8*
%19 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%20 = call %struct.ListNode* @createList(i32* %19, i32 0)
store %struct.ListNode* %20, %struct.ListNode** %3
%21 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%22 = call %struct.ListNode* @createList(i32* %21, i32 1)
store %struct.ListNode* %22, %struct.ListNode** %4
%23 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%24 = call %struct.ListNode* @createList(i32* %23, i32 2)
store %struct.ListNode* %24, %struct.ListNode** %5
%25 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%26 = call %struct.ListNode* @createList(i32* %25, i32 3)
store %struct.ListNode* %26, %struct.ListNode** %6
%27 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%28 = call %struct.ListNode* @createList(i32* %27, i32 4)
store %struct.ListNode* %28, %struct.ListNode** %7
%29 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%30 = call %struct.ListNode* @createList(i32* %29, i32 5)
store %struct.ListNode* %30, %struct.ListNode** %8
%31 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%32 = call %struct.ListNode* @createList(i32* %31, i32 6)
store %struct.ListNode* %32, %struct.ListNode** %9
%33 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%34 = call %struct.ListNode* @createList(i32* %33, i32 7)
store %struct.ListNode* %34, %struct.ListNode** %10
%35 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%36 = call %struct.ListNode* @createList(i32* %35, i32 8)
store %struct.ListNode* %36, %struct.ListNode** %11
%37 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%38 = call %struct.ListNode* @createList(i32* %37, i32 9)
store %struct.ListNode* %38, %struct.ListNode** %12
%39 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%40 = call %struct.ListNode* @createList(i32* %39, i32 10)
store %struct.ListNode* %40, %struct.ListNode** %13
%41 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%42 = call %struct.ListNode* @createList(i32* %41, i32 11)
store %struct.ListNode* %42, %struct.ListNode** %14
%43 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%44 = call %struct.ListNode* @createList(i32* %43, i32 12)
store %struct.ListNode* %44, %struct.ListNode** %15
%45 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%46 = call %struct.ListNode* @createList(i32* %45, i32 13)
store %struct.ListNode* %46, %struct.ListNode** %16
%47 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%48 = call %struct.ListNode* @createList(i32* %47, i32 14)
store %struct.ListNode* %48, %struct.ListNode** %17
%49 = load %struct.ListNode*, %struct.ListNode** %3
%50 = call %struct.ListNode* @swapPairs(%struct.ListNode* %49)
store %struct.ListNode* %50, %struct.ListNode** %3
%51 = load %struct.ListNode*, %struct.ListNode** %4
%52 = call %struct.ListNode* @swapPairs(%struct.ListNode* %51)
store %struct.ListNode* %52, %struct.ListNode** %4
%53 = load %struct.ListNode*, %struct.ListNode** %5
%54 = call %struct.ListNode* @swapPairs(%struct.ListNode* %53)
store %struct.ListNode* %54, %struct.ListNode** %5
%55 = load %struct.ListNode*, %struct.ListNode** %6
%56 = call %struct.ListNode* @swapPairs(%struct.ListNode* %55)
store %struct.ListNode* %56, %struct.ListNode** %6
%57 = load %struct.ListNode*, %struct.ListNode** %7
%58 = call %struct.ListNode* @swapPairs(%struct.ListNode* %57)
store %struct.ListNode* %58, %struct.ListNode** %7
%59 = load %struct.ListNode*, %struct.ListNode** %8
%60 = call %struct.ListNode* @swapPairs(%struct.ListNode* %59)
store %struct.ListNode* %60, %struct.ListNode** %8
%61 = load %struct.ListNode*, %struct.ListNode** %9
%62 = call %struct.ListNode* @swapPairs(%struct.ListNode* %61)
store %struct.ListNode* %62, %struct.ListNode** %9
%63 = load %struct.ListNode*, %struct.ListNode** %10
%64 = call %struct.ListNode* @swapPairs(%struct.ListNode* %63)
store %struct.ListNode* %64, %struct.ListNode** %10
%65 = load %struct.ListNode*, %struct.ListNode** %11
%66 = call %struct.ListNode* @swapPairs(%struct.ListNode* %65)
store %struct.ListNode* %66, %struct.ListNode** %11
%67 = load %struct.ListNode*, %struct.ListNode** %12
%68 = call %struct.ListNode* @swapPairs(%struct.ListNode* %67)
store %struct.ListNode* %68, %struct.ListNode** %12
%69 = load %struct.ListNode*, %struct.ListNode** %13
%70 = call %struct.ListNode* @swapPairs(%struct.ListNode* %69)
store %struct.ListNode* %70, %struct.ListNode** %13
%71 = load %struct.ListNode*, %struct.ListNode** %14
%72 = call %struct.ListNode* @swapPairs(%struct.ListNode* %71)
store %struct.ListNode* %72, %struct.ListNode** %14
%73 = load %struct.ListNode*, %struct.ListNode** %15
%74 = call %struct.ListNode* @swapPairs(%struct.ListNode* %73)
store %struct.ListNode* %74, %struct.ListNode** %15
%75 = load %struct.ListNode*, %struct.ListNode** %16
%76 = call %struct.ListNode* @swapPairs(%struct.ListNode* %75)
store %struct.ListNode* %76, %struct.ListNode** %16
%77 = load %struct.ListNode*, %struct.ListNode** %17
%78 = call %struct.ListNode* @swapPairs(%struct.ListNode* %77)
store %struct.ListNode* %78, %struct.ListNode** %17
%79 = load %struct.ListNode*, %struct.ListNode** %3
%80 = call i32 @printList(%struct.ListNode* %79)
%81 = load %struct.ListNode*, %struct.ListNode** %4
%82 = call i32 @printList(%struct.ListNode* %81)
%83 = load %struct.ListNode*, %struct.ListNode** %5
%84 = call i32 @printList(%struct.ListNode* %83)
%85 = load %struct.ListNode*, %struct.ListNode** %6
%86 = call i32 @printList(%struct.ListNode* %85)
%87 = load %struct.ListNode*, %struct.ListNode** %7
%88 = call i32 @printList(%struct.ListNode* %87)
%89 = load %struct.ListNode*, %struct.ListNode** %8
%90 = call i32 @printList(%struct.ListNode* %89)
%91 = load %struct.ListNode*, %struct.ListNode** %9
%92 = call i32 @printList(%struct.ListNode* %91)
%93 = load %struct.ListNode*, %struct.ListNode** %10
%94 = call i32 @printList(%struct.ListNode* %93)
%95 = load %struct.ListNode*, %struct.ListNode** %11
%96 = call i32 @printList(%struct.ListNode* %95)
%97 = load %struct.ListNode*, %struct.ListNode** %12
%98 = call i32 @printList(%struct.ListNode* %97)
%99 = load %struct.ListNode*, %struct.ListNode** %13
%100 = call i32 @printList(%struct.ListNode* %99)
%101 = load %struct.ListNode*, %struct.ListNode** %14
%102 = call i32 @printList(%struct.ListNode* %101)
%103 = load %struct.ListNode*, %struct.ListNode** %15
%104 = call i32 @printList(%struct.ListNode* %103)
%105 = load %struct.ListNode*, %struct.ListNode** %16
%106 = call i32 @printList(%struct.ListNode* %105)
%107 = load %struct.ListNode*, %struct.ListNode** %17
%108 = call i32 @printList(%struct.ListNode* %107)
%109 = load %struct.ListNode*, %struct.ListNode** %3
%110 = call i32 @freeList(%struct.ListNode* %109)
%111 = load %struct.ListNode*, %struct.ListNode** %4
%112 = call i32 @freeList(%struct.ListNode* %111)
%113 = load %struct.ListNode*, %struct.ListNode** %5
%114 = call i32 @freeList(%struct.ListNode* %113)
%115 = load %struct.ListNode*, %struct.ListNode** %6
%116 = call i32 @freeList(%struct.ListNode* %115)
%117 = load %struct.ListNode*, %struct.ListNode** %7
%118 = call i32 @freeList(%struct.ListNode* %117)
%119 = load %struct.ListNode*, %struct.ListNode** %8
%120 = call i32 @freeList(%struct.ListNode* %119)
%121 = load %struct.ListNode*, %struct.ListNode** %9
%122 = call i32 @freeList(%struct.ListNode* %121)
%123 = load %struct.ListNode*, %struct.ListNode** %10
%124 = call i32 @freeList(%struct.ListNode* %123)
%125 = load %struct.ListNode*, %struct.ListNode** %11
%126 = call i32 @freeList(%struct.ListNode* %125)
%127 = load %struct.ListNode*, %struct.ListNode** %12
%128 = call i32 @freeList(%struct.ListNode* %127)
%129 = load %struct.ListNode*, %struct.ListNode** %13
%130 = call i32 @freeList(%struct.ListNode* %129)
%131 = load %struct.ListNode*, %struct.ListNode** %14
%132 = call i32 @freeList(%struct.ListNode* %131)
%133 = load %struct.ListNode*, %struct.ListNode** %15
%134 = call i32 @freeList(%struct.ListNode* %133)
%135 = load %struct.ListNode*, %struct.ListNode** %16
%136 = call i32 @freeList(%struct.ListNode* %135)
%137 = load %struct.ListNode*, %struct.ListNode** %17
%138 = call i32 @freeList(%struct.ListNode* %137)
ret i32 0
}

LLVM IR (-O2):
%struct.ListNode = type { i32 }
@__const.main.arr = [15 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15]
define i32 @main() {
%1 = alloca [15 x i32]
%2 = bitcast [15 x i32]* %1 to i8*
%3 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 0
%4 = call %struct.ListNode* @createList(i32* %3, i32 0)
%5 = call %struct.ListNode* @createList(i32* %3, i32 1)
%6 = call %struct.ListNode* @createList(i32* %3, i32 2)
%7 = call %struct.ListNode* @createList(i32* %3, i32 3)
%8 = call %struct.ListNode* @createList(i32* %3, i32 4)
%9 = call %struct.ListNode* @createList(i32* %3, i32 5)
%10 = call %struct.ListNode* @createList(i32* %3, i32 6)
%11 = call %struct.ListNode* @createList(i32* %3, i32 7)
%12 = call %struct.ListNode* @createList(i32* %3, i32 8)
%13 = call %struct.ListNode* @createList(i32* %3, i32 9)
%14 = call %struct.ListNode* @createList(i32* %3, i32 10)
%15 = call %struct.ListNode* @createList(i32* %3, i32 11)
%16 = call %struct.ListNode* @createList(i32* %3, i32 12)
%17 = call %struct.ListNode* @createList(i32* %3, i32 13)
%18 = call %struct.ListNode* @createList(i32* %3, i32 14)
%19 = call %struct.ListNode* @swapPairs(%struct.ListNode* %4)
%20 = call %struct.ListNode* @swapPairs(%struct.ListNode* %5)
%21 = call %struct.ListNode* @swapPairs(%struct.ListNode* %6)
%22 = call %struct.ListNode* @swapPairs(%struct.ListNode* %7)
%23 = call %struct.ListNode* @swapPairs(%struct.ListNode* %8)
%24 = call %struct.ListNode* @swapPairs(%struct.ListNode* %9)
%25 = call %struct.ListNode* @swapPairs(%struct.ListNode* %10)
%26 = call %struct.ListNode* @swapPairs(%struct.ListNode* %11)
%27 = call %struct.ListNode* @swapPairs(%struct.ListNode* %12)
%28 = call %struct.ListNode* @swapPairs(%struct.ListNode* %13)
%29 = call %struct.ListNode* @swapPairs(%struct.ListNode* %14)
%30 = call %struct.ListNode* @swapPairs(%struct.ListNode* %15)
%31 = call %struct.ListNode* @swapPairs(%struct.ListNode* %16)
%32 = call %struct.ListNode* @swapPairs(%struct.ListNode* %17)
%33 = call %struct.ListNode* @swapPairs(%struct.ListNode* %18)
%34 = call i32 @printList(%struct.ListNode* %19)
%35 = call i32 @printList(%struct.ListNode* %20)
%36 = call i32 @printList(%struct.ListNode* %21)
%37 = call i32 @printList(%struct.ListNode* %22)
%38 = call i32 @printList(%struct.ListNode* %23)
%39 = call i32 @printList(%struct.ListNode* %24)
%40 = call i32 @printList(%struct.ListNode* %25)
%41 = call i32 @printList(%struct.ListNode* %26)
%42 = call i32 @printList(%struct.ListNode* %27)
%43 = call i32 @printList(%struct.ListNode* %28)
%44 = call i32 @printList(%struct.ListNode* %29)
%45 = call i32 @printList(%struct.ListNode* %30)
%46 = call i32 @printList(%struct.ListNode* %31)
%47 = call i32 @printList(%struct.ListNode* %32)
%48 = call i32 @printList(%struct.ListNode* %33)
%49 = call i32 @freeList(%struct.ListNode* %19)
%50 = call i32 @freeList(%struct.ListNode* %20)
%51 = call i32 @freeList(%struct.ListNode* %21)
%52 = call i32 @freeList(%struct.ListNode* %22)
%53 = call i32 @freeList(%struct.ListNode* %23)
%54 = call i32 @freeList(%struct.ListNode* %24)
%55 = call i32 @freeList(%struct.ListNode* %25)
%56 = call i32 @freeList(%struct.ListNode* %26)
%57 = call i32 @freeList(%struct.ListNode* %27)
%58 = call i32 @freeList(%struct.ListNode* %28)
%59 = call i32 @freeList(%struct.ListNode* %29)
%60 = call i32 @freeList(%struct.ListNode* %30)
%61 = call i32 @freeList(%struct.ListNode* %31)
%62 = call i32 @freeList(%struct.ListNode* %32)
%63 = call i32 @freeList(%struct.ListNode* %33)
ret i32 0
}