// File: /workspace/github_c_makefile_star2_O2/deplinenoise[P]tundra/unittest/Test_MemAllocLinear.cpp
// Function: MemAllocLinearTest_Reset_Test::TestBody()
TEST_F(MemAllocLinearTest, Reset)
{
  ASSERT_EQ(0, alloc.m_Offset);
  LinearAllocate<int>(&alloc);

  ASSERT_EQ(sizeof(int), alloc.m_Offset);
  LinearAllocReset(&alloc);

  ASSERT_EQ(0, alloc.m_Offset);
  LinearAllocate<int>(&alloc);

  ASSERT_EQ(sizeof(int), alloc.m_Offset);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %r14
movq %rsp, %rcx
andl $0x0, (%rcx)
leaq 0x30(%rdi), %rbx
leaq 0x172bb(%rip), %rsi     # 0x45b08
leaq 0x18cbb(%rip), %rdx     # 0x4750f
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %rbx, %r8
callq 0x287b5
cmpb $0x0, (%r15)
je 0x2e958
addq $0x18, %r14
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq %r14, %rdi
callq 0x2ead2
movq %rsp, %rcx
movq $0x4, (%rcx)
leaq 0x18c96(%rip), %rsi     # 0x4752b
leaq 0x18c73(%rip), %rdx     # 0x4750f
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %rbx, %r8
callq 0x2ec93
cmpb $0x0, (%r15)
je 0x2e96f
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq %r14, %rdi
callq 0x351c1
movq %rsp, %rcx
andl $0x0, (%rcx)
leaq 0x17233(%rip), %rsi     # 0x45b08
leaq 0x18c33(%rip), %rdx     # 0x4750f
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %rbx, %r8
callq 0x287b5
cmpb $0x0, (%r15)
je 0x2e9b3
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq %r14, %rdi
callq 0x2ead2
movq %rsp, %rcx
movq $0x4, (%rcx)
leaq 0x18c12(%rip), %rsi     # 0x4752b
leaq 0x18bef(%rip), %rdx     # 0x4750f
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movq %rbx, %r8
callq 0x2ec93
cmpb $0x0, (%r14)
jne 0x2ea88
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x2ea4b
movq (%rax), %r8
jmp 0x2ea52
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x2e986
movq (%rax), %r8
jmp 0x2e98d
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x2e9ca
movq (%rax), %r8
jmp 0x2e9d1
leaq 0x1b51a(%rip), %r8      # 0x49ea7
leaq 0x18b5a(%rip), %rdx     # 0x474ee
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x34
popq %rcx
callq 0x104f8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10576
jmp 0x2ea22
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x2e9f7
movq (%rax), %r8
jmp 0x2e9fe
leaq 0x1b4d6(%rip), %r8      # 0x49ea7
leaq 0x18b16(%rip), %rdx     # 0x474ee
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x37
popq %rcx
callq 0x104f8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10576
jmp 0x2ea22
leaq 0x1b4a9(%rip), %r8      # 0x49ea7
leaq 0x18ae9(%rip), %rdx     # 0x474ee
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x3a
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 $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x1b455(%rip), %r8      # 0x49ea7
leaq 0x18a95(%rip), %rdx     # 0x474ee
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x3d
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 0x2ea3c
jmp 0x2eaa1
jmp 0x2eab0
jmp 0x2eabd
jmp 0x2eaa1
jmp 0x2eab0
jmp 0x2eabd
jmp 0x2eaa1
jmp 0x2eab0
jmp 0x2eabd
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x10558
jmp 0x2eab3
movq %rax, %rbx
movq %rsp, %rdi
callq 0x1f8e0
jmp 0x2eac0
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq %rbx, %rdi
callq 0xdbf0