#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ AUUSL3(unsigned long volatile *, int, int /*<<< orphan*/);
unsigned long RtiEy4(unsigned long volatile *, int);
__attribute__((no)) unsigned long __attribute__((stdcall, regparm(3)))
xjK0y2(volatile unsigned long *RdZoN) {
  unsigned long qwUGv3;
  AUUSL3(RdZoN, 013, 0);
  qwUGv3 = RtiEy4(RdZoN, 013);
  qwUGv3 = (qwUGv3 << 010) | RtiEy4(RdZoN, 013);
  qwUGv3 = (qwUGv3 << 8) | RtiEy4(RdZoN, 013);
  qwUGv3 = (qwUGv3 << 010) | RtiEy4(RdZoN, 013);
  return qwUGv3;
}


x86 assembly (clang, -O0):
<xjK0y2>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0xb,%esi
xor    %edx,%edx
call   1030 <AUUSL3@plt>
mov    -0x8(%rbp),%rdi
mov    $0xb,%esi
call   1040 <RtiEy4@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
shl    $0x8,%rax
mov    %rax,-0x28(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0xb,%esi
call   1040 <RtiEy4@plt>
mov    %rax,%rcx
mov    -0x28(%rbp),%rax
or     %rcx,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
shl    $0x8,%rax
mov    %rax,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0xb,%esi
call   1040 <RtiEy4@plt>
mov    %rax,%rcx
mov    -0x20(%rbp),%rax
or     %rcx,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
shl    $0x8,%rax
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0xb,%esi
call   1040 <RtiEy4@plt>
mov    %rax,%rcx
mov    -0x18(%rbp),%rax
or     %rcx,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<xjK0y2>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    %rdi,%r14
mov    $0xb,%esi
xor    %edx,%edx
call   1030 <AUUSL3@plt>
mov    %r14,%rdi
mov    $0xb,%esi
call   1040 <RtiEy4@plt>
mov    %rax,%r15
mov    %r14,%rdi
mov    $0xb,%esi
call   1040 <RtiEy4@plt>
mov    %rax,%r12
shl    $0x10,%r15
shl    $0x8,%r12
or     %r15,%r12
mov    %r14,%rdi
mov    $0xb,%esi
call   1040 <RtiEy4@plt>
mov    %rax,%rbx
or     %r12,%rbx
shl    $0x8,%rbx
mov    %r14,%rdi
mov    $0xb,%esi
call   1040 <RtiEy4@plt>
or     %rbx,%rax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define i64 @xjK0y2(i64* %0) {
%2 = alloca i64*
%3 = alloca i64
store i64* %0, i64** %2
%4 = load i64*, i64** %2
%5 = call i32 @AUUSL3(i64* %4, i32 11, i32 0)
%6 = load i64*, i64** %2
%7 = call i64 @RtiEy4(i64* %6, i32 11)
store i64 %7, i64* %3
%8 = load i64, i64* %3
%9 = shl i64 %8, 8
%10 = load i64*, i64** %2
%11 = call i64 @RtiEy4(i64* %10, i32 11)
%12 = or i64 %9, %11
store i64 %12, i64* %3
%13 = load i64, i64* %3
%14 = shl i64 %13, 8
%15 = load i64*, i64** %2
%16 = call i64 @RtiEy4(i64* %15, i32 11)
%17 = or i64 %14, %16
store i64 %17, i64* %3
%18 = load i64, i64* %3
%19 = shl i64 %18, 8
%20 = load i64*, i64** %2
%21 = call i64 @RtiEy4(i64* %20, i32 11)
%22 = or i64 %19, %21
store i64 %22, i64* %3
%23 = load i64, i64* %3
ret i64 %23
}

LLVM IR (-O2):
define i64 @xjK0y2(i64* %0) {
%2 = tail call i32 @AUUSL3(i64* %0, i32 11, i32 0)
%3 = tail call i64 @RtiEy4(i64* %0, i32 11)
%4 = tail call i64 @RtiEy4(i64* %0, i32 11)
%5 = shl i64 %3, 16
%6 = shl i64 %4, 8
%7 = or i64 %6, %5
%8 = tail call i64 @RtiEy4(i64* %0, i32 11)
%9 = or i64 %7, %8
%10 = shl i64 %9, 8
%11 = tail call i64 @RtiEy4(i64* %0, i32 11)
%12 = or i64 %10, %11
ret i64 %12
}