// File: /workspace/github_cpp_makefile_star2_O3/eatonphil[P]cpp-json/main.cpp
// Function: main
int main(int argc, char *argv[]) {
  if (argc == 1) {
    std::cerr << "Expected JSON input argument to parse" << std::endl;
    return 1;
  }

  std::string in{argv[1]};

  auto [ast, error] = json::parse(in);
  if (error.size()) {
    std::cerr << error << std::endl;
    return 1;
  }

  std::cout << json::deparse(ast);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1e8, %rsp            # imm = 0x1E8
cmpl $0x1, %edi
jne 0x9c49
movq 0x53ec(%rip), %rbx      # 0xeff0
leaq 0x1816(%rip), %rsi      # 0xb421
movl $0x25, %edx
movq %rbx, %rdi
callq 0x21e0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2120
movl $0x1, %ebx
jmp 0x9f1a
movq 0x8(%rsi), %rsi
leaq -0x98(%rbp), %rbx
leaq -0x1f8(%rbp), %rdx
movq %rbx, %rdi
callq 0xa01c
leaq -0x68(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq -0x78(%rbp), %rdi
callq 0x84f0
leaq -0x1f8(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x547f
movq -0x78(%rbp), %rdi
cmpq %r14, %rdi
je 0x9ca3
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x1f0(%rbp), %rdx
testq %rdx, %rdx
je 0x9cf6
movq -0x1f8(%rbp), %rsi
movq 0x5333(%rip), %rdi      # 0xeff0
callq 0x21e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movl $0x1, %ebx
movq %rax, %rdi
callq 0x2120
jmp 0x9e7e
movb $0x0, -0x118(%rbp)
cmpb $0x1, -0x1b8(%rbp)
jne 0x9d35
leaq -0x128(%rbp), %rax
movq %rax, -0x10(%rax)
movq -0x1d8(%rbp), %rsi
movq -0x1d0(%rbp), %rdx
addq %rsi, %rdx
leaq -0x138(%rbp), %rdi
callq 0x84f0
movb $0x1, -0x118(%rbp)
movzwl -0x1a0(%rbp), %eax
leaq -0xf8(%rbp), %r14
movw %ax, -0x8(%r14)
movups -0x1b0(%rbp), %xmm0
movups %xmm0, -0x18(%r14)
movb $0x0, 0x18(%r14)
cmpb $0x1, -0x180(%rbp)
jne 0x9d78
leaq -0x198(%rbp), %rsi
movq %r14, %rdi
callq 0x6c90
movb $0x1, -0xe0(%rbp)
movb $0x0, -0xa8(%rbp)
cmpb $0x1, -0x148(%rbp)
jne 0x9da2
leaq -0xd8(%rbp), %rdi
leaq -0x178(%rbp), %rsi
callq 0x85d8
movb $0x1, -0xa8(%rbp)
movl -0x140(%rbp), %eax
movl %eax, -0xa0(%rbp)
leaq -0x28(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x144a(%rip), %rdx      # 0xb207
leaq -0x38(%rbp), %rdi
movq %rdx, %rsi
callq 0x8c32
leaq -0x58(%rbp), %rdi
leaq -0x138(%rbp), %rsi
leaq -0x38(%rbp), %rdx
callq 0x56bc
movq -0x58(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq 0x51dc(%rip), %rdi      # 0xefc8
callq 0x21e0
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9e0a
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x9e1f
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x21c0
cmpb $0x1, -0xa8(%rbp)
jne 0x9e38
leaq -0xd8(%rbp), %rdi
movb $0x0, 0x30(%rdi)
callq 0x722c
cmpb $0x1, -0xe0(%rbp)
jne 0x9e50
movb $0x0, -0xe0(%rbp)
movq %r14, %rdi
callq 0x683e
cmpb $0x1, -0x118(%rbp)
jne 0x9e7c
leaq -0x128(%rbp), %rax
movb $0x0, 0x10(%rax)
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9e7c
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x21c0
xorl %ebx, %ebx
cmpb $0x1, -0x148(%rbp)
jne 0x9e97
leaq -0x178(%rbp), %rdi
movb $0x0, 0x30(%rdi)
callq 0x722c
cmpb $0x1, -0x180(%rbp)
jne 0x9eb0
leaq -0x198(%rbp), %rdi
movb $0x0, 0x18(%rdi)
callq 0x683e
cmpb $0x1, -0x1b8(%rbp)
jne 0x9edc
leaq -0x1c8(%rbp), %rax
movb $0x0, 0x10(%rax)
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9edc
movq -0x1c8(%rbp), %rsi
incq %rsi
callq 0x21c0
leaq -0x1e8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9efb
movq -0x1e8(%rbp), %rsi
incq %rsi
callq 0x21c0
leaq -0x88(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9f1a
movq -0x88(%rbp), %rsi
incq %rsi
callq 0x21c0
movl %ebx, %eax
addq $0x1e8, %rsp            # imm = 0x1E8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
cmpb $0x1, -0xe0(%rbp)
jne 0x9f4a
movb $0x0, -0xe0(%rbp)
movq %r14, %rdi
callq 0x683e
jmp 0x9f4a
movq %rax, %rbx
cmpb $0x1, -0x118(%rbp)
jne 0x9fe9
leaq -0x128(%rbp), %rax
movb $0x0, 0x10(%rax)
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9fe9
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x9fe9
jmp 0x9fe6
movq %rax, %rbx
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9f9f
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x9f9f
movq %rax, %rbx
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x9fb9
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x9fb9
movq %rax, %rbx
leaq -0x138(%rbp), %rdi
callq 0x6acc
jmp 0x9fe9
movq %rax, %rbx
movq -0x78(%rbp), %rdi
cmpq %r14, %rdi
je 0x9ff5
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x9ff5
movq %rax, %rbx
jmp 0x9ff5
movq %rax, %rbx
leaq -0x1f8(%rbp), %rdi
callq 0xa05a
leaq -0x88(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa014
movq -0x88(%rbp), %rsi
incq %rsi
callq 0x21c0
movq %rbx, %rdi
callq 0x2290