#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*/ list_methods(char *, int *, int);
int /*<<< orphan*/ printf(char *);
void list_methods_lists(void) {
  int methods[6];
  list_methods("Available adjustment methods", methods, 4);
  list_methods("Available real adjustment methods", methods, 3);
  list_methods("Available real non-fake adjustment methods", methods, 2);
  list_methods("Recommended adjustment methods", methods, 1);
  list_methods("Recommended non-fake adjustment methods", methods, 0);
  printf("\n");
}


x86 assembly (clang, -O0):
<list_methods_lists>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
lea    -0x20(%rbp),%rsi
lea    0xecd(%rip),%rdi
mov    $0x4,%edx
call   1040 <list_methods@plt>
lea    -0x20(%rbp),%rsi
lea    0xed5(%rip),%rdi
mov    $0x3,%edx
call   1040 <list_methods@plt>
lea    -0x20(%rbp),%rsi
lea    0xee2(%rip),%rdi
mov    $0x2,%edx
call   1040 <list_methods@plt>
lea    -0x20(%rbp),%rsi
lea    0xef8(%rip),%rdi
mov    $0x1,%edx
call   1040 <list_methods@plt>
lea    -0x20(%rbp),%rsi
lea    0xf02(%rip),%rdi
xor    %edx,%edx
call   1040 <list_methods@plt>
lea    0xf1c(%rip),%rdi
call   1030 <printf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<list_methods_lists>:
push   %rbx
sub    $0x20,%rsp
lea    0xed4(%rip),%rdi
mov    %rsp,%rbx
mov    %rbx,%rsi
mov    $0x4,%edx
call   1040 <list_methods@plt>
lea    0xeda(%rip),%rdi
mov    %rbx,%rsi
mov    $0x3,%edx
call   1040 <list_methods@plt>
lea    0xee8(%rip),%rdi
mov    %rbx,%rsi
mov    $0x2,%edx
call   1040 <list_methods@plt>
lea    0xeff(%rip),%rdi
mov    %rbx,%rsi
mov    $0x1,%edx
call   1040 <list_methods@plt>
lea    0xf0a(%rip),%rdi
mov    %rbx,%rsi
xor    %edx,%edx
call   1040 <list_methods@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x20,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [29 x i8] c"Available adjustment methods\00"
@.str.1 = [34 x i8] c"Available real adjustment methods\00"
@.str.2 = [43 x i8] c"Available real non-fake adjustment methods\00"
@.str.3 = [31 x i8] c"Recommended adjustment methods\00"
@.str.4 = [40 x i8] c"Recommended non-fake adjustment methods\00"
@.str.5 = [2 x i8] c"\0A\00"
define void @list_methods_lists() {
%1 = alloca [6 x i32]
%2 = getelementptr inbounds [6 x i32], [6 x i32]* %1, i64 0, i64 0
%3 = call i32 @list_methods(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0), i32* %2, i32 4)
%4 = getelementptr inbounds [6 x i32], [6 x i32]* %1, i64 0, i64 0
%5 = call i32 @list_methods(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i32* %4, i32 3)
%6 = getelementptr inbounds [6 x i32], [6 x i32]* %1, i64 0, i64 0
%7 = call i32 @list_methods(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0), i32* %6, i32 2)
%8 = getelementptr inbounds [6 x i32], [6 x i32]* %1, i64 0, i64 0
%9 = call i32 @list_methods(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0), i32* %8, i32 1)
%10 = getelementptr inbounds [6 x i32], [6 x i32]* %1, i64 0, i64 0
%11 = call i32 @list_methods(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0), i32* %10, i32 0)
%12 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [29 x i8] c"Available adjustment methods\00"
@.str.1 = [34 x i8] c"Available real adjustment methods\00"
@.str.2 = [43 x i8] c"Available real non-fake adjustment methods\00"
@.str.3 = [31 x i8] c"Recommended adjustment methods\00"
@.str.4 = [40 x i8] c"Recommended non-fake adjustment methods\00"
define void @list_methods_lists() {
%1 = alloca [6 x i32]
%2 = bitcast [6 x i32]* %1 to i8*
%3 = getelementptr inbounds [6 x i32], [6 x i32]* %1, i64 0, i64 0
%4 = call i32 @list_methods(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0), i32* %3, i32 4)
%5 = call i32 @list_methods(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i32* %3, i32 3)
%6 = call i32 @list_methods(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0), i32* %3, i32 2)
%7 = call i32 @list_methods(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0), i32* %3, i32 1)
%8 = call i32 @list_methods(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0), i32* %3, i32 0)
%9 = call i32 @putchar(i32 10)
ret void
}