void Port_Init(void) {
  (*(volatile unsigned *)0x1d20000) = 0x1ff;
  (*(volatile unsigned *)0x1d2000c) = 0x7ff;
  (*(volatile unsigned *)0x1d20008) = 0x1cf;
  (*(volatile unsigned *)0x1d20014) = 0xff00;
  (*(volatile unsigned *)0x1d20010) = 0x0ff0ffff;
  (*(volatile unsigned *)0x1d20018) = 0x30ff;
  (*(volatile unsigned *)0x1d20020) = 0xff;
  (*(volatile unsigned *)0x1d2001c) = 0xaaaa;
  (*(volatile unsigned *)0x1d20024) = 0x0;
  (*(volatile unsigned *)0x1d2002c) = 0x1ff;
  (*(volatile unsigned *)0x1d20028) = 0x25529;
  (*(volatile unsigned *)0x1d20030) = 0x6;
  (*(volatile unsigned *)0x1d20038) = 0x0;
  (*(volatile unsigned *)0x1d20034) = 0x252a;
  (*(volatile unsigned *)0x1d2003c) = 0x0;
  (*(volatile unsigned *)0x1d20044) = 0xff;
  (*(volatile unsigned *)0x1d20040) = 0xffff;
  (*(volatile unsigned *)0x1d20048) = 0x0;
  (*(volatile unsigned *)0x1d2004c) = 0x7;
  (*(volatile unsigned *)0x1c00004) =
      (((0xc000000) >> 12) << 16) | ((0x2000000) >> 12);
  (*(volatile unsigned *)0x1d20050) = 0x0;
}


x86 assembly (clang, -O0):
<Port_Init>:
push   %rbp
mov    %rsp,%rbp
mov    $0x1d20000,%eax
movl   $0x1ff,(%rax)
mov    $0x1d2000c,%eax
movl   $0x7ff,(%rax)
mov    $0x1d20008,%eax
movl   $0x1cf,(%rax)
mov    $0x1d20014,%eax
movl   $0xff00,(%rax)
mov    $0x1d20010,%eax
movl   $0xff0ffff,(%rax)
mov    $0x1d20018,%eax
movl   $0x30ff,(%rax)
mov    $0x1d20020,%eax
movl   $0xff,(%rax)
mov    $0x1d2001c,%eax
movl   $0xaaaa,(%rax)
mov    $0x1d20024,%eax
movl   $0x0,(%rax)
mov    $0x1d2002c,%eax
movl   $0x1ff,(%rax)
mov    $0x1d20028,%eax
movl   $0x25529,(%rax)
mov    $0x1d20030,%eax
movl   $0x6,(%rax)
mov    $0x1d20038,%eax
movl   $0x0,(%rax)
mov    $0x1d20034,%eax
movl   $0x252a,(%rax)
mov    $0x1d2003c,%eax
movl   $0x0,(%rax)
mov    $0x1d20044,%eax
movl   $0xff,(%rax)
mov    $0x1d20040,%eax
movl   $0xffff,(%rax)
mov    $0x1d20048,%eax
movl   $0x0,(%rax)
mov    $0x1d2004c,%eax
movl   $0x7,(%rax)
mov    $0x1c00004,%eax
movl   $0xc0002000,(%rax)
mov    $0x1d20050,%eax
movl   $0x0,(%rax)
pop    %rbp
ret

x86 assembly (clang, -O2):
<Port_Init>:
movl   $0x1ff,0x1d20000
movl   $0x7ff,0x1d2000c
movl   $0x1cf,0x1d20008
movl   $0xff00,0x1d20014
movl   $0xff0ffff,0x1d20010
ff ff f0 0f
movl   $0x30ff,0x1d20018
movl   $0xff,0x1d20020
movl   $0xaaaa,0x1d2001c
movl   $0x0,0x1d20024
movl   $0x1ff,0x1d2002c
movl   $0x25529,0x1d20028
movl   $0x6,0x1d20030
movl   $0x0,0x1d20038
movl   $0x252a,0x1d20034
movl   $0x0,0x1d2003c
movl   $0xff,0x1d20044
movl   $0xffff,0x1d20040
movl   $0x0,0x1d20048
movl   $0x7,0x1d2004c
movl   $0xc0002000,0x1c00004
movl   $0x0,0x1d20050
ret

LLVM IR (-O0):
define void @Port_Init() {
store volatile i32 511, i32* inttoptr (i64 30539776 to i32*)
store volatile i32 2047, i32* inttoptr (i64 30539788 to i32*)
store volatile i32 463, i32* inttoptr (i64 30539784 to i32*)
store volatile i32 65280, i32* inttoptr (i64 30539796 to i32*)
store volatile i32 267452415, i32* inttoptr (i64 30539792 to i32*)
store volatile i32 12543, i32* inttoptr (i64 30539800 to i32*)
store volatile i32 255, i32* inttoptr (i64 30539808 to i32*)
store volatile i32 43690, i32* inttoptr (i64 30539804 to i32*)
store volatile i32 0, i32* inttoptr (i64 30539812 to i32*)
store volatile i32 511, i32* inttoptr (i64 30539820 to i32*)
store volatile i32 152873, i32* inttoptr (i64 30539816 to i32*)
store volatile i32 6, i32* inttoptr (i64 30539824 to i32*)
store volatile i32 0, i32* inttoptr (i64 30539832 to i32*)
store volatile i32 9514, i32* inttoptr (i64 30539828 to i32*)
store volatile i32 0, i32* inttoptr (i64 30539836 to i32*)
store volatile i32 255, i32* inttoptr (i64 30539844 to i32*)
store volatile i32 65535, i32* inttoptr (i64 30539840 to i32*)
store volatile i32 0, i32* inttoptr (i64 30539848 to i32*)
store volatile i32 7, i32* inttoptr (i64 30539852 to i32*)
store volatile i32 -1073733632, i32* inttoptr (i64 29360132 to i32*)
store volatile i32 0, i32* inttoptr (i64 30539856 to i32*)
ret void
}

LLVM IR (-O2):
define void @Port_Init() {
store volatile i32 511, i32* inttoptr (i64 30539776 to i32*)
store volatile i32 2047, i32* inttoptr (i64 30539788 to i32*)
store volatile i32 463, i32* inttoptr (i64 30539784 to i32*)
store volatile i32 65280, i32* inttoptr (i64 30539796 to i32*)
store volatile i32 267452415, i32* inttoptr (i64 30539792 to i32*)
store volatile i32 12543, i32* inttoptr (i64 30539800 to i32*)
store volatile i32 255, i32* inttoptr (i64 30539808 to i32*)
store volatile i32 43690, i32* inttoptr (i64 30539804 to i32*)
store volatile i32 0, i32* inttoptr (i64 30539812 to i32*)
store volatile i32 511, i32* inttoptr (i64 30539820 to i32*)
store volatile i32 152873, i32* inttoptr (i64 30539816 to i32*)
store volatile i32 6, i32* inttoptr (i64 30539824 to i32*)
store volatile i32 0, i32* inttoptr (i64 30539832 to i32*)
store volatile i32 9514, i32* inttoptr (i64 30539828 to i32*)
store volatile i32 0, i32* inttoptr (i64 30539836 to i32*)
store volatile i32 255, i32* inttoptr (i64 30539844 to i32*)
store volatile i32 65535, i32* inttoptr (i64 30539840 to i32*)
store volatile i32 0, i32* inttoptr (i64 30539848 to i32*)
store volatile i32 7, i32* inttoptr (i64 30539852 to i32*)
store volatile i32 -1073733632, i32* inttoptr (i64 29360132 to i32*)
store volatile i32 0, i32* inttoptr (i64 30539856 to i32*)
ret void
}