// File: Juve45[P]batstat/./include/nlohmann/json.hpp
// Function: nlohmann::json_abi_v3_11_3::detail::iter_impl<nlohmann::json_abi_v3_11_3::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::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>> nlohmann::json_abi_v3_11_3::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::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>::erase<nlohmann::json_abi_v3_11_3::detail::iter_impl<nlohmann::json_abi_v3_11_3::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::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>>, 0>(nlohmann::json_abi_v3_11_3::detail::iter_impl<nlohmann::json_abi_v3_11_3::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::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>>)
IteratorType erase(IteratorType pos)
    {
        // make sure iterator fits the current value
        if (JSON_HEDLEY_UNLIKELY(this != pos.m_object))
        {
            JSON_THROW(invalid_iterator::create(202, "iterator does not fit current value", this));
        }

        IteratorType result = end();

        switch (m_data.m_type)
        {
            case value_t::boolean:
            case value_t::number_float:
            case value_t::number_integer:
            case value_t::number_unsigned:
            case value_t::string:
            case value_t::binary:
            {
                if (JSON_HEDLEY_UNLIKELY(!pos.m_it.primitive_iterator.is_begin()))
                {
                    JSON_THROW(invalid_iterator::create(205, "iterator out of range", this));
                }

                if (is_string())
                {
                    AllocatorType<string_t> alloc;
                    std::allocator_traits<decltype(alloc)>::destroy(alloc, m_data.m_value.string);
                    std::allocator_traits<decltype(alloc)>::deallocate(alloc, m_data.m_value.string, 1);
                    m_data.m_value.string = nullptr;
                }
                else if (is_binary())
                {
                    AllocatorType<binary_t> alloc;
                    std::allocator_traits<decltype(alloc)>::destroy(alloc, m_data.m_value.binary);
                    std::allocator_traits<decltype(alloc)>::deallocate(alloc, m_data.m_value.binary, 1);
                    m_data.m_value.binary = nullptr;
                }

                m_data.m_type = value_t::null;
                assert_invariant();
                break;
            }

            case value_t::object:
            {
                result.m_it.object_iterator = m_data.m_value.object->erase(pos.m_it.object_iterator);
                break;
            }

            case value_t::array:
            {
                result.m_it.array_iterator = m_data.m_value.array->erase(pos.m_it.array_iterator);
                break;
            }

            case value_t::null:
            case value_t::discarded:
            default:
                JSON_THROW(type_error::create(307, detail::concat("cannot use erase() with ", type_name()), this));
        }

        return result;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp            # imm = 0x130
movq %rdx, -0xe8(%rbp)
movq %rdi, -0xe0(%rbp)
movq %rdi, %rax
movq %rax, -0xd8(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xd0(%rbp)
cmpq (%rdx), %rax
setne %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x184ad
jmp 0x18571
movb $0x1, -0x4d(%rbp)
movl $0x20, %edi
callq 0x4210
movq %rax, -0xf8(%rbp)
leaq -0x39(%rbp), %rdi
movq %rdi, -0xf0(%rbp)
callq 0x4640
movq -0xf0(%rbp), %rdx
leaq 0x125a0(%rip), %rsi     # 0x2aa80
leaq -0x38(%rbp), %rdi
callq 0x44c0
jmp 0x184eb
movq -0xd0(%rbp), %rcx
movq -0xf8(%rbp), %rdi
movl $0xca, %esi
leaq -0x38(%rbp), %rdx
callq 0x1be50
jmp 0x18509
movq -0xf8(%rbp), %rdi
movb $0x0, -0x4d(%rbp)
leaq 0x2374d(%rip), %rsi     # 0x3bc68
leaq 0x3ade(%rip), %rdx      # 0x1c000
callq 0x4610
jmp 0x1895b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x1854f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x46a8
leaq -0x39(%rbp), %rdi
callq 0x4410
testb $0x1, -0x4d(%rbp)
jne 0x18560
jmp 0x1856c
movq -0xf8(%rbp), %rdi
callq 0x42c0
jmp 0x18952
movq -0xd0(%rbp), %rsi
movq -0xe0(%rbp), %rdi
callq 0x181d0
movq -0xd0(%rbp), %rax
movzbl (%rax), %eax
movq %rax, -0x100(%rbp)
subq $0x9, %rax
ja 0x18878
movq -0x100(%rbp), %rax
leaq 0xf3f7(%rip), %rcx      # 0x279a4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0xe8(%rbp), %rdi
addq $0x8, %rdi
addq $0x10, %rdi
callq 0x1c250
xorb $-0x1, %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x185d9
jmp 0x1869d
movb $0x1, -0x72(%rbp)
movl $0x20, %edi
callq 0x4210
movq %rax, -0x110(%rbp)
leaq -0x71(%rbp), %rdi
movq %rdi, -0x108(%rbp)
callq 0x4640
movq -0x108(%rbp), %rdx
leaq 0x12498(%rip), %rsi     # 0x2aaa4
leaq -0x70(%rbp), %rdi
callq 0x44c0
jmp 0x18617
movq -0xd0(%rbp), %rcx
movq -0x110(%rbp), %rdi
movl $0xcd, %esi
leaq -0x70(%rbp), %rdx
callq 0x1be50
jmp 0x18635
movq -0x110(%rbp), %rdi
movb $0x0, -0x72(%rbp)
leaq 0x23621(%rip), %rsi     # 0x3bc68
leaq 0x39b2(%rip), %rdx      # 0x1c000
callq 0x4610
jmp 0x1895b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x1867b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x46a8
leaq -0x71(%rbp), %rdi
callq 0x4410
testb $0x1, -0x72(%rbp)
jne 0x1868c
jmp 0x18698
movq -0x110(%rbp), %rdi
callq 0x42c0
jmp 0x18952
movq -0xd0(%rbp), %rdi
callq 0x6630
testb $0x1, %al
jne 0x186af
jmp 0x1872b
leaq -0x73(%rbp), %rdi
movq %rdi, -0x118(%rbp)
callq 0x7780
movq -0xd0(%rbp), %rax
movq -0x118(%rbp), %rdi
movq 0x8(%rax), %rsi
callq 0x77a0
movq -0xd0(%rbp), %rax
movq -0x118(%rbp), %rdi
movq 0x8(%rax), %rsi
movl $0x1, %edx
callq 0x77d0
jmp 0x186f4
movq -0xd0(%rbp), %rax
movq $0x0, 0x8(%rax)
leaq -0x73(%rbp), %rdi
callq 0x7800
jmp 0x187b8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x73(%rbp), %rdi
callq 0x7800
jmp 0x18952
movq -0xd0(%rbp), %rdi
callq 0x1c270
testb $0x1, %al
jne 0x1873d
jmp 0x187b6
leaq -0x74(%rbp), %rdi
movq %rdi, -0x120(%rbp)
callq 0x7820
movq -0xd0(%rbp), %rax
movq -0x120(%rbp), %rdi
movq 0x8(%rax), %rsi
callq 0x7840
movq -0xd0(%rbp), %rax
movq -0x120(%rbp), %rdi
movq 0x8(%rax), %rsi
movl $0x1, %edx
callq 0x7870
jmp 0x18782
movq -0xd0(%rbp), %rax
movq $0x0, 0x8(%rax)
leaq -0x74(%rbp), %rdi
callq 0x78a0
jmp 0x187b6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x74(%rbp), %rdi
callq 0x78a0
jmp 0x18952
jmp 0x187b8
movq -0xd0(%rbp), %rdi
movb $0x0, (%rdi)
movl $0x1, %esi
callq 0x69d0
jmp 0x18942
movq -0xe8(%rbp), %rax
movq -0xd0(%rbp), %rcx
movq 0x8(%rcx), %rdi
movq 0x8(%rax), %rax
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rsi
callq 0x1c290
movq %rax, %rcx
movq -0xe0(%rbp), %rax
movq %rcx, -0x80(%rbp)
movq -0x80(%rbp), %rcx
movq %rcx, 0x8(%rax)
jmp 0x18942
movq -0xe8(%rbp), %rsi
movq -0xd0(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x128(%rbp)
addq $0x8, %rsi
addq $0x8, %rsi
leaq -0x98(%rbp), %rdi
callq 0x1c340
movq -0x128(%rbp), %rdi
movq -0x98(%rbp), %rsi
callq 0x1c2d0
movq %rax, %rcx
movq -0xe0(%rbp), %rax
movq %rcx, -0x90(%rbp)
movq -0x90(%rbp), %rcx
movq %rcx, 0x10(%rax)
jmp 0x18942
jmp 0x18878
movb $0x1, -0xc1(%rbp)
movl $0x20, %edi
callq 0x4210
movq -0xd0(%rbp), %rdi
movq %rax, -0x130(%rbp)
callq 0x1c5d0
movq %rax, -0xc0(%rbp)
leaq 0x12210(%rip), %rsi     # 0x2aaba
leaq -0xb8(%rbp), %rdi
leaq -0xc0(%rbp), %rdx
callq 0x1c530
jmp 0x188bf
movq -0xd0(%rbp), %rcx
movq -0x130(%rbp), %rdi
movl $0x133, %esi            # imm = 0x133
leaq -0xb8(%rbp), %rdx
callq 0x1c380
jmp 0x188e0
movq -0x130(%rbp), %rdi
movb $0x0, -0xc1(%rbp)
leaq 0x233b3(%rip), %rsi     # 0x3bca8
leaq 0x3d74(%rip), %rdx      # 0x1c670
callq 0x4610
jmp 0x1895b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x18929
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0x46a8
testb $0x1, -0xc1(%rbp)
jne 0x18934
jmp 0x18940
movq -0x130(%rbp), %rdi
callq 0x42c0
jmp 0x18952
movq -0xd8(%rbp), %rax
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
movq -0x48(%rbp), %rdi
callq 0x4630
nopl (%rax,%rax)