// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x130, %rsp            # imm = 0x130
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %r8
movq %r8, -0xd8(%rbp)
movl $0x0, -0x1c(%rbp)
addq $0x30, %r8
leaq 0x2bd62(%rip), %rsi     # 0x8c0be
leaq 0x2d75c(%rip), %rdx     # 0x8dabf
xorl %eax, %eax
movl %eax, %r9d
leaq -0x18(%rbp), %rdi
movq %rdi, -0xd0(%rbp)
leaq -0x1c(%rbp), %rcx
callq 0x50690
movq -0xd0(%rbp), %rdi
callq 0x31090
movb %al, -0xc1(%rbp)
jmp 0x60390
movb -0xc1(%rbp), %al
testb $0x1, %al
jne 0x6039c
jmp 0x603b2
jmp 0x6044d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x604d5
leaq -0x38(%rbp), %rdi
callq 0x16d70
jmp 0x603bd
leaq -0x18(%rbp), %rdi
callq 0x310b0
movq %rax, -0xe0(%rbp)
jmp 0x603cf
movq -0xe0(%rbp), %r8
leaq 0x2d6c1(%rip), %rdx     # 0x8da9e
leaq -0x40(%rbp), %rdi
movl $0x2, %esi
movl $0x34, %ecx
callq 0x13fa0
jmp 0x603f2
leaq -0x40(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x14060
jmp 0x60401
leaq -0x40(%rbp), %rdi
callq 0x14020
leaq -0x38(%rbp), %rdi
callq 0x31070
movl $0x1, -0x44(%rbp)
jmp 0x60454
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x6043f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x14020
leaq -0x38(%rbp), %rdi
callq 0x31070
jmp 0x604d5
movl $0x0, -0x44(%rbp)
leaq -0x18(%rbp), %rdi
callq 0x30d20
movl -0x44(%rbp), %eax
testl %eax, %eax
je 0x6046b
jmp 0x60466
jmp 0x60869
movq -0xd8(%rbp), %rdi
addq $0x18, %rdi
callq 0x60920
movq -0xd8(%rbp), %r8
movq $0x4, -0x60(%rbp)
addq $0x30, %r8
leaq 0x2d646(%rip), %rsi     # 0x8dadb
leaq 0x2d623(%rip), %rdx     # 0x8dabf
leaq -0x58(%rbp), %rdi
movq %rdi, -0xf0(%rbp)
leaq -0x60(%rbp), %rcx
callq 0x60950
movq -0xf0(%rbp), %rdi
callq 0x31090
movb %al, -0xe1(%rbp)
jmp 0x604c4
movb -0xe1(%rbp), %al
testb $0x1, %al
jne 0x604d0
jmp 0x604f4
jmp 0x6058f
leaq -0x18(%rbp), %rdi
callq 0x30d20
jmp 0x6087e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x60621
leaq -0x68(%rbp), %rdi
callq 0x16d70
jmp 0x604ff
leaq -0x58(%rbp), %rdi
callq 0x310b0
movq %rax, -0xf8(%rbp)
jmp 0x60511
movq -0xf8(%rbp), %r8
leaq 0x2d57f(%rip), %rdx     # 0x8da9e
leaq -0x70(%rbp), %rdi
movl $0x2, %esi
movl $0x37, %ecx
callq 0x13fa0
jmp 0x60534
leaq -0x70(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x14060
jmp 0x60543
leaq -0x70(%rbp), %rdi
callq 0x14020
leaq -0x68(%rbp), %rdi
callq 0x31070
movl $0x1, -0x44(%rbp)
jmp 0x60596
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x60581
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x14020
leaq -0x68(%rbp), %rdi
callq 0x31070
jmp 0x60621
movl $0x0, -0x44(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x30d20
movl -0x44(%rbp), %eax
testl %eax, %eax
je 0x605ad
jmp 0x605a8
jmp 0x60869
movq -0xd8(%rbp), %rdi
addq $0x18, %rdi
callq 0x6e780
movq -0xd8(%rbp), %r8
movl $0x0, -0x84(%rbp)
addq $0x30, %r8
leaq 0x2bae5(%rip), %rsi     # 0x8c0be
leaq 0x2d4df(%rip), %rdx     # 0x8dabf
xorl %eax, %eax
movl %eax, %r9d
leaq -0x80(%rbp), %rdi
movq %rdi, -0x108(%rbp)
leaq -0x84(%rbp), %rcx
callq 0x50690
movq -0x108(%rbp), %rdi
callq 0x31090
movb %al, -0xf9(%rbp)
jmp 0x60610
movb -0xf9(%rbp), %al
testb $0x1, %al
jne 0x6061c
jmp 0x60640
jmp 0x606f3
leaq -0x58(%rbp), %rdi
callq 0x30d20
jmp 0x6087e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x60784
leaq -0x90(%rbp), %rdi
callq 0x16d70
jmp 0x6064e
leaq -0x80(%rbp), %rdi
callq 0x310b0
movq %rax, -0x110(%rbp)
jmp 0x60660
movq -0x110(%rbp), %r8
leaq 0x2d430(%rip), %rdx     # 0x8da9e
leaq -0x98(%rbp), %rdi
movl $0x2, %esi
movl $0x3a, %ecx
callq 0x13fa0
jmp 0x60686
leaq -0x98(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x14060
jmp 0x6069b
leaq -0x98(%rbp), %rdi
callq 0x14020
leaq -0x90(%rbp), %rdi
callq 0x31070
movl $0x1, -0x44(%rbp)
jmp 0x606fa
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x606e2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x14020
leaq -0x90(%rbp), %rdi
callq 0x31070
jmp 0x60784
movl $0x0, -0x44(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x30d20
movl -0x44(%rbp), %eax
testl %eax, %eax
je 0x60711
jmp 0x6070c
jmp 0x60869
movq -0xd8(%rbp), %rdi
addq $0x18, %rdi
callq 0x60920
movq -0xd8(%rbp), %r8
movq $0x4, -0xb0(%rbp)
addq $0x30, %r8
leaq 0x2d39d(%rip), %rsi     # 0x8dadb
leaq 0x2d37a(%rip), %rdx     # 0x8dabf
leaq -0xa8(%rbp), %rdi
movq %rdi, -0x120(%rbp)
leaq -0xb0(%rbp), %rcx
callq 0x60950
movq -0x120(%rbp), %rdi
callq 0x31090
movb %al, -0x111(%rbp)
jmp 0x60773
movb -0x111(%rbp), %al
testb $0x1, %al
jne 0x6077f
jmp 0x607a3
jmp 0x60856
leaq -0x80(%rbp), %rdi
callq 0x30d20
jmp 0x6087e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x60872
leaq -0xb8(%rbp), %rdi
callq 0x16d70
jmp 0x607b1
leaq -0xa8(%rbp), %rdi
callq 0x310b0
movq %rax, -0x128(%rbp)
jmp 0x607c6
movq -0x128(%rbp), %r8
leaq 0x2d2ca(%rip), %rdx     # 0x8da9e
leaq -0xc0(%rbp), %rdi
movl $0x2, %esi
movl $0x3d, %ecx
callq 0x13fa0
jmp 0x607ec
leaq -0xc0(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x14060
jmp 0x60801
leaq -0xc0(%rbp), %rdi
callq 0x14020
leaq -0xb8(%rbp), %rdi
callq 0x31070
movl $0x1, -0x44(%rbp)
jmp 0x6085d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x60848
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0x14020
leaq -0xb8(%rbp), %rdi
callq 0x31070
jmp 0x60872
movl $0x0, -0x44(%rbp)
leaq -0xa8(%rbp), %rdi
callq 0x30d20
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
leaq -0xa8(%rbp), %rdi
callq 0x30d20
movq -0x28(%rbp), %rdi
callq 0xee80
nopw (%rax,%rax)