void setup_default_resource_map(void) {
  static const unsigned int register_values[] = {
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x44) & 0xFF)),
      0x0000f8f8,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x4C) & 0xFF)),
      0x0000f8f8,
      0x00000001,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x54) & 0xFF)),
      0x0000f8f8,
      0x00000002,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x5C) & 0xFF)),
      0x0000f8f8,
      0x00000003,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x64) & 0xFF)),
      0x0000f8f8,
      0x00000004,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x6C) & 0xFF)),
      0x0000f8f8,
      0x00000005,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x74) & 0xFF)),
      0x0000f8f8,
      0x00000006,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x7C) & 0xFF)),
      0x0000f8f8,
      0x00000007,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x40) & 0xFF)),
      0x0000f8fc,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x48) & 0xFF)),
      0x0000f8fc,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x50) & 0xFF)),
      0x0000f8fc,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x58) & 0xFF)),
      0x0000f8fc,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x60) & 0xFF)),
      0x0000f8fc,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x68) & 0xFF)),
      0x0000f8fc,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x70) & 0xFF)),
      0x0000f8fc,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x78) & 0xFF)),
      0x0000f8fc,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x84) & 0xFF)),
      0x00000048,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x8C) & 0xFF)),
      0x00000048,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x94) & 0xFF)),
      0x00000048,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x9C) & 0xFF)),
      0x00000048,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xA4) & 0xFF)),
      0x00000048,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xAC) & 0xFF)),
      0x00000048,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xB4) & 0xFF)),
      0x00000048,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xBC) & 0xFF)),
      0x00000048,
      0x00ffff00,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x80) & 0xFF)),
      0x000000f0,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x88) & 0xFF)),
      0x000000f0,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x90) & 0xFF)),
      0x000000f0,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0x98) & 0xFF)),
      0x000000f0,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xA0) & 0xFF)),
      0x000000f0,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xA8) & 0xFF)),
      0x000000f0,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xB0) & 0xFF)),
      0x000000f0,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xB8) & 0xFF)),
      0x000000f0,
      0x00fc0003,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xC4) & 0xFF)),
      0xFE000FC8,
      0x01fff000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xCC) & 0xFF)),
      0xFE000FC8,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xD4) & 0xFF)),
      0xFE000FC8,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xDC) & 0xFF)),
      0xFE000FC8,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xC0) & 0xFF)),
      0xFE000FCC,
      0x00000003,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xC8) & 0xFF)),
      0xFE000FCC,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xD0) & 0xFF)),
      0xFE000FCC,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xD8) & 0xFF)),
      0xFE000FCC,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xE0) & 0xFF)),
      0x0000FC88,
      0xff000003,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xE4) & 0xFF)),
      0x0000FC88,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xE8) & 0xFF)),
      0x0000FC88,
      0x00000000,
      ((((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((1) & 0x07) << 8) |
       ((0xEC) & 0xFF)),
      0x0000FC88,
      0x00000000,
  };
  int max;
  max = sizeof(register_values) / sizeof(register_values[0]);
  setup_resource_map(register_values, max);
}


x86 assembly (clang, -O0):
<setup_default_resource_map>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x84,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xed7(%rip),%rdi
mov    $0x0,%al
call   1030 <setup_resource_map@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<setup_default_resource_map>:
lea    0xee9(%rip),%rdi
mov    $0x84,%esi
xor    %eax,%eax
jmp    1030 <setup_resource_map@plt>

LLVM IR (-O0):
@setup_default_resource_map.register_values = internal constant [132 x i32] [i32 49476, i32 63736, i32 0, i32 49484, i32 63736, i32 1, i32 49492, i32 63736, i32 2, i32 49500, i32 63736, i32 3, i32 49508, i32 63736, i32 4, i32 49516, i32 63736, i32 5, i32 49524, i32 63736, i32 6, i32 49532, i32 63736, i32 7, i32 49472, i32 63740, i32 0, i32 49480, i32 63740, i32 0, i32 49488, i32 63740, i32 0, i32 49496, i32 63740, i32 0, i32 49504, i32 63740, i32 0, i32 49512, i32 63740, i32 0, i32 49520, i32 63740, i32 0, i32 49528, i32 63740, i32 0, i32 49540, i32 72, i32 0, i32 49548, i32 72, i32 0, i32 49556, i32 72, i32 0, i32 49564, i32 72, i32 0, i32 49572, i32 72, i32 0, i32 49580, i32 72, i32 0, i32 49588, i32 72, i32 0, i32 49596, i32 72, i32 16776960, i32 49536, i32 240, i32 0, i32 49544, i32 240, i32 0, i32 49552, i32 240, i32 0, i32 49560, i32 240, i32 0, i32 49568, i32 240, i32 0, i32 49576, i32 240, i32 0, i32 49584, i32 240, i32 0, i32 49592, i32 240, i32 16515075, i32 49604, i32 -33550392, i32 33550336, i32 49612, i32 -33550392, i32 0, i32 49620, i32 -33550392, i32 0, i32 49628, i32 -33550392, i32 0, i32 49600, i32 -33550388, i32 3, i32 49608, i32 -33550388, i32 0, i32 49616, i32 -33550388, i32 0, i32 49624, i32 -33550388, i32 0, i32 49632, i32 64648, i32 -16777213, i32 49636, i32 64648, i32 0, i32 49640, i32 64648, i32 0, i32 49644, i32 64648, i32 0]
define void @setup_default_resource_map() {
%1 = alloca i32
store i32 132, i32* %1
%2 = load i32, i32* %1
%3 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @setup_resource_map to i32 (i32*, i32, ...)*)(i32* getelementptr inbounds ([132 x i32], [132 x i32]* @setup_default_resource_map.register_values, i64 0, i64 0), i32 %2)
ret void
}

LLVM IR (-O2):
@setup_default_resource_map.register_values = internal constant [132 x i32] [i32 49476, i32 63736, i32 0, i32 49484, i32 63736, i32 1, i32 49492, i32 63736, i32 2, i32 49500, i32 63736, i32 3, i32 49508, i32 63736, i32 4, i32 49516, i32 63736, i32 5, i32 49524, i32 63736, i32 6, i32 49532, i32 63736, i32 7, i32 49472, i32 63740, i32 0, i32 49480, i32 63740, i32 0, i32 49488, i32 63740, i32 0, i32 49496, i32 63740, i32 0, i32 49504, i32 63740, i32 0, i32 49512, i32 63740, i32 0, i32 49520, i32 63740, i32 0, i32 49528, i32 63740, i32 0, i32 49540, i32 72, i32 0, i32 49548, i32 72, i32 0, i32 49556, i32 72, i32 0, i32 49564, i32 72, i32 0, i32 49572, i32 72, i32 0, i32 49580, i32 72, i32 0, i32 49588, i32 72, i32 0, i32 49596, i32 72, i32 16776960, i32 49536, i32 240, i32 0, i32 49544, i32 240, i32 0, i32 49552, i32 240, i32 0, i32 49560, i32 240, i32 0, i32 49568, i32 240, i32 0, i32 49576, i32 240, i32 0, i32 49584, i32 240, i32 0, i32 49592, i32 240, i32 16515075, i32 49604, i32 -33550392, i32 33550336, i32 49612, i32 -33550392, i32 0, i32 49620, i32 -33550392, i32 0, i32 49628, i32 -33550392, i32 0, i32 49600, i32 -33550388, i32 3, i32 49608, i32 -33550388, i32 0, i32 49616, i32 -33550388, i32 0, i32 49624, i32 -33550388, i32 0, i32 49632, i32 64648, i32 -16777213, i32 49636, i32 64648, i32 0, i32 49640, i32 64648, i32 0, i32 49644, i32 64648, i32 0]
define void @setup_default_resource_map() {
%1 = tail call i32 (i32*, i32, ...) bitcast (i32 (...)* @setup_resource_map to i32 (i32*, i32, ...)*)(i32* getelementptr inbounds ([132 x i32], [132 x i32]* @setup_default_resource_map.register_values, i64 0, i64 0), i32 132)
ret void
}