#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 */
struct l_class_OC_small {
  int dummy;
};

/* Variables and functions */
unsigned int _Z9API_CALL1iPv(unsigned int, unsigned char *);
unsigned char *_ZN5small14PrivateMember2EPiiPj(
    struct l_class_OC_small *llvm_cbe_this, unsigned int *llvm_cbe_stack_i,
    unsigned int llvm_cbe_y, unsigned int *llvm_cbe_glob) {
  unsigned char *llvm_cbe_retval;
  struct l_class_OC_small *llvm_cbe_this_2e_addr;
  unsigned int *llvm_cbe_stack_i_2e_addr;
  unsigned int llvm_cbe_y_2e_addr;
  unsigned int *llvm_cbe_glob_2e_addr;
  struct l_class_OC_small *llvm_cbe_this1;
  unsigned int *llvm_cbe_tmp;
  unsigned int *llvm_cbe_tmp2;
  unsigned int llvm_cbe_tmp3;
  unsigned int *llvm_cbe_tmp4;
  unsigned int llvm_cbe_call;
  unsigned int *llvm_cbe_tmp5;
  unsigned char *llvm_cbe_tmp__67;
  *(&llvm_cbe_this_2e_addr) = llvm_cbe_this;
  *(&llvm_cbe_stack_i_2e_addr) = llvm_cbe_stack_i;
  *(&llvm_cbe_y_2e_addr) = llvm_cbe_y;
  *(&llvm_cbe_glob_2e_addr) = llvm_cbe_glob;
  llvm_cbe_this1 = *(&llvm_cbe_this_2e_addr);
  llvm_cbe_tmp = *(&llvm_cbe_stack_i_2e_addr);
  *llvm_cbe_tmp = 0u;
  llvm_cbe_tmp2 = *(&llvm_cbe_stack_i_2e_addr);
  llvm_cbe_tmp3 = *llvm_cbe_tmp2;
  llvm_cbe_tmp4 = *(&llvm_cbe_stack_i_2e_addr);
  llvm_cbe_call =
      _Z9API_CALL1iPv(llvm_cbe_tmp3, (((unsigned char *)llvm_cbe_tmp4)));
  llvm_cbe_tmp5 = *(&llvm_cbe_stack_i_2e_addr);
  *(&llvm_cbe_retval) = (((unsigned char *)llvm_cbe_tmp5));
  llvm_cbe_tmp__67 = *(&llvm_cbe_retval);
  return llvm_cbe_tmp__67;
}


x86 assembly (clang, -O0):
<_ZN5small14PrivateMember2EPiiPj>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    -0x38(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x58(%rbp),%rax
movl   $0x0,(%rax)
mov    -0x38(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    -0x60(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x64(%rbp)
mov    -0x38(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    -0x64(%rbp),%edi
mov    -0x70(%rbp),%rsi
call   1030 <_Z9API_CALL1iPv@plt>
mov    %eax,-0x74(%rbp)
mov    -0x38(%rbp),%rax
mov    %rax,-0x80(%rbp)
mov    -0x80(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,-0x88(%rbp)
mov    -0x88(%rbp),%rax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<_ZN5small14PrivateMember2EPiiPj>:
push   %rbx
mov    %rsi,%rbx
movl   $0x0,(%rsi)
xor    %edi,%edi
call   1030 <_Z9API_CALL1iPv@plt>
mov    %rbx,%rax
pop    %rbx
ret

LLVM IR (-O0):
%struct.l_class_OC_small = type { i32 }
define i8* @_ZN5small14PrivateMember2EPiiPj(%struct.l_class_OC_small* %0, i32* %1, i32 %2, i32* %3) {
%5 = alloca %struct.l_class_OC_small*
%6 = alloca i32*
%7 = alloca i32
%8 = alloca i32*
%9 = alloca i8*
%10 = alloca %struct.l_class_OC_small*
%11 = alloca i32*
%12 = alloca i32
%13 = alloca i32*
%14 = alloca %struct.l_class_OC_small*
%15 = alloca i32*
%16 = alloca i32*
%17 = alloca i32
%18 = alloca i32*
%19 = alloca i32
%20 = alloca i32*
%21 = alloca i8*
store %struct.l_class_OC_small* %0, %struct.l_class_OC_small** %5
store i32* %1, i32** %6
store i32 %2, i32* %7
store i32* %3, i32** %8
%22 = load %struct.l_class_OC_small*, %struct.l_class_OC_small** %5
store %struct.l_class_OC_small* %22, %struct.l_class_OC_small** %10
%23 = load i32*, i32** %6
store i32* %23, i32** %11
%24 = load i32, i32* %7
store i32 %24, i32* %12
%25 = load i32*, i32** %8
store i32* %25, i32** %13
%26 = load %struct.l_class_OC_small*, %struct.l_class_OC_small** %10
store %struct.l_class_OC_small* %26, %struct.l_class_OC_small** %14
%27 = load i32*, i32** %11
store i32* %27, i32** %15
%28 = load i32*, i32** %15
store i32 0, i32* %28
%29 = load i32*, i32** %11
store i32* %29, i32** %16
%30 = load i32*, i32** %16
%31 = load i32, i32* %30
store i32 %31, i32* %17
%32 = load i32*, i32** %11
store i32* %32, i32** %18
%33 = load i32, i32* %17
%34 = load i32*, i32** %18
%35 = bitcast i32* %34 to i8*
%36 = call i32 @_Z9API_CALL1iPv(i32 %33, i8* %35)
store i32 %36, i32* %19
%37 = load i32*, i32** %11
store i32* %37, i32** %20
%38 = load i32*, i32** %20
%39 = bitcast i32* %38 to i8*
store i8* %39, i8** %9
%40 = load i8*, i8** %9
store i8* %40, i8** %21
%41 = load i8*, i8** %21
ret i8* %41
}

LLVM IR (-O2):
%struct.l_class_OC_small = type { i32 }
define i8* @_ZN5small14PrivateMember2EPiiPj(%struct.l_class_OC_small* nocapture readnone %0, i32* %1, i32 %2, i32* nocapture readnone %3) {
store i32 0, i32* %1
%5 = bitcast i32* %1 to i8*
%6 = tail call i32 @_Z9API_CALL1iPv(i32 0, i8* %5)
ret i8* %5
}