// File: /workspace/github_c_makefile_star2_O0/deplinenoise[P]tundra/unittest/Test_Json.cpp
// Function: JsonTest_EmptyObject_Test::TestBody()
TEST_F(JsonTest, EmptyObject)
{
  char input[] = "{}";
  const JsonValue* v = JsonParse(input, &alloc, &scratch, error_msg);

  ASSERT_STREQ("", error_msg);
  ASSERT_NE(nullptr, v);

  ASSERT_EQ(JsonValue::kObject, v->m_Type);
  ASSERT_EQ(0, v->AsObject()->m_Count);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp            # imm = 0x130
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rcx
movb $0x0, -0xa(%rbp)
movw $0x7d7b, -0xc(%rbp)     # imm = 0x7D7B
movq %rcx, %rsi
addq $0x18, %rsi
movq %rcx, %rdx
addq $0x50, %rdx
addq $0x88, %rcx
movq %rcx, -0xe0(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x6ccb0
movq -0xe0(%rbp), %r8
movq %rax, -0x18(%rbp)
leaq 0x33c5b(%rip), %rsi     # 0x8d2df
leaq 0x33c57(%rip), %rdx     # 0x8d2e2
leaq 0x3713e(%rip), %rcx     # 0x907d0
leaq -0x28(%rbp), %rdi
movq %rdi, -0xd8(%rbp)
callq 0x19e10
movq -0xd8(%rbp), %rdi
callq 0x31090
movb %al, -0xc9(%rbp)
jmp 0x596b6
movb -0xc9(%rbp), %al
testb $0x1, %al
jne 0x596c2
jmp 0x596d8
jmp 0x59770
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x597e1
leaq -0x40(%rbp), %rdi
callq 0x16d70
jmp 0x596e3
leaq -0x28(%rbp), %rdi
callq 0x310b0
movq %rax, -0xe8(%rbp)
jmp 0x596f5
movq -0xe8(%rbp), %r8
leaq 0x33bc5(%rip), %rdx     # 0x8d2c8
leaq -0x48(%rbp), %rdi
movl $0x2, %esi
movl $0x39, %ecx
callq 0x13fa0
jmp 0x59718
leaq -0x48(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x14060
jmp 0x59727
leaq -0x48(%rbp), %rdi
callq 0x14020
leaq -0x40(%rbp), %rdi
callq 0x31070
movl $0x1, -0x4c(%rbp)
jmp 0x59777
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x59765
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x14020
leaq -0x40(%rbp), %rdi
callq 0x31070
jmp 0x597e1
movl $0x0, -0x4c(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x30d20
movl -0x4c(%rbp), %eax
testl %eax, %eax
je 0x5978e
jmp 0x59789
jmp 0x59b5b
movq $0x0, -0x68(%rbp)
leaq 0x331de(%rip), %rsi     # 0x8c97b
leaq 0x32c28(%rip), %rdx     # 0x8c3cc
leaq -0x60(%rbp), %rdi
movq %rdi, -0xf8(%rbp)
leaq -0x68(%rbp), %rcx
leaq -0x18(%rbp), %r8
callq 0x5d7f0
movq -0xf8(%rbp), %rdi
callq 0x31090
movb %al, -0xe9(%rbp)
jmp 0x597d0
movb -0xe9(%rbp), %al
testb $0x1, %al
jne 0x597dc
jmp 0x59800
jmp 0x59898
leaq -0x28(%rbp), %rdi
callq 0x30d20
jmp 0x59b70
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x59911
leaq -0x70(%rbp), %rdi
callq 0x16d70
jmp 0x5980b
leaq -0x60(%rbp), %rdi
callq 0x310b0
movq %rax, -0x100(%rbp)
jmp 0x5981d
movq -0x100(%rbp), %r8
leaq 0x33a9d(%rip), %rdx     # 0x8d2c8
leaq -0x78(%rbp), %rdi
movl $0x2, %esi
movl $0x3a, %ecx
callq 0x13fa0
jmp 0x59840
leaq -0x78(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x14060
jmp 0x5984f
leaq -0x78(%rbp), %rdi
callq 0x14020
leaq -0x70(%rbp), %rdi
callq 0x31070
movl $0x1, -0x4c(%rbp)
jmp 0x5989f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x5988d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x14020
leaq -0x70(%rbp), %rdi
callq 0x31070
jmp 0x59911
movl $0x0, -0x4c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x30d20
movl -0x4c(%rbp), %eax
testl %eax, %eax
je 0x598b6
jmp 0x598b1
jmp 0x59b5b
movl $0x2, -0x8c(%rbp)
movq -0x18(%rbp), %r8
leaq 0x33b20(%rip), %rsi     # 0x8d3eb
leaq 0x33b2c(%rip), %rdx     # 0x8d3fe
leaq -0x88(%rbp), %rdi
movq %rdi, -0x110(%rbp)
leaq -0x8c(%rbp), %rcx
callq 0x5d910
movq -0x110(%rbp), %rdi
callq 0x31090
movb %al, -0x101(%rbp)
jmp 0x59900
movb -0x101(%rbp), %al
testb $0x1, %al
jne 0x5990c
jmp 0x59930
jmp 0x599e6
leaq -0x60(%rbp), %rdi
callq 0x30d20
jmp 0x59b70
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x59a73
leaq -0x98(%rbp), %rdi
callq 0x16d70
jmp 0x5993e
leaq -0x88(%rbp), %rdi
callq 0x310b0
movq %rax, -0x118(%rbp)
jmp 0x59953
movq -0x118(%rbp), %r8
leaq 0x33967(%rip), %rdx     # 0x8d2c8
leaq -0xa0(%rbp), %rdi
movl $0x2, %esi
movl $0x3c, %ecx
callq 0x13fa0
jmp 0x59979
leaq -0xa0(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x14060
jmp 0x5998e
leaq -0xa0(%rbp), %rdi
callq 0x14020
leaq -0x98(%rbp), %rdi
callq 0x31070
movl $0x1, -0x4c(%rbp)
jmp 0x599ed
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x599d5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0xa0(%rbp), %rdi
callq 0x14020
leaq -0x98(%rbp), %rdi
callq 0x31070
jmp 0x59a73
movl $0x0, -0x4c(%rbp)
leaq -0x88(%rbp), %rdi
callq 0x30d20
movl -0x4c(%rbp), %eax
testl %eax, %eax
je 0x59a07
jmp 0x59a02
jmp 0x59b5b
movl $0x0, -0xb4(%rbp)
movq -0x18(%rbp), %rdi
callq 0x5d860
movq %rax, %r8
addq $0x8, %r8
leaq 0x32696(%rip), %rsi     # 0x8c0be
leaq 0x339d9(%rip), %rdx     # 0x8d408
xorl %eax, %eax
movl %eax, %r9d
leaq -0xb0(%rbp), %rdi
movq %rdi, -0x128(%rbp)
leaq -0xb4(%rbp), %rcx
callq 0x50690
movq -0x128(%rbp), %rdi
callq 0x31090
movb %al, -0x119(%rbp)
jmp 0x59a62
movb -0x119(%rbp), %al
testb $0x1, %al
jne 0x59a6e
jmp 0x59a95
jmp 0x59b48
leaq -0x88(%rbp), %rdi
callq 0x30d20
jmp 0x59b70
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x59b64
leaq -0xc0(%rbp), %rdi
callq 0x16d70
jmp 0x59aa3
leaq -0xb0(%rbp), %rdi
callq 0x310b0
movq %rax, -0x130(%rbp)
jmp 0x59ab8
movq -0x130(%rbp), %r8
leaq 0x33802(%rip), %rdx     # 0x8d2c8
leaq -0xc8(%rbp), %rdi
movl $0x2, %esi
movl $0x3d, %ecx
callq 0x13fa0
jmp 0x59ade
leaq -0xc8(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x14060
jmp 0x59af3
leaq -0xc8(%rbp), %rdi
callq 0x14020
leaq -0xc0(%rbp), %rdi
callq 0x31070
movl $0x1, -0x4c(%rbp)
jmp 0x59b4f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x59b3a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x14020
leaq -0xc0(%rbp), %rdi
callq 0x31070
jmp 0x59b64
movl $0x0, -0x4c(%rbp)
leaq -0xb0(%rbp), %rdi
callq 0x30d20
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
leaq -0xb0(%rbp), %rdi
callq 0x30d20
movq -0x30(%rbp), %rdi
callq 0xee80
nopl (%rax)