// File: /workspace/github_cpp_makefile_star2_O1/interimadd[P]M5Stack-PixelArt/test/pixel_art_manager_test.cpp
// Function: (anonymous namespace)::TestPixelArtManager_AddTwoPixelArtWithFrame_Test::TestBody()
TEST_F(TestPixelArtManager, AddTwoPixelArtWithFrame)
  {
    MonochromePixelArt frame_zero = {{0}};
    MonochromePixelArt frame_one = {{1}};
    MonochromePixelArtWithFrame *pixel_with_frame_zero = new MonochromePixelArtWithFrame({frame_zero});
    MonochromePixelArtWithFrame *pixel_with_frame_one = new MonochromePixelArtWithFrame({frame_one});
    mng_small->addPixelArtWithFrame(*pixel_with_frame_zero);
    mng_small->addPixelArtWithFrame(*pixel_with_frame_one);

    OperationType next_op = OperationType::NEXT_BUTTON;
    mng_small->drawNextFrame(next_op);
    EXPECT_EQ(frame_one, lcd_small->getState());
    mng_small->drawNextFrame(next_op);
    EXPECT_EQ(frame_zero, lcd_small->getState());
    mng_small->drawNextFrame(next_op);
    EXPECT_EQ(frame_one, lcd_small->getState());
  }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rdi, %rbx
movq %rsp, %rsi
movb $0x0, (%rsi)
leaq 0x38(%rsp), %rdi
leaq 0x20(%rsp), %rcx
movl $0x1, %edx
callq 0x20d70
leaq 0x50(%rsp), %rdi
leaq 0x38(%rsp), %rsi
leaq 0x18(%rsp), %rcx
movl $0x1, %edx
callq 0x20db4
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x2342f
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
leaq 0x20(%rsp), %rsi
movb $0x1, (%rsi)
movq %rsp, %rdi
leaq 0x18(%rsp), %rcx
movl $0x1, %edx
callq 0x20d70
leaq 0x38(%rsp), %rdi
movq %rsp, %rsi
leaq 0x37(%rsp), %rcx
movl $0x1, %edx
callq 0x20db4
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x23476
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
movl $0x20, %edi
callq 0x1d430
movq %rax, %r14
movq %rsp, %rdi
leaq 0x50(%rsp), %rsi
callq 0x2133c
leaq 0x80(%rsp), %rdi
movq %rsp, %rsi
leaq 0x20(%rsp), %rcx
movl $0x1, %edx
callq 0x213d6
leaq 0x80(%rsp), %rsi
movq %r14, %rdi
callq 0x274f4
leaq 0x80(%rsp), %rdi
callq 0x21420
movq %rsp, %rdi
callq 0x20e26
movl $0x20, %edi
callq 0x1d430
movq %rax, %r15
movq %rsp, %rdi
leaq 0x38(%rsp), %rsi
callq 0x2133c
leaq 0x68(%rsp), %rdi
movq %rsp, %rsi
leaq 0x20(%rsp), %rcx
movl $0x1, %edx
callq 0x213d6
leaq 0x68(%rsp), %rsi
movq %r15, %rdi
callq 0x274f4
leaq 0x68(%rsp), %rdi
callq 0x21420
movq %rsp, %rdi
callq 0x20e26
movq 0x28(%rbx), %r12
leaq 0xb8(%rsp), %rdi
movq %r14, %rsi
callq 0x242ba
movq 0x18(%r14), %rax
leaq 0xb8(%rsp), %rsi
movq %rax, 0x18(%rsi)
movq %r12, %rdi
movl $0x1, %edx
callq 0x2768c
leaq 0xb8(%rsp), %rdi
callq 0x21420
movq 0x28(%rbx), %r14
leaq 0x98(%rsp), %rdi
movq %r15, %rsi
callq 0x242ba
movq 0x18(%r15), %rax
leaq 0x98(%rsp), %rsi
movq %rax, 0x18(%rsi)
movq %r14, %rdi
movl $0x1, %edx
callq 0x2768c
leaq 0x98(%rsp), %rdi
callq 0x21420
movq 0x28(%rbx), %rdi
movl $0x1, %esi
callq 0x276ee
movq 0x20(%rbx), %rsi
movq %rsp, %rdi
callq 0x2133c
leaq 0x25bc5(%rip), %rsi     # 0x49181
leaq 0x25f4c(%rip), %rdx     # 0x4950f
leaq 0x20(%rsp), %rdi
leaq 0x38(%rsp), %rcx
movq %rsp, %r8
callq 0x2160b
movq %rsp, %rdi
callq 0x20e26
cmpb $0x0, 0x20(%rsp)
jne 0x23660
movq %rsp, %rdi
callq 0x2a416
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x235fb
movq (%rax), %r8
jmp 0x23602
leaq 0x28868(%rip), %r8      # 0x4be6a
leaq 0x25db8(%rip), %rdx     # 0x493c1
leaq 0x18(%rsp), %rdi
movl $0x1, %esi
movl $0x84, %ecx
callq 0x280e0
leaq 0x18(%rsp), %rdi
movq %rsp, %rsi
callq 0x2817e
leaq 0x18(%rsp), %rdi
callq 0x2814c
cmpq $0x0, (%rsp)
je 0x23660
movl $0x1, %edi
callq 0x280dc
testb %al, %al
je 0x23658
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x23658
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, (%rsp)
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x212e8
movq 0x28(%rbx), %rdi
movl $0x1, %esi
callq 0x276ee
movq 0x20(%rbx), %rsi
movq %rsp, %rdi
callq 0x2133c
leaq 0x25a9d(%rip), %rsi     # 0x4912a
leaq 0x25e7b(%rip), %rdx     # 0x4950f
leaq 0x20(%rsp), %rdi
leaq 0x50(%rsp), %rcx
movq %rsp, %r8
callq 0x2160b
movq %rsp, %rdi
callq 0x20e26
cmpb $0x0, 0x20(%rsp)
jne 0x23731
movq %rsp, %rdi
callq 0x2a416
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x236cc
movq (%rax), %r8
jmp 0x236d3
leaq 0x28797(%rip), %r8      # 0x4be6a
leaq 0x25ce7(%rip), %rdx     # 0x493c1
leaq 0x18(%rsp), %rdi
movl $0x1, %esi
movl $0x86, %ecx
callq 0x280e0
leaq 0x18(%rsp), %rdi
movq %rsp, %rsi
callq 0x2817e
leaq 0x18(%rsp), %rdi
callq 0x2814c
cmpq $0x0, (%rsp)
je 0x23731
movl $0x1, %edi
callq 0x280dc
testb %al, %al
je 0x23729
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x23729
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, (%rsp)
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x212e8
movq 0x28(%rbx), %rdi
movl $0x1, %esi
callq 0x276ee
movq 0x20(%rbx), %rsi
movq %rsp, %rdi
callq 0x2133c
leaq 0x25a23(%rip), %rsi     # 0x49181
leaq 0x25daa(%rip), %rdx     # 0x4950f
leaq 0x20(%rsp), %rdi
leaq 0x38(%rsp), %rcx
movq %rsp, %r8
callq 0x2160b
movq %rsp, %rdi
callq 0x20e26
cmpb $0x0, 0x20(%rsp)
jne 0x23802
movq %rsp, %rdi
callq 0x2a416
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x2379d
movq (%rax), %r8
jmp 0x237a4
leaq 0x286c6(%rip), %r8      # 0x4be6a
leaq 0x25c16(%rip), %rdx     # 0x493c1
leaq 0x18(%rsp), %rdi
movl $0x1, %esi
movl $0x88, %ecx
callq 0x280e0
leaq 0x18(%rsp), %rdi
movq %rsp, %rsi
callq 0x2817e
leaq 0x18(%rsp), %rdi
callq 0x2814c
cmpq $0x0, (%rsp)
je 0x23802
movl $0x1, %edi
callq 0x280dc
testb %al, %al
je 0x237fa
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x237fa
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, (%rsp)
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x212e8
leaq 0x38(%rsp), %rdi
callq 0x20e26
leaq 0x50(%rsp), %rdi
callq 0x20e26
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x23883
jmp 0x23883
jmp 0x23883
jmp 0x23843
jmp 0x23852
jmp 0x2385f
jmp 0x23843
jmp 0x23852
jmp 0x2385f
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x2814c
jmp 0x23855
movq %rax, %rbx
movq %rsp, %rdi
callq 0x20dfe
jmp 0x23862
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x20e10
jmp 0x23964
jmp 0x23883
jmp 0x2388b
jmp 0x23961
jmp 0x23883
jmp 0x2388b
jmp 0x23961
movq %rax, %rdi
callq 0x20d60
movq %rax, %rbx
movq %rsp, %rdi
callq 0x20e26
jmp 0x23964
jmp 0x23961
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
jmp 0x238b8
movq %rax, %rbx
leaq 0xb8(%rsp), %rdi
callq 0x21420
jmp 0x23964
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x21420
jmp 0x238d4
movq %rax, %rbx
movq %rsp, %rdi
callq 0x20e26
jmp 0x238e1
movq %rax, %rbx
movl $0x20, %esi
movq %r15, %rdi
jmp 0x23915
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x21420
jmp 0x23900
movq %rax, %rbx
movq %rsp, %rdi
callq 0x20e26
jmp 0x2390d
movq %rax, %rbx
movl $0x20, %esi
movq %r14, %rdi
callq 0x1d460
jmp 0x23964
jmp 0x23961
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2396e
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
jmp 0x2396e
movq %rax, %rbx
jmp 0x2396e
movq %rax, %rbx
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x23978
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
jmp 0x23978
movq %rax, %rbx
jmp 0x23978
jmp 0x23961
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x20e26
leaq 0x50(%rsp), %rdi
callq 0x20e26
movq %rbx, %rdi
callq 0x1d900