#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*/ printf(char *, ...);
void Istruzioni(int argc, char **argv) {
  int i_ind;
  printf("\nRigolCsvToWav - Versione %s - Istruzioni:\n", "1.4.0");
  printf("  RigolCsvToWav.exe [-v] [-vv] -sr sample_rate -i file_in [-o "
         "out[.wav]]\n");
  printf("    La posizione dei parametri non conta.\n");
  printf("    Parametri obbligatori:\n");
  printf("      -i : Nome file csv.\n");
  printf("      -sr: Sample rate. Parametro obbligatorio.\n");
  printf("           Il valore deve essere nella forma N[M]\n");
  printf("             N: un intero maggiore di zero\n");
  printf("             M: una stringa case insensitive opzionale del tipo "
         "k[*]|m[*]|g[*]\n");
  printf("                k, K: *10^3\n");
  printf("                m, M: *10^6\n");
  printf("                g, G: *10^9\n");
  printf("                Ogni altra stringa di caratteri e' ininfluente.\n");
  printf("    Parametri opzionali:\n");
  printf("      -o : Nome file wav.\n");
  printf("           Se non specificato viene preso il nome del file in "
         "ingresso con estensione '.wav'.\n");
  printf("      -sk: Numero righe da ignorare all'inizio del file.\n");
  printf("           Di default sono 2.\n");
  printf("      -v:  Verbose.\n");
  printf("           Visualizza i passaggi.\n");
  printf("      -vv: Very Verbose.\n");
  printf("           Visualizza i dati letti dal file csv ed alcune "
         "statistiche.\n");
  printf("      -?:  Help.\n");
  printf("           Visualizza questo menu'.\n");
  printf(
      "\n Es: RigolCsvToWav [-v] -sr 125Mega [-o out[.wav]] file_in.csv\n\n");
  printf("\nHai scritto:\n");
  for (i_ind = 0; i_ind < argc; i_ind++)
    printf("%s ", argv[i_ind]);
  printf("\n");
}


x86 assembly (clang, -O0):
<Istruzioni>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xeda(%rip),%rdi
lea    0xeff(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf33(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf50(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf5e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf8e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfd1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1013(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1022(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1031(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1040(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1073(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x107f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x108c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10dd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1109(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x111a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1121(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1136(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1142(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x117c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1180(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1197(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11cb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    12cd <Istruzioni+0x1bd>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
lea    0x11ad(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1299 <Istruzioni+0x189>
lea    0x1180(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Istruzioni>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %edi,%ebp
lea    0xebd(%rip),%rdi
lea    0xee2(%rip),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xede(%rip),%rdi
call   1040 <puts@plt>
lea    0xf1b(%rip),%rdi
call   1040 <puts@plt>
lea    0xf39(%rip),%rdi
call   1040 <puts@plt>
lea    0xf48(%rip),%rdi
call   1040 <puts@plt>
lea    0xf56(%rip),%rdi
call   1040 <puts@plt>
lea    0xf7a(%rip),%rdi
call   1040 <puts@plt>
lea    0xfa0(%rip),%rdi
call   1040 <puts@plt>
lea    0xfbf(%rip),%rdi
call   1040 <puts@plt>
lea    0x1002(%rip),%rdi
call   1040 <puts@plt>
lea    0x1012(%rip),%rdi
call   1040 <puts@plt>
lea    0x1022(%rip),%rdi
call   1040 <puts@plt>
lea    0x1032(%rip),%rdi
call   1040 <puts@plt>
lea    0x1066(%rip),%rdi
call   1040 <puts@plt>
lea    0x1073(%rip),%rdi
call   1040 <puts@plt>
lea    0x1081(%rip),%rdi
call   1040 <puts@plt>
lea    0x10d3(%rip),%rdi
call   1040 <puts@plt>
lea    0x1100(%rip),%rdi
call   1040 <puts@plt>
lea    0x1112(%rip),%rdi
call   1040 <puts@plt>
lea    0x111a(%rip),%rdi
call   1040 <puts@plt>
lea    0x1130(%rip),%rdi
call   1040 <puts@plt>
lea    0x113d(%rip),%rdi
call   1040 <puts@plt>
lea    0x1178(%rip),%rdi
call   1040 <puts@plt>
lea    0x117d(%rip),%rdi
call   1040 <puts@plt>
lea    0x1195(%rip),%rdi
call   1040 <puts@plt>
lea    0x11ca(%rip),%rdi
call   1040 <puts@plt>
test   %ebp,%ebp
jle    12a7 <Istruzioni+0x177>
mov    %ebp,%ebx
lea    0xda8(%rip),%r15
xor    %ebp,%ebp
nopl   0x0(%rax)
mov    (%r14,%rbp,8),%rsi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%rbx
jne    1290 <Istruzioni+0x160>
mov    $0xa,%edi
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [44 x i8] c"\0ARigolCsvToWav - Versione %s - Istruzioni:\0A\00"
@.str.1 = [6 x i8] c"1.4.0\00"
@.str.2 = [74 x i8] c" RigolCsvToWav.exe [-v] [-vv] -sr sample_rate -i file_in [-o out[.wav]]\0A\00"
@.str.3 = [43 x i8] c" La posizione dei parametri non conta.\0A\00"
@.str.4 = [28 x i8] c" Parametri obbligatori:\0A\00"
@.str.5 = [27 x i8] c" -i : Nome file csv.\0A\00"
@.str.6 = [49 x i8] c" -sr: Sample rate. Parametro obbligatorio.\0A\00"
@.str.7 = [51 x i8] c" Il valore deve essere nella forma N[M]\0A\00"
@.str.8 = [44 x i8] c" N: un intero maggiore di zero\0A\00"
@.str.9 = [80 x i8] c" M: una stringa case insensitive opzionale del tipo k[*]|m[*]|g[*]\0A\00"
@.str.10 = [29 x i8] c" k, K: *10^3\0A\00"
@.str.11 = [29 x i8] c" m, M: *10^6\0A\00"
@.str.12 = [29 x i8] c" g, G: *10^9\0A\00"
@.str.13 = [65 x i8] c" Ogni altra stringa di caratteri e' ininfluente.\0A\00"
@.str.14 = [26 x i8] c" Parametri opzionali:\0A\00"
@.str.15 = [27 x i8] c" -o : Nome file wav.\0A\00"
@.str.16 = [95 x i8] c" Se non specificato viene preso il nome del file in ingresso con estensione '.wav'.\0A\00"
@.str.17 = [58 x i8] c" -sk: Numero righe da ignorare all'inizio del file.\0A\00"
@.str.18 = [31 x i8] c" Di default sono 2.\0A\00"
@.str.19 = [21 x i8] c" -v: Verbose.\0A\00"
@.str.20 = [35 x i8] c" Visualizza i passaggi.\0A\00"
@.str.21 = [26 x i8] c" -vv: Very Verbose.\0A\00"
@.str.22 = [72 x i8] c" Visualizza i dati letti dal file csv ed alcune statistiche.\0A\00"
@.str.23 = [18 x i8] c" -?: Help.\0A\00"
@.str.24 = [37 x i8] c" Visualizza questo menu'.\0A\00"
@.str.25 = [66 x i8] c"\0A Es: RigolCsvToWav [-v] -sr 125Mega [-o out[.wav]] file_in.csv\0A\0A\00"
@.str.26 = [15 x i8] c"\0AHai scritto:\0A\00"
@.str.27 = [4 x i8] c"%s \00"
@.str.28 = [2 x i8] c"\0A\00"
define void @Istruzioni(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
%5 = alloca i32
store i32 %0, i32* %3
store i8** %1, i8*** %4
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.2, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.3, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.6, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.7, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.8, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.9, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.11, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.12, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.13, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.14, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.15, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.16, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.17, i64 0, i64 0))
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.18, i64 0, i64 0))
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.19, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.20, i64 0, i64 0))
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.21, i64 0, i64 0))
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.22, i64 0, i64 0))
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.23, i64 0, i64 0))
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.24, i64 0, i64 0))
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.25, i64 0, i64 0))
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.26, i64 0, i64 0))
store i32 0, i32* %5
br label %32
32: ; preds = %43, %2
%33 = load i32, i32* %5
%34 = load i32, i32* %3
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %46
36: ; preds = %32
%37 = load i8**, i8*** %4
%38 = load i32, i32* %5
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8*, i8** %37, i64 %39
%41 = load i8*, i8** %40
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.27, i64 0, i64 0), i8* %41)
br label %43
43: ; preds = %36
%44 = load i32, i32* %5
%45 = add nsw i32 %44, 1
store i32 %45, i32* %5
br label %32
46: ; preds = %32
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.28, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [44 x i8] c"\0ARigolCsvToWav - Versione %s - Istruzioni:\0A\00"
@.str.1 = [6 x i8] c"1.4.0\00"
@.str.27 = [4 x i8] c"%s \00"
@str = [73 x i8] c" RigolCsvToWav.exe [-v] [-vv] -sr sample_rate -i file_in [-o out[.wav]]\00"
@str.29 = [42 x i8] c" La posizione dei parametri non conta.\00"
@str.30 = [27 x i8] c" Parametri obbligatori:\00"
@str.31 = [26 x i8] c" -i : Nome file csv.\00"
@str.32 = [48 x i8] c" -sr: Sample rate. Parametro obbligatorio.\00"
@str.33 = [50 x i8] c" Il valore deve essere nella forma N[M]\00"
@str.34 = [43 x i8] c" N: un intero maggiore di zero\00"
@str.35 = [79 x i8] c" M: una stringa case insensitive opzionale del tipo k[*]|m[*]|g[*]\00"
@str.36 = [28 x i8] c" k, K: *10^3\00"
@str.37 = [28 x i8] c" m, M: *10^6\00"
@str.38 = [28 x i8] c" g, G: *10^9\00"
@str.39 = [64 x i8] c" Ogni altra stringa di caratteri e' ininfluente.\00"
@str.40 = [25 x i8] c" Parametri opzionali:\00"
@str.41 = [26 x i8] c" -o : Nome file wav.\00"
@str.42 = [94 x i8] c" Se non specificato viene preso il nome del file in ingresso con estensione '.wav'.\00"
@str.43 = [57 x i8] c" -sk: Numero righe da ignorare all'inizio del file.\00"
@str.44 = [30 x i8] c" Di default sono 2.\00"
@str.45 = [20 x i8] c" -v: Verbose.\00"
@str.46 = [34 x i8] c" Visualizza i passaggi.\00"
@str.47 = [25 x i8] c" -vv: Very Verbose.\00"
@str.48 = [71 x i8] c" Visualizza i dati letti dal file csv ed alcune statistiche.\00"
@str.49 = [17 x i8] c" -?: Help.\00"
@str.50 = [36 x i8] c" Visualizza questo menu'.\00"
@str.51 = [65 x i8] c"\0A Es: RigolCsvToWav [-v] -sr 125Mega [-o out[.wav]] file_in.csv\0A\00"
@str.52 = [14 x i8] c"\0AHai scritto:\00"
define void @Istruzioni(i32 %0, i8** nocapture %1) {
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.29, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.30, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.31, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.32, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.33, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.34, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.35, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.36, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.37, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.38, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.39, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.40, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.41, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([94 x i8], [94 x i8]* @str.42, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.43, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.44, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.45, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.46, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.47, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.48, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.49, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.50, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.51, i64 0, i64 0))
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.52, i64 0, i64 0))
%29 = icmp sgt i32 %0, 0
br i1 %29, label %30, label %39
30: ; preds = %2
%31 = zext i32 %0 to i64
br label %32
32: ; preds = %30, %32
%33 = phi i64 [ 0, %30 ], [ %37, %32 ]
%34 = getelementptr inbounds i8*, i8** %1, i64 %33
%35 = load i8*, i8** %34
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.27, i64 0, i64 0), i8* %35)
%37 = add nuw nsw i64 %33, 1
%38 = icmp eq i64 %37, %31
br i1 %38, label %39, label %32
39: ; preds = %32, %2
%40 = tail call i32 @putchar(i32 10)
ret void
}