// File: /workspace/github_cpp_makefile_star2_O1/danomatika[P]miditester/src/main.cpp
// Function: channelMessages(std::vector<TestSet, std::allocator<TestSet>>&, int)
void channelMessages(TestQueue &queue, int channel) {
    TestSet set;
    set.name = "channel";
    set.messages = {

        {
            (unsigned char)(MIDI_NOTEON + channel),
            64, // note
            65  // velocity
        },
        
        {
            (unsigned char)(MIDI_NOTEOFF + channel),
            66, // note
            0   // velocity
        },

        {
            (unsigned char)(MIDI_POLYAFTERTOUCH + channel),
            67, // note
            68  // value
        },

        {
            (unsigned char)(MIDI_CONTROLCHANGE + channel),
            69, // control
            70  // value
        },

        {
            (unsigned char)(MIDI_PROGRAMCHANGE + channel),
            71  // program
        },

        {
            (unsigned char)(MIDI_AFTERTOUCH + channel),
            72  // value
        },

        {
            (unsigned char)(MIDI_PITCHBEND + channel),
            73, // value lsb
            0   // value msb
        }
    };
    queue.push_back(set);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movl %esi, %r12d
movq %rdi, %r15
leaq 0x38(%rsp), %rbp
movq %rbp, -0x10(%rbp)
xorl %eax, %eax
movq %rax, -0x8(%rbp)
movb $0x0, (%rbp)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbp)
movq %rax, 0x20(%rbp)
leaq 0x3378(%rip), %rcx      # 0x810a
leaq 0x28(%rsp), %rdi
movl $0x7, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x3210
leal -0x70(%r12), %eax
leaq 0x25(%rsp), %rsi
movb %al, (%rsi)
movw $0x4140, 0x1(%rsi)      # imm = 0x4140
leaq 0x60(%rsp), %r14
leaq 0x14(%rsp), %rcx
movl $0x3, %edx
movq %r14, %rdi
callq 0x5e6e
leaq 0x78(%rsp), %rbx
leal -0x80(%r12), %eax
leaq 0x22(%rsp), %rsi
movb %al, (%rsi)
movw $0x42, 0x1(%rsi)
leaq 0x13(%rsp), %rcx
movl $0x3, %edx
movq %rbx, %rdi
callq 0x5e6e
leaq 0x90(%rsp), %rbx
leal -0x60(%r12), %eax
leaq 0x1f(%rsp), %rsi
movb %al, (%rsi)
movw $0x4443, 0x1(%rsi)      # imm = 0x4443
leaq 0x12(%rsp), %rcx
movl $0x3, %edx
movq %rbx, %rdi
callq 0x5e6e
leaq 0xa8(%rsp), %rbx
leal -0x50(%r12), %eax
leaq 0x1c(%rsp), %rsi
movb %al, (%rsi)
movw $0x4645, 0x1(%rsi)      # imm = 0x4645
leaq 0x11(%rsp), %rcx
movl $0x3, %edx
movq %rbx, %rdi
callq 0x5e6e
leaq 0xc0(%rsp), %rbx
leal -0x40(%r12), %eax
leaq 0x17(%rsp), %rsi
movb %al, (%rsi)
movb $0x47, 0x1(%rsi)
leaq 0x10(%rsp), %rcx
movl $0x2, %edx
movq %rbx, %rdi
callq 0x5e6e
leaq 0xd8(%rsp), %rbx
leal -0x30(%r12), %eax
leaq 0x15(%rsp), %rsi
movb %al, (%rsi)
movb $0x48, 0x1(%rsi)
leaq 0xf(%rsp), %rcx
movl $0x2, %edx
movq %rbx, %rdi
callq 0x5e6e
leaq 0xf0(%rsp), %rbx
addb $-0x20, %r12b
leaq 0x19(%rsp), %rsi
movb %r12b, (%rsi)
movw $0x49, 0x1(%rsi)
leaq 0xe(%rsp), %rcx
movl $0x3, %edx
movq %rbx, %rdi
callq 0x5e6e
leaq 0x48(%rsp), %r12
leaq 0x108(%rsp), %r13
leaq 0x60(%rsp), %rsi
movq %r12, %rdi
movq %r13, %rdx
callq 0x60c8
movl $0xa8, %ebx
movq 0x48(%rsp,%rbx), %rdi
testq %rdi, %rdi
je 0x4f09
movq 0x58(%rsp,%rbx), %rsi
subq %rdi, %rsi
callq 0x31a0
addq $-0x18, %rbx
jne 0x4ef2
leaq 0x28(%rsp), %rsi
movq %r15, %rdi
callq 0x5eb2
movq %r12, %rdi
callq 0x5f0e
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4f3b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x31a0
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
leaq 0x60(%rsp), %rsi
movq %r13, %rdi
callq 0x32d0
movb $0x1, %al
jmp 0x4f70
jmp 0x4f6b
jmp 0x4f6b
jmp 0x4f6b
jmp 0x4f6b
jmp 0x4f6b
movq %rax, %r15
xorl %eax, %eax
cmpq %rbx, %r14
je 0x4fab
testb %al, %al
jne 0x4fab
leaq 0x60(%rsp), %r14
movq -0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x4f93
movq -0x8(%rbx), %rsi
subq %rdi, %rsi
callq 0x31a0
addq $-0x18, %rbx
cmpq %r14, %rbx
jne 0x4f7e
jmp 0x4fab
movq %rax, %r15
xorl %eax, %eax
movq %r14, %rbx
jmp 0x4f70
movq %rax, %r15
leaq 0x28(%rsp), %rdi
callq 0x5edc
movq %r15, %rdi
callq 0x3280