// File: /workspace/github_cpp_makefile_star2_O3/interimadd[P]M5Stack-PixelArt/test/pixel_art_m5stack_test.cpp
// Function: (anonymous namespace)::TestPixelArtM5stack_SetPixelArt_Test::TestBody()
TEST_F(TestPixelArtM5stack, SetPixelArt)
  {
    ALL_PIXEL_ARTS_LIST = {
      {  {{1}},  {{2}}  }
    };
    PIXEL_ART_POS_X = 0;
    PIXEL_ART_POS_Y = 0;
    PIXEL_ART_SCALE = 1;
    setup();
    loop();
    MonochromePixelArt expect_loop1 = {
      {1, 0, 0},
      {0, 0, 0}
    };
    EXPECT_EQ(expect_loop1, lcd->getState());
    loop();
    MonochromePixelArt expect_loop2 = {
      {2, 0, 0},
      {0, 0, 0}
    };
    EXPECT_EQ(expect_loop2, lcd->getState());
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x88, %rsp
leaq 0x8(%rsp), %rsi
movb $0x1, (%rsi)
leaq 0x58(%rsp), %rdi
leaq 0x3(%rsp), %rcx
movl $0x1, %edx
callq 0x2093a
leaq 0x10(%rsp), %r14
leaq 0x58(%rsp), %rsi
leaq 0x2(%rsp), %rcx
movl $0x1, %edx
movq %r14, %rdi
callq 0x2097e
leaq 0x28(%rsp), %r14
leaq 0x4(%rsp), %rsi
movb $0x2, (%rsi)
leaq 0x40(%rsp), %rdi
leaq 0x7(%rsp), %rcx
movl $0x1, %edx
callq 0x2093a
leaq 0x40(%rsp), %rsi
leaq 0x6(%rsp), %rcx
movl $0x1, %edx
movq %r14, %rdi
callq 0x2097e
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x5(%rsp), %rcx
movl $0x2, %edx
callq 0x20fac
leaq 0x88(%rsp), %rdx
leaq 0x3b021(%rip), %rdi     # 0x60630
leaq 0x70(%rsp), %rsi
callq 0x264cc
leaq 0x70(%rsp), %rdi
callq 0x20ff6
movl $0x18, %ebx
leaq (%rsp,%rbx), %rdi
addq $0x10, %rdi
callq 0x209f0
addq $-0x18, %rbx
cmpq $-0x18, %rbx
jne 0x25628
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x25656
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x2566d
movq 0x68(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
xorl %eax, %eax
movl %eax, 0x3afd3(%rip)     # 0x60648
movl %eax, 0x3afd1(%rip)     # 0x6064c
movl $0x1, 0x3afcb(%rip)     # 0x60650
callq 0x273e8
callq 0x2756f
leaq 0x58(%rsp), %rsi
movw $0x1, (%rsi)
movb $0x0, 0x2(%rsi)
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rcx
movl $0x3, %edx
callq 0x2093a
leaq 0x28(%rsp), %rdi
leaq 0x40(%rsp), %rsi
movw $0x0, (%rsi)
movb $0x0, 0x2(%rsi)
leaq 0x3(%rsp), %rcx
movl $0x3, %edx
callq 0x2093a
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x2(%rsp), %rcx
movl $0x2, %edx
callq 0x2097e
movl $0x30, %ebx
movq -0x8(%rsp,%rbx), %rdi
testq %rdi, %rdi
je 0x25708
movq 0x8(%rsp,%rbx), %rsi
subq %rdi, %rsi
callq 0x1d460
addq $-0x18, %rbx
jne 0x256f1
leaq 0x3af6b(%rip), %rbx     # 0x60680
movq (%rbx), %rsi
leaq 0x10(%rsp), %rdi
callq 0x20f12
leaq 0x24ba6(%rip), %rsi     # 0x4a2cf
leaq 0x23dc2(%rip), %rdx     # 0x494f2
leaq 0x58(%rsp), %rdi
leaq 0x70(%rsp), %rcx
leaq 0x10(%rsp), %r8
callq 0x211e7
leaq 0x10(%rsp), %rdi
callq 0x209f0
cmpb $0x0, 0x58(%rsp)
jne 0x257cf
leaq 0x10(%rsp), %rdi
callq 0x29d3a
movq 0x60(%rsp), %rax
testq %rax, %rax
je 0x2576e
movq (%rax), %r8
jmp 0x25775
leaq 0x26725(%rip), %r8      # 0x4be9a
leaq 0x24ab5(%rip), %rdx     # 0x4a231
leaq 0x40(%rsp), %rdi
movl $0x1, %esi
movl $0x2b, %ecx
callq 0x27a58
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x27af4
leaq 0x40(%rsp), %rdi
callq 0x27ac4
cmpq $0x0, 0x10(%rsp)
je 0x257cf
movl $0x1, %edi
callq 0x27a55
testb %al, %al
je 0x257cf
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x257cf
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x60(%rsp), %rdi
xorl %esi, %esi
callq 0x20ebe
callq 0x2756f
leaq 0x40(%rsp), %rsi
movw $0x2, (%rsi)
movb $0x0, 0x2(%rsi)
leaq 0x10(%rsp), %rdi
leaq 0x3(%rsp), %rcx
movl $0x3, %edx
callq 0x2093a
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
movw $0x0, (%rsi)
movb $0x0, 0x2(%rsi)
leaq 0x2(%rsp), %rcx
movl $0x3, %edx
callq 0x2093a
leaq 0x58(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x4(%rsp), %rcx
movl $0x2, %edx
callq 0x2097e
movl $0x30, %r14d
movq -0x8(%rsp,%r14), %rdi
testq %rdi, %rdi
je 0x2585a
movq 0x8(%rsp,%r14), %rsi
subq %rdi, %rsi
callq 0x1d460
addq $-0x18, %r14
jne 0x25843
movq (%rbx), %rsi
leaq 0x10(%rsp), %rdi
callq 0x20f12
leaq 0x24a68(%rip), %rsi     # 0x4a2dc
leaq 0x23c77(%rip), %rdx     # 0x494f2
leaq 0x40(%rsp), %rdi
leaq 0x58(%rsp), %rcx
leaq 0x10(%rsp), %r8
callq 0x211e7
leaq 0x10(%rsp), %rdi
callq 0x209f0
cmpb $0x0, 0x40(%rsp)
jne 0x2591a
leaq 0x10(%rsp), %rdi
callq 0x29d3a
movq 0x48(%rsp), %rax
testq %rax, %rax
je 0x258b9
movq (%rax), %r8
jmp 0x258c0
leaq 0x265da(%rip), %r8      # 0x4be9a
leaq 0x2496a(%rip), %rdx     # 0x4a231
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
movl $0x31, %ecx
callq 0x27a58
leaq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x27af4
leaq 0x8(%rsp), %rdi
callq 0x27ac4
cmpq $0x0, 0x10(%rsp)
je 0x2591a
movl $0x1, %edi
callq 0x27a55
testb %al, %al
je 0x2591a
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x2591a
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
callq 0x20ebe
leaq 0x58(%rsp), %rdi
callq 0x209f0
leaq 0x70(%rsp), %rdi
callq 0x209f0
addq $0x88, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x25a0f
jmp 0x25a0f
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x27ac4
jmp 0x25964
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x209c8
jmp 0x25973
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x209da
jmp 0x259c0
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x27ac4
jmp 0x25991
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x209c8
jmp 0x259a0
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x209da
jmp 0x25a29
jmp 0x25a0f
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x209f0
jmp 0x259c0
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
jmp 0x25a1f
movq %rax, %rbx
movl $0x30, %r14d
movq -0x8(%rsp,%r14), %rdi
testq %rdi, %rdi
je 0x259e7
movq 0x8(%rsp,%r14), %rsi
subq %rdi, %rsi
callq 0x1d460
addq $-0x18, %r14
jne 0x259d0
jmp 0x25a29
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x25a29
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
jmp 0x25a29
jmp 0x25a26
jmp 0x25a26
movq %rax, %rdi
callq 0x2092b
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x209f0
jmp 0x25a29
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x209f0
movq %rbx, %rdi
callq 0x1d900
movq %rax, %rbx
movl $0x30, %r14d
movq -0x8(%rsp,%r14), %rdi
testq %rdi, %rdi
je 0x25a5b
movq 0x8(%rsp,%r14), %rsi
subq %rdi, %rsi
callq 0x1d460
addq $-0x18, %r14
jne 0x25a44
jmp 0x25a33
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x25a33
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
jmp 0x25a33
jmp 0x25b23
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x20ff6
jmp 0x25a96
movq %rax, %rbx
movl $0x18, %r15d
leaq (%rsp,%r15), %rdi
addq $0x10, %rdi
callq 0x209f0
addq $-0x18, %r15
cmpq $-0x18, %r15
jne 0x25a9c
xorl %ebp, %ebp
jmp 0x25abd
movq %rax, %rbx
movb $0x1, %bpl
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x25ade
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
jmp 0x25ade
jmp 0x25ad8
movq %rax, %rbx
movb $0x1, %bpl
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x25af5
movq 0x68(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
leaq 0x10(%rsp), %r15
cmpq %r14, %r15
setne %al
andb %al, %bpl
cmpb $0x1, %bpl
jne 0x25a33
addq $-0x18, %r14
movq %r14, %rdi
callq 0x209f0
cmpq %r15, %r14
jne 0x25b0d
jmp 0x25a33
movq %rax, %rbx
jmp 0x25a33
nop