// File: interimadd[P]M5Stack-PixelArt/test/lcd_mock_test.cpp
// Function: (anonymous namespace)::TestLCDMock_FillRectBlack_Test::TestBody()
TEST_F(TestLCDMock, FillRectBlack)
  {
    int v_pos = 0, h_pos = 1;
    int v_len = 2, h_len = 1;
    lcd->fillRect(v_pos, h_pos, v_len, h_len, 1);
    LCDState expect_state = {
      {0, 1, 0},
      {0, 1, 0}
    };
    EXPECT_EQ(expect_state, lcd->getState());
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp            # imm = 0x170
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x108(%rbp)
movl $0x0, -0xc(%rbp)
movl $0x1, -0x10(%rbp)
movl $0x2, -0x14(%rbp)
movl $0x1, -0x18(%rbp)
movq 0x10(%rax), %rdi
movl -0xc(%rbp), %esi
movl -0x10(%rbp), %edx
movl -0x14(%rbp), %ecx
movl -0x18(%rbp), %r8d
movl $0x1, %r9d
callq 0x6abe0
movb $0x1, -0xb5(%rbp)
leaq -0x70(%rbp), %rax
movq %rax, -0x100(%rbp)
movq %rax, -0x78(%rbp)
movb $0x0, -0x8b(%rbp)
movb $0x1, -0x8a(%rbp)
movb $0x0, -0x89(%rbp)
leaq -0x8b(%rbp), %rax
movq %rax, -0x88(%rbp)
movq $0x3, -0x80(%rbp)
leaq -0x8c(%rbp), %rdi
movq %rdi, -0xf8(%rbp)
callq 0x57400
movq -0x100(%rbp), %rdi
movq -0xf8(%rbp), %rcx
movq -0x88(%rbp), %rsi
movq -0x80(%rbp), %rdx
callq 0x57420
jmp 0x62596
leaq -0x58(%rbp), %rax
movq %rax, -0x118(%rbp)
movq %rax, -0x78(%rbp)
movb $0x0, -0xb3(%rbp)
movb $0x1, -0xb2(%rbp)
movb $0x0, -0xb1(%rbp)
leaq -0xb3(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq $0x3, -0xa8(%rbp)
leaq -0xb4(%rbp), %rdi
movq %rdi, -0x110(%rbp)
callq 0x57400
movq -0x118(%rbp), %rdi
movq -0x110(%rbp), %rcx
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
callq 0x57420
jmp 0x62609
movb $0x0, -0xb5(%rbp)
leaq -0x70(%rbp), %rax
movq %rax, -0x40(%rbp)
movq $0x2, -0x38(%rbp)
leaq -0xb6(%rbp), %rdi
movq %rdi, -0x120(%rbp)
callq 0x574a0
movq -0x120(%rbp), %rcx
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
leaq -0x30(%rbp), %rdi
callq 0x574c0
jmp 0x6264d
leaq -0xb6(%rbp), %rdi
callq 0x57540
leaq -0x70(%rbp), %rax
movq %rax, -0x130(%rbp)
addq $0x30, %rax
movq %rax, -0x128(%rbp)
movq -0x128(%rbp), %rdi
addq $-0x18, %rdi
movq %rdi, -0x138(%rbp)
callq 0x57560
movq -0x130(%rbp), %rcx
movq -0x138(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0x128(%rbp)
jne 0x6266f
leaq -0xb4(%rbp), %rdi
callq 0x575c0
leaq -0x8c(%rbp), %rdi
callq 0x575c0
movq -0x108(%rbp), %rax
movq 0x10(%rax), %rsi
leaq -0xe0(%rbp), %rdi
callq 0x61640
jmp 0x626d1
leaq 0x44e2a(%rip), %rsi     # 0xa7502
leaq 0x44e13(%rip), %rdx     # 0xa74f2
leaq -0xc8(%rbp), %rdi
leaq -0x30(%rbp), %rcx
leaq -0xe0(%rbp), %r8
callq 0x595d0
jmp 0x626f8
leaq -0xe0(%rbp), %rdi
callq 0x57740
leaq -0xc8(%rbp), %rdi
callq 0x57670
testb $0x1, %al
jne 0x62719
jmp 0x62856
jmp 0x62922
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x98(%rbp)
movl %eax, -0x9c(%rbp)
jmp 0x627bc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x98(%rbp)
movl %eax, -0x9c(%rbp)
jmp 0x627b0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x98(%rbp)
movl %eax, -0x9c(%rbp)
leaq -0xb6(%rbp), %rdi
callq 0x57540
leaq -0x70(%rbp), %rax
movq %rax, -0x148(%rbp)
addq $0x30, %rax
movq %rax, -0x140(%rbp)
movq -0x140(%rbp), %rdi
addq $-0x18, %rdi
movq %rdi, -0x150(%rbp)
callq 0x57560
movq -0x148(%rbp), %rcx
movq -0x150(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0x140(%rbp)
jne 0x6277d
jmp 0x627b0
leaq -0xb4(%rbp), %rdi
callq 0x575c0
leaq -0x8c(%rbp), %rdi
callq 0x575c0
testb $0x1, -0xb5(%rbp)
jne 0x627d3
jmp 0x62817
movq -0x78(%rbp), %rax
leaq -0x70(%rbp), %rcx
cmpq %rax, %rcx
movq %rax, -0x158(%rbp)
je 0x62815
movq -0x158(%rbp), %rdi
addq $-0x18, %rdi
movq %rdi, -0x160(%rbp)
callq 0x57560
movq -0x160(%rbp), %rax
leaq -0x70(%rbp), %rcx
cmpq %rcx, %rax
movq %rax, -0x158(%rbp)
jne 0x627e7
jmp 0x62817
jmp 0x62955
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x98(%rbp)
movl %eax, -0x9c(%rbp)
jmp 0x6294c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x98(%rbp)
movl %eax, -0x9c(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x57740
jmp 0x6294c
leaq -0xe8(%rbp), %rdi
callq 0x6f710
jmp 0x62864
leaq -0xc8(%rbp), %rdi
callq 0x57690
movq %rax, -0x168(%rbp)
jmp 0x62879
movq -0x168(%rbp), %r8
leaq 0x45370(%rip), %rdx     # 0xa7bf7
leaq -0xf0(%rbp), %rdi
movl $0x1, %esi
movl $0x24, %ecx
callq 0x6c940
jmp 0x6289f
leaq -0xf0(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x6ca00
jmp 0x628b4
leaq -0xf0(%rbp), %rdi
callq 0x6c9c0
leaq -0xe8(%rbp), %rdi
callq 0x576b0
jmp 0x62922
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x98(%rbp)
movl %eax, -0x9c(%rbp)
jmp 0x62940
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x98(%rbp)
movl %eax, -0x9c(%rbp)
jmp 0x62914
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x98(%rbp)
movl %eax, -0x9c(%rbp)
leaq -0xf0(%rbp), %rdi
callq 0x6c9c0
leaq -0xe8(%rbp), %rdi
callq 0x576b0
jmp 0x62940
leaq -0xc8(%rbp), %rdi
callq 0x576d0
leaq -0x30(%rbp), %rdi
callq 0x57740
addq $0x170, %rsp            # imm = 0x170
popq %rbp
retq
leaq -0xc8(%rbp), %rdi
callq 0x576d0
leaq -0x30(%rbp), %rdi
callq 0x57740
movq -0x98(%rbp), %rdi
callq 0x52bc0
nopw %cs:(%rax,%rax)