// File: /workspace/github_c_makefile_star2_O2/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 %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
leaq 0x2c(%rsp), %rax
movb $0x0, 0x2(%rax)
movw $0x7d7b, (%rax)         # imm = 0x7D7B
leaq 0x18(%rdi), %rsi
leaq 0x50(%rdi), %rdx
leaq 0x88(%rdi), %r14
movq %rax, %rdi
movq %r14, %rcx
callq 0x34778
movq %rax, 0x20(%rsp)
leaq 0x1b454(%rip), %rsi     # 0x46d3f
leaq 0x1b450(%rip), %rdx     # 0x46d42
leaq 0x1e5ae(%rip), %rbx     # 0x49ea7
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rcx
movq %r14, %r8
callq 0x13723
cmpb $0x0, (%r15)
je 0x2b9f1
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq %rsp, %rcx
andq $0x0, (%rcx)
leaq 0x1aaad(%rip), %rsi     # 0x463db
leaq 0x1a4ac(%rip), %rdx     # 0x45de1
leaq 0x10(%rsp), %rbx
leaq 0x20(%rsp), %r8
movq %rbx, %rdi
callq 0x2d7ec
cmpb $0x0, (%rbx)
je 0x2ba32
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq %rsp, %rcx
movl $0x2, (%rcx)
movq 0x20(%rsp), %r8
leaq 0x1b4dc(%rip), %rsi     # 0x46e4b
leaq 0x1b4e8(%rip), %rdx     # 0x46e5e
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x2e10f
cmpb $0x0, (%rbx)
je 0x2ba49
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq %rsp, %rcx
andl $0x0, (%rcx)
movq 0x20(%rsp), %rax
xorl %r8d, %r8d
cmpl $0x2, (%rax)
cmoveq %rax, %r8
addq $0x8, %r8
leaq 0x1a152(%rip), %rsi     # 0x45b08
leaq 0x1b4ab(%rip), %rdx     # 0x46e68
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x287b5
cmpb $0x0, (%rbx)
jne 0x2bb1e
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x2bae1
movq (%rax), %r8
jmp 0x2bae8
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x2ba06
movq (%rax), %rbx
leaq 0x1b31b(%rip), %rdx     # 0x46d28
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x39
popq %rcx
movq %rbx, %r8
callq 0x104f8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10576
jmp 0x2bab8
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x2ba60
movq (%rax), %r8
jmp 0x2ba67
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x2ba8d
movq (%rax), %r8
jmp 0x2ba94
leaq 0x1e440(%rip), %r8      # 0x49ea7
leaq 0x1b2ba(%rip), %rdx     # 0x46d28
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x3a
popq %rcx
callq 0x104f8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10576
jmp 0x2bab8
leaq 0x1e413(%rip), %r8      # 0x49ea7
leaq 0x1b28d(%rip), %rdx     # 0x46d28
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x3c
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 $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x1e3bf(%rip), %r8      # 0x49ea7
leaq 0x1b239(%rip), %rdx     # 0x46d28
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 0x2bad2
jmp 0x2bb37
jmp 0x2bb46
jmp 0x2bb53
jmp 0x2bb37
jmp 0x2bb46
jmp 0x2bb53
jmp 0x2bb37
jmp 0x2bb46
jmp 0x2bb53
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x10558
jmp 0x2bb49
movq %rax, %rbx
movq %rsp, %rdi
callq 0x1f8e0
jmp 0x2bb56
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq %rbx, %rdi
callq 0xdbf0