// File: /workspace/github_cpp_makefile_star2_O3/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 0x343e(%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), %rbx
leaq 0x14(%rsp), %rcx
movl $0x3, %edx
movq %rbx, %rdi
callq 0x5d50
leaq 0x78(%rsp), %r14
leal -0x80(%r12), %eax
leaq 0x22(%rsp), %rsi
movb %al, (%rsi)
movw $0x42, 0x1(%rsi)
leaq 0x13(%rsp), %rcx
movl $0x3, %edx
movq %r14, %rdi
callq 0x5d50
leaq 0x90(%rsp), %r14
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 %r14, %rdi
callq 0x5d50
leaq 0xa8(%rsp), %r14
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 %r14, %rdi
callq 0x5d50
leaq 0xc0(%rsp), %r14
leal -0x40(%r12), %eax
leaq 0x17(%rsp), %rsi
movb %al, (%rsi)
movb $0x47, 0x1(%rsi)
leaq 0x10(%rsp), %rcx
movl $0x2, %edx
movq %r14, %rdi
callq 0x5d50
leaq 0xd8(%rsp), %r14
leal -0x30(%r12), %eax
leaq 0x15(%rsp), %rsi
movb %al, (%rsi)
movb $0x48, 0x1(%rsi)
leaq 0xf(%rsp), %rcx
movl $0x2, %edx
movq %r14, %rdi
callq 0x5d50
leaq 0xf0(%rsp), %r14
addb $-0x20, %r12b
leaq 0x19(%rsp), %rsi
movb %r12b, (%rsi)
movw $0x49, 0x1(%rsi)
leaq 0xe(%rsp), %rcx
movl $0x3, %edx
movq %r14, %rdi
callq 0x5d50
leaq 0x48(%rsp), %r12
leaq 0x108(%rsp), %r13
leaq 0x60(%rsp), %rsi
movq %r12, %rdi
movq %r13, %rdx
callq 0x5fbc
movl $0xa8, %ebx
movq 0x48(%rsp,%rbx), %rdi
testq %rdi, %rdi
je 0x4e43
movq 0x58(%rsp,%rbx), %rsi
subq %rdi, %rsi
callq 0x31a0
addq $-0x18, %rbx
jne 0x4e2c
leaq 0x28(%rsp), %rsi
movq %r15, %rdi
callq 0x5d94
movq %r12, %rdi
callq 0x5df0
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4e75
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 0x4eaa
jmp 0x4ea5
jmp 0x4ea5
jmp 0x4ea5
jmp 0x4ea5
jmp 0x4ea5
movq %rax, %r15
xorl %eax, %eax
cmpq %r14, %rbx
je 0x4ed8
testb %al, %al
jne 0x4ed8
movq -0x18(%r14), %rdi
testq %rdi, %rdi
je 0x4ec8
movq -0x8(%r14), %rsi
subq %rdi, %rsi
callq 0x31a0
addq $-0x18, %r14
cmpq %rbx, %r14
jne 0x4eb3
jmp 0x4ed8
jmp 0x4ed5
movq %rax, %r15
leaq 0x28(%rsp), %rdi
callq 0x5dbe
movq %r15, %rdi
callq 0x3280