// File: /workspace/github_cpp_makefile_star2_O3/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
leaq 0x8(%rsp), %rsi
movb $0x0, (%rsi)
leaq 0x38(%rsp), %rdi
leaq 0x20(%rsp), %rcx
movl $0x1, %edx
callq 0x2093a
leaq 0x50(%rsp), %rdi
leaq 0x38(%rsp), %rsi
movq %rsp, %rcx
movl $0x1, %edx
callq 0x2097e
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x22f2f
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
leaq 0x20(%rsp), %rsi
movb $0x1, (%rsi)
leaq 0x8(%rsp), %rdi
movq %rsp, %rcx
movl $0x1, %edx
callq 0x2093a
leaq 0x38(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x37(%rsp), %rcx
movl $0x1, %edx
callq 0x2097e
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x22f79
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
movl $0x20, %edi
callq 0x1d430
movq %rax, %r14
leaq 0x8(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x20f12
leaq 0x80(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x20(%rsp), %rcx
movl $0x1, %edx
callq 0x20fac
leaq 0x80(%rsp), %rsi
movq %r14, %rdi
callq 0x26eb4
leaq 0x80(%rsp), %rdi
callq 0x20ff6
leaq 0x8(%rsp), %rdi
callq 0x209f0
movl $0x20, %edi
callq 0x1d430
movq %rax, %r15
leaq 0x8(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x20f12
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x20(%rsp), %rcx
movl $0x1, %edx
callq 0x20fac
leaq 0x68(%rsp), %rsi
movq %r15, %rdi
callq 0x26eb4
leaq 0x68(%rsp), %rdi
callq 0x20ff6
leaq 0x8(%rsp), %rdi
callq 0x209f0
movq 0x28(%rbx), %r12
leaq 0xb8(%rsp), %rdi
movq %r14, %rsi
callq 0x23d9c
movq 0x18(%r14), %rax
leaq 0xb8(%rsp), %rsi
movq %rax, 0x18(%rsi)
movq %r12, %rdi
movl $0x1, %edx
callq 0x27044
leaq 0xb8(%rsp), %rdi
callq 0x20ff6
movq 0x28(%rbx), %r14
leaq 0x98(%rsp), %rdi
movq %r15, %rsi
callq 0x23d9c
movq 0x18(%r15), %rax
leaq 0x98(%rsp), %rsi
movq %rax, 0x18(%rsi)
movq %r14, %rdi
movl $0x1, %edx
callq 0x27044
leaq 0x98(%rsp), %rdi
callq 0x20ff6
movq 0x28(%rbx), %rdi
movl $0x1, %esi
callq 0x270a6
movq 0x20(%rbx), %rsi
leaq 0x8(%rsp), %rdi
callq 0x20f12
leaq 0x260b4(%rip), %rsi     # 0x49181
leaq 0x2643b(%rip), %rdx     # 0x4950f
leaq 0x20(%rsp), %rdi
leaq 0x38(%rsp), %rcx
leaq 0x8(%rsp), %r8
callq 0x211e7
leaq 0x8(%rsp), %rdi
callq 0x209f0
cmpb $0x0, 0x20(%rsp)
jne 0x2316d
leaq 0x8(%rsp), %rdi
callq 0x29d3a
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x23112
movq (%rax), %r8
jmp 0x23119
leaq 0x28d81(%rip), %r8      # 0x4be9a
leaq 0x262a1(%rip), %rdx     # 0x493c1
movq %rsp, %rdi
movl $0x1, %esi
movl $0x84, %ecx
callq 0x27a58
movq %rsp, %rdi
leaq 0x8(%rsp), %rsi
callq 0x27af4
movq %rsp, %rdi
callq 0x27ac4
cmpq $0x0, 0x8(%rsp)
je 0x2316d
movl $0x1, %edi
callq 0x27a55
testb %al, %al
je 0x2316d
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2316d
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x20ebe
movq 0x28(%rbx), %rdi
movl $0x1, %esi
callq 0x270a6
movq 0x20(%rbx), %rsi
leaq 0x8(%rsp), %rdi
callq 0x20f12
leaq 0x25f8e(%rip), %rsi     # 0x4912a
leaq 0x2636c(%rip), %rdx     # 0x4950f
leaq 0x20(%rsp), %rdi
leaq 0x50(%rsp), %rcx
leaq 0x8(%rsp), %r8
callq 0x211e7
leaq 0x8(%rsp), %rdi
callq 0x209f0
cmpb $0x0, 0x20(%rsp)
jne 0x2323c
leaq 0x8(%rsp), %rdi
callq 0x29d3a
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x231e1
movq (%rax), %r8
jmp 0x231e8
leaq 0x28cb2(%rip), %r8      # 0x4be9a
leaq 0x261d2(%rip), %rdx     # 0x493c1
movq %rsp, %rdi
movl $0x1, %esi
movl $0x86, %ecx
callq 0x27a58
movq %rsp, %rdi
leaq 0x8(%rsp), %rsi
callq 0x27af4
movq %rsp, %rdi
callq 0x27ac4
cmpq $0x0, 0x8(%rsp)
je 0x2323c
movl $0x1, %edi
callq 0x27a55
testb %al, %al
je 0x2323c
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2323c
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x20ebe
movq 0x28(%rbx), %rdi
movl $0x1, %esi
callq 0x270a6
movq 0x20(%rbx), %rsi
leaq 0x8(%rsp), %rdi
callq 0x20f12
leaq 0x25f16(%rip), %rsi     # 0x49181
leaq 0x2629d(%rip), %rdx     # 0x4950f
leaq 0x20(%rsp), %rdi
leaq 0x38(%rsp), %rcx
leaq 0x8(%rsp), %r8
callq 0x211e7
leaq 0x8(%rsp), %rdi
callq 0x209f0
cmpb $0x0, 0x20(%rsp)
jne 0x2330b
leaq 0x8(%rsp), %rdi
callq 0x29d3a
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x232b0
movq (%rax), %r8
jmp 0x232b7
leaq 0x28be3(%rip), %r8      # 0x4be9a
leaq 0x26103(%rip), %rdx     # 0x493c1
movq %rsp, %rdi
movl $0x1, %esi
movl $0x88, %ecx
callq 0x27a58
movq %rsp, %rdi
leaq 0x8(%rsp), %rsi
callq 0x27af4
movq %rsp, %rdi
callq 0x27ac4
cmpq $0x0, 0x8(%rsp)
je 0x2330b
movl $0x1, %edi
callq 0x27a55
testb %al, %al
je 0x2330b
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2330b
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x20ebe
leaq 0x38(%rsp), %rdi
callq 0x209f0
leaq 0x50(%rsp), %rdi
callq 0x209f0
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x2338c
jmp 0x2338c
jmp 0x2338c
jmp 0x2334c
jmp 0x23359
jmp 0x23368
jmp 0x2334c
jmp 0x23359
jmp 0x23368
movq %rax, %rbx
movq %rsp, %rdi
callq 0x27ac4
jmp 0x2335c
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x209c8
jmp 0x2336b
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x209da
jmp 0x23474
jmp 0x2338c
jmp 0x23394
jmp 0x23471
jmp 0x2338c
jmp 0x23394
jmp 0x23471
movq %rax, %rdi
callq 0x2092b
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x209f0
jmp 0x23474
jmp 0x23471
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
jmp 0x233c3
movq %rax, %rbx
leaq 0xb8(%rsp), %rdi
callq 0x20ff6
jmp 0x23474
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x20ff6
jmp 0x233df
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x209f0
jmp 0x233ee
movq %rax, %rbx
movl $0x20, %esi
movq %r15, %rdi
jmp 0x23424
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x20ff6
jmp 0x2340d
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x209f0
jmp 0x2341c
movq %rax, %rbx
movl $0x20, %esi
movq %r14, %rdi
callq 0x1d460
jmp 0x23474
jmp 0x23471
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2347e
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
jmp 0x2347e
movq %rax, %rbx
jmp 0x2347e
movq %rax, %rbx
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x23488
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
jmp 0x23488
movq %rax, %rbx
jmp 0x23488
jmp 0x23471
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x209f0
leaq 0x50(%rsp), %rdi
callq 0x209f0
movq %rbx, %rdi
callq 0x1d900