#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*/ U_PMF_MEMCPY_SRCSHIFT(void *, char const **, int);
int U_PMF_CORE1_get(const char *contents, void *v1, void *v2, void *v3,
                    void *v4, void *v5, void *v6, const char **vR) {
  if (v1) {
    U_PMF_MEMCPY_SRCSHIFT(v1, &contents, 4);
    if (v2) {
      U_PMF_MEMCPY_SRCSHIFT(v2, &contents, 4);
      if (v3) {
        U_PMF_MEMCPY_SRCSHIFT(v3, &contents, 4);
        if (v4) {
          U_PMF_MEMCPY_SRCSHIFT(v4, &contents, 4);
          if (v5) {
            U_PMF_MEMCPY_SRCSHIFT(v5, &contents, 4);
            if (v6) {
              U_PMF_MEMCPY_SRCSHIFT(v6, &contents, 4);
            }
          }
        }
      }
    }
  }
  if (vR) {
    *vR = contents;
  }
  return (1);
}


x86 assembly (clang, -O0):
<U_PMF_CORE1_get>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     11ff <U_PMF_CORE1_get+0xef>
mov    -0x10(%rbp),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x4,%edx
call   1030 <U_PMF_MEMCPY_SRCSHIFT@plt>
cmpq   $0x0,-0x18(%rbp)
je     11fa <U_PMF_CORE1_get+0xea>
mov    -0x18(%rbp),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x4,%edx
call   1030 <U_PMF_MEMCPY_SRCSHIFT@plt>
cmpq   $0x0,-0x20(%rbp)
je     11f5 <U_PMF_CORE1_get+0xe5>
mov    -0x20(%rbp),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x4,%edx
call   1030 <U_PMF_MEMCPY_SRCSHIFT@plt>
cmpq   $0x0,-0x28(%rbp)
je     11f0 <U_PMF_CORE1_get+0xe0>
mov    -0x28(%rbp),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x4,%edx
call   1030 <U_PMF_MEMCPY_SRCSHIFT@plt>
cmpq   $0x0,-0x30(%rbp)
je     11eb <U_PMF_CORE1_get+0xdb>
mov    -0x30(%rbp),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x4,%edx
call   1030 <U_PMF_MEMCPY_SRCSHIFT@plt>
cmpq   $0x0,0x10(%rbp)
je     11e6 <U_PMF_CORE1_get+0xd6>
mov    0x10(%rbp),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x4,%edx
call   1030 <U_PMF_MEMCPY_SRCSHIFT@plt>
jmp    11eb <U_PMF_CORE1_get+0xdb>
jmp    11f0 <U_PMF_CORE1_get+0xe0>
jmp    11f5 <U_PMF_CORE1_get+0xe5>
jmp    11fa <U_PMF_CORE1_get+0xea>
jmp    11ff <U_PMF_CORE1_get+0xef>
cmpq   $0x0,0x18(%rbp)
je     1215 <U_PMF_CORE1_get+0x105>
mov    -0x8(%rbp),%rcx
mov    0x18(%rbp),%rax
mov    %rcx,(%rax)
mov    $0x1,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<U_PMF_CORE1_get>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x10,%rsp
mov    0x48(%rsp),%r13
mov    %rdi,0x8(%rsp)
test   %rsi,%rsi
je     11c9 <U_PMF_CORE1_get+0xb9>
mov    %r9,%r14
mov    %r8,%r15
mov    %rcx,%r12
mov    %rdx,%rbx
lea    0x8(%rsp),%rax
mov    %rsi,%rdi
mov    %rax,%rsi
mov    $0x4,%edx
call   1030 <U_PMF_MEMCPY_SRCSHIFT@plt>
test   %rbx,%rbx
je     11c9 <U_PMF_CORE1_get+0xb9>
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
mov    $0x4,%edx
call   1030 <U_PMF_MEMCPY_SRCSHIFT@plt>
test   %r12,%r12
je     11c9 <U_PMF_CORE1_get+0xb9>
lea    0x8(%rsp),%rsi
mov    %r12,%rdi
mov    $0x4,%edx
call   1030 <U_PMF_MEMCPY_SRCSHIFT@plt>
test   %r15,%r15
je     11c9 <U_PMF_CORE1_get+0xb9>
lea    0x8(%rsp),%rsi
mov    %r15,%rdi
mov    $0x4,%edx
call   1030 <U_PMF_MEMCPY_SRCSHIFT@plt>
test   %r14,%r14
je     11c9 <U_PMF_CORE1_get+0xb9>
mov    0x40(%rsp),%rbx
lea    0x8(%rsp),%rsi
mov    %r14,%rdi
mov    $0x4,%edx
call   1030 <U_PMF_MEMCPY_SRCSHIFT@plt>
test   %rbx,%rbx
je     11c9 <U_PMF_CORE1_get+0xb9>
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
mov    $0x4,%edx
call   1030 <U_PMF_MEMCPY_SRCSHIFT@plt>
test   %r13,%r13
je     11d7 <U_PMF_CORE1_get+0xc7>
mov    0x8(%rsp),%rax
mov    %rax,0x0(%r13)
mov    $0x1,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define i32 @U_PMF_CORE1_get(i8* %0, i8* %1, i8* %2, i8* %3, i8* %4, i8* %5, i8* %6, i8** %7) {
%9 = alloca i8*
%10 = alloca i8*
%11 = alloca i8*
%12 = alloca i8*
%13 = alloca i8*
%14 = alloca i8*
%15 = alloca i8*
%16 = alloca i8**
store i8* %0, i8** %9
store i8* %1, i8** %10
store i8* %2, i8** %11
store i8* %3, i8** %12
store i8* %4, i8** %13
store i8* %5, i8** %14
store i8* %6, i8** %15
store i8** %7, i8*** %16
%17 = load i8*, i8** %10
%18 = icmp ne i8* %17, null
br i1 %18, label %19, label %52
19: ; preds = %8
%20 = load i8*, i8** %10
%21 = call i32 @U_PMF_MEMCPY_SRCSHIFT(i8* %20, i8** %9, i32 4)
%22 = load i8*, i8** %11
%23 = icmp ne i8* %22, null
br i1 %23, label %24, label %51
24: ; preds = %19
%25 = load i8*, i8** %11
%26 = call i32 @U_PMF_MEMCPY_SRCSHIFT(i8* %25, i8** %9, i32 4)
%27 = load i8*, i8** %12
%28 = icmp ne i8* %27, null
br i1 %28, label %29, label %50
29: ; preds = %24
%30 = load i8*, i8** %12
%31 = call i32 @U_PMF_MEMCPY_SRCSHIFT(i8* %30, i8** %9, i32 4)
%32 = load i8*, i8** %13
%33 = icmp ne i8* %32, null
br i1 %33, label %34, label %49
34: ; preds = %29
%35 = load i8*, i8** %13
%36 = call i32 @U_PMF_MEMCPY_SRCSHIFT(i8* %35, i8** %9, i32 4)
%37 = load i8*, i8** %14
%38 = icmp ne i8* %37, null
br i1 %38, label %39, label %48
39: ; preds = %34
%40 = load i8*, i8** %14
%41 = call i32 @U_PMF_MEMCPY_SRCSHIFT(i8* %40, i8** %9, i32 4)
%42 = load i8*, i8** %15
%43 = icmp ne i8* %42, null
br i1 %43, label %44, label %47
44: ; preds = %39
%45 = load i8*, i8** %15
%46 = call i32 @U_PMF_MEMCPY_SRCSHIFT(i8* %45, i8** %9, i32 4)
br label %47
47: ; preds = %44, %39
br label %48
48: ; preds = %47, %34
br label %49
49: ; preds = %48, %29
br label %50
50: ; preds = %49, %24
br label %51
51: ; preds = %50, %19
br label %52
52: ; preds = %51, %8
%53 = load i8**, i8*** %16
%54 = icmp ne i8** %53, null
br i1 %54, label %55, label %58
55: ; preds = %52
%56 = load i8*, i8** %9
%57 = load i8**, i8*** %16
store i8* %56, i8** %57
br label %58
58: ; preds = %55, %52
ret i32 1
}

LLVM IR (-O2):
define i32 @U_PMF_CORE1_get(i8* %0, i8* %1, i8* %2, i8* %3, i8* %4, i8* %5, i8* %6, i8** writeonly %7) {
%9 = alloca i8*
store i8* %0, i8** %9
%10 = icmp eq i8* %1, null
br i1 %10, label %28, label %11
11: ; preds = %8
%12 = call i32 @U_PMF_MEMCPY_SRCSHIFT(i8* %1, i8** %9, i32 4)
%13 = icmp eq i8* %2, null
br i1 %13, label %28, label %14
14: ; preds = %11
%15 = call i32 @U_PMF_MEMCPY_SRCSHIFT(i8* %2, i8** %9, i32 4)
%16 = icmp eq i8* %3, null
br i1 %16, label %28, label %17
17: ; preds = %14
%18 = call i32 @U_PMF_MEMCPY_SRCSHIFT(i8* %3, i8** %9, i32 4)
%19 = icmp eq i8* %4, null
br i1 %19, label %28, label %20
20: ; preds = %17
%21 = call i32 @U_PMF_MEMCPY_SRCSHIFT(i8* %4, i8** %9, i32 4)
%22 = icmp eq i8* %5, null
br i1 %22, label %28, label %23
23: ; preds = %20
%24 = call i32 @U_PMF_MEMCPY_SRCSHIFT(i8* %5, i8** %9, i32 4)
%25 = icmp eq i8* %6, null
br i1 %25, label %28, label %26
26: ; preds = %23
%27 = call i32 @U_PMF_MEMCPY_SRCSHIFT(i8* %6, i8** %9, i32 4)
br label %28
28: ; preds = %11, %17, %23, %26, %20, %14, %8
%29 = icmp eq i8** %7, null
br i1 %29, label %32, label %30
30: ; preds = %28
%31 = load i8*, i8** %9
store i8* %31, i8** %7
br label %32
32: ; preds = %30, %28
ret i32 1
}