// File: /workspace/github_c_makefile_star2_O0/dwbuiten[P]obuparse/obuparse.c
// Function: obp_parse_metadata
int obp_parse_metadata(uint8_t *buf, size_t buf_size, OBPMetadata *metadata, OBPError *err)
{
    uint64_t val;
    ptrdiff_t consumed;
    char err_buf[1024];
    _OBPBitReader b;
    _OBPBitReader *br;
    OBPError error = { &err_buf[0], 1024 };

    int ret = _obp_leb128(buf, buf_size, &val, &consumed, &error);
    if (ret < 0) {
        snprintf(err->error, err->size, "Couldn't read metadata type: %s", error.error);
        return -1;
    }
    metadata->metadata_type = val;

    b  = _obp_new_br(buf + consumed, buf_size - consumed);
    br = &b;

    if (metadata->metadata_type == OBP_METADATA_TYPE_HDR_CLL) {
        _obp_br(metadata->metadata_hdr_cll.max_cll, br, 16);
        _obp_br(metadata->metadata_hdr_cll.max_fall, br, 16);
    } else if (metadata->metadata_type == OBP_METADATA_TYPE_HDR_MDCV) {
        for (int i = 0; i < 3; i++) {
            _obp_br(metadata->metadata_hdr_mdcv.primary_chromaticity_x[i], br, 16);
            _obp_br(metadata->metadata_hdr_mdcv.primary_chromaticity_y[i], br, 16);
        }
        _obp_br(metadata->metadata_hdr_mdcv.white_point_chromaticity_x, br, 16);
        _obp_br(metadata->metadata_hdr_mdcv.white_point_chromaticity_y, br, 16);
        _obp_br(metadata->metadata_hdr_mdcv.luminance_max, br, 32);
        _obp_br(metadata->metadata_hdr_mdcv.luminance_min, br, 32);
    } else if (metadata->metadata_type == OBP_METADATA_TYPE_SCALABILITY) {
        _obp_br(metadata->metadata_scalability.scalability_mode_idc, br, 8);
        if (metadata->metadata_scalability.scalability_mode_idc) {
            /* scalability_structure() */
            _obp_br(metadata->metadata_scalability.scalability_structure.spatial_layers_cnt_minus_1, br, 2);
            _obp_br(metadata->metadata_scalability.scalability_structure.spatial_layer_dimensions_present_flag, br, 1);
            _obp_br(metadata->metadata_scalability.scalability_structure.spatial_layer_description_present_flag, br, 1);
            _obp_br(metadata->metadata_scalability.scalability_structure.temporal_group_description_present_flag, br, 1);
            _obp_br(metadata->metadata_scalability.scalability_structure.scalability_structure_reserved_3bits, br, 3);
            if (metadata->metadata_scalability.scalability_structure.spatial_layer_dimensions_present_flag) {
                for (uint8_t i = 0; i < metadata->metadata_scalability.scalability_structure.spatial_layers_cnt_minus_1; i++) {
                    _obp_br(metadata->metadata_scalability.scalability_structure.spatial_layer_max_width[i], br, 16);
                    _obp_br(metadata->metadata_scalability.scalability_structure.spatial_layer_max_height[i], br, 16);
                }
            }
            if (metadata->metadata_scalability.scalability_structure.spatial_layer_description_present_flag) {
                for (uint8_t i = 0; i < metadata->metadata_scalability.scalability_structure.spatial_layers_cnt_minus_1; i++) {
                    _obp_br(metadata->metadata_scalability.scalability_structure.spatial_layer_ref_id[i], br, 8);
                }
            }
            if (metadata->metadata_scalability.scalability_structure.temporal_group_description_present_flag) {
                _obp_br(metadata->metadata_scalability.scalability_structure.temporal_group_size, br, 8);
                for (uint8_t i = 0; i < metadata->metadata_scalability.scalability_structure.temporal_group_size; i++) {
                    _obp_br(metadata->metadata_scalability.scalability_structure.temporal_group_temporal_id[i], br, 3);
                    _obp_br(metadata->metadata_scalability.scalability_structure.temporal_group_temporal_switching_up_point_flag[i], br, 1);
                    _obp_br(metadata->metadata_scalability.scalability_structure.temporal_group_spatial_switching_up_point_flag[i], br, 1);
                    _obp_br(metadata->metadata_scalability.scalability_structure.temporal_group_ref_cnt[i], br, 3);
                    for (uint8_t j = 0; j < metadata->metadata_scalability.scalability_structure.temporal_group_ref_cnt[i]; j++) {
                        _obp_br(metadata->metadata_scalability.scalability_structure.temporal_group_ref_pic_diff[i][j], br, 8);
                    }
                }
            }
        }
    } else if (metadata->metadata_type == OBP_METADATA_TYPE_ITUT_T35) {
        size_t offset = 1;
        _obp_br(metadata->metadata_itut_t35.itu_t_t35_country_code, br, 8);
        if (metadata->metadata_itut_t35.itu_t_t35_country_code == 0xFF) {
            _obp_br(metadata->metadata_itut_t35.itu_t_t35_country_code_extension_byte, br, 8);
            offset++;
        }
        metadata->metadata_itut_t35.itu_t_t35_payload_bytes = buf + consumed + offset;
        int non_zero_bytes_seen = 0;
        /*
         * OBUs with byte payloads at the end have a dumb property where you need to
         * know the trailing bits *before* you parse the OBU, despite the way the spec
         * the syntax displayed and defined. SO as a result, you need to find the *second*
         * non-zero byte at the end of the OBU payload, rather than the last one, as
         * the note in the ITU T.35 part of the spec says.
         */
        for (size_t i = buf_size - consumed - offset - 1; i > 0; i--) {
            if (metadata->metadata_itut_t35.itu_t_t35_payload_bytes[i] != 0) {
                non_zero_bytes_seen++;
                if (non_zero_bytes_seen == 2) {
                    metadata->metadata_itut_t35.itu_t_t35_payload_bytes_size = i + 1;
                }
            }
        }
    } else if (metadata->metadata_type == OBP_METADATA_TYPE_TIMECODE) {
        _obp_br(metadata->metadata_timecode.counting_type, br, 5);
        _obp_br(metadata->metadata_timecode.full_timestamp_flag, br, 1);
        _obp_br(metadata->metadata_timecode.discontinuity_flag, br, 1);
        _obp_br(metadata->metadata_timecode.cnt_dropped_flag, br, 1);
        _obp_br(metadata->metadata_timecode.n_frames, br, 9);
        if (metadata->metadata_timecode.full_timestamp_flag) {
            _obp_br(metadata->metadata_timecode.seconds_value, br, 6);
            _obp_br(metadata->metadata_timecode.minutes_value, br, 6);
            _obp_br(metadata->metadata_timecode.hours_value, br, 5);
        } else {
            _obp_br(metadata->metadata_timecode.seconds_flag, br, 1);
            if (metadata->metadata_timecode.seconds_flag) {
                _obp_br(metadata->metadata_timecode.seconds_value, br, 6);
                _obp_br(metadata->metadata_timecode.minutes_flag, br, 1);
                if (metadata->metadata_timecode.minutes_flag) {
                    _obp_br(metadata->metadata_timecode.minutes_value, br, 6);
                    _obp_br(metadata->metadata_timecode.hours_flag, br, 1);
                    if (metadata->metadata_timecode.hours_flag) {
                        _obp_br(metadata->metadata_timecode.hours_value, br, 5);
                    }
                }
            }
        }
        _obp_br(metadata->metadata_timecode.time_offset_length, br, 5);
        if (metadata->metadata_timecode.time_offset_length > 0) {
             _obp_br(metadata->metadata_timecode.time_offset_value, br, metadata->metadata_timecode.time_offset_length);
        }
    } else if (metadata->metadata_type >= 6 && metadata->metadata_type <= 31) {
        metadata->unregistered.buf      = buf + consumed;
        metadata->unregistered.buf_size = buf_size - consumed;
    } else {
        snprintf(err->error, err->size, "Invalid metadata type: %"PRIu32"\n", metadata->metadata_type);
        return -1;
    }

    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x640, %rsp            # imm = 0x640
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
leaq -0x440(%rbp), %rax
movq %rax, -0x480(%rbp)
movq $0x400, -0x478(%rbp) # imm = 0x400
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x30(%rbp), %rdx
leaq -0x38(%rbp), %rcx
leaq -0x480(%rbp), %r8
callq 0x14b0
movl %eax, -0x484(%rbp)
cmpl $0x0, -0x484(%rbp)
jge 0x479f
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x480(%rbp), %rcx
leaq 0xab0b(%rip), %rdx      # 0xf297
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x30(%rbp), %rax
movl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, (%rax)
movq -0x10(%rbp), %rsi
addq -0x38(%rbp), %rsi
movq -0x18(%rbp), %rdx
subq -0x38(%rbp), %rdx
leaq -0x4b0(%rbp), %rdi
callq 0x3be0
leaq -0x468(%rbp), %rdi
leaq -0x4b0(%rbp), %rsi
movl $0x28, %edx
callq 0x1060
leaq -0x468(%rbp), %rax
movq %rax, -0x470(%rbp)
movq -0x20(%rbp), %rax
cmpl $0x1, (%rax)
jne 0x4919
jmp 0x47fc
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x10, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x4b8(%rbp)
movq -0x4b8(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x486b
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xa901(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x10, %esi
callq 0x3c20
movw %ax, %cx
movq -0x20(%rbp), %rax
movw %cx, 0x20(%rax)
jmp 0x4889
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x10, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x4c0(%rbp)
movq -0x4c0(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x48f8
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xa874(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x10, %esi
callq 0x3c20
movw %ax, %cx
movq -0x20(%rbp), %rax
movw %cx, 0x22(%rax)
jmp 0x6232
movq -0x20(%rbp), %rax
cmpl $0x2, (%rax)
jne 0x4cb2
movl $0x0, -0x4c4(%rbp)
cmpl $0x3, -0x4c4(%rbp)
jge 0x4a7d
jmp 0x493f
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x10, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x4d0(%rbp)
movq -0x4d0(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x49ae
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xa7be(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x10, %esi
callq 0x3c20
movw %ax, %dx
movq -0x20(%rbp), %rax
movslq -0x4c4(%rbp), %rcx
movw %dx, 0x24(%rax,%rcx,2)
jmp 0x49d4
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x10, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x4d8(%rbp)
movq -0x4d8(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x4a43
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xa729(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x10, %esi
callq 0x3c20
movw %ax, %dx
movq -0x20(%rbp), %rax
movslq -0x4c4(%rbp), %rcx
movw %dx, 0x2a(%rax,%rcx,2)
jmp 0x4a69
movl -0x4c4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4c4(%rbp)
jmp 0x4930
jmp 0x4a7f
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x10, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x4e0(%rbp)
movq -0x4e0(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x4aee
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xa67e(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x10, %esi
callq 0x3c20
movw %ax, %cx
movq -0x20(%rbp), %rax
movw %cx, 0x30(%rax)
jmp 0x4b0c
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x10, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x4e8(%rbp)
movq -0x4e8(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x4b7b
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xa5f1(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x10, %esi
callq 0x3c20
movw %ax, %cx
movq -0x20(%rbp), %rax
movw %cx, 0x32(%rax)
jmp 0x4b99
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x20, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x4f0(%rbp)
movq -0x4f0(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x4c08
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xa564(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x20, %esi
callq 0x3c20
movl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x34(%rax)
jmp 0x4c24
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x20, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x4f8(%rbp)
movq -0x4f8(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x4c93
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xa4d9(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x20, %esi
callq 0x3c20
movl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x38(%rax)
jmp 0x6230
movq -0x20(%rbp), %rax
cmpl $0x3, (%rax)
jne 0x5668
jmp 0x4cc1
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x8, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x500(%rbp)
movq -0x500(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x4d30
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xa43c(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x8, %esi
callq 0x3c20
movb %al, %cl
movq -0x20(%rbp), %rax
movb %cl, 0x3c(%rax)
movq -0x20(%rbp), %rax
cmpb $0x0, 0x3c(%rax)
je 0x5663
jmp 0x4d5a
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x2, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x508(%rbp)
movq -0x508(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x4dc9
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xa3a3(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x2, %esi
callq 0x3c20
movb %al, %cl
movq -0x20(%rbp), %rax
movb %cl, 0x40(%rax)
jmp 0x4de5
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x1, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x510(%rbp)
movq -0x510(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x4e54
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xa318(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x1, %esi
callq 0x3c20
movl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x44(%rax)
jmp 0x4e70
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x1, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x518(%rbp)
movq -0x518(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x4edf
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xa28d(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x1, %esi
callq 0x3c20
movl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x48(%rax)
jmp 0x4efb
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x1, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x520(%rbp)
movq -0x520(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x4f6a
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xa202(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x1, %esi
callq 0x3c20
movl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x4c(%rax)
jmp 0x4f86
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x3, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x528(%rbp)
movq -0x528(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x4ff5
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xa177(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x3, %esi
callq 0x3c20
movb %al, %cl
movq -0x20(%rbp), %rax
movb %cl, 0x50(%rax)
movq -0x20(%rbp), %rax
cmpl $0x0, 0x44(%rax)
je 0x517c
movb $0x0, -0x529(%rbp)
movzbl -0x529(%rbp), %eax
movq -0x20(%rbp), %rcx
movzbl 0x40(%rcx), %ecx
cmpl %ecx, %eax
jge 0x517a
jmp 0x503d
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x10, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x538(%rbp)
movq -0x538(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x50ac
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xa0c0(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x10, %esi
callq 0x3c20
movw %ax, %dx
movq -0x20(%rbp), %rax
movzbl -0x529(%rbp), %ecx
movw %dx, 0x52(%rax,%rcx,2)
jmp 0x50d2
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x10, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x540(%rbp)
movq -0x540(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x5141
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0xa02b(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x10, %esi
callq 0x3c20
movw %ax, %dx
movq -0x20(%rbp), %rax
movzbl -0x529(%rbp), %ecx
movw %dx, 0x58(%rax,%rcx,2)
jmp 0x5167
movb -0x529(%rbp), %al
addb $0x1, %al
movb %al, -0x529(%rbp)
jmp 0x5024
jmp 0x517c
movq -0x20(%rbp), %rax
cmpl $0x0, 0x48(%rax)
je 0x5252
movb $0x0, -0x541(%rbp)
movzbl -0x541(%rbp), %eax
movq -0x20(%rbp), %rcx
movzbl 0x40(%rcx), %ecx
cmpl %ecx, %eax
jge 0x5250
jmp 0x51aa
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x8, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x550(%rbp)
movq -0x550(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x5219
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x9f53(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x8, %esi
callq 0x3c20
movb %al, %dl
movq -0x20(%rbp), %rax
movzbl -0x541(%rbp), %ecx
movb %dl, 0x5e(%rax,%rcx)
jmp 0x523d
movb -0x541(%rbp), %al
addb $0x1, %al
movb %al, -0x541(%rbp)
jmp 0x5191
jmp 0x5252
movq -0x20(%rbp), %rax
cmpl $0x0, 0x4c(%rax)
je 0x5661
jmp 0x5262
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x8, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x558(%rbp)
movq -0x558(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x52d1
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x9e9b(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x8, %esi
callq 0x3c20
movb %al, %cl
movq -0x20(%rbp), %rax
movb %cl, 0x61(%rax)
movb $0x0, -0x559(%rbp)
movzbl -0x559(%rbp), %eax
movq -0x20(%rbp), %rcx
movzbl 0x61(%rcx), %ecx
cmpl %ecx, %eax
jge 0x565f
jmp 0x530b
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x3, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x568(%rbp)
movq -0x568(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x537a
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x9df2(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x3, %esi
callq 0x3c20
movb %al, %dl
movq -0x20(%rbp), %rax
movzbl -0x559(%rbp), %ecx
movb %dl, 0x62(%rax,%rcx)
jmp 0x539e
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x1, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x570(%rbp)
movq -0x570(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x540d
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x9d5f(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x1, %esi
callq 0x3c20
movl %eax, %edx
movq -0x20(%rbp), %rax
movzbl -0x559(%rbp), %ecx
movl %edx, 0x164(%rax,%rcx,4)
jmp 0x5434
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x1, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x578(%rbp)
movq -0x578(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x54a3
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x9cc9(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x1, %esi
callq 0x3c20
movl %eax, %edx
movq -0x20(%rbp), %rax
movzbl -0x559(%rbp), %ecx
movl %edx, 0x564(%rax,%rcx,4)
jmp 0x54ca
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x3, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x580(%rbp)
movq -0x580(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x5539
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x9c33(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x3, %esi
callq 0x3c20
movb %al, %dl
movq -0x20(%rbp), %rax
movzbl -0x559(%rbp), %ecx
movb %dl, 0x964(%rax,%rcx)
movb $0x0, -0x581(%rbp)
movzbl -0x581(%rbp), %eax
movq -0x20(%rbp), %rcx
movzbl -0x559(%rbp), %edx
movzbl 0x964(%rcx,%rdx), %ecx
cmpl %ecx, %eax
jge 0x564a
jmp 0x5589
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x8, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x590(%rbp)
movq -0x590(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x55f8
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x9b74(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x8, %esi
callq 0x3c20
movb %al, %dl
movq -0x20(%rbp), %rax
addq $0x3c, %rax
addq $0x4, %rax
addq $0xa24, %rax            # imm = 0xA24
movzbl -0x559(%rbp), %ecx
shlq $0x3, %rcx
addq %rcx, %rax
movzbl -0x581(%rbp), %ecx
movb %dl, (%rax,%rcx)
jmp 0x5637
movb -0x581(%rbp), %al
addb $0x1, %al
movb %al, -0x581(%rbp)
jmp 0x5565
jmp 0x564c
movb -0x559(%rbp), %al
addb $0x1, %al
movb %al, -0x559(%rbp)
jmp 0x52f2
jmp 0x5661
jmp 0x5663
jmp 0x622e
movq -0x20(%rbp), %rax
cmpl $0x4, (%rax)
jne 0x585e
movq $0x1, -0x598(%rbp)
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x8, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x5a0(%rbp)
movq -0x5a0(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x56ef
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x9a7d(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x8, %esi
callq 0x3c20
movb %al, %cl
movq -0x20(%rbp), %rax
movb %cl, 0x8(%rax)
movq -0x20(%rbp), %rax
movzbl 0x8(%rax), %eax
cmpl $0xff, %eax
jne 0x57b9
jmp 0x571e
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x8, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x5a8(%rbp)
movq -0x5a8(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x578d
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x99df(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x8, %esi
callq 0x3c20
movb %al, %cl
movq -0x20(%rbp), %rax
movb %cl, 0x9(%rax)
movq -0x598(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x598(%rbp)
movq -0x10(%rbp), %rcx
addq -0x38(%rbp), %rcx
addq -0x598(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x10(%rax)
movl $0x0, -0x5ac(%rbp)
movq -0x18(%rbp), %rax
subq -0x38(%rbp), %rax
subq -0x598(%rbp), %rax
subq $0x1, %rax
movq %rax, -0x5b8(%rbp)
cmpq $0x0, -0x5b8(%rbp)
jbe 0x5859
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x5b8(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $0x0, %eax
je 0x5843
movl -0x5ac(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5ac(%rbp)
cmpl $0x2, -0x5ac(%rbp)
jne 0x5841
movq -0x5b8(%rbp), %rcx
addq $0x1, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x18(%rax)
jmp 0x5843
jmp 0x5845
movq -0x5b8(%rbp), %rax
addq $-0x1, %rax
movq %rax, -0x5b8(%rbp)
jmp 0x57f4
jmp 0x622c
movq -0x20(%rbp), %rax
cmpl $0x5, (%rax)
jne 0x61c2
jmp 0x586d
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x5, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x5c0(%rbp)
movq -0x5c0(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x58dc
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x9890(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x5, %esi
callq 0x3c20
movb %al, %cl
movq -0x20(%rbp), %rax
movb %cl, 0x1264(%rax)
jmp 0x58fb
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x1, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x5c8(%rbp)
movq -0x5c8(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x596a
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x9802(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x1, %esi
callq 0x3c20
movl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x1268(%rax)
jmp 0x5989
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x1, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x5d0(%rbp)
movq -0x5d0(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x59f8
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x9774(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x1, %esi
callq 0x3c20
movl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x126c(%rax)
jmp 0x5a17
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x1, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x5d8(%rbp)
movq -0x5d8(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x5a86
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x96e6(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x1, %esi
callq 0x3c20
movl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x1270(%rax)
jmp 0x5aa5
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x9, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x5e0(%rbp)
movq -0x5e0(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x5b14
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x9658(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x9, %esi
callq 0x3c20
movw %ax, %cx
movq -0x20(%rbp), %rax
movw %cx, 0x1274(%rax)
movq -0x20(%rbp), %rax
cmpl $0x0, 0x1268(%rax)
je 0x5cf3
jmp 0x5b46
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x6, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x5e8(%rbp)
movq -0x5e8(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x5bb5
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x95b7(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x6, %esi
callq 0x3c20
movb %al, %cl
movq -0x20(%rbp), %rax
movb %cl, 0x1276(%rax)
jmp 0x5bd4
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x6, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x5f0(%rbp)
movq -0x5f0(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x5c43
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x9529(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x6, %esi
callq 0x3c20
movb %al, %cl
movq -0x20(%rbp), %rax
movb %cl, 0x1277(%rax)
jmp 0x5c62
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x5, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x5f8(%rbp)
movq -0x5f8(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x5cd1
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x949b(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x5, %esi
callq 0x3c20
movb %al, %cl
movq -0x20(%rbp), %rax
movb %cl, 0x1278(%rax)
jmp 0x6082
jmp 0x5cf5
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x1, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x600(%rbp)
movq -0x600(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x5d64
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x9408(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x1, %esi
callq 0x3c20
movl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x127c(%rax)
movq -0x20(%rbp), %rax
cmpl $0x0, 0x127c(%rax)
je 0x6080
jmp 0x5d94
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x6, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x608(%rbp)
movq -0x608(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x5e03
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x9369(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x6, %esi
callq 0x3c20
movb %al, %cl
movq -0x20(%rbp), %rax
movb %cl, 0x1276(%rax)
jmp 0x5e22
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x1, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x610(%rbp)
movq -0x610(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x5e91
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x92db(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x1, %esi
callq 0x3c20
movl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x1280(%rax)
movq -0x20(%rbp), %rax
cmpl $0x0, 0x1280(%rax)
je 0x607e
jmp 0x5ec1
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x6, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x618(%rbp)
movq -0x618(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x5f30
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x923c(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x6, %esi
callq 0x3c20
movb %al, %cl
movq -0x20(%rbp), %rax
movb %cl, 0x1277(%rax)
jmp 0x5f4f
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x1, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x620(%rbp)
movq -0x620(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x5fbe
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x91ae(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x1, %esi
callq 0x3c20
movl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x1284(%rax)
movq -0x20(%rbp), %rax
cmpl $0x0, 0x1284(%rax)
je 0x607c
jmp 0x5fee
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x5, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x628(%rbp)
movq -0x628(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x605d
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x910f(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x5, %esi
callq 0x3c20
movb %al, %cl
movq -0x20(%rbp), %rax
movb %cl, 0x1278(%rax)
jmp 0x607c
jmp 0x607e
jmp 0x6080
jmp 0x6082
jmp 0x6084
movq -0x470(%rbp), %rax
movzbl 0x20(%rax), %ecx
movl $0x5, %eax
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x630(%rbp)
movq -0x630(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x60f3
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x9079(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movl $0x5, %esi
callq 0x3c20
movb %al, %cl
movq -0x20(%rbp), %rax
movb %cl, 0x1288(%rax)
movq -0x20(%rbp), %rax
movzbl 0x1288(%rax), %eax
cmpl $0x0, %eax
jle 0x61c0
jmp 0x6126
movq -0x20(%rbp), %rax
movzbl 0x1288(%rax), %eax
movq -0x470(%rbp), %rcx
movzbl 0x20(%rcx), %ecx
subl %ecx, %eax
addl $0x8, %eax
subl $0x1, %eax
sarl $0x3, %eax
cltq
movq %rax, -0x638(%rbp)
movq -0x638(%rbp), %rax
movq -0x470(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq -0x470(%rbp), %rdx
subq 0x10(%rdx), %rcx
cmpq %rcx, %rax
jbe 0x619b
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x8fd1(%rip), %rdx      # 0xf159
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
movq -0x470(%rbp), %rdi
movq -0x20(%rbp), %rax
movzbl 0x1288(%rax), %esi
callq 0x3c20
movl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x128c(%rax)
jmp 0x61c0
jmp 0x622a
movq -0x20(%rbp), %rax
cmpl $0x6, (%rax)
jb 0x61fc
movq -0x20(%rbp), %rax
cmpl $0x1f, (%rax)
ja 0x61fc
movq -0x10(%rbp), %rcx
addq -0x38(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x1290(%rax)
movq -0x18(%rbp), %rcx
subq -0x38(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x1298(%rax)
jmp 0x6228
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x20(%rbp), %rax
movl (%rax), %ecx
leaq 0x909f(%rip), %rdx      # 0xf2b7
movb $0x0, %al
callq 0x1030
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x6239
jmp 0x622a
jmp 0x622c
jmp 0x622e
jmp 0x6230
jmp 0x6232
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x640, %rsp            # imm = 0x640
popq %rbp
retq
nopw %cs:(%rax,%rax)