#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*/ ENGINE;

/* Variables and functions */
int /*<<< orphan*/ ENGINE_register_DH(int /*<<< orphan*/ *);
int /*<<< orphan*/ ENGINE_register_DSA(int /*<<< orphan*/ *);
int /*<<< orphan*/ ENGINE_register_ECDH(int /*<<< orphan*/ *);
int /*<<< orphan*/ ENGINE_register_ECDSA(int /*<<< orphan*/ *);
int /*<<< orphan*/ ENGINE_register_RAND(int /*<<< orphan*/ *);
int /*<<< orphan*/ ENGINE_register_RSA(int /*<<< orphan*/ *);
int /*<<< orphan*/ ENGINE_register_ciphers(int /*<<< orphan*/ *);
int /*<<< orphan*/ ENGINE_register_digests(int /*<<< orphan*/ *);
int ENGINE_register_complete(ENGINE *e) {
  ENGINE_register_ciphers(e);
  ENGINE_register_digests(e);
  ENGINE_register_RSA(e);
  ENGINE_register_DSA(e);
  ENGINE_register_DH(e);
  ENGINE_register_ECDH(e);
  ENGINE_register_ECDSA(e);
  ENGINE_register_RAND(e);
  return 1;
}


x86 assembly (clang, -O0):
<ENGINE_register_complete>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
call   1090 <ENGINE_register_ciphers@plt>
mov    -0x8(%rbp),%rdi
call   1030 <ENGINE_register_digests@plt>
mov    -0x8(%rbp),%rdi
call   1060 <ENGINE_register_RSA@plt>
mov    -0x8(%rbp),%rdi
call   1040 <ENGINE_register_DSA@plt>
mov    -0x8(%rbp),%rdi
call   1080 <ENGINE_register_DH@plt>
mov    -0x8(%rbp),%rdi
call   10a0 <ENGINE_register_ECDH@plt>
mov    -0x8(%rbp),%rdi
call   1070 <ENGINE_register_ECDSA@plt>
mov    -0x8(%rbp),%rdi
call   1050 <ENGINE_register_RAND@plt>
mov    $0x1,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ENGINE_register_complete>:
push   %rbx
mov    %rdi,%rbx
call   1090 <ENGINE_register_ciphers@plt>
mov    %rbx,%rdi
call   1030 <ENGINE_register_digests@plt>
mov    %rbx,%rdi
call   1060 <ENGINE_register_RSA@plt>
mov    %rbx,%rdi
call   1040 <ENGINE_register_DSA@plt>
mov    %rbx,%rdi
call   1080 <ENGINE_register_DH@plt>
mov    %rbx,%rdi
call   10a0 <ENGINE_register_ECDH@plt>
mov    %rbx,%rdi
call   1070 <ENGINE_register_ECDSA@plt>
mov    %rbx,%rdi
call   1050 <ENGINE_register_RAND@plt>
mov    $0x1,%eax
pop    %rbx
ret

LLVM IR (-O0):
define i32 @ENGINE_register_complete(i32* %0) {
%2 = alloca i32*
store i32* %0, i32** %2
%3 = load i32*, i32** %2
%4 = call i32 @ENGINE_register_ciphers(i32* %3)
%5 = load i32*, i32** %2
%6 = call i32 @ENGINE_register_digests(i32* %5)
%7 = load i32*, i32** %2
%8 = call i32 @ENGINE_register_RSA(i32* %7)
%9 = load i32*, i32** %2
%10 = call i32 @ENGINE_register_DSA(i32* %9)
%11 = load i32*, i32** %2
%12 = call i32 @ENGINE_register_DH(i32* %11)
%13 = load i32*, i32** %2
%14 = call i32 @ENGINE_register_ECDH(i32* %13)
%15 = load i32*, i32** %2
%16 = call i32 @ENGINE_register_ECDSA(i32* %15)
%17 = load i32*, i32** %2
%18 = call i32 @ENGINE_register_RAND(i32* %17)
ret i32 1
}

LLVM IR (-O2):
define i32 @ENGINE_register_complete(i32* %0) {
%2 = tail call i32 @ENGINE_register_ciphers(i32* %0)
%3 = tail call i32 @ENGINE_register_digests(i32* %0)
%4 = tail call i32 @ENGINE_register_RSA(i32* %0)
%5 = tail call i32 @ENGINE_register_DSA(i32* %0)
%6 = tail call i32 @ENGINE_register_DH(i32* %0)
%7 = tail call i32 @ENGINE_register_ECDH(i32* %0)
%8 = tail call i32 @ENGINE_register_ECDSA(i32* %0)
%9 = tail call i32 @ENGINE_register_RAND(i32* %0)
ret i32 1
}