#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*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stderr;
void ar_psettings(char *file_a, char *file_b, char *tclass_str, int tclass,
                  unsigned int seed, long int R, int shuffle,
                  unsigned int jobs) {
  fprintf(stderr, "settings:\n");
  fprintf(stderr, "   input for method A : %s\n", file_a);
  fprintf(stderr, "   input for method B : %s\n", file_b);
  fprintf(stderr, "   target class       : %s (intrnl. rep. %d)\n", tclass_str,
          tclass);
  fprintf(stderr, "   initial random seed: %u\n", seed);
  fprintf(stderr, "   total AR rounds    : %ld\n", R);
  fprintf(stderr, "   shuffle lists      : %d\n", shuffle);
  fprintf(stderr, "   worker threads     : %d\n", jobs);
}


x86 assembly (clang, -O0):
<ar_psettings>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8d,-0x20(%rbp)
mov    %r9,-0x28(%rbp)
mov    0x2ea4(%rip),%rax
mov    (%rax),%edi
lea    0xebb(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e8d(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xeab(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e72(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rdx
lea    0xeac(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e57(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%rdx
mov    -0x1c(%rbp),%ecx
lea    0xeaa(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e39(%rip),%rax
mov    (%rax),%edi
mov    -0x20(%rbp),%edx
lea    0xebe(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e1f(%rip),%rax
mov    (%rax),%edi
mov    -0x28(%rbp),%rdx
lea    0xebf(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e04(%rip),%rax
mov    (%rax),%edi
mov    0x10(%rbp),%edx
lea    0xec2(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2dea(%rip),%rax
mov    (%rax),%edi
mov    0x18(%rbp),%edx
lea    0xec4(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ar_psettings>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %r9,0x10(%rsp)
mov    %r8d,%r13d
mov    %ecx,%ebx
mov    %rdx,%rbp
mov    %rsi,%r14
mov    %rdi,%r15
mov    0x58(%rsp),%eax
mov    %eax,0xc(%rsp)
mov    0x50(%rsp),%eax
mov    %eax,0x8(%rsp)
mov    0x2e98(%rip),%r12
mov    (%r12),%edi
lea    0xead(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
lea    0xea6(%rip),%rsi
mov    %r15,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
lea    0xead(%rip),%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
lea    0xeb4(%rip),%rsi
mov    %rbp,%rdx
mov    %ebx,%ecx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
lea    0xecb(%rip),%rsi
mov    %r13d,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
lea    0xed2(%rip),%rsi
mov    0x10(%rsp),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
lea    0xed8(%rip),%rsi
mov    0x8(%rsp),%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
lea    0xede(%rip),%rsi
mov    0xc(%rsp),%edx
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [11 x i8] c"settings:\0A\00"
@.str.1 = [28 x i8] c" input for method A : %s\0A\00"
@.str.2 = [28 x i8] c" input for method B : %s\0A\00"
@.str.3 = [46 x i8] c" target class : %s (intrnl. rep. %d)\0A\00"
@.str.4 = [28 x i8] c" initial random seed: %u\0A\00"
@.str.5 = [29 x i8] c" total AR rounds : %ld\0A\00"
@.str.6 = [28 x i8] c" shuffle lists : %d\0A\00"
@.str.7 = [28 x i8] c" worker threads : %d\0A\00"
define void @ar_psettings(i8* %0, i8* %1, i8* %2, i32 %3, i32 %4, i64 %5, i32 %6, i32 %7) {
%9 = alloca i8*
%10 = alloca i8*
%11 = alloca i8*
%12 = alloca i32
%13 = alloca i32
%14 = alloca i64
%15 = alloca i32
%16 = alloca i32
store i8* %0, i8** %9
store i8* %1, i8** %10
store i8* %2, i8** %11
store i32 %3, i32* %12
store i32 %4, i32* %13
store i64 %5, i64* %14
store i32 %6, i32* %15
store i32 %7, i32* %16
%17 = load i32, i32* @stderr
%18 = call i32 (i32, i8*, ...) @fprintf(i32 %17, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%19 = load i32, i32* @stderr
%20 = load i8*, i8** %9
%21 = call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i8* %20)
%22 = load i32, i32* @stderr
%23 = load i8*, i8** %10
%24 = call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i8* %23)
%25 = load i32, i32* @stderr
%26 = load i8*, i8** %11
%27 = load i32, i32* %12
%28 = call i32 (i32, i8*, ...) @fprintf(i32 %25, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0), i8* %26, i32 %27)
%29 = load i32, i32* @stderr
%30 = load i32, i32* %13
%31 = call i32 (i32, i8*, ...) @fprintf(i32 %29, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0), i32 %30)
%32 = load i32, i32* @stderr
%33 = load i64, i64* %14
%34 = call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0), i64 %33)
%35 = load i32, i32* @stderr
%36 = load i32, i32* %15
%37 = call i32 (i32, i8*, ...) @fprintf(i32 %35, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.6, i64 0, i64 0), i32 %36)
%38 = load i32, i32* @stderr
%39 = load i32, i32* %16
%40 = call i32 (i32, i8*, ...) @fprintf(i32 %38, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0), i32 %39)
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [11 x i8] c"settings:\0A\00"
@.str.1 = [28 x i8] c" input for method A : %s\0A\00"
@.str.2 = [28 x i8] c" input for method B : %s\0A\00"
@.str.3 = [46 x i8] c" target class : %s (intrnl. rep. %d)\0A\00"
@.str.4 = [28 x i8] c" initial random seed: %u\0A\00"
@.str.5 = [29 x i8] c" total AR rounds : %ld\0A\00"
@.str.6 = [28 x i8] c" shuffle lists : %d\0A\00"
@.str.7 = [28 x i8] c" worker threads : %d\0A\00"
define void @ar_psettings(i8* %0, i8* %1, i8* %2, i32 %3, i32 %4, i64 %5, i32 %6, i32 %7) {
%9 = load i32, i32* @stderr
%10 = tail call i32 (i32, i8*, ...) @fprintf(i32 %9, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = tail call i32 (i32, i8*, ...) @fprintf(i32 %11, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i8* %0)
%13 = load i32, i32* @stderr
%14 = tail call i32 (i32, i8*, ...) @fprintf(i32 %13, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i8* %1)
%15 = load i32, i32* @stderr
%16 = tail call i32 (i32, i8*, ...) @fprintf(i32 %15, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0), i8* %2, i32 %3)
%17 = load i32, i32* @stderr
%18 = tail call i32 (i32, i8*, ...) @fprintf(i32 %17, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0), i32 %4)
%19 = load i32, i32* @stderr
%20 = tail call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0), i64 %5)
%21 = load i32, i32* @stderr
%22 = tail call i32 (i32, i8*, ...) @fprintf(i32 %21, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.6, i64 0, i64 0), i32 %6)
%23 = load i32, i32* @stderr
%24 = tail call i32 (i32, i8*, ...) @fprintf(i32 %23, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0), i32 %7)
ret void
}