// File: interimadd[P]M5Stack-PixelArt/test/lcd_mock_test.cpp
// Function: (anonymous namespace)::TestLCDMock_DrawDot_Test::TestBody()
TEST_F(TestLCDMock, DrawDot)
  {
    int dot_size = 1;
    int dot_color = 1;
    lcd->fillRect(0, 0, dot_size, dot_size, dot_color);
    lcd->fillRect(1, 2, dot_size, dot_size, dot_color);
    LCDState expect_state = {
      {1, 0, 0},
      {0, 0, 1}
    };
    EXPECT_EQ(expect_state, lcd->getState());
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp            # imm = 0x160
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x100(%rbp)
movl $0x1, -0xc(%rbp)
movl $0x1, -0x10(%rbp)
movq 0x10(%rax), %rdi
movl -0xc(%rbp), %r8d
movzbl -0x10(%rbp), %r9d
xorl %edx, %edx
movl %edx, %esi
movl %r8d, %ecx
callq 0x6abe0
movq -0x100(%rbp), %rax
movq 0x10(%rax), %rdi
movl -0xc(%rbp), %r8d
movzbl -0x10(%rbp), %r9d
movl $0x1, %esi
movl $0x2, %edx
movl %r8d, %ecx
callq 0x6abe0
movb $0x1, -0xad(%rbp)
leaq -0x68(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq %rax, -0x70(%rbp)
movb $0x1, -0x83(%rbp)
movb $0x0, -0x82(%rbp)
movb $0x0, -0x81(%rbp)
leaq -0x83(%rbp), %rax
movq %rax, -0x80(%rbp)
movq $0x3, -0x78(%rbp)
leaq -0x84(%rbp), %rdi
movq %rdi, -0xf0(%rbp)
callq 0x57400
movq -0xf8(%rbp), %rdi
movq -0xf0(%rbp), %rcx
movq -0x80(%rbp), %rsi
movq -0x78(%rbp), %rdx
callq 0x57420
jmp 0x63745
leaq -0x50(%rbp), %rax
movq %rax, -0x110(%rbp)
movq %rax, -0x70(%rbp)
movb $0x0, -0xab(%rbp)
movb $0x0, -0xaa(%rbp)
movb $0x1, -0xa9(%rbp)
leaq -0xab(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq $0x3, -0xa0(%rbp)
leaq -0xac(%rbp), %rdi
movq %rdi, -0x108(%rbp)
callq 0x57400
movq -0x110(%rbp), %rdi
movq -0x108(%rbp), %rcx
movq -0xa8(%rbp), %rsi
movq -0xa0(%rbp), %rdx
callq 0x57420
jmp 0x637b8
movb $0x0, -0xad(%rbp)
leaq -0x68(%rbp), %rax
movq %rax, -0x38(%rbp)
movq $0x2, -0x30(%rbp)
leaq -0xae(%rbp), %rdi
movq %rdi, -0x118(%rbp)
callq 0x574a0
movq -0x118(%rbp), %rcx
movq -0x38(%rbp), %rsi
movq -0x30(%rbp), %rdx
leaq -0x28(%rbp), %rdi
callq 0x574c0
jmp 0x637fc
leaq -0xae(%rbp), %rdi
callq 0x57540
leaq -0x68(%rbp), %rax
movq %rax, -0x128(%rbp)
addq $0x30, %rax
movq %rax, -0x120(%rbp)
movq -0x120(%rbp), %rdi
addq $-0x18, %rdi
movq %rdi, -0x130(%rbp)
callq 0x57560
movq -0x128(%rbp), %rcx
movq -0x130(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0x120(%rbp)
jne 0x6381e
leaq -0xac(%rbp), %rdi
callq 0x575c0
leaq -0x84(%rbp), %rdi
callq 0x575c0
movq -0x100(%rbp), %rax
movq 0x10(%rax), %rsi
leaq -0xd8(%rbp), %rdi
callq 0x61640
jmp 0x63880
leaq 0x43c7b(%rip), %rsi     # 0xa7502
leaq 0x43c64(%rip), %rdx     # 0xa74f2
leaq -0xc0(%rbp), %rdi
leaq -0x28(%rbp), %rcx
leaq -0xd8(%rbp), %r8
callq 0x595d0
jmp 0x638a7
leaq -0xd8(%rbp), %rdi
callq 0x57740
leaq -0xc0(%rbp), %rdi
callq 0x57670
testb $0x1, %al
jne 0x638c8
jmp 0x63a05
jmp 0x63ad1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x6396b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x6395f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0xae(%rbp), %rdi
callq 0x57540
leaq -0x68(%rbp), %rax
movq %rax, -0x140(%rbp)
addq $0x30, %rax
movq %rax, -0x138(%rbp)
movq -0x138(%rbp), %rdi
addq $-0x18, %rdi
movq %rdi, -0x148(%rbp)
callq 0x57560
movq -0x140(%rbp), %rcx
movq -0x148(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0x138(%rbp)
jne 0x6392c
jmp 0x6395f
leaq -0xac(%rbp), %rdi
callq 0x575c0
leaq -0x84(%rbp), %rdi
callq 0x575c0
testb $0x1, -0xad(%rbp)
jne 0x63982
jmp 0x639c6
movq -0x70(%rbp), %rax
leaq -0x68(%rbp), %rcx
cmpq %rax, %rcx
movq %rax, -0x150(%rbp)
je 0x639c4
movq -0x150(%rbp), %rdi
addq $-0x18, %rdi
movq %rdi, -0x158(%rbp)
callq 0x57560
movq -0x158(%rbp), %rax
leaq -0x68(%rbp), %rcx
cmpq %rcx, %rax
movq %rax, -0x150(%rbp)
jne 0x63996
jmp 0x639c6
jmp 0x63b04
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x63afb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x57740
jmp 0x63afb
leaq -0xe0(%rbp), %rdi
callq 0x6f710
jmp 0x63a13
leaq -0xc0(%rbp), %rdi
callq 0x57690
movq %rax, -0x160(%rbp)
jmp 0x63a28
movq -0x160(%rbp), %r8
leaq 0x441c1(%rip), %rdx     # 0xa7bf7
leaq -0xe8(%rbp), %rdi
movl $0x1, %esi
movl $0x49, %ecx
callq 0x6c940
jmp 0x63a4e
leaq -0xe8(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x6ca00
jmp 0x63a63
leaq -0xe8(%rbp), %rdi
callq 0x6c9c0
leaq -0xe0(%rbp), %rdi
callq 0x576b0
jmp 0x63ad1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x63aef
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x63ac3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0xe8(%rbp), %rdi
callq 0x6c9c0
leaq -0xe0(%rbp), %rdi
callq 0x576b0
jmp 0x63aef
leaq -0xc0(%rbp), %rdi
callq 0x576d0
leaq -0x28(%rbp), %rdi
callq 0x57740
addq $0x160, %rsp            # imm = 0x160
popq %rbp
retq
leaq -0xc0(%rbp), %rdi
callq 0x576d0
leaq -0x28(%rbp), %rdi
callq 0x57740
movq -0x90(%rbp), %rdi
callq 0x52bc0