// File: /workspace/github_cpp_makefile_star2_O2/aayush-jaiswal[P]covid-in/src/format_data.cpp
// Function: print_formatted_all(nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer>)
void print_formatted_all(json states) {
    int state_width = 30;
    int num_width = 12;

    print_content("State/UT", state_width);
    print_content("Confirmed", num_width);
    print_content("Active", num_width);
    print_content("Recovered", num_width);
    print_content("Deaths", num_width);
    std::cout << '\n';
    std::cout << std::left << std::setw(state_width + 4 * num_width) << std::setfill('-') << " ";
    std::cout << '\n';
    bool skip_total = true;
    for (auto& s : states) {
        if (skip_total) {
            skip_total = false;
            continue;
        }
        print_content(s["state"], state_width);
        print_content(s["confirmed"], num_width);
        print_content(s["active"], num_width);
        print_content(s["recovered"], num_width);
        print_content(s["deaths"], num_width);
        std::cout << '\n';
    }
    std::cout << std::left << std::setw(state_width + 4 * num_width) << std::setfill('-') << " ";
    std::cout << '\n';
    print_content(states[0]["state"], state_width);
    print_content(states[0]["confirmed"], num_width);
    print_content(states[0]["active"], num_width);
    print_content(states[0]["recovered"], num_width);
    print_content(states[0]["deaths"], num_width);
    std::cout << '\n';
    std::cout << std::left << std::setw(state_width + 4 * num_width) << std::setfill('-') << " ";
    std::cout << '\n';
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rdi, %rbx
leaq 0x1eaf0(%rip), %rsi     # 0x261af
leaq 0xa8(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x7d76
leaq 0xa8(%rsp), %rdi
pushq $0x1e
popq %rsi
callq 0x75fc
leaq 0xa8(%rsp), %rdi
callq 0x6678
leaq 0x1eac3(%rip), %rsi     # 0x261b8
leaq 0x88(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x7d76
leaq 0x88(%rsp), %rdi
pushq $0xc
popq %rsi
callq 0x75fc
leaq 0x88(%rsp), %rdi
callq 0x6678
leaq 0x1ea97(%rip), %rsi     # 0x261c2
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x7d76
leaq 0x68(%rsp), %rdi
pushq $0xc
popq %rsi
callq 0x75fc
leaq 0x68(%rsp), %rdi
callq 0x6678
leaq 0x1ea71(%rip), %rsi     # 0x261c9
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x7d76
leaq 0x48(%rsp), %rdi
pushq $0xc
popq %rsi
callq 0x75fc
leaq 0x48(%rsp), %rdi
callq 0x6678
leaq 0x1ea4e(%rip), %rsi     # 0x261d3
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x7d76
leaq 0x28(%rsp), %rdi
pushq $0xc
popq %rsi
callq 0x75fc
leaq 0x28(%rsp), %rdi
callq 0x6678
movq 0x377ce(%rip), %r14     # 0x3ef80
pushq $0xa
popq %rbp
movq %r14, %rdi
movl %ebp, %esi
callq 0x6370
movq (%r14), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %edx       # imm = 0xFFFFFF4F
andl 0x18(%r14,%rcx), %edx
orl $0x20, %edx
movl %edx, 0x18(%r14,%rcx)
movq -0x18(%rax), %rax
movq $0x4e, 0x10(%r14,%rax)
pushq $0x2d
popq %rsi
movq %r14, %rdi
callq 0x6400
leaq 0x1ff5f(%rip), %rsi     # 0x27756
movq %rax, %rdi
callq 0x6320
movq %r14, %rdi
movl %ebp, %esi
callq 0x6370
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0x7db2
leaq 0x168(%rsp), %rdi
movq %rbx, (%rsp)
movq %rbx, %rsi
callq 0x7dd8
movb $0x1, %bpl
leaq 0x208(%rsp), %r15
pushq $0xc
popq %r13
leaq 0x188(%rsp), %rbx
movq %r12, %rdi
leaq 0x168(%rsp), %rsi
callq 0x7dfe
testb %al, %al
je 0x7988
movq %r12, %rdi
callq 0x7e08
testb $0x1, %bpl
jne 0x7979
movq %rax, %r14
movq %rax, %rdi
leaq 0x1fc60(%rip), %rsi     # 0x274db
callq 0x7c54
movq %r15, %rdi
movq %rax, %rsi
callq 0x93d4
movq %r15, %rdi
pushq $0x1e
popq %rsi
callq 0x75fc
movq %r15, %rdi
callq 0x6678
movq %r14, %rdi
leaq 0x1e813(%rip), %rsi     # 0x260bb
callq 0x7c54
leaq 0x1e8(%rsp), %rbp
movq %rbp, %rdi
movq %rax, %rsi
callq 0x93d4
movq %rbp, %rdi
movl %r13d, %esi
callq 0x75fc
movq %rbp, %rdi
callq 0x6678
movq %r14, %rdi
leaq 0x1e7f4(%rip), %rsi     # 0x260d1
callq 0x7c54
leaq 0x1c8(%rsp), %rbp
movq %rbp, %rdi
movq %rax, %rsi
callq 0x93d4
movq %rbp, %rdi
movl %r13d, %esi
callq 0x75fc
movq %rbp, %rdi
callq 0x6678
movq %r14, %rdi
leaq 0x1e7ec(%rip), %rsi     # 0x260fe
callq 0x7c54
leaq 0x1a8(%rsp), %rbp
movq %rbp, %rdi
movq %rax, %rsi
callq 0x93d4
movq %rbp, %rdi
movl %r13d, %esi
callq 0x75fc
movq %rbp, %rdi
callq 0x6678
movq %r14, %rdi
leaq 0x1e79f(%rip), %rsi     # 0x260e6
callq 0x7c54
movq %rbx, %rdi
movq %rax, %rsi
callq 0x93d4
movq %rbx, %rdi
movl %r13d, %esi
callq 0x75fc
movq %rbx, %rdi
callq 0x6678
movq 0x3760f(%rip), %rdi     # 0x3ef80
pushq $0xa
popq %rsi
callq 0x6370
movq %r12, %rdi
callq 0x7f96
xorl %ebp, %ebp
jmp 0x7844
movq 0x375f1(%rip), %rbx     # 0x3ef80
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %edx       # imm = 0xFFFFFF4F
andl 0x18(%rbx,%rcx), %edx
orl $0x20, %edx
movl %edx, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
movq $0x4e, 0x10(%rbx,%rax)
pushq $0x2d
popq %rsi
movq %rbx, %rdi
callq 0x6400
leaq 0x1fd91(%rip), %rsi     # 0x27756
movq %rax, %rdi
callq 0x6320
pushq $0xa
popq %rsi
movq %rbx, %rdi
callq 0x6370
movq (%rsp), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x7fec
leaq 0x1faee(%rip), %rsi     # 0x274db
movq %rax, %rdi
callq 0x7c54
leaq 0x148(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x93d4
pushq $0x1e
popq %rsi
movq %rbx, %rdi
callq 0x75fc
leaq 0x148(%rsp), %rdi
callq 0x6678
movq %r14, %rdi
xorl %esi, %esi
callq 0x7fec
leaq 0x1e68a(%rip), %rsi     # 0x260bb
movq %rax, %rdi
callq 0x7c54
leaq 0x128(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x93d4
pushq $0xc
popq %rsi
movq %rbx, %rdi
callq 0x75fc
leaq 0x128(%rsp), %rdi
callq 0x6678
movq %r14, %rdi
xorl %esi, %esi
callq 0x7fec
leaq 0x1e65c(%rip), %rsi     # 0x260d1
movq %rax, %rdi
callq 0x7c54
leaq 0x108(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x93d4
pushq $0xc
popq %rsi
movq %rbx, %rdi
callq 0x75fc
leaq 0x108(%rsp), %rdi
callq 0x6678
movq %r14, %rdi
xorl %esi, %esi
callq 0x7fec
leaq 0x1e645(%rip), %rsi     # 0x260fe
movq %rax, %rdi
callq 0x7c54
leaq 0xe8(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x93d4
pushq $0xc
popq %rsi
movq %rbx, %rdi
callq 0x75fc
leaq 0xe8(%rsp), %rdi
callq 0x6678
movq %r14, %rdi
xorl %esi, %esi
callq 0x7fec
leaq 0x1e5e9(%rip), %rsi     # 0x260e6
movq %rax, %rdi
callq 0x7c54
leaq 0xc8(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x93d4
pushq $0xc
popq %rsi
movq %rbx, %rdi
callq 0x75fc
leaq 0xc8(%rsp), %rdi
callq 0x6678
pushq $0xa
popq %rbx
movq 0x37446(%rip), %r14     # 0x3ef80
movq %r14, %rdi
movl %ebx, %esi
callq 0x6370
movq (%r14), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %edx       # imm = 0xFFFFFF4F
andl 0x18(%r14,%rcx), %edx
orl $0x20, %edx
movl %edx, 0x18(%r14,%rcx)
movq -0x18(%rax), %rax
movq $0x4e, 0x10(%r14,%rax)
pushq $0x2d
popq %rsi
movq %r14, %rdi
callq 0x6400
leaq 0x1fbda(%rip), %rsi     # 0x27756
movq %rax, %rdi
callq 0x6320
movq %r14, %rdi
movl %ebx, %esi
callq 0x6370
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r12
leaq 0xc8(%rsp), %rdi
jmp 0x7c46
movq %rax, %r12
leaq 0xe8(%rsp), %rdi
jmp 0x7c46
movq %rax, %r12
leaq 0x108(%rsp), %rdi
jmp 0x7c46
movq %rax, %r12
leaq 0x128(%rsp), %rdi
jmp 0x7c46
movq %rax, %r12
leaq 0x148(%rsp), %rdi
jmp 0x7c46
movq %rax, %r12
leaq 0x28(%rsp), %rdi
jmp 0x7c46
jmp 0x7c27
movq %rax, %r12
leaq 0x48(%rsp), %rdi
jmp 0x7c46
jmp 0x7c27
movq %rax, %r12
leaq 0x68(%rsp), %rdi
jmp 0x7c46
jmp 0x7c27
movq %rax, %r12
leaq 0x88(%rsp), %rdi
jmp 0x7c46
jmp 0x7c27
movq %rax, %r12
leaq 0xa8(%rsp), %rdi
jmp 0x7c46
movq %rax, %r12
jmp 0x7c4b
movq %rax, %r12
movq %rbx, %r15
jmp 0x7c43
jmp 0x7c38
jmp 0x7c38
movq %rax, %r12
movq %rbp, %r15
jmp 0x7c43
movq %rax, %r12
movq %r15, %rdi
callq 0x6678
movq %r12, %rdi
callq 0x6360
nop