// File: /workspace/github_cpp_makefile_star2_O1/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 0x9c99
movq 0x539c(%rip), %rbx      # 0xeff0
leaq 0x17c6(%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 0x9f6a
movq 0x8(%rsi), %rsi
leaq -0x98(%rbp), %rbx
leaq -0x1f8(%rbp), %rdx
movq %rbx, %rdi
callq 0xa06c
leaq -0x68(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq -0x78(%rbp), %rdi
callq 0x853e
leaq -0x1f8(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x54cf
movq -0x78(%rbp), %rdi
cmpq %r14, %rdi
je 0x9cf3
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x1f0(%rbp), %rdx
testq %rdx, %rdx
je 0x9d46
movq -0x1f8(%rbp), %rsi
movq 0x52e3(%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 0x9ece
movb $0x0, -0x118(%rbp)
cmpb $0x1, -0x1b8(%rbp)
jne 0x9d85
leaq -0x128(%rbp), %rax
movq %rax, -0x10(%rax)
movq -0x1d8(%rbp), %rsi
movq -0x1d0(%rbp), %rdx
addq %rsi, %rdx
leaq -0x138(%rbp), %rdi
callq 0x853e
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 0x9dc8
leaq -0x198(%rbp), %rsi
movq %r14, %rdi
callq 0x6ce4
movb $0x1, -0xe0(%rbp)
movb $0x0, -0xa8(%rbp)
cmpb $0x1, -0x148(%rbp)
jne 0x9df2
leaq -0xd8(%rbp), %rdi
leaq -0x178(%rbp), %rsi
callq 0x8624
movb $0x1, -0xa8(%rbp)
movl -0x140(%rbp), %eax
movl %eax, -0xa0(%rbp)
leaq -0x28(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x13fa(%rip), %rdx      # 0xb207
leaq -0x38(%rbp), %rdi
movq %rdx, %rsi
callq 0x8c74
leaq -0x58(%rbp), %rdi
leaq -0x138(%rbp), %rsi
leaq -0x38(%rbp), %rdx
callq 0x570c
movq -0x58(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq 0x518c(%rip), %rdi      # 0xefc8
callq 0x21e0
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9e5a
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x9e6f
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x21c0
cmpb $0x1, -0xa8(%rbp)
jne 0x9e88
leaq -0xd8(%rbp), %rdi
movb $0x0, 0x30(%rdi)
callq 0x727c
cmpb $0x1, -0xe0(%rbp)
jne 0x9ea0
movb $0x0, -0xe0(%rbp)
movq %r14, %rdi
callq 0x6896
cmpb $0x1, -0x118(%rbp)
jne 0x9ecc
leaq -0x128(%rbp), %rax
movb $0x0, 0x10(%rax)
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9ecc
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x21c0
xorl %ebx, %ebx
cmpb $0x1, -0x148(%rbp)
jne 0x9ee7
leaq -0x178(%rbp), %rdi
movb $0x0, 0x30(%rdi)
callq 0x727c
cmpb $0x1, -0x180(%rbp)
jne 0x9f00
leaq -0x198(%rbp), %rdi
movb $0x0, 0x18(%rdi)
callq 0x6896
cmpb $0x1, -0x1b8(%rbp)
jne 0x9f2c
leaq -0x1c8(%rbp), %rax
movb $0x0, 0x10(%rax)
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9f2c
movq -0x1c8(%rbp), %rsi
incq %rsi
callq 0x21c0
leaq -0x1e8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9f4b
movq -0x1e8(%rbp), %rsi
incq %rsi
callq 0x21c0
leaq -0x88(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9f6a
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 0x9f9a
movb $0x0, -0xe0(%rbp)
movq %r14, %rdi
callq 0x6896
jmp 0x9f9a
movq %rax, %rbx
cmpb $0x1, -0x118(%rbp)
jne 0xa039
leaq -0x128(%rbp), %rax
movb $0x0, 0x10(%rax)
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa039
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0xa039
jmp 0xa036
movq %rax, %rbx
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9fef
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x9fef
movq %rax, %rbx
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0xa009
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0xa009
movq %rax, %rbx
leaq -0x138(%rbp), %rdi
callq 0x6b20
jmp 0xa039
movq %rax, %rbx
movq -0x78(%rbp), %rdi
cmpq %r14, %rdi
je 0xa045
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0xa045
movq %rax, %rbx
jmp 0xa045
movq %rax, %rbx
leaq -0x1f8(%rbp), %rdi
callq 0xa0aa
leaq -0x88(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa064
movq -0x88(%rbp), %rsi
incq %rsi
callq 0x21c0
movq %rbx, %rdi
callq 0x2290