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

    LCDState expect_state = {
      {0, 1, 1, 1, 0, 0},
      {0, 1, 1, 1, 0, 0},
      {0, 1, 1, 1, 0, 0},
      {0, 0, 0, 0, 1, 1}
    };
    EXPECT_EQ(expect_state, lcd->getState());
  }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0xe0, %rsp
movq %rdi, %rbx
leaq 0x98(%rsp), %rsi
movw $0x1, (%rsi)
leaq 0x38(%rsp), %rdi
pushq $0x2
popq %rdx
leaq 0x10(%rsp), %rcx
callq 0x2795e
leaq 0x50(%rsp), %r14
leaq 0x18(%rsp), %rsi
movw $0x100, (%rsi)          # imm = 0x100
pushq $0x2
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 0x29217
movq 0x18(%rbx), %r15
leaq 0xb0(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x27ed2
leaq 0xb0(%rsp), %rsi
pushq $0x1
popq %rdx
pushq $0x3
popq %r8
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x2d424
leaq 0xb0(%rsp), %rdi
callq 0x279ce
leaq 0x18(%rsp), %rsi
movl $0x1010100, (%rsi)      # imm = 0x1010100
andw $0x0, 0x4(%rsi)
leaq 0x38(%rsp), %r15
pushq $0x6
popq %rdx
leaq 0xf(%rsp), %rcx
movq %r15, %rdi
callq 0x2795e
leaq 0x10(%rsp), %rsi
movl $0x1010100, (%rsi)      # imm = 0x1010100
andw $0x0, 0x4(%rsi)
pushq $0x6
popq %rdx
leaq 0xe(%rsp), %rcx
movq %r14, %rdi
callq 0x2795e
leaq 0x68(%rsp), %r14
leaq 0x30(%rsp), %rsi
movl $0x1010100, (%rsi)      # imm = 0x1010100
andw $0x0, 0x4(%rsi)
pushq $0x6
popq %rdx
leaq 0xd(%rsp), %rcx
movq %r14, %rdi
callq 0x2795e
leaq 0x80(%rsp), %r14
leaq 0x28(%rsp), %rsi
andl $0x0, (%rsi)
movw $0x101, 0x4(%rsi)       # imm = 0x101
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 0x2931b
movq 0x10(%rbx), %rsi
leaq 0x38(%rsp), %rdi
callq 0x27ed2
leaq 0x1c1bb(%rip), %rsi     # 0x45502
leaq 0x1c1a4(%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 0x293d0
leaq 0x38(%rsp), %rdi
callq 0x2f572
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x2938f
movq (%rax), %r8
jmp 0x29396
leaq 0x1ead4(%rip), %r8      # 0x47e6a
leaq 0x1c024(%rip), %rdx     # 0x453c1
leaq 0x10(%rsp), %rdi
pushq $0x1
popq %rsi
pushq $0x60
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 0x29413
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x27e3a
jmp 0x29422
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x27e80
jmp 0x29440
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x279ce
jmp 0x29440
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
jmp 0x29491
movq %rax, %rbx
pushq $0x48
popq %r14
leaq (%rsp,%r14), %rdi
addq $0x38, %rdi
callq 0x27a48
addq $-0x18, %r14
cmpq $-0x18, %r14
jne 0x29451
jmp 0x2949b
jmp 0x2946e
jmp 0x2946e
movq %rax, %rbx
addq $-0x18, %r14
movq %r14, %rdi
callq 0x27a48
cmpq %r15, %r14
jne 0x29471
jmp 0x2949b
jmp 0x29498
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x279ce
jmp 0x2949b
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 0x294b7
jmp 0x294a8
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x27a48
jmp 0x294a8
movq %rax, %rbx
jmp 0x294a8