// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x1d0, %rsp            # imm = 0x1D0
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rsi
movaps 0x387c6(%rip), %xmm0    # 0x8cf40
movaps %xmm0, -0x20(%rbp)
movaps 0x387ab(%rip), %xmm0    # 0x8cf30
movaps %xmm0, -0x30(%rbp)
movl $0xa0a20, -0x10(%rbp)   # imm = 0xA0A20
addq $0x18, %rsi
leaq -0x30(%rbp), %rdi
movq %rdi, -0x148(%rbp)
callq 0x6c490
movq -0x148(%rbp), %r8
movq %rax, -0x38(%rbp)
movq $0x0, -0x50(%rbp)
leaq 0x381bd(%rip), %rsi     # 0x8c97b
leaq 0x3bb78(%rip), %rdx     # 0x9033d
leaq -0x48(%rbp), %rdi
movq %rdi, -0x140(%rbp)
leaq -0x50(%rbp), %rcx
callq 0x56860
movq -0x140(%rbp), %rdi
callq 0x31090
movb %al, -0x131(%rbp)
jmp 0x547ed
movb -0x131(%rbp), %al
testb $0x1, %al
jne 0x547f9
jmp 0x5480f
jmp 0x548a7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x54919
leaq -0x68(%rbp), %rdi
callq 0x16d70
jmp 0x5481a
leaq -0x48(%rbp), %rdi
callq 0x310b0
movq %rax, -0x150(%rbp)
jmp 0x5482c
movq -0x150(%rbp), %r8
leaq 0x38555(%rip), %rdx     # 0x8cd8f
leaq -0x70(%rbp), %rdi
movl $0x2, %esi
movl $0x4c, %ecx
callq 0x13fa0
jmp 0x5484f
leaq -0x70(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x14060
jmp 0x5485e
leaq -0x70(%rbp), %rdi
callq 0x14020
leaq -0x68(%rbp), %rdi
callq 0x31070
movl $0x1, -0x74(%rbp)
jmp 0x548ae
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x5489c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x14020
leaq -0x68(%rbp), %rdi
callq 0x31070
jmp 0x54919
movl $0x0, -0x74(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x30d20
movl -0x74(%rbp), %eax
testl %eax, %eax
je 0x548c5
jmp 0x548c0
jmp 0x54f42
movq -0x38(%rbp), %rax
movq (%rax), %r8
leaq 0x3858b(%rip), %rsi     # 0x8ce5e
leaq 0x384f8(%rip), %rdx     # 0x8cdd2
leaq 0x39f68(%rip), %rcx     # 0x8e849
leaq -0x88(%rbp), %rdi
movq %rdi, -0x160(%rbp)
callq 0x19e10
movq -0x160(%rbp), %rdi
callq 0x31090
movb %al, -0x151(%rbp)
jmp 0x54908
movb -0x151(%rbp), %al
testb $0x1, %al
jne 0x54914
jmp 0x54938
jmp 0x549ee
leaq -0x48(%rbp), %rdi
callq 0x30d20
jmp 0x54f57
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x54a6e
leaq -0x90(%rbp), %rdi
callq 0x16d70
jmp 0x54946
leaq -0x88(%rbp), %rdi
callq 0x310b0
movq %rax, -0x168(%rbp)
jmp 0x5495b
movq -0x168(%rbp), %r8
leaq 0x38426(%rip), %rdx     # 0x8cd8f
leaq -0x98(%rbp), %rdi
movl $0x2, %esi
movl $0x4e, %ecx
callq 0x13fa0
jmp 0x54981
leaq -0x98(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x14060
jmp 0x54996
leaq -0x98(%rbp), %rdi
callq 0x14020
leaq -0x90(%rbp), %rdi
callq 0x31070
movl $0x1, -0x74(%rbp)
jmp 0x549f5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x549dd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x14020
leaq -0x90(%rbp), %rdi
callq 0x31070
jmp 0x54a6e
movl $0x0, -0x74(%rbp)
leaq -0x88(%rbp), %rdi
callq 0x30d20
movl -0x74(%rbp), %eax
testl %eax, %eax
je 0x54a0f
jmp 0x54a0a
jmp 0x54f42
movl $0x5, -0xac(%rbp)
movq -0x38(%rbp), %r8
addq $0x8, %r8
leaq 0x39f08(%rip), %rsi     # 0x8e930
leaq 0x383b8(%rip), %rdx     # 0x8cde7
leaq -0xa8(%rbp), %rdi
movq %rdi, -0x178(%rbp)
leaq -0xac(%rbp), %rcx
callq 0x50860
movq -0x178(%rbp), %rdi
callq 0x31090
movb %al, -0x169(%rbp)
jmp 0x54a5d
movb -0x169(%rbp), %al
testb $0x1, %al
jne 0x54a69
jmp 0x54a90
jmp 0x54b43
leaq -0x88(%rbp), %rdi
callq 0x30d20
jmp 0x54f57
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x54bc0
leaq -0xb8(%rbp), %rdi
callq 0x16d70
jmp 0x54a9e
leaq -0xa8(%rbp), %rdi
callq 0x310b0
movq %rax, -0x180(%rbp)
jmp 0x54ab3
movq -0x180(%rbp), %r8
leaq 0x382ce(%rip), %rdx     # 0x8cd8f
leaq -0xc0(%rbp), %rdi
movl $0x2, %esi
movl $0x4f, %ecx
callq 0x13fa0
jmp 0x54ad9
leaq -0xc0(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x14060
jmp 0x54aee
leaq -0xc0(%rbp), %rdi
callq 0x14020
leaq -0xb8(%rbp), %rdi
callq 0x31070
movl $0x1, -0x74(%rbp)
jmp 0x54b4a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x54b35
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0x14020
leaq -0xb8(%rbp), %rdi
callq 0x31070
jmp 0x54bc0
movl $0x0, -0x74(%rbp)
leaq -0xa8(%rbp), %rdi
callq 0x30d20
movl -0x74(%rbp), %eax
testl %eax, %eax
je 0x54b64
jmp 0x54b5f
jmp 0x54f42
movb $0x1, -0xd1(%rbp)
movq -0x38(%rbp), %r8
addq $0x10, %r8
leaq 0x36100(%rip), %rsi     # 0x8ac7a
leaq 0x38278(%rip), %rdx     # 0x8cdf9
leaq -0xd0(%rbp), %rdi
movq %rdi, -0x190(%rbp)
leaq -0xd1(%rbp), %rcx
callq 0x566e0
movq -0x190(%rbp), %rdi
callq 0x31090
movb %al, -0x181(%rbp)
jmp 0x54baf
movb -0x181(%rbp), %al
testb $0x1, %al
jne 0x54bbb
jmp 0x54be2
jmp 0x54c95
leaq -0xa8(%rbp), %rdi
callq 0x30d20
jmp 0x54f57
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x54d12
leaq -0xe0(%rbp), %rdi
callq 0x16d70
jmp 0x54bf0
leaq -0xd0(%rbp), %rdi
callq 0x310b0
movq %rax, -0x198(%rbp)
jmp 0x54c05
movq -0x198(%rbp), %r8
leaq 0x3817c(%rip), %rdx     # 0x8cd8f
leaq -0xe8(%rbp), %rdi
movl $0x2, %esi
movl $0x50, %ecx
callq 0x13fa0
jmp 0x54c2b
leaq -0xe8(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x14060
jmp 0x54c40
leaq -0xe8(%rbp), %rdi
callq 0x14020
leaq -0xe0(%rbp), %rdi
callq 0x31070
movl $0x1, -0x74(%rbp)
jmp 0x54c9c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x54c87
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0xe8(%rbp), %rdi
callq 0x14020
leaq -0xe0(%rbp), %rdi
callq 0x31070
jmp 0x54d12
movl $0x0, -0x74(%rbp)
leaq -0xd0(%rbp), %rdi
callq 0x30d20
movl -0x74(%rbp), %eax
testl %eax, %eax
je 0x54cb6
jmp 0x54cb1
jmp 0x54f42
movb $0x1, -0xf9(%rbp)
movq -0x38(%rbp), %r8
addq $0x11, %r8
leaq 0x35fae(%rip), %rsi     # 0x8ac7a
leaq 0x3813e(%rip), %rdx     # 0x8ce11
leaq -0xf8(%rbp), %rdi
movq %rdi, -0x1a8(%rbp)
leaq -0xf9(%rbp), %rcx
callq 0x566e0
movq -0x1a8(%rbp), %rdi
callq 0x31090
movb %al, -0x199(%rbp)
jmp 0x54d01
movb -0x199(%rbp), %al
testb $0x1, %al
jne 0x54d0d
jmp 0x54d34
jmp 0x54de7
leaq -0xd0(%rbp), %rdi
callq 0x30d20
jmp 0x54f57
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x54e5a
leaq -0x108(%rbp), %rdi
callq 0x16d70
jmp 0x54d42
leaq -0xf8(%rbp), %rdi
callq 0x310b0
movq %rax, -0x1b0(%rbp)
jmp 0x54d57
movq -0x1b0(%rbp), %r8
leaq 0x3802a(%rip), %rdx     # 0x8cd8f
leaq -0x110(%rbp), %rdi
movl $0x2, %esi
movl $0x51, %ecx
callq 0x13fa0
jmp 0x54d7d
leaq -0x110(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0x14060
jmp 0x54d92
leaq -0x110(%rbp), %rdi
callq 0x14020
leaq -0x108(%rbp), %rdi
callq 0x31070
movl $0x1, -0x74(%rbp)
jmp 0x54dee
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x54dd9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x110(%rbp), %rdi
callq 0x14020
leaq -0x108(%rbp), %rdi
callq 0x31070
jmp 0x54e5a
movl $0x0, -0x74(%rbp)
leaq -0xf8(%rbp), %rdi
callq 0x30d20
movl -0x74(%rbp), %eax
testl %eax, %eax
je 0x54e08
jmp 0x54e03
jmp 0x54f42
movq -0x38(%rbp), %rax
movq 0x18(%rax), %r8
leaq 0x37b64(%rip), %rsi     # 0x8c97b
leaq 0x38008(%rip), %rdx     # 0x8ce26
xorl %eax, %eax
movl %eax, %ecx
leaq -0x120(%rbp), %rdi
movq %rdi, -0x1c0(%rbp)
callq 0x565e0
movq -0x1c0(%rbp), %rdi
callq 0x31090
movb %al, -0x1b1(%rbp)
jmp 0x54e49
movb -0x1b1(%rbp), %al
testb $0x1, %al
jne 0x54e55
jmp 0x54e7c
jmp 0x54f2f
leaq -0xf8(%rbp), %rdi
callq 0x30d20
jmp 0x54f57
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x54f4b
leaq -0x128(%rbp), %rdi
callq 0x16d70
jmp 0x54e8a
leaq -0x120(%rbp), %rdi
callq 0x310b0
movq %rax, -0x1c8(%rbp)
jmp 0x54e9f
movq -0x1c8(%rbp), %r8
leaq 0x37ee2(%rip), %rdx     # 0x8cd8f
leaq -0x130(%rbp), %rdi
movl $0x2, %esi
movl $0x52, %ecx
callq 0x13fa0
jmp 0x54ec5
leaq -0x130(%rbp), %rdi
leaq -0x128(%rbp), %rsi
callq 0x14060
jmp 0x54eda
leaq -0x130(%rbp), %rdi
callq 0x14020
leaq -0x128(%rbp), %rdi
callq 0x31070
movl $0x1, -0x74(%rbp)
jmp 0x54f36
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x54f21
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x130(%rbp), %rdi
callq 0x14020
leaq -0x128(%rbp), %rdi
callq 0x31070
jmp 0x54f4b
movl $0x0, -0x74(%rbp)
leaq -0x120(%rbp), %rdi
callq 0x30d20
addq $0x1d0, %rsp            # imm = 0x1D0
popq %rbp
retq
leaq -0x120(%rbp), %rdi
callq 0x30d20
movq -0x58(%rbp), %rdi
callq 0xee80