void enableGPIO1Clocks() {
  (*((volatile unsigned int *)(((0x44E00000) + 0xac)))) =
      ((*((volatile unsigned int *)(((0x44E00000) + 0)))) & ~0x3) | 0x2;
  while (((*((volatile unsigned int *)(((0x44E00000) + 0xac)))) & 0x2) != 0x2)
    ;
  (*((volatile unsigned int *)(((0x44E00000) + 0xac)))) |= (0x1 << (0x12));
  while (((*((volatile unsigned int *)(((0x44E00000) + 0xac)))) &
          (0x1 << (0x12))) != (0x1 << (0x12)))
    ;
  while ((*((volatile unsigned int *)(((0x44E00000) + 0xac)))) & 0x30000)
    ;
  while (((*((volatile unsigned int *)(((0x44E00000) + 0)))) & (0x80000)) !=
         (0x80000))
    ;
}


x86 assembly (clang, -O0):
<enableGPIO1Clocks>:
push   %rbp
mov    %rsp,%rbp
mov    $0x44e00000,%eax
mov    (%rax),%ecx
and    $0xfffffffc,%ecx
or     $0x2,%ecx
mov    $0x44e000ac,%eax
mov    %ecx,(%rax)
mov    $0x44e000ac,%eax
mov    (%rax),%eax
and    $0x2,%eax
cmp    $0x2,%eax
je     1130 <enableGPIO1Clocks+0x30>
jmp    1118 <enableGPIO1Clocks+0x18>
mov    $0x44e000ac,%eax
mov    (%rax),%ecx
or     $0x40000,%ecx
mov    $0x44e000ac,%eax
mov    %ecx,(%rax)
mov    $0x44e000ac,%eax
mov    (%rax),%eax
and    $0x40000,%eax
cmp    $0x40000,%eax
je     1160 <enableGPIO1Clocks+0x60>
jmp    1144 <enableGPIO1Clocks+0x44>
jmp    1165 <enableGPIO1Clocks+0x65>
mov    $0x44e000ac,%eax
mov    (%rax),%eax
and    $0x30000,%eax
cmp    $0x0,%eax
je     117f <enableGPIO1Clocks+0x7f>
jmp    1165 <enableGPIO1Clocks+0x65>
jmp    1184 <enableGPIO1Clocks+0x84>
mov    $0x44e00000,%eax
mov    (%rax),%eax
and    $0x80000,%eax
cmp    $0x80000,%eax
je     11a0 <enableGPIO1Clocks+0xa0>
jmp    1184 <enableGPIO1Clocks+0x84>
pop    %rbp
ret

x86 assembly (clang, -O2):
<enableGPIO1Clocks>:
mov    0x44e00000,%eax
and    $0xfffffffc,%eax
or     $0x2,%eax
mov    %eax,0x44e000ac
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
testl  $0x2,0x44e000ac
je     1120 <enableGPIO1Clocks+0x20>
orl    $0x40000,0x44e000ac
nopl   0x0(%rax,%rax,1)
testl  $0x40000,0x44e000ac
je     1140 <enableGPIO1Clocks+0x40>
nopl   (%rax)
testl  $0x30000,0x44e000ac
jne    1150 <enableGPIO1Clocks+0x50>
nopl   (%rax)
testl  $0x80000,0x44e00000
je     1160 <enableGPIO1Clocks+0x60>
ret

LLVM IR (-O0):
define void @enableGPIO1Clocks() {
%1 = load volatile i32, i32* inttoptr (i64 1155530752 to i32*)
%2 = and i32 %1, -4
%3 = or i32 %2, 2
store volatile i32 %3, i32* inttoptr (i64 1155530924 to i32*)
br label %4
4: ; preds = %8, %0
%5 = load volatile i32, i32* inttoptr (i64 1155530924 to i32*)
%6 = and i32 %5, 2
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %9
8: ; preds = %4
br label %4
9: ; preds = %4
%10 = load volatile i32, i32* inttoptr (i64 1155530924 to i32*)
%11 = or i32 %10, 262144
store volatile i32 %11, i32* inttoptr (i64 1155530924 to i32*)
br label %12
12: ; preds = %16, %9
%13 = load volatile i32, i32* inttoptr (i64 1155530924 to i32*)
%14 = and i32 %13, 262144
%15 = icmp ne i32 %14, 262144
br i1 %15, label %16, label %17
16: ; preds = %12
br label %12
17: ; preds = %12
br label %18
18: ; preds = %22, %17
%19 = load volatile i32, i32* inttoptr (i64 1155530924 to i32*)
%20 = and i32 %19, 196608
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
br label %18
23: ; preds = %18
br label %24
24: ; preds = %28, %23
%25 = load volatile i32, i32* inttoptr (i64 1155530752 to i32*)
%26 = and i32 %25, 524288
%27 = icmp ne i32 %26, 524288
br i1 %27, label %28, label %29
28: ; preds = %24
br label %24
29: ; preds = %24
ret void
}

LLVM IR (-O2):
define void @enableGPIO1Clocks() {
%1 = load volatile i32, i32* inttoptr (i64 1155530752 to i32*)
%2 = and i32 %1, -4
%3 = or i32 %2, 2
store volatile i32 %3, i32* inttoptr (i64 1155530924 to i32*)
br label %4
4: ; preds = %4, %0
%5 = load volatile i32, i32* inttoptr (i64 1155530924 to i32*)
%6 = and i32 %5, 2
%7 = icmp eq i32 %6, 0
br i1 %7, label %4, label %8
8: ; preds = %4
%9 = load volatile i32, i32* inttoptr (i64 1155530924 to i32*)
%10 = or i32 %9, 262144
store volatile i32 %10, i32* inttoptr (i64 1155530924 to i32*)
br label %11
11: ; preds = %11, %8
%12 = load volatile i32, i32* inttoptr (i64 1155530924 to i32*)
%13 = and i32 %12, 262144
%14 = icmp eq i32 %13, 0
br i1 %14, label %11, label %15
15: ; preds = %11, %15
%16 = load volatile i32, i32* inttoptr (i64 1155530924 to i32*)
%17 = and i32 %16, 196608
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %15
19: ; preds = %15, %19
%20 = load volatile i32, i32* inttoptr (i64 1155530752 to i32*)
%21 = and i32 %20, 524288
%22 = icmp eq i32 %21, 0
br i1 %22, label %19, label %23
23: ; preds = %19
ret void
}