// File: /workspace/github_c_makefile_star2_O0/pipde[P]deos-songlib/utils/phrases/phrases.c
// Function: prelude
static void
prelude(FILE *out,char *take)
    {
    int i;
    fprintf(out,"#include <stdio.h>\n");
    fprintf(out,"#include <stdlib.h>\n");
    fprintf(out,"#include <stdarg.h>\n");
    fprintf(out,"#include \"/usr/local/include/songlib/util.h\"\n");
    fprintf(out,"#include \"/usr/local/include/songlib/songlib.h\"\n");

    fprintf(out,"\n");
    fprintf(out,"/* change PROGRAM_NAME and PROGRAM_VERSION appropriately */\n");
    fprintf(out,"char *PROGRAM_NAME = \"vocals\";\n");
    fprintf(out,"char *PROGRAM_VERSION = \"0.01\";\n");
    fprintf(out,"\n");
    fprintf(out,"double TimingOffset = 0.0;\n");
    fprintf(out,"\n");
    fprintf(out,"int\n");
    fprintf(out,"main()\n");
    fprintf(out,"    {\n");
    for (i = 0; i < banksize; ++i)
        fprintf(out,"    int take%d = readScale(\"raw-vocals/\",\"%s\");\n",
            i+1,banks[i]);
    fprintf(out,"\n");
    fprintf(out,"    songInit();\n");
    fprintf(out,"\n");
    fprintf(out,"    setAmplitude(1.0);\n");
    fprintf(out,"\n");
    fprintf(out,"    openOutput(\"vocals.rra\",0,0);\n");
    fprintf(out,"\n");
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
leaq 0x1778(%rip), %rsi      # 0x3383
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x177a(%rip), %rsi      # 0x3397
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x177d(%rip), %rsi      # 0x33ac
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x1780(%rip), %rsi      # 0x33c1
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x179c(%rip), %rsi      # 0x33ef
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x17b9(%rip), %rsi      # 0x341e
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x17a9(%rip), %rsi      # 0x3420
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x17d4(%rip), %rsi      # 0x345d
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x17e2(%rip), %rsi      # 0x347d
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x1771(%rip), %rsi      # 0x341e
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x17df(%rip), %rsi      # 0x349e
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x174d(%rip), %rsi      # 0x341e
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x17d7(%rip), %rsi      # 0x34ba
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x17ca(%rip), %rsi      # 0x34bf
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x17c0(%rip), %rsi      # 0x34c7
movb $0x0, %al
callq 0x10c0
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
cmpl 0x43e2(%rip), %eax      # 0x6100
jge 0x1d52
movq -0x8(%rbp), %rdi
movl -0x14(%rbp), %edx
addl $0x1, %edx
movslq -0x14(%rbp), %rcx
leaq 0x43db(%rip), %rax      # 0x6110
movq (%rax,%rcx,8), %rcx
leaq 0x178e(%rip), %rsi      # 0x34ce
movb $0x0, %al
callq 0x10c0
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x1d15
movq -0x8(%rbp), %rdi
leaq 0x16c1(%rip), %rsi      # 0x341e
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x1790(%rip), %rsi      # 0x34ff
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x169d(%rip), %rsi      # 0x341e
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x177d(%rip), %rsi      # 0x3510
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x1679(%rip), %rsi      # 0x341e
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x1771(%rip), %rsi      # 0x3528
movb $0x0, %al
callq 0x10c0
movq -0x8(%rbp), %rdi
leaq 0x1655(%rip), %rsi      # 0x341e
movb $0x0, %al
callq 0x10c0
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)