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

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

  ASSERT_EQ(JsonValue::kArray, v->m_Type);
  ASSERT_EQ(0, v->AsArray()->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 $0x5d5b, -0xc(%rbp)     # imm = 0x5D5B
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 0x3370b(%rip), %rsi     # 0x8d2df
leaq 0x33707(%rip), %rdx     # 0x8d2e2
leaq 0x36bee(%rip), %rcx     # 0x907d0
leaq -0x28(%rbp), %rdi
movq %rdi, -0xd8(%rbp)
callq 0x19e10
movq -0xd8(%rbp), %rdi
callq 0x31090
movb %al, -0xc9(%rbp)
jmp 0x59c06
movb -0xc9(%rbp), %al
testb $0x1, %al
jne 0x59c12
jmp 0x59c28
jmp 0x59cc0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x59d31
leaq -0x40(%rbp), %rdi
callq 0x16d70
jmp 0x59c33
leaq -0x28(%rbp), %rdi
callq 0x310b0
movq %rax, -0xe8(%rbp)
jmp 0x59c45
movq -0xe8(%rbp), %r8
leaq 0x33675(%rip), %rdx     # 0x8d2c8
leaq -0x48(%rbp), %rdi
movl $0x2, %esi
movl $0x45, %ecx
callq 0x13fa0
jmp 0x59c68
leaq -0x48(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x14060
jmp 0x59c77
leaq -0x48(%rbp), %rdi
callq 0x14020
leaq -0x40(%rbp), %rdi
callq 0x31070
movl $0x1, -0x4c(%rbp)
jmp 0x59cc7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x59cb5
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 0x59d31
movl $0x0, -0x4c(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x30d20
movl -0x4c(%rbp), %eax
testl %eax, %eax
je 0x59cde
jmp 0x59cd9
jmp 0x5a0ab
movq $0x0, -0x68(%rbp)
leaq 0x32c8e(%rip), %rsi     # 0x8c97b
leaq 0x326d8(%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 0x59d20
movb -0xe9(%rbp), %al
testb $0x1, %al
jne 0x59d2c
jmp 0x59d50
jmp 0x59de8
leaq -0x28(%rbp), %rdi
callq 0x30d20
jmp 0x5a0c0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x59e61
leaq -0x70(%rbp), %rdi
callq 0x16d70
jmp 0x59d5b
leaq -0x60(%rbp), %rdi
callq 0x310b0
movq %rax, -0x100(%rbp)
jmp 0x59d6d
movq -0x100(%rbp), %r8
leaq 0x3354d(%rip), %rdx     # 0x8d2c8
leaq -0x78(%rbp), %rdi
movl $0x2, %esi
movl $0x46, %ecx
callq 0x13fa0
jmp 0x59d90
leaq -0x78(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x14060
jmp 0x59d9f
leaq -0x78(%rbp), %rdi
callq 0x14020
leaq -0x70(%rbp), %rdi
callq 0x31070
movl $0x1, -0x4c(%rbp)
jmp 0x59def
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x59ddd
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 0x59e61
movl $0x0, -0x4c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x30d20
movl -0x4c(%rbp), %eax
testl %eax, %eax
je 0x59e06
jmp 0x59e01
jmp 0x5a0ab
movl $0x3, -0x8c(%rbp)
movq -0x18(%rbp), %r8
leaq 0x33612(%rip), %rsi     # 0x8d42d
leaq 0x335dc(%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 0x59e50
movb -0x101(%rbp), %al
testb $0x1, %al
jne 0x59e5c
jmp 0x59e80
jmp 0x59f36
leaq -0x60(%rbp), %rdi
callq 0x30d20
jmp 0x5a0c0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x59fc3
leaq -0x98(%rbp), %rdi
callq 0x16d70
jmp 0x59e8e
leaq -0x88(%rbp), %rdi
callq 0x310b0
movq %rax, -0x118(%rbp)
jmp 0x59ea3
movq -0x118(%rbp), %r8
leaq 0x33417(%rip), %rdx     # 0x8d2c8
leaq -0xa0(%rbp), %rdi
movl $0x2, %esi
movl $0x48, %ecx
callq 0x13fa0
jmp 0x59ec9
leaq -0xa0(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x14060
jmp 0x59ede
leaq -0xa0(%rbp), %rdi
callq 0x14020
leaq -0x98(%rbp), %rdi
callq 0x31070
movl $0x1, -0x4c(%rbp)
jmp 0x59f3d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x59f25
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 0x59fc3
movl $0x0, -0x4c(%rbp)
leaq -0x88(%rbp), %rdi
callq 0x30d20
movl -0x4c(%rbp), %eax
testl %eax, %eax
je 0x59f57
jmp 0x59f52
jmp 0x5a0ab
movl $0x0, -0xb4(%rbp)
movq -0x18(%rbp), %rdi
callq 0x5da60
movq %rax, %r8
addq $0x8, %r8
leaq 0x32146(%rip), %rsi     # 0x8c0be
leaq 0x334c0(%rip), %rdx     # 0x8d43f
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 0x59fb2
movb -0x119(%rbp), %al
testb $0x1, %al
jne 0x59fbe
jmp 0x59fe5
jmp 0x5a098
leaq -0x88(%rbp), %rdi
callq 0x30d20
jmp 0x5a0c0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x5a0b4
leaq -0xc0(%rbp), %rdi
callq 0x16d70
jmp 0x59ff3
leaq -0xb0(%rbp), %rdi
callq 0x310b0
movq %rax, -0x130(%rbp)
jmp 0x5a008
movq -0x130(%rbp), %r8
leaq 0x332b2(%rip), %rdx     # 0x8d2c8
leaq -0xc8(%rbp), %rdi
movl $0x2, %esi
movl $0x49, %ecx
callq 0x13fa0
jmp 0x5a02e
leaq -0xc8(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x14060
jmp 0x5a043
leaq -0xc8(%rbp), %rdi
callq 0x14020
leaq -0xc0(%rbp), %rdi
callq 0x31070
movl $0x1, -0x4c(%rbp)
jmp 0x5a09f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x5a08a
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 0x5a0b4
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)