// File: /workspace/github_c_makefile_star2_O1/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 0x42144
movq %rax, 0x20(%rsp)
leaq 0x1ea9e(%rip), %rsi     # 0x55d2f
leaq 0x1ea9a(%rip), %rdx     # 0x55d32
leaq 0x21bb4(%rip), %rbx     # 0x58e53
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rcx
movq %r14, %r8
callq 0x150d6
cmpb $0x0, (%r15)
je 0x373a3
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
movq %rsp, %rcx
movq $0x0, (%rcx)
leaq 0x1e102(%rip), %rsi     # 0x553db
leaq 0x1db01(%rip), %rdx     # 0x54de1
leaq 0x10(%rsp), %rbx
leaq 0x20(%rsp), %r8
movq %rbx, %rdi
callq 0x3a063
cmpb $0x0, (%rbx)
je 0x3742a
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
movq %rsp, %rcx
movl $0x2, (%rcx)
movq 0x20(%rsp), %r8
leaq 0x1eb1f(%rip), %rsi     # 0x55e3b
leaq 0x1eb2b(%rip), %rdx     # 0x55e4e
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x3aaac
cmpb $0x0, (%rbx)
je 0x37441
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
movq %rsp, %rcx
movl $0x0, (%rcx)
movq 0x20(%rsp), %rax
xorl %r8d, %r8d
cmpl $0x2, (%rax)
cmoveq %rax, %r8
addq $0x8, %r8
leaq 0x1d7a0(%rip), %rsi     # 0x54b08
leaq 0x1eae9(%rip), %rdx     # 0x55e58
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x3352d
cmpb $0x0, (%rbx)
jne 0x375a6
movq %rsp, %rdi
callq 0x12eee
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x37541
movq (%rax), %r8
jmp 0x37548
movq %rsp, %rdi
callq 0x12eee
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x373b8
movq (%rax), %rbx
leaq 0x1e959(%rip), %rdx     # 0x55d18
leaq 0x8(%rsp), %rdi
movl $0x2, %esi
movl $0x39, %ecx
movq %rbx, %r8
callq 0x10bb8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10c56
leaq 0x8(%rsp), %rdi
callq 0x10c24
cmpq $0x0, (%rsp)
je 0x37419
movl $0x1, %edi
callq 0x10bb4
testb %al, %al
je 0x37411
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x37411
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, (%rsp)
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
jmp 0x375b2
movq %rsp, %rdi
callq 0x12eee
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x37458
movq (%rax), %r8
jmp 0x3745f
movq %rsp, %rdi
callq 0x12eee
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x374ce
movq (%rax), %r8
jmp 0x374d5
leaq 0x219f4(%rip), %r8      # 0x58e53
leaq 0x1e8b2(%rip), %rdx     # 0x55d18
leaq 0x8(%rsp), %rdi
movl $0x2, %esi
movl $0x3a, %ecx
callq 0x10bb8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10c56
leaq 0x8(%rsp), %rdi
callq 0x10c24
cmpq $0x0, (%rsp)
je 0x374bd
movl $0x1, %edi
callq 0x10bb4
testb %al, %al
je 0x374b5
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x374b5
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, (%rsp)
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
jmp 0x375b2
leaq 0x2197e(%rip), %r8      # 0x58e53
leaq 0x1e83c(%rip), %rdx     # 0x55d18
leaq 0x8(%rsp), %rdi
movl $0x2, %esi
movl $0x3c, %ecx
callq 0x10bb8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10c56
leaq 0x8(%rsp), %rdi
callq 0x10c24
cmpq $0x0, (%rsp)
je 0x37533
movl $0x1, %edi
callq 0x10bb4
testb %al, %al
je 0x3752b
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x3752b
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, (%rsp)
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
jmp 0x375b2
leaq 0x2190b(%rip), %r8      # 0x58e53
leaq 0x1e7c9(%rip), %rdx     # 0x55d18
leaq 0x8(%rsp), %rdi
movl $0x2, %esi
movl $0x3d, %ecx
callq 0x10bb8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10c56
leaq 0x8(%rsp), %rdi
callq 0x10c24
cmpq $0x0, (%rsp)
je 0x375a6
movl $0x1, %edi
callq 0x10bb4
testb %al, %al
je 0x3759e
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x3759e
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, (%rsp)
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x37613
jmp 0x375e2
jmp 0x375f1
jmp 0x375fe
jmp 0x37613
jmp 0x37613
jmp 0x37613
jmp 0x375e2
jmp 0x375f1
jmp 0x375fe
jmp 0x37613
jmp 0x37613
jmp 0x37613
jmp 0x375e2
jmp 0x375f1
jmp 0x375fe
jmp 0x37613
jmp 0x37613
jmp 0x37613
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x10c24
jmp 0x375f4
movq %rax, %rbx
movq %rsp, %rdi
callq 0x31faa
jmp 0x37601
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x31fbc
movq %rbx, %rdi
callq 0xcbb0
movq %rax, %rdi
callq 0x28baf
nop