// File: /workspace/github_c_makefile_star2_O2/deplinenoise[P]tundra/unittest/Test_IncludeScanner.cpp
// Function: IncludeScannerTest_MaxWhitespace_Test::TestBody()
TEST_F(IncludeScannerTest, MaxWhitespace)
{
  char data[] = "\n\n   #      include     <bar.h>  \n\n";

  IncludeData* incs = ScanIncludesCpp(data, &alloc);
  ASSERT_NE(nullptr, data);

  ASSERT_STREQ("bar.h", incs->m_String);
  ASSERT_EQ(5, incs->m_StringLen);
  ASSERT_EQ(true, incs->m_IsSystemInclude);
  ASSERT_EQ(true, incs->m_ShouldFollow);
  ASSERT_EQ(nullptr, incs->m_Next);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movaps 0x1cb4c(%rip), %xmm0    # 0x469a0
leaq 0x20(%rsp), %rax
movaps %xmm0, 0x10(%rax)
movaps 0x1cb2c(%rip), %xmm0    # 0x46990
movaps %xmm0, (%rax)
movl $0xa0a20, 0x20(%rax)    # imm = 0xA0A20
leaq 0x18(%rdi), %rsi
movq %rax, %rdi
callq 0x342dc
movq %rax, %rbx
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x11789
cmpb $0x0, (%r14)
je 0x29fd0
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq (%rbx), %r8
leaq 0x1ca16(%rip), %rsi     # 0x468be
leaq 0x1c983(%rip), %rdx     # 0x46832
leaq 0x1e3e3(%rip), %rcx     # 0x48299
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x13723
cmpb $0x0, (%r14)
je 0x29fe7
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq %rsp, %rcx
movl $0x5, (%rcx)
leaq 0x8(%rbx), %r8
leaq 0x1e495(%rip), %rsi     # 0x48380
leaq 0x1c955(%rip), %rdx     # 0x46847
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x287b5
cmpb $0x0, (%r14)
je 0x2a02e
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq %rsp, %rcx
movb $0x1, (%rcx)
leaq 0x10(%rbx), %r8
leaq 0x1a806(%rip), %rsi     # 0x4472a
leaq 0x1c92e(%rip), %rdx     # 0x46859
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x2b0f9
cmpb $0x0, (%r14)
je 0x2a075
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq %rsp, %rcx
movb $0x1, (%rcx)
movq %rbx, %r8
addq $0x11, %r8
leaq 0x1a7ca(%rip), %rsi     # 0x4472a
leaq 0x1c90a(%rip), %rdx     # 0x46871
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x2b0f9
cmpb $0x0, (%r14)
je 0x2a0b9
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq 0x18(%rbx), %r8
leaq 0x1c448(%rip), %rsi     # 0x463db
leaq 0x1c8ec(%rip), %rdx     # 0x46886
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x2aad6
cmpb $0x0, (%rbx)
jne 0x2a18c
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x2a14f
movq (%rax), %r8
jmp 0x2a156
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x29ffe
movq (%rax), %r8
jmp 0x2a005
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x2a045
movq (%rax), %r8
jmp 0x2a04c
leaq 0x1fea2(%rip), %r8      # 0x49ea7
leaq 0x1c7e3(%rip), %rdx     # 0x467ef
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x4c
popq %rcx
callq 0x104f8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10576
jmp 0x2a128
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x2a08c
movq (%rax), %r8
jmp 0x2a093
leaq 0x1fe5b(%rip), %r8      # 0x49ea7
leaq 0x1c79c(%rip), %rdx     # 0x467ef
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x4e
popq %rcx
callq 0x104f8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10576
jmp 0x2a128
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x2a0d0
movq (%rax), %r8
jmp 0x2a0d7
leaq 0x1fe14(%rip), %r8      # 0x49ea7
leaq 0x1c755(%rip), %rdx     # 0x467ef
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x4f
popq %rcx
callq 0x104f8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10576
jmp 0x2a128
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x2a0fd
movq (%rax), %r8
jmp 0x2a104
leaq 0x1fdd0(%rip), %r8      # 0x49ea7
leaq 0x1c711(%rip), %rdx     # 0x467ef
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x50
popq %rcx
callq 0x104f8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10576
jmp 0x2a128
leaq 0x1fda3(%rip), %r8      # 0x49ea7
leaq 0x1c6e4(%rip), %rdx     # 0x467ef
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x51
popq %rcx
callq 0x104f8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10576
leaq 0x18(%rsp), %rbx
leaq 0x8(%rsp), %rdi
callq 0x10558
movq %rsp, %rdi
callq 0x1f8e0
movq %rbx, %rdi
callq 0x2295e
addq $0x48, %rsp
popq %rbx
popq %r14
retq
leaq 0x1fd51(%rip), %r8      # 0x49ea7
leaq 0x1c692(%rip), %rdx     # 0x467ef
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x52
popq %rcx
callq 0x104f8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10576
leaq 0x8(%rsp), %rdi
callq 0x10558
movq %rsp, %rdi
callq 0x1f8e0
leaq 0x18(%rsp), %rdi
jmp 0x2a142
jmp 0x2a1b1
jmp 0x2a1c0
jmp 0x2a1cd
jmp 0x2a1b1
jmp 0x2a1c0
jmp 0x2a1cd
jmp 0x2a1b1
jmp 0x2a1c0
jmp 0x2a1cd
jmp 0x2a1b1
jmp 0x2a1c0
jmp 0x2a1cd
jmp 0x2a1b1
jmp 0x2a1c0
jmp 0x2a1cd
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x10558
jmp 0x2a1c3
movq %rax, %rbx
movq %rsp, %rdi
callq 0x1f8e0
jmp 0x2a1d0
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq %rbx, %rdi
callq 0xdbf0