void PLL_Init(void) {
  (*((volatile unsigned long *)0x400FE070)) |= 0x80000000;
  (*((volatile unsigned long *)0x400FE070)) |= 0x00000800;
  (*((volatile unsigned long *)0x400FE060)) &= ~0x000007C0;
  (*((volatile unsigned long *)0x400FE060)) += 0x00000540;
  (*((volatile unsigned long *)0x400FE070)) &= ~0x00000070;
  (*((volatile unsigned long *)0x400FE070)) += 0x00000000;
  (*((volatile unsigned long *)0x400FE070)) &= ~0x00002000;
  (*((volatile unsigned long *)0x400FE070)) |= 0x40000000;
  (*((volatile unsigned long *)0x400FE070)) =
      ((*((volatile unsigned long *)0x400FE070)) & ~0x1FC00000) + (7 << 22);
  while (((*((volatile unsigned long *)0x400FE050)) & 0x00000040) == 0) {
  };
  (*((volatile unsigned long *)0x400FE070)) &= ~0x00000800;
}


x86 assembly (clang, -O0):
<PLL_Init>:
push   %rbp
mov    %rsp,%rbp
mov    $0x400fe070,%eax
mov    (%rax),%rcx
movabs $0x80000000,%rax
or     %rax,%rcx
mov    $0x400fe070,%eax
mov    %rcx,(%rax)
mov    $0x400fe070,%eax
mov    (%rax),%rcx
or     $0x800,%rcx
mov    $0x400fe070,%eax
mov    %rcx,(%rax)
mov    $0x400fe060,%eax
mov    (%rax),%rcx
and    $0xfffffffffffff83f,%rcx
mov    $0x400fe060,%eax
mov    %rcx,(%rax)
mov    $0x400fe060,%eax
mov    (%rax),%rcx
add    $0x540,%rcx
mov    $0x400fe060,%eax
mov    %rcx,(%rax)
mov    $0x400fe070,%eax
mov    (%rax),%rcx
and    $0xffffffffffffff8f,%rcx
mov    $0x400fe070,%eax
mov    %rcx,(%rax)
mov    $0x400fe070,%eax
mov    (%rax),%rcx
add    $0x0,%rcx
mov    $0x400fe070,%eax
mov    %rcx,(%rax)
mov    $0x400fe070,%eax
mov    (%rax),%rcx
and    $0xffffffffffffdfff,%rcx
mov    $0x400fe070,%eax
mov    %rcx,(%rax)
mov    $0x400fe070,%eax
mov    (%rax),%rcx
or     $0x40000000,%rcx
mov    $0x400fe070,%eax
mov    %rcx,(%rax)
mov    $0x400fe070,%eax
mov    (%rax),%rcx
and    $0xffffffffe03fffff,%rcx
add    $0x1c00000,%rcx
mov    $0x400fe070,%eax
mov    %rcx,(%rax)
mov    $0x400fe050,%eax
mov    (%rax),%rax
and    $0x40,%rax
cmp    $0x0,%rax
jne    11f5 <PLL_Init+0xf5>
jmp    11da <PLL_Init+0xda>
mov    $0x400fe070,%eax
mov    (%rax),%rcx
and    $0xfffffffffffff7ff,%rcx
mov    $0x400fe070,%eax
mov    %rcx,(%rax)
pop    %rbp
ret

x86 assembly (clang, -O2):
<PLL_Init>:
mov    $0x80000000,%eax
or     %rax,0x400fe070
40
orq    $0x800,0x400fe070
andq   $0xfffffffffffff83f,0x400fe060
40 3f f8 ff ff
addq   $0x540,0x400fe060
andq   $0xffffffffffffff8f,0x400fe070
40 8f
mov    0x400fe070,%rax
40
mov    %rax,0x400fe070
40
andq   $0xffffffffffffdfff,0x400fe070
40 ff df ff ff
orq    $0x40000000,0x400fe070
mov    $0xffffffffe03fffff,%rax
and    0x400fe070,%rax
40
or     $0x1c00000,%rax
mov    %rax,0x400fe070
40
nop
testq  $0x40,0x400fe050
je     1180 <PLL_Init+0x80>
andq   $0xfffffffffffff7ff,0x400fe070
40 ff f7 ff ff
ret

LLVM IR (-O0):
define void @PLL_Init() {
%1 = load volatile i64, i64* inttoptr (i64 1074782320 to i64*)
%2 = or i64 %1, 2147483648
store volatile i64 %2, i64* inttoptr (i64 1074782320 to i64*)
%3 = load volatile i64, i64* inttoptr (i64 1074782320 to i64*)
%4 = or i64 %3, 2048
store volatile i64 %4, i64* inttoptr (i64 1074782320 to i64*)
%5 = load volatile i64, i64* inttoptr (i64 1074782304 to i64*)
%6 = and i64 %5, -1985
store volatile i64 %6, i64* inttoptr (i64 1074782304 to i64*)
%7 = load volatile i64, i64* inttoptr (i64 1074782304 to i64*)
%8 = add i64 %7, 1344
store volatile i64 %8, i64* inttoptr (i64 1074782304 to i64*)
%9 = load volatile i64, i64* inttoptr (i64 1074782320 to i64*)
%10 = and i64 %9, -113
store volatile i64 %10, i64* inttoptr (i64 1074782320 to i64*)
%11 = load volatile i64, i64* inttoptr (i64 1074782320 to i64*)
%12 = add i64 %11, 0
store volatile i64 %12, i64* inttoptr (i64 1074782320 to i64*)
%13 = load volatile i64, i64* inttoptr (i64 1074782320 to i64*)
%14 = and i64 %13, -8193
store volatile i64 %14, i64* inttoptr (i64 1074782320 to i64*)
%15 = load volatile i64, i64* inttoptr (i64 1074782320 to i64*)
%16 = or i64 %15, 1073741824
store volatile i64 %16, i64* inttoptr (i64 1074782320 to i64*)
%17 = load volatile i64, i64* inttoptr (i64 1074782320 to i64*)
%18 = and i64 %17, -532676609
%19 = add i64 %18, 29360128
store volatile i64 %19, i64* inttoptr (i64 1074782320 to i64*)
br label %20
20: ; preds = %24, %0
%21 = load volatile i64, i64* inttoptr (i64 1074782288 to i64*)
%22 = and i64 %21, 64
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %20
br label %20
25: ; preds = %20
%26 = load volatile i64, i64* inttoptr (i64 1074782320 to i64*)
%27 = and i64 %26, -2049
store volatile i64 %27, i64* inttoptr (i64 1074782320 to i64*)
ret void
}

LLVM IR (-O2):
define void @PLL_Init() {
%1 = load volatile i64, i64* inttoptr (i64 1074782320 to i64*)
%2 = or i64 %1, 2147483648
store volatile i64 %2, i64* inttoptr (i64 1074782320 to i64*)
%3 = load volatile i64, i64* inttoptr (i64 1074782320 to i64*)
%4 = or i64 %3, 2048
store volatile i64 %4, i64* inttoptr (i64 1074782320 to i64*)
%5 = load volatile i64, i64* inttoptr (i64 1074782304 to i64*)
%6 = and i64 %5, -1985
store volatile i64 %6, i64* inttoptr (i64 1074782304 to i64*)
%7 = load volatile i64, i64* inttoptr (i64 1074782304 to i64*)
%8 = add i64 %7, 1344
store volatile i64 %8, i64* inttoptr (i64 1074782304 to i64*)
%9 = load volatile i64, i64* inttoptr (i64 1074782320 to i64*)
%10 = and i64 %9, -113
store volatile i64 %10, i64* inttoptr (i64 1074782320 to i64*)
%11 = load volatile i64, i64* inttoptr (i64 1074782320 to i64*)
store volatile i64 %11, i64* inttoptr (i64 1074782320 to i64*)
%12 = load volatile i64, i64* inttoptr (i64 1074782320 to i64*)
%13 = and i64 %12, -8193
store volatile i64 %13, i64* inttoptr (i64 1074782320 to i64*)
%14 = load volatile i64, i64* inttoptr (i64 1074782320 to i64*)
%15 = or i64 %14, 1073741824
store volatile i64 %15, i64* inttoptr (i64 1074782320 to i64*)
%16 = load volatile i64, i64* inttoptr (i64 1074782320 to i64*)
%17 = and i64 %16, -532676609
%18 = or i64 %17, 29360128
store volatile i64 %18, i64* inttoptr (i64 1074782320 to i64*)
br label %19
19: ; preds = %19, %0
%20 = load volatile i64, i64* inttoptr (i64 1074782288 to i64*)
%21 = and i64 %20, 64
%22 = icmp eq i64 %21, 0
br i1 %22, label %19, label %23
23: ; preds = %19
%24 = load volatile i64, i64* inttoptr (i64 1074782320 to i64*)
%25 = and i64 %24, -2049
store volatile i64 %25, i64* inttoptr (i64 1074782320 to i64*)
ret void
}