// File: /workspace/github_cpp_makefile_star2_O2/interimadd[P]M5Stack-PixelArt/test/pixel_art_m5stack_test.cpp
// Function: (anonymous namespace)::TestPixelArtM5stack_ButtonOperation_Test::TestBody()
TEST_F(TestPixelArtM5stack, ButtonOperation)
  {
    ALL_PIXEL_ARTS_LIST = {
      {{{1}}}, {{{2}}}
    };
    PIXEL_ART_POS_X = 0;
    PIXEL_ART_POS_Y = 0;
    PIXEL_ART_SCALE = 1;
    setup();

    OperationType next_op = OperationType::NEXT_BUTTON;
    setButtonoperation(next_op);
    loop();
    MonochromePixelArt expect = {
      {2, 0, 0},
      {0, 0, 0}
    };
    EXPECT_EQ(expect, lcd->getState());
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x98, %rsp
leaq 0x1(%rsp), %rsi
movb $0x1, (%rsi)
leaq 0x38(%rsp), %rdi
pushq $0x1
popq %rdx
movq %rsp, %rcx
callq 0x2795e
leaq 0x68(%rsp), %rdi
leaq 0x38(%rsp), %rsi
pushq $0x1
popq %rdx
leaq 0x7(%rsp), %rcx
callq 0x27994
leaq 0x8(%rsp), %r14
leaq 0x68(%rsp), %rsi
pushq $0x1
popq %rdx
leaq 0x6(%rsp), %rcx
movq %r14, %rdi
callq 0x27f2c
leaq 0x20(%rsp), %r14
leaq 0x5(%rsp), %rsi
movb $0x2, (%rsi)
leaq 0x80(%rsp), %rdi
pushq $0x1
popq %rdx
leaq 0x4(%rsp), %rcx
callq 0x2795e
leaq 0x50(%rsp), %rdi
leaq 0x80(%rsp), %rsi
pushq $0x1
popq %rdx
leaq 0x3(%rsp), %rcx
callq 0x27994
leaq 0x50(%rsp), %rsi
pushq $0x1
popq %rdx
leaq 0x2(%rsp), %rcx
movq %r14, %rdi
callq 0x27f2c
leaq 0x38(%rsp), %rdx
leaq 0x33103(%rip), %rdi     # 0x5f658
leaq 0x8(%rsp), %rsi
callq 0x2c9b0
pushq $0x18
popq %rbx
leaq (%rsp,%rbx), %rdi
addq $0x8, %rdi
callq 0x27f66
addq $-0x18, %rbx
cmpq $-0x18, %rbx
jne 0x2c562
leaq 0x50(%rsp), %rdi
callq 0x279ce
leaq 0x80(%rsp), %rdi
callq 0x27a48
leaq 0x68(%rsp), %rdi
callq 0x279ce
leaq 0x38(%rsp), %rbx
movq %rbx, %rdi
callq 0x27a48
andl $0x0, 0x330c2(%rip)     # 0x5f670
andl $0x0, 0x330bf(%rip)     # 0x5f674
movl $0x1, 0x330b9(%rip)     # 0x5f678
callq 0x2d8d0
pushq $0x1
popq %rdi
callq 0x2d373
callq 0x2da2c
movw $0x2, (%rbx)
movb $0x0, 0x2(%rbx)
leaq 0x8(%rsp), %rdi
leaq 0x38(%rsp), %rsi
pushq $0x3
popq %rdx
leaq 0x80(%rsp), %rcx
callq 0x2795e
leaq 0x20(%rsp), %rdi
leaq 0x50(%rsp), %rsi
andw $0x0, (%rsi)
movb $0x0, 0x2(%rsi)
pushq $0x3
popq %rdx
leaq 0x1(%rsp), %rcx
callq 0x2795e
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
pushq $0x2
popq %rdx
movq %rsp, %rcx
callq 0x27994
pushq $0x18
popq %rbx
leaq (%rsp,%rbx), %rdi
addq $0x8, %rdi
callq 0x27a48
addq $-0x18, %rbx
cmpq $-0x18, %rbx
jne 0x2c62b
leaq 0x3305f(%rip), %rax     # 0x5f6a8
movq (%rax), %rsi
leaq 0x8(%rsp), %rdi
callq 0x27ed2
leaq 0x18e8e(%rip), %rsi     # 0x454eb
leaq 0x18e8e(%rip), %rdx     # 0x454f2
leaq 0x38(%rsp), %rdi
leaq 0x68(%rsp), %rcx
leaq 0x8(%rsp), %r8
callq 0x281b7
leaq 0x8(%rsp), %rdi
callq 0x279ce
cmpb $0x0, 0x38(%rsp)
jne 0x2c6e3
leaq 0x8(%rsp), %rdi
callq 0x2f572
movq 0x40(%rsp), %rax
testq %rax, %rax
je 0x2c6a2
movq (%rax), %r8
jmp 0x2c6a9
leaq 0x1b7c1(%rip), %r8      # 0x47e6a
leaq 0x19b81(%rip), %rdx     # 0x46231
leaq 0x50(%rsp), %rdi
pushq $0x1
popq %rsi
pushq $0x56
popq %rcx
callq 0x2dddc
leaq 0x50(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2de5a
leaq 0x50(%rsp), %rdi
callq 0x2de3c
leaq 0x8(%rsp), %rdi
callq 0x27e3a
leaq 0x40(%rsp), %rdi
callq 0x27e80
leaq 0x68(%rsp), %rdi
callq 0x279ce
addq $0x98, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x2de3c
jmp 0x2c717
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x27e3a
jmp 0x2c726
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x27e80
jmp 0x2c744
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x279ce
jmp 0x2c744
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x279ce
jmp 0x2c827
movq %rax, %rbx
pushq $0x18
popq %r14
leaq (%rsp,%r14), %rdi
addq $0x8, %rdi
callq 0x27a48
addq $-0x18, %r14
cmpq $-0x18, %r14
jne 0x2c75a
jmp 0x2c827
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x27a48
jmp 0x2c827
jmp 0x2c824
movq %rax, %rbx
pushq $0x18
popq %r15
leaq (%rsp,%r15), %rdi
addq $0x8, %rdi
callq 0x27f66
addq $-0x18, %r15
cmpq $-0x18, %r15
jne 0x2c794
xorl %ebp, %ebp
jmp 0x2c7b5
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x50(%rsp), %rdi
callq 0x279ce
jmp 0x2c7c7
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x80(%rsp), %rdi
callq 0x27a48
jmp 0x2c7de
jmp 0x2c7d8
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x68(%rsp), %rdi
callq 0x279ce
leaq 0x38(%rsp), %rdi
callq 0x27a48
leaq 0x8(%rsp), %r15
cmpq %r14, %r15
setne %al
andb %bpl, %al
cmpb $0x1, %al
jne 0x2c827
addq $-0x18, %r14
movq %r14, %rdi
callq 0x27f66
cmpq %r15, %r14
jne 0x2c804
jmp 0x2c827
movq %rax, %rbx
leaq 0x8(%rsp), %r14
movb $0x1, %bpl
jmp 0x2c7e8
movq %rax, %rbx
movq %rbx, %rdi
callq 0x25930
nop