void Lcd_PowerEnable(int invpwren, int pwren) {
  (*(volatile unsigned long *)0x56000068) =
      ((*(volatile unsigned long *)0x56000068) & (~(1 << 4))) | (1 << 4);
  (*(volatile unsigned long *)0x56000060) =
      ((*(volatile unsigned long *)0x56000060) & (~(3 << 8))) | (3 << 8);
  (*(volatile unsigned long *)0x56000064) =
      (*(volatile unsigned long *)0x56000064) | (1 << 4);
  (*(volatile unsigned long *)0x4d000010) =
      ((*(volatile unsigned long *)0x4d000010) & (~(1 << 5))) | (invpwren << 5);
  (*(volatile unsigned long *)0x4d000010) =
      ((*(volatile unsigned long *)0x4d000010) & (~(1 << 3))) | (pwren << 3);
}


x86 assembly (clang, -O0):
<Lcd_PowerEnable>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    $0x56000068,%eax
mov    (%rax),%rcx
and    $0xffffffffffffffef,%rcx
or     $0x10,%rcx
mov    $0x56000068,%eax
mov    %rcx,(%rax)
mov    $0x56000060,%eax
mov    (%rax),%rcx
and    $0xfffffffffffffcff,%rcx
or     $0x300,%rcx
mov    $0x56000060,%eax
mov    %rcx,(%rax)
mov    $0x56000064,%eax
mov    (%rax),%rcx
or     $0x10,%rcx
mov    $0x56000064,%eax
mov    %rcx,(%rax)
mov    $0x4d000010,%eax
mov    (%rax),%rcx
and    $0xffffffffffffffdf,%rcx
mov    -0x4(%rbp),%eax
shl    $0x5,%eax
cltq
or     %rax,%rcx
mov    $0x4d000010,%eax
mov    %rcx,(%rax)
mov    $0x4d000010,%eax
mov    (%rax),%rcx
and    $0xfffffffffffffff7,%rcx
mov    -0x8(%rbp),%eax
shl    $0x3,%eax
cltq
or     %rax,%rcx
mov    $0x4d000010,%eax
mov    %rcx,(%rax)
pop    %rbp
ret

x86 assembly (clang, -O2):
<Lcd_PowerEnable>:
orq    $0x10,0x56000068
56 10
orq    $0x300,0x56000060
orq    $0x10,0x56000064
56 10
mov    0x4d000010,%rax
4d
and    $0xffffffffffffffdf,%rax
shl    $0x5,%edi
movslq %edi,%rcx
or     %rax,%rcx
mov    %rcx,0x4d000010
4d
mov    0x4d000010,%rax
4d
and    $0xfffffffffffffff7,%rax
shl    $0x3,%esi
movslq %esi,%rcx
or     %rax,%rcx
mov    %rcx,0x4d000010
4d
ret

LLVM IR (-O0):
define void @Lcd_PowerEnable(i32 %0, i32 %1) {
%3 = alloca i32
%4 = alloca i32
store i32 %0, i32* %3
store i32 %1, i32* %4
%5 = load volatile i64, i64* inttoptr (i64 1442840680 to i64*)
%6 = and i64 %5, -17
%7 = or i64 %6, 16
store volatile i64 %7, i64* inttoptr (i64 1442840680 to i64*)
%8 = load volatile i64, i64* inttoptr (i64 1442840672 to i64*)
%9 = and i64 %8, -769
%10 = or i64 %9, 768
store volatile i64 %10, i64* inttoptr (i64 1442840672 to i64*)
%11 = load volatile i64, i64* inttoptr (i64 1442840676 to i64*)
%12 = or i64 %11, 16
store volatile i64 %12, i64* inttoptr (i64 1442840676 to i64*)
%13 = load volatile i64, i64* inttoptr (i64 1291845648 to i64*)
%14 = and i64 %13, -33
%15 = load i32, i32* %3
%16 = shl i32 %15, 5
%17 = sext i32 %16 to i64
%18 = or i64 %14, %17
store volatile i64 %18, i64* inttoptr (i64 1291845648 to i64*)
%19 = load volatile i64, i64* inttoptr (i64 1291845648 to i64*)
%20 = and i64 %19, -9
%21 = load i32, i32* %4
%22 = shl i32 %21, 3
%23 = sext i32 %22 to i64
%24 = or i64 %20, %23
store volatile i64 %24, i64* inttoptr (i64 1291845648 to i64*)
ret void
}

LLVM IR (-O2):
define void @Lcd_PowerEnable(i32 %0, i32 %1) {
%3 = load volatile i64, i64* inttoptr (i64 1442840680 to i64*)
%4 = or i64 %3, 16
store volatile i64 %4, i64* inttoptr (i64 1442840680 to i64*)
%5 = load volatile i64, i64* inttoptr (i64 1442840672 to i64*)
%6 = or i64 %5, 768
store volatile i64 %6, i64* inttoptr (i64 1442840672 to i64*)
%7 = load volatile i64, i64* inttoptr (i64 1442840676 to i64*)
%8 = or i64 %7, 16
store volatile i64 %8, i64* inttoptr (i64 1442840676 to i64*)
%9 = load volatile i64, i64* inttoptr (i64 1291845648 to i64*)
%10 = and i64 %9, -33
%11 = shl i32 %0, 5
%12 = sext i32 %11 to i64
%13 = or i64 %10, %12
store volatile i64 %13, i64* inttoptr (i64 1291845648 to i64*)
%14 = load volatile i64, i64* inttoptr (i64 1291845648 to i64*)
%15 = and i64 %14, -9
%16 = shl i32 %1, 3
%17 = sext i32 %16 to i64
%18 = or i64 %15, %17
store volatile i64 %18, i64* inttoptr (i64 1291845648 to i64*)
ret void
}