// File: /workspace/github_c_makefile_star2_O0/pipde[P]deos-songlib/lib/songlib.c
// Function: setTime
void
setTime(int bpm,int note)
    {
    previousMeasures += samplesToMeasures(location - spaces - measuredLocation);
    measuredLocation = location;

    beatsPerMeasure = bpm;
    noteValue = note;

    T  = note / 32.0;
    S  = T * 2.0;
    I  = S * 2.0;
    Q  = I * 2.0;
    H  = Q * 2.0;
    W  = H * 2.0;

    Td = T * 1.5;
    Sd = S * 1.5;
    Id = I * 1.5;
    Qd = Q * 1.5;
    Hd = H * 1.5;
    Wd = W * 1.5;

    Tt = T / 3.0 * 2.0;
    St = S / 3.0 * 2.0;
    It = I / 3.0 * 2.0;
    Qt = Q / 3.0 * 2.0;
    Ht = H / 3.0 * 2.0;
    Wt = W / 3.0 * 2.0;

    TD = St * 2;
    SD = It * 2;
    ID = Qt * 2;
    QD = Ht * 2;
    HD = Wt * 2;
    WD = 2 * Wt * 2;

    TU = St;
    SU = It;
    IU = Qt;
    QU = Ht;
    HU = Wt;
    WU = 2 * Wt;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movsd 0x1b5a2(%rip), %xmm0    # 0x21cd8
subsd 0x1b8ea(%rip), %xmm0    # 0x22028
cvtsi2sdl 0x1b906(%rip), %xmm1 # 0x2204c
subsd %xmm1, %xmm0
callq 0x3b30
addsd 0x1b8f9(%rip), %xmm0    # 0x22050
movsd %xmm0, 0x1b8f1(%rip)    # 0x22050
cvttsd2si 0x1b571(%rip), %eax # 0x21cd8
movl %eax, 0x1b8df(%rip)     # 0x2204c
movl -0x4(%rbp), %eax
movl %eax, 0xbcaa(%rip)      # 0x12420
movl -0x8(%rbp), %eax
movl %eax, 0xbcf5(%rip)      # 0x12474
cvtsi2sdl -0x8(%rbp), %xmm0
movsd 0x6c14(%rip), %xmm1     # 0xd3a0
divsd %xmm1, %xmm0
movsd %xmm0, 0xba98(%rip)     # 0x12230
movsd 0x6b90(%rip), %xmm0     # 0xd330
mulsd 0xba88(%rip), %xmm0     # 0x12230
movsd %xmm0, 0xba88(%rip)     # 0x12238
movsd 0x6b78(%rip), %xmm0     # 0xd330
mulsd 0xba78(%rip), %xmm0     # 0x12238
movsd %xmm0, 0xba78(%rip)     # 0x12240
movsd 0x6b60(%rip), %xmm0     # 0xd330
mulsd 0xba68(%rip), %xmm0     # 0x12240
movsd %xmm0, 0xba68(%rip)     # 0x12248
movsd 0x6b48(%rip), %xmm0     # 0xd330
mulsd 0xba58(%rip), %xmm0     # 0x12248
movsd %xmm0, 0xba58(%rip)     # 0x12250
movsd 0x6b30(%rip), %xmm0     # 0xd330
mulsd 0xba48(%rip), %xmm0     # 0x12250
movsd %xmm0, 0xba48(%rip)     # 0x12258
movsd 0x6b28(%rip), %xmm0     # 0xd340
mulsd 0xba10(%rip), %xmm0     # 0x12230
movsd %xmm0, 0xba38(%rip)     # 0x12260
movsd 0x6b10(%rip), %xmm0     # 0xd340
mulsd 0xba00(%rip), %xmm0     # 0x12238
movsd %xmm0, 0xba28(%rip)     # 0x12268
movsd 0x6af8(%rip), %xmm0     # 0xd340
mulsd 0xb9f0(%rip), %xmm0     # 0x12240
movsd %xmm0, 0xba18(%rip)     # 0x12270
movsd 0x6ae0(%rip), %xmm0     # 0xd340
mulsd 0xb9e0(%rip), %xmm0     # 0x12248
movsd %xmm0, 0xba08(%rip)     # 0x12278
movsd 0x6ac8(%rip), %xmm0     # 0xd340
mulsd 0xb9d0(%rip), %xmm0     # 0x12250
movsd %xmm0, 0xb9f8(%rip)     # 0x12280
movsd 0x6ab0(%rip), %xmm0     # 0xd340
mulsd 0xb9c0(%rip), %xmm0     # 0x12258
movsd %xmm0, 0xb9e8(%rip)     # 0x12288
movsd 0xb988(%rip), %xmm0     # 0x12230
movsd 0x6a98(%rip), %xmm1     # 0xd348
divsd %xmm1, %xmm0
movsd 0x6a74(%rip), %xmm1     # 0xd330
mulsd %xmm1, %xmm0
movsd %xmm0, 0xb9c8(%rip)     # 0x12290
movsd 0xb968(%rip), %xmm0     # 0x12238
movsd 0x6a70(%rip), %xmm1     # 0xd348
divsd %xmm1, %xmm0
movsd 0x6a4c(%rip), %xmm1     # 0xd330
mulsd %xmm1, %xmm0
movsd %xmm0, 0xb9a8(%rip)     # 0x12298
movsd 0xb948(%rip), %xmm0     # 0x12240
movsd 0x6a48(%rip), %xmm1     # 0xd348
divsd %xmm1, %xmm0
movsd 0x6a24(%rip), %xmm1     # 0xd330
mulsd %xmm1, %xmm0
movsd %xmm0, 0xb988(%rip)     # 0x122a0
movsd 0xb928(%rip), %xmm0     # 0x12248
movsd 0x6a20(%rip), %xmm1     # 0xd348
divsd %xmm1, %xmm0
movsd 0x69fc(%rip), %xmm1     # 0xd330
mulsd %xmm1, %xmm0
movsd %xmm0, 0xb968(%rip)     # 0x122a8
movsd 0xb908(%rip), %xmm0     # 0x12250
movsd 0x69f8(%rip), %xmm1     # 0xd348
divsd %xmm1, %xmm0
movsd 0x69d4(%rip), %xmm1     # 0xd330
mulsd %xmm1, %xmm0
movsd %xmm0, 0xb948(%rip)     # 0x122b0
movsd 0xb8e8(%rip), %xmm0     # 0x12258
movsd 0x69d0(%rip), %xmm1     # 0xd348
divsd %xmm1, %xmm0
movsd 0x69ac(%rip), %xmm1     # 0xd330
mulsd %xmm1, %xmm0
movsd %xmm0, 0xb928(%rip)     # 0x122b8
movsd 0x6998(%rip), %xmm0     # 0xd330
mulsd 0xb8f8(%rip), %xmm0     # 0x12298
movsd %xmm0, 0xb918(%rip)     # 0x122c0
movsd 0x6980(%rip), %xmm0     # 0xd330
mulsd 0xb8e8(%rip), %xmm0     # 0x122a0
movsd %xmm0, 0xb908(%rip)     # 0x122c8
movsd 0x6968(%rip), %xmm0     # 0xd330
mulsd 0xb8d8(%rip), %xmm0     # 0x122a8
movsd %xmm0, 0xb8f8(%rip)     # 0x122d0
movsd 0x6950(%rip), %xmm0     # 0xd330
mulsd 0xb8c8(%rip), %xmm0     # 0x122b0
movsd %xmm0, 0xb8e8(%rip)     # 0x122d8
movsd 0x6938(%rip), %xmm0     # 0xd330
mulsd 0xb8b8(%rip), %xmm0     # 0x122b8
movsd %xmm0, 0xb8d8(%rip)     # 0x122e0
movsd 0x6920(%rip), %xmm0     # 0xd330
mulsd 0xb8a0(%rip), %xmm0     # 0x122b8
movsd 0x6910(%rip), %xmm1     # 0xd330
mulsd %xmm1, %xmm0
movsd %xmm0, 0xb8bc(%rip)     # 0x122e8
movsd 0xb864(%rip), %xmm0     # 0x12298
movsd %xmm0, 0xb8b4(%rip)     # 0x122f0
movsd 0xb85c(%rip), %xmm0     # 0x122a0
movsd %xmm0, 0xb8ac(%rip)     # 0x122f8
movsd 0xb854(%rip), %xmm0     # 0x122a8
movsd %xmm0, 0xb8a4(%rip)     # 0x12300
movsd 0xb84c(%rip), %xmm0     # 0x122b0
movsd %xmm0, 0xb89c(%rip)     # 0x12308
movsd 0xb844(%rip), %xmm0     # 0x122b8
movsd %xmm0, 0xb894(%rip)     # 0x12310
movsd 0x68ac(%rip), %xmm0     # 0xd330
mulsd 0xb82c(%rip), %xmm0     # 0x122b8
movsd %xmm0, 0xb884(%rip)     # 0x12318
addq $0x10, %rsp
popq %rbp
retq
nopw (%rax,%rax)