#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 */
typedef int /*<<< orphan*/ uint32_t;

/* Variables and functions */
int /*<<< orphan*/ Round(int /*<<< orphan*/ *, int /*<<< orphan*/,
                         int /*<<< orphan*/ *, int /*<<< orphan*/,
                         int /*<<< orphan*/, int /*<<< orphan*/,
                         int /*<<< orphan*/, int /*<<< orphan*/, int);
int /*<<< orphan*/ f1(int /*<<< orphan*/, int /*<<< orphan*/,
                      int /*<<< orphan*/);
void R52(uint32_t *a, uint32_t b, uint32_t *c, uint32_t d, uint32_t e,
         uint32_t x, int r) {
  Round(a, b, c, d, e, f1(b, *c, d), x, 0, r);
}


x86 assembly (clang, -O0):
<R52>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    0x10(%rbp),%eax
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8d,-0x20(%rbp)
mov    %r9d,-0x24(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x1c(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    -0xc(%rbp),%edi
mov    -0x18(%rbp),%rax
mov    (%rax),%esi
mov    -0x1c(%rbp),%edx
call   1030 <f1@plt>
mov    -0x48(%rbp),%rdi
mov    -0x3c(%rbp),%esi
mov    -0x38(%rbp),%rdx
mov    -0x2c(%rbp),%ecx
mov    -0x28(%rbp),%r8d
mov    %eax,%r9d
mov    -0x24(%rbp),%r10d
mov    0x10(%rbp),%eax
xor    %r11d,%r11d
mov    %r10d,(%rsp)
movl   $0x0,0x8(%rsp)
mov    %eax,0x10(%rsp)
call   1040 <Round@plt>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<R52>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %r9d,%r14d
mov    %r8d,%r15d
mov    %ecx,%r12d
mov    %rdx,%rbp
mov    %esi,%ebx
mov    %rdi,%r13
mov    (%rdx),%esi
mov    %ebx,%edi
mov    %ecx,%edx
call   1030 <f1@plt>
sub    $0x8,%rsp
mov    %r13,%rdi
mov    %ebx,%esi
mov    %rbp,%rdx
mov    %r12d,%ecx
mov    %r15d,%r8d
mov    %eax,%r9d
mov    0x48(%rsp),%eax
push   %rax
push   $0x0
push   %r14
call   1040 <Round@plt>
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @R52(i32* %0, i32 %1, i32* %2, i32 %3, i32 %4, i32 %5, i32 %6) {
%8 = alloca i32*
%9 = alloca i32
%10 = alloca i32*
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
store i32* %0, i32** %8
store i32 %1, i32* %9
store i32* %2, i32** %10
store i32 %3, i32* %11
store i32 %4, i32* %12
store i32 %5, i32* %13
store i32 %6, i32* %14
%15 = load i32*, i32** %8
%16 = load i32, i32* %9
%17 = load i32*, i32** %10
%18 = load i32, i32* %11
%19 = load i32, i32* %12
%20 = load i32, i32* %9
%21 = load i32*, i32** %10
%22 = load i32, i32* %21
%23 = load i32, i32* %11
%24 = call i32 @f1(i32 %20, i32 %22, i32 %23)
%25 = load i32, i32* %13
%26 = load i32, i32* %14
%27 = call i32 @Round(i32* %15, i32 %16, i32* %17, i32 %18, i32 %19, i32 %24, i32 %25, i32 0, i32 %26)
ret void
}

LLVM IR (-O2):
define void @R52(i32* %0, i32 %1, i32* %2, i32 %3, i32 %4, i32 %5, i32 %6) {
%8 = load i32, i32* %2
%9 = tail call i32 @f1(i32 %1, i32 %8, i32 %3)
%10 = tail call i32 @Round(i32* %0, i32 %1, i32* %2, i32 %3, i32 %4, i32 %9, i32 %5, i32 0, i32 %6)
ret void
}