// File: /workspace/github_cpp_makefile_star2_O2/interimadd[P]M5Stack-PixelArt/test/pixel_art_manager_test.cpp
// Function: (anonymous namespace)::TestPixelArtManager_DrawPixelArt_Test::TestBody()
TEST_F(TestPixelArtManager, DrawPixelArt)
  {
    int pos_x = 0, pos_y = 0, scale = 1;
    MonochromePixelArt pixel_art = {
      {1, 0, 0},
      {0, 0, 1}
    };
    mng->drawPixelArt(pixel_art, pos_x, pos_y, scale);
  
    LCDState expect = {
      {1, 0, 0, 0, 0, 0},
      {0, 0, 1, 0, 0, 0},
      {0, 0, 0, 0, 0, 0},
      {0, 0, 0, 0, 0, 0}
    };
    EXPECT_EQ(expect, lcd->getState());
  }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0xe0, %rsp
movq %rdi, %rbx
leaq 0x98(%rsp), %rsi
movw $0x1, (%rsi)
movb $0x0, 0x2(%rsi)
leaq 0x38(%rsp), %rdi
pushq $0x3
popq %rdx
leaq 0x10(%rsp), %rcx
callq 0x2795e
leaq 0x50(%rsp), %r14
leaq 0x18(%rsp), %rsi
andw $0x0, (%rsi)
movb $0x1, 0x2(%rsi)
pushq $0x3
popq %rdx
leaq 0x30(%rsp), %rcx
movq %r14, %rdi
callq 0x2795e
leaq 0xc8(%rsp), %rdi
leaq 0x38(%rsp), %rsi
pushq $0x2
popq %rdx
leaq 0x28(%rsp), %rcx
callq 0x27994
pushq $0x18
popq %r15
leaq (%rsp,%r15), %rdi
addq $0x38, %rdi
callq 0x27a48
addq $-0x18, %r15
cmpq $-0x18, %r15
jne 0x28ae8
movq 0x18(%rbx), %r15
leaq 0xb0(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x27ed2
leaq 0xb0(%rsp), %rsi
pushq $0x1
popq %r8
movq %r15, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x2d424
leaq 0xb0(%rsp), %rdi
callq 0x279ce
leaq 0x18(%rsp), %rsi
movb $0x1, (%rsi)
andl $0x0, 0x1(%rsi)
movb $0x0, 0x5(%rsi)
leaq 0x38(%rsp), %r15
pushq $0x6
popq %rdx
leaq 0xf(%rsp), %rcx
movq %r15, %rdi
callq 0x2795e
leaq 0x10(%rsp), %rsi
movl $0x10000, (%rsi)        # imm = 0x10000
andw $0x0, 0x4(%rsi)
pushq $0x6
popq %rdx
leaq 0xe(%rsp), %rcx
movq %r14, %rdi
callq 0x2795e
leaq 0x30(%rsp), %rsi
andw $0x0, 0x4(%rsi)
leaq 0x68(%rsp), %r14
andl $0x0, (%rsi)
pushq $0x6
popq %rdx
leaq 0xd(%rsp), %rcx
movq %r14, %rdi
callq 0x2795e
leaq 0x28(%rsp), %rsi
andw $0x0, 0x4(%rsi)
leaq 0x80(%rsp), %r14
andl $0x0, (%rsi)
pushq $0x6
popq %rdx
leaq 0xc(%rsp), %rcx
movq %r14, %rdi
callq 0x2795e
leaq 0x98(%rsp), %rdi
leaq 0x38(%rsp), %rsi
pushq $0x4
popq %rdx
leaq 0xb(%rsp), %rcx
callq 0x27994
pushq $0x48
popq %r14
leaq (%rsp,%r14), %rdi
addq $0x38, %rdi
callq 0x27a48
addq $-0x18, %r14
cmpq $-0x18, %r14
jne 0x28be7
movq 0x10(%rbx), %rsi
leaq 0x38(%rsp), %rdi
callq 0x27ed2
leaq 0x1c8d8(%rip), %rsi     # 0x454eb
leaq 0x1c8d8(%rip), %rdx     # 0x454f2
leaq 0x18(%rsp), %rdi
leaq 0x98(%rsp), %rcx
leaq 0x38(%rsp), %r8
callq 0x281b7
leaq 0x38(%rsp), %rdi
callq 0x279ce
cmpb $0x0, 0x18(%rsp)
jne 0x28c9c
leaq 0x38(%rsp), %rdi
callq 0x2f572
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x28c5b
movq (%rax), %r8
jmp 0x28c62
leaq 0x1f208(%rip), %r8      # 0x47e6a
leaq 0x1c758(%rip), %rdx     # 0x453c1
leaq 0x10(%rsp), %rdi
pushq $0x1
popq %rsi
pushq $0x3c
popq %rcx
callq 0x2dddc
leaq 0x10(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x2de5a
leaq 0x10(%rsp), %rdi
callq 0x2de3c
leaq 0x38(%rsp), %rdi
callq 0x27e3a
leaq 0x20(%rsp), %rdi
callq 0x27e80
leaq 0x98(%rsp), %rdi
callq 0x279ce
leaq 0xc8(%rsp), %rdi
callq 0x279ce
addq $0xe0, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x2de3c
jmp 0x28cdf
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x27e3a
jmp 0x28cee
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x27e80
jmp 0x28d0c
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x279ce
jmp 0x28d0c
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
jmp 0x28d5d
movq %rax, %rbx
pushq $0x48
popq %r14
leaq (%rsp,%r14), %rdi
addq $0x38, %rdi
callq 0x27a48
addq $-0x18, %r14
cmpq $-0x18, %r14
jne 0x28d1d
jmp 0x28d67
jmp 0x28d3a
jmp 0x28d3a
movq %rax, %rbx
addq $-0x18, %r14
movq %r14, %rdi
callq 0x27a48
cmpq %r15, %r14
jne 0x28d3d
jmp 0x28d67
jmp 0x28d64
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x279ce
jmp 0x28d67
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0x279ce
movq %rbx, %rdi
callq 0x25930
movq %rax, %rbx
pushq $0x18
popq %r14
leaq (%rsp,%r14), %rdi
addq $0x38, %rdi
callq 0x27a48
addq $-0x18, %r14
cmpq $-0x18, %r14
jne 0x28d83
jmp 0x28d74
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x27a48
jmp 0x28d74
movq %rax, %rbx
jmp 0x28d74