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

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

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %rbx
leaq 0x50(%rsp), %rsi
movb $0x0, (%rsi)
leaq 0x20(%rsp), %rdi
leaq 0x10(%rsp), %rcx
movl $0x1, %edx
callq 0x20d70
leaq 0x68(%rsp), %rdi
leaq 0x20(%rsp), %rsi
movq %rsp, %rcx
movl $0x1, %edx
callq 0x20db4
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x22f55
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
leaq 0x10(%rsp), %rsi
movb $0x1, (%rsi)
leaq 0x20(%rsp), %rdi
movq %rsp, %rcx
movl $0x1, %edx
callq 0x20d70
leaq 0x50(%rsp), %rdi
leaq 0x20(%rsp), %r15
leaq 0xf(%rsp), %rcx
movl $0x1, %edx
movq %r15, %rsi
callq 0x20db4
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x22fa2
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
movl $0x20, %edi
callq 0x1d430
movq %rax, %r14
leaq 0x68(%rsp), %rsi
movq %r15, %r12
movq %r15, %rdi
callq 0x2133c
leaq 0x38(%rsp), %r12
leaq 0x50(%rsp), %rsi
movq %r12, %rdi
callq 0x2133c
leaq 0x80(%rsp), %rdi
leaq 0x20(%rsp), %rsi
leaq 0x10(%rsp), %rcx
movl $0x2, %edx
callq 0x213d6
leaq 0x80(%rsp), %rsi
movq %r14, %rdi
callq 0x274f4
leaq 0x80(%rsp), %rdi
callq 0x21420
movl $0x18, %r15d
leaq (%rsp,%r15), %rdi
addq $0x20, %rdi
callq 0x20e26
addq $-0x18, %r15
cmpq $-0x18, %r15
jne 0x23010
movq 0x28(%rbx), %r15
leaq 0x98(%rsp), %rdi
movq %r14, %rsi
callq 0x242ba
movq 0x18(%r14), %rax
leaq 0x98(%rsp), %rsi
movq %rax, 0x18(%rsi)
movq %r15, %rdi
movl $0x1, %edx
callq 0x2768c
leaq 0x98(%rsp), %rdi
callq 0x21420
movq 0x28(%rbx), %rdi
xorl %esi, %esi
callq 0x276ee
movq 0x20(%rbx), %rsi
leaq 0x20(%rsp), %rdi
callq 0x2133c
leaq 0x260a5(%rip), %rsi     # 0x4912a
leaq 0x26483(%rip), %rdx     # 0x4950f
leaq 0x10(%rsp), %rdi
leaq 0x68(%rsp), %rcx
leaq 0x20(%rsp), %r8
callq 0x2160b
leaq 0x20(%rsp), %rdi
callq 0x20e26
cmpb $0x0, 0x10(%rsp)
jne 0x2312e
leaq 0x20(%rsp), %rdi
callq 0x2a416
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x230ca
movq (%rax), %r8
jmp 0x230d1
leaq 0x28d99(%rip), %r8      # 0x4be6a
leaq 0x262e9(%rip), %rdx     # 0x493c1
movq %rsp, %rdi
movl $0x1, %esi
movl $0x74, %ecx
callq 0x280e0
movq %rsp, %rdi
leaq 0x20(%rsp), %rsi
callq 0x2817e
movq %rsp, %rdi
callq 0x2814c
cmpq $0x0, 0x20(%rsp)
je 0x2312e
movl $0x1, %edi
callq 0x280dc
testb %al, %al
je 0x23125
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x23125
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x20(%rsp)
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x212e8
movq 0x28(%rbx), %rdi
xorl %esi, %esi
callq 0x276ee
movq 0x20(%rbx), %rsi
leaq 0x20(%rsp), %rdi
callq 0x2133c
leaq 0x26027(%rip), %rsi     # 0x49181
leaq 0x263ae(%rip), %rdx     # 0x4950f
leaq 0x10(%rsp), %rdi
leaq 0x50(%rsp), %rcx
leaq 0x20(%rsp), %r8
callq 0x2160b
leaq 0x20(%rsp), %rdi
callq 0x20e26
cmpb $0x0, 0x10(%rsp)
jne 0x23203
leaq 0x20(%rsp), %rdi
callq 0x2a416
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x2319f
movq (%rax), %r8
jmp 0x231a6
leaq 0x28cc4(%rip), %r8      # 0x4be6a
leaq 0x26214(%rip), %rdx     # 0x493c1
movq %rsp, %rdi
movl $0x1, %esi
movl $0x76, %ecx
callq 0x280e0
movq %rsp, %rdi
leaq 0x20(%rsp), %rsi
callq 0x2817e
movq %rsp, %rdi
callq 0x2814c
cmpq $0x0, 0x20(%rsp)
je 0x23203
movl $0x1, %edi
callq 0x280dc
testb %al, %al
je 0x231fa
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x231fa
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x20(%rsp)
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x212e8
leaq 0x50(%rsp), %rdi
callq 0x20e26
leaq 0x68(%rsp), %rdi
callq 0x20e26
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x23273
jmp 0x23273
jmp 0x2323c
jmp 0x23249
jmp 0x23258
movq %rax, %rbx
movq %rsp, %rdi
callq 0x2814c
jmp 0x2324c
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x20dfe
jmp 0x2325b
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x20e10
jmp 0x2334f
jmp 0x23273
jmp 0x2327b
jmp 0x2331f
movq %rax, %rdi
callq 0x20d60
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x20e26
jmp 0x2334f
jmp 0x2331f
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
callq 0x21420
jmp 0x2334f
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x21420
jmp 0x232bc
movq %rax, %rbx
movl $0x18, %r15d
leaq (%rsp,%r15), %rdi
addq $0x20, %rdi
callq 0x20e26
addq $-0x18, %r15
cmpq $-0x18, %r15
jne 0x232c2
jmp 0x23342
movq %rax, %rbx
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x23359
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
jmp 0x23359
movq %rax, %rbx
jmp 0x23359
movq %rax, %rbx
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x23363
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x1d460
jmp 0x23363
movq %rax, %rbx
jmp 0x23363
jmp 0x2331f
movq %rax, %rbx
jmp 0x2334f
movq %rax, %rbx
cmpq %r12, %r15
je 0x23342
leaq 0x20(%rsp), %r15
addq $-0x18, %r12
movq %r12, %rdi
callq 0x20e26
cmpq %r15, %r12
jne 0x23331
movl $0x20, %esi
movq %r14, %rdi
callq 0x1d460
leaq 0x50(%rsp), %rdi
callq 0x20e26
leaq 0x68(%rsp), %rdi
callq 0x20e26
movq %rbx, %rdi
callq 0x1d900
nop