#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 FN_nullptr_deref_old_bad(int *x) {
  int *vec[65] = {NULL, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
                  x,    x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
                  x,    x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
                  x,    x, x, x, x, x, x, x, x, x, x, x, x, x};
  int p = *vec[0];
}


x86 assembly (clang, -O0):
<FN_nullptr_deref_old_bad>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1a0,%rsp
mov    %rdi,-0x8(%rbp)
movq   $0x0,-0x210(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x208(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x200(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x1f8(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x1f0(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x1e8(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x1e0(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x1d8(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x1d0(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x1c8(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x1c0(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x1b8(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x1b0(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x1a8(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x1a0(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x198(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x190(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x188(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x180(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x178(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x170(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x168(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x160(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x158(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x150(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x148(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x140(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x138(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x130(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x128(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x120(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x118(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x110(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x108(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x100(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0xf8(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0xf0(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0xe8(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0xe0(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0xd8(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0xd0(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0xc8(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0xc0(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0xb8(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0xb0(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0xa8(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0xa0(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x98(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x90(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x88(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x80(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x78(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x210(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x214(%rbp)
add    $0x1a0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<FN_nullptr_deref_old_bad>:
ret

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

LLVM IR (-O2):
define void @FN_nullptr_deref_old_bad(i32* nocapture %0) {
ret void
}