// File: /workspace/github_c_makefile_star2_O1/akumrao[P]videoAnalyzer/encoder/set.c
// Function: x264_sps_write(bs_s*, x264_sps_t*)
void x264_sps_write(bs_t *s, x264_sps_t *sps) {LOG_CALL;
    bs_write(s, 8, sps->i_profile_idc, "i_profile_idc");
    bs_write(s, 1, sps->b_constraint_set0,"b_constraint_set0");
    bs_write(s, 1, sps->b_constraint_set1,"b_constraint_set1");
    bs_write(s, 1, sps->b_constraint_set2,"b_constraint_set2");

    bs_write(s, 5, 0,"reserved"); /* reserved */

    bs_write(s, 8, sps->i_level_idc,"i_level_idc");

    bs_write_ue(s, sps->i_id,"i_id");
    bs_write_ue(s, sps->i_log2_max_frame_num - 4,"i_log2_max_frame_num");
    bs_write_ue(s, sps->i_poc_type,"i_poc_type");
    if (sps->i_poc_type == 0)
    {
        bs_write_ue(s, sps->i_log2_max_poc_lsb - 4,"i_log2_max_poc_lsb");
    }
    else if (sps->i_poc_type == 1)
    {
        int i;

        bs_write(s, 1, sps->b_delta_pic_order_always_zero,"b_delta_pic_order_always_zero");
        bs_write_se(s, sps->i_offset_for_non_ref_pic,"i_offset_for_non_ref_pic");
        bs_write_se(s, sps->i_offset_for_top_to_bottom_field,"i_offset_for_top_to_bottom_field");
        bs_write_ue(s, sps->i_num_ref_frames_in_poc_cycle,"i_num_ref_frames_in_poc_cycle");

        for (i = 0; i < sps->i_num_ref_frames_in_poc_cycle; i++)
        {
            bs_write_se(s, sps->i_offset_for_ref_frame[i],"i_offset_for_ref_frame");
        }
    }
    bs_write_ue(s, sps->i_num_ref_frames,"i_num_ref_frames");
    bs_write(s, 1, sps->b_gaps_in_frame_num_value_allowed,"b_gaps_in_frame_num_value_allowed");
    bs_write_ue(s, sps->i_mb_width - 1,"i_mb_width");
    bs_write_ue(s, sps->i_mb_height - 1,"i_mb_height");
    bs_write(s, 1, sps->b_frame_mbs_only,"b_frame_mbs_only");
    if (!sps->b_frame_mbs_only)
    {
        bs_write(s, 1, sps->b_mb_adaptive_frame_field,"b_mb_adaptive_frame_field");
    }
    bs_write(s, 1, sps->b_direct8x8_inference,"b_direct8x8_inference");

    bs_write(s, 1, sps->b_crop, "b_crop");
    if (sps->b_crop)
    {
        bs_write_ue(s, sps->crop.i_left, "crop.i_left");
        bs_write_ue(s, sps->crop.i_right, "crop.i_right");
        bs_write_ue(s, sps->crop.i_top, "crop.i_top");
        bs_write_ue(s, sps->crop.i_bottom,"crop.i_bottom");
    }

    bs_write(s, 1, sps->b_vui,"b_vui");
    if (sps->b_vui)
    {
        int i;

        static const struct
        {
            int w, h;
            int sar;
        } sar[] ={
            { 1, 1, 1},
            { 12, 11, 2},
            { 10, 11, 3},
            { 16, 11, 4},
            { 40, 33, 5},
            { 24, 11, 6},
            { 20, 11, 7},
            { 32, 11, 8},
            { 80, 33, 9},
            { 18, 11, 10},
            { 15, 11, 11},
            { 64, 33, 12},
            { 160, 99, 13},
            { 0, 0, -1}
        };
        bs_write1(s, 1,"aspect_ratio_info_present_flag"); /* aspect_ratio_info_present_flag */
        for (i = 0; sar[i].sar != -1; i++)
        {
            if (sar[i].w == sps->vui.i_sar_width && sar[i].h == sps->vui.i_sar_height)
                break;
        }
        if (sar[i].sar != -1)
        {
            bs_write(s, 8, sar[i].sar, "sar");
        }
        else
        {
            bs_write(s, 8, 255,"aspect_ration_idc (extented)"); /* aspect_ration_idc (extented) */
            bs_write(s, 16, sps->vui.i_sar_width,"vui.i_sar_width");
            bs_write(s, 16, sps->vui.i_sar_height,"vui.i_sar_height");
        }

        bs_write1(s, 0,"overscan_info_present_flag"); /* overscan_info_present_flag */

        bs_write1(s, 0,"video_signal_type_present_flag"); /* video_signal_type_present_flag */
#if 0  
        bs_write(s, 3, 5); /* unspecified video format */
        bs_write1(s, 1); /* video full range flag */
        bs_write1(s, 0); /* colour description present flag */
#endif  
        bs_write1(s, 0,"chroma_loc_info_present_flag"); /* chroma_loc_info_present_flag */
        bs_write1(s, 0,"timing_info_present_flag"); /* timing_info_present_flag */
        bs_write1(s, 0,"nal_hrd_parameters_present_flag"); /* nal_hrd_parameters_present_flag */
        bs_write1(s, 0,"vcl_hrd_parameters_present_flag"); /* vcl_hrd_parameters_present_flag */
        bs_write1(s, 0,"pic_struct_present_flag"); /* pic_struct_present_flag */
        bs_write1(s, 0,"bitstream_restriction_flag"); /* bitstream_restriction_flag */
    }

    bs_rbsp_trailing(s);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x65a3(%rip), %rdi      # 0x251b4
leaq 0xda38(%rip), %rsi      # 0x2c650
leaq 0xdaac(%rip), %rdx      # 0x2c6cb
xorl %eax, %eax
callq 0x4c22
movl 0x4(%r14), %r15d
leaq 0xa867(%rip), %rdi      # 0x29498
leaq 0x9a28(%rip), %rcx      # 0x28660
movl $0x8, %esi
movl %r15d, %edx
xorl %eax, %eax
callq 0x4c22
movl $0x9, %eax
movq 0x8(%rbx), %rdx
cmpq 0x10(%rbx), %rdx
jae 0x1eca0
movb 0x18(%rbx), %cl
decb %cl
movl $0x1, %esi
shll %cl, %esi
leal -0x2(%rax), %ecx
movzbl %cl, %ecx
movb (%rdx), %dil
movl %esi, %r8d
notb %r8b
andb %dil, %r8b
orb %sil, %dil
btl %ecx, %r15d
movzbl %dil, %ecx
movzbl %r8b, %esi
cmovbl %ecx, %esi
movb %sil, (%rdx)
decl 0x18(%rbx)
jne 0x1ec99
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
decl %eax
cmpl $0x1, %eax
ja 0x1ec4c
movl 0xc(%r14), %r15d
leaq 0xa7ed(%rip), %rdi      # 0x29498
leaq 0x99bc(%rip), %rcx      # 0x2866e
movl $0x1, %r12d
movl $0x1, %esi
movl %r15d, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1ed04
movb 0x18(%rbx), %cl
decb %cl
shll %cl, %r12d
movb (%rax), %cl
movl %r12d, %edx
notb %dl
andb %cl, %dl
orb %r12b, %cl
testb $0x1, %r15b
movzbl %cl, %ecx
movzbl %dl, %edx
cmovnel %ecx, %edx
movb %dl, (%rax)
decl 0x18(%rbx)
jne 0x1ed04
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
movl 0x10(%r14), %r15d
leaq 0xa789(%rip), %rdi      # 0x29498
leaq 0x996a(%rip), %rcx      # 0x28680
movl $0x1, %r12d
movl $0x1, %esi
movl %r15d, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1ed68
movb 0x18(%rbx), %cl
decb %cl
shll %cl, %r12d
movb (%rax), %cl
movl %r12d, %edx
notb %dl
andb %cl, %dl
orb %r12b, %cl
testb $0x1, %r15b
movzbl %cl, %ecx
movzbl %dl, %edx
cmovnel %ecx, %edx
movb %dl, (%rax)
decl 0x18(%rbx)
jne 0x1ed68
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
movl 0x14(%r14), %r15d
leaq 0xa725(%rip), %rdi      # 0x29498
leaq 0x9918(%rip), %rcx      # 0x28692
movl $0x1, %r12d
movl $0x1, %esi
movl %r15d, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1edcc
movb 0x18(%rbx), %cl
decb %cl
shll %cl, %r12d
movb (%rax), %cl
movl %r12d, %edx
notb %dl
andb %cl, %dl
orb %r12b, %cl
testb $0x1, %r15b
movzbl %cl, %ecx
movzbl %dl, %edx
cmovnel %ecx, %edx
movb %dl, (%rax)
decl 0x18(%rbx)
jne 0x1edcc
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
leaq 0xa6c5(%rip), %rdi      # 0x29498
leaq 0xd900(%rip), %rcx      # 0x2c6da
movl $0x5, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x4c22
movl $0x6, %eax
movq 0x8(%rbx), %rdx
cmpq 0x10(%rbx), %rdx
jae 0x1ee20
movb 0x18(%rbx), %cl
decb %cl
movl $0x1, %esi
shll %cl, %esi
notb %sil
andb %sil, (%rdx)
decl 0x18(%rbx)
jne 0x1ee19
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
decl %eax
cmpl $0x1, %eax
ja 0x1eded
movl 0x8(%r14), %r15d
leaq 0xa66d(%rip), %rdi      # 0x29498
leaq 0x9872(%rip), %rcx      # 0x286a4
movl $0x8, %esi
movl %r15d, %edx
xorl %eax, %eax
callq 0x4c22
movl $0x9, %eax
movq 0x8(%rbx), %rdx
cmpq 0x10(%rbx), %rdx
jae 0x1ee9a
movb 0x18(%rbx), %cl
decb %cl
movl $0x1, %esi
shll %cl, %esi
leal -0x2(%rax), %ecx
movzbl %cl, %ecx
movb (%rdx), %dil
movl %esi, %r8d
notb %r8b
andb %dil, %r8b
orb %sil, %dil
btl %ecx, %r15d
movzbl %dil, %ecx
movzbl %r8b, %esi
cmovbl %ecx, %esi
movb %sil, (%rdx)
decl 0x18(%rbx)
jne 0x1ee93
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
decl %eax
cmpl $0x1, %eax
ja 0x1ee46
movl (%r14), %esi
leaq 0xd83f(%rip), %rdx      # 0x2c6e3
movq %rbx, %rdi
callq 0x1f862
movl 0x18(%r14), %esi
addl $-0x4, %esi
leaq 0x8b06(%rip), %rdx      # 0x279c0
movq %rbx, %rdi
callq 0x1f862
movl 0x1c(%r14), %esi
leaq 0x97e3(%rip), %rdx      # 0x286b0
movq %rbx, %rdi
callq 0x1f862
movl 0x1c(%r14), %eax
cmpl $0x1, %eax
je 0x1ef01
testl %eax, %eax
jne 0x1efcb
movl 0x20(%r14), %esi
addl $-0x4, %esi
leaq 0x8b09(%rip), %rdx      # 0x279fd
movq %rbx, %rdi
callq 0x1f862
jmp 0x1efcb
movl 0x24(%r14), %r15d
leaq 0xa58c(%rip), %rdi      # 0x29498
leaq 0x97a8(%rip), %rcx      # 0x286bb
movl $0x1, %r12d
movl $0x1, %esi
movl %r15d, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1ef65
movb 0x18(%rbx), %cl
decb %cl
shll %cl, %r12d
movb (%rax), %cl
movl %r12d, %edx
notb %dl
andb %cl, %dl
orb %r12b, %cl
testb $0x1, %r15b
movzbl %cl, %ecx
movzbl %dl, %edx
cmovnel %ecx, %edx
movb %dl, (%rax)
decl 0x18(%rbx)
jne 0x1ef65
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
movl 0x28(%r14), %esi
leaq 0x9769(%rip), %rdx      # 0x286d9
movq %rbx, %rdi
callq 0x1f94b
movl 0x2c(%r14), %esi
leaq 0x976f(%rip), %rdx      # 0x286f2
movq %rbx, %rdi
callq 0x1f94b
movl 0x30(%r14), %esi
leaq 0x977d(%rip), %rdx      # 0x28713
movq %rbx, %rdi
callq 0x1f862
cmpl $0x0, 0x30(%r14)
jle 0x1efcb
xorl %r12d, %r12d
leaq 0x9782(%rip), %r15      # 0x28731
movl 0x34(%r14,%r12,4), %esi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x1f94b
incq %r12
movslq 0x30(%r14), %rax
cmpq %rax, %r12
jl 0x1efaf
movl 0x434(%r14), %esi
leaq 0x976f(%rip), %rdx      # 0x28748
movq %rbx, %rdi
callq 0x1f862
movl 0x438(%r14), %r15d
leaq 0xa4a9(%rip), %rdi      # 0x29498
leaq 0x9763(%rip), %rcx      # 0x28759
movl $0x1, %r12d
movl $0x1, %esi
movl %r15d, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1f048
movb 0x18(%rbx), %cl
decb %cl
shll %cl, %r12d
movb (%rax), %cl
movl %r12d, %edx
notb %dl
andb %cl, %dl
orb %r12b, %cl
testb $0x1, %r15b
movzbl %cl, %ecx
movzbl %dl, %edx
cmovnel %ecx, %edx
movb %dl, (%rax)
decl 0x18(%rbx)
jne 0x1f048
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
movl 0x43c(%r14), %esi
decl %esi
leaq 0x9723(%rip), %rdx      # 0x2877b
movq %rbx, %rdi
callq 0x1f862
movl 0x440(%r14), %esi
decl %esi
leaq 0x9716(%rip), %rdx      # 0x28786
movq %rbx, %rdi
callq 0x1f862
movl 0x444(%r14), %r15d
leaq 0xa412(%rip), %rdi      # 0x29498
leaq 0x9705(%rip), %rcx      # 0x28792
movl $0x1, %r12d
movl $0x1, %esi
movl %r15d, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1f0df
movb 0x18(%rbx), %cl
decb %cl
shll %cl, %r12d
movb (%rax), %cl
movl %r12d, %edx
notb %dl
andb %cl, %dl
orb %r12b, %cl
testb $0x1, %r15b
movzbl %cl, %ecx
movzbl %dl, %edx
cmovnel %ecx, %edx
movb %dl, (%rax)
decl 0x18(%rbx)
jne 0x1f0df
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
cmpl $0x0, 0x444(%r14)
jne 0x1f150
movl 0x448(%r14), %r15d
leaq 0xa3a1(%rip), %rdi      # 0x29498
leaq 0x96a5(%rip), %rcx      # 0x287a3
movl $0x1, %r12d
movl $0x1, %esi
movl %r15d, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1f150
movb 0x18(%rbx), %cl
decb %cl
shll %cl, %r12d
movb (%rax), %cl
movl %r12d, %edx
notb %dl
andb %cl, %dl
orb %r12b, %cl
testb $0x1, %r15b
movzbl %cl, %ecx
movzbl %dl, %edx
cmovnel %ecx, %edx
movb %dl, (%rax)
decl 0x18(%rbx)
jne 0x1f150
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
movl 0x44c(%r14), %r15d
leaq 0xa33a(%rip), %rdi      # 0x29498
leaq 0x9658(%rip), %rcx      # 0x287bd
movl $0x1, %r12d
movl $0x1, %esi
movl %r15d, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1f1b7
movb 0x18(%rbx), %cl
decb %cl
shll %cl, %r12d
movb (%rax), %cl
movl %r12d, %edx
notb %dl
andb %cl, %dl
orb %r12b, %cl
testb $0x1, %r15b
movzbl %cl, %ecx
movzbl %dl, %edx
cmovnel %ecx, %edx
movb %dl, (%rax)
decl 0x18(%rbx)
jne 0x1f1b7
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
movl 0x450(%r14), %r15d
leaq 0xa2d3(%rip), %rdi      # 0x29498
leaq 0x9607(%rip), %rcx      # 0x287d3
movl $0x1, %r12d
movl $0x1, %esi
movl %r15d, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1f21e
movb 0x18(%rbx), %cl
decb %cl
shll %cl, %r12d
movb (%rax), %cl
movl %r12d, %edx
notb %dl
andb %cl, %dl
orb %r12b, %cl
testb $0x1, %r15b
movzbl %cl, %ecx
movzbl %dl, %edx
cmovnel %ecx, %edx
movb %dl, (%rax)
decl 0x18(%rbx)
jne 0x1f21e
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
cmpl $0x0, 0x450(%r14)
je 0x1f280
movl 0x454(%r14), %esi
leaq 0x95a4(%rip), %rdx      # 0x287da
movq %rbx, %rdi
callq 0x1f862
movl 0x458(%r14), %esi
leaq 0xd49c(%rip), %rdx      # 0x2c6e8
movq %rbx, %rdi
callq 0x1f862
movl 0x45c(%r14), %esi
leaq 0xd493(%rip), %rdx      # 0x2c6f5
movq %rbx, %rdi
callq 0x1f862
movl 0x460(%r14), %esi
leaq 0x9582(%rip), %rdx      # 0x287fa
movq %rbx, %rdi
callq 0x1f862
movl 0x464(%r14), %r15d
leaq 0xa20a(%rip), %rdi      # 0x29498
leaq 0x9573(%rip), %rcx      # 0x28808
movl $0x1, %r12d
movl $0x1, %esi
movl %r15d, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1f2e7
movb 0x18(%rbx), %cl
decb %cl
shll %cl, %r12d
movb (%rax), %cl
movl %r12d, %edx
notb %dl
andb %cl, %dl
orb %r12b, %cl
testb $0x1, %r15b
movzbl %cl, %ecx
movzbl %dl, %edx
cmovnel %ecx, %edx
movb %dl, (%rax)
decl 0x18(%rbx)
jne 0x1f2e7
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
cmpl $0x0, 0x464(%r14)
je 0x1f74f
leaq 0xa160(%rip), %rdi      # 0x2945c
leaq 0xd3fd(%rip), %rcx      # 0x2c700
movl $0x1, %r15d
movl $0x1, %esi
movl $0x1, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1f346
movl 0x18(%rbx), %ecx
decl %ecx
movl $0x1, %edx
shll %cl, %edx
movl %ecx, 0x18(%rbx)
orb %dl, (%rax)
cmpl $0x0, 0x18(%rbx)
jne 0x1f346
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
movl 0x468(%r14), %eax
movl $0x4, %ecx
xorl %edx, %edx
leaq 0xd525(%rip), %rsi      # 0x2c880
cmpl %eax, -0x4(%rcx,%rsi)
jne 0x1f36d
movl (%rcx,%rsi), %edi
cmpl 0x46c(%r14), %edi
je 0x1f388
movl 0x10(%rcx,%rsi), %r15d
cmpl $-0x1, %r15d
sete %dl
addq $0xc, %rcx
cmpq $0xa0, %rcx
jne 0x1f35b
jmp 0x1f391
testb $0x1, %dl
je 0x1f7e3
leaq 0xa100(%rip), %rdi      # 0x29498
leaq 0xd380(%rip), %rcx      # 0x2c71f
movl $0x8, %esi
movl $0xff, %edx
xorl %eax, %eax
callq 0x4c22
movl $0x9, %eax
movq 0x8(%rbx), %rdx
cmpq 0x10(%rbx), %rdx
jae 0x1f3e5
movb 0x18(%rbx), %cl
decb %cl
movl $0x1, %esi
shll %cl, %esi
orb %sil, (%rdx)
decl 0x18(%rbx)
jne 0x1f3de
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
decl %eax
cmpl $0x1, %eax
ja 0x1f3b5
movl 0x468(%r14), %r15d
leaq 0xa0a5(%rip), %rdi      # 0x29498
leaq 0xd342(%rip), %rcx      # 0x2c73c
movl $0x10, %esi
movl %r15d, %edx
xorl %eax, %eax
callq 0x4c22
movl $0x11, %eax
movq 0x8(%rbx), %rdx
cmpq 0x10(%rbx), %rdx
jae 0x1f462
movb 0x18(%rbx), %cl
decb %cl
movl $0x1, %esi
shll %cl, %esi
leal -0x2(%rax), %ecx
movzbl %cl, %ecx
movb (%rdx), %dil
movl %esi, %r8d
notb %r8b
andb %dil, %r8b
orb %sil, %dil
btl %ecx, %r15d
movzbl %dil, %ecx
movzbl %r8b, %esi
cmovbl %ecx, %esi
movb %sil, (%rdx)
decl 0x18(%rbx)
jne 0x1f45b
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
decl %eax
cmpl $0x1, %eax
ja 0x1f40e
movl 0x46c(%r14), %r14d
leaq 0xa028(%rip), %rdi      # 0x29498
leaq 0xd2d5(%rip), %rcx      # 0x2c74c
movl $0x10, %esi
movl %r14d, %edx
xorl %eax, %eax
callq 0x4c22
movl $0x11, %eax
movq 0x8(%rbx), %rdx
cmpq 0x10(%rbx), %rdx
jae 0x1f4df
movb 0x18(%rbx), %cl
decb %cl
movl $0x1, %esi
shll %cl, %esi
leal -0x2(%rax), %ecx
movzbl %cl, %ecx
movb (%rdx), %dil
movl %esi, %r8d
notb %r8b
andb %dil, %r8b
orb %sil, %dil
btl %ecx, %r14d
movzbl %dil, %ecx
movzbl %r8b, %esi
cmovbl %ecx, %esi
movb %sil, (%rdx)
decl 0x18(%rbx)
jne 0x1f4d8
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
decl %eax
cmpl $0x1, %eax
ja 0x1f48b
leaq 0x9f76(%rip), %rdi      # 0x2945c
leaq 0xd270(%rip), %rcx      # 0x2c75d
movl $0x1, %r14d
movl $0x1, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1f52d
movl 0x18(%rbx), %ecx
decl %ecx
movl %ecx, 0x18(%rbx)
shll %cl, %r14d
notb %r14b
andb %r14b, (%rax)
cmpl $0x0, 0x18(%rbx)
jne 0x1f52d
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
leaq 0x9f28(%rip), %rdi      # 0x2945c
leaq 0xd23d(%rip), %rcx      # 0x2c778
movl $0x1, %r14d
movl $0x1, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1f57b
movl 0x18(%rbx), %ecx
decl %ecx
movl %ecx, 0x18(%rbx)
shll %cl, %r14d
notb %r14b
andb %r14b, (%rax)
cmpl $0x0, 0x18(%rbx)
jne 0x1f57b
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
leaq 0x9eda(%rip), %rdi      # 0x2945c
leaq 0xd20e(%rip), %rcx      # 0x2c797
movl $0x1, %r14d
movl $0x1, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1f5c9
movl 0x18(%rbx), %ecx
decl %ecx
movl %ecx, 0x18(%rbx)
shll %cl, %r14d
notb %r14b
andb %r14b, (%rax)
cmpl $0x0, 0x18(%rbx)
jne 0x1f5c9
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
leaq 0x9e8c(%rip), %rdi      # 0x2945c
leaq 0xd1dd(%rip), %rcx      # 0x2c7b4
movl $0x1, %r14d
movl $0x1, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1f617
movl 0x18(%rbx), %ecx
decl %ecx
movl %ecx, 0x18(%rbx)
shll %cl, %r14d
notb %r14b
andb %r14b, (%rax)
cmpl $0x0, 0x18(%rbx)
jne 0x1f617
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
leaq 0x9e3e(%rip), %rdi      # 0x2945c
leaq 0xd1a8(%rip), %rcx      # 0x2c7cd
movl $0x1, %r14d
movl $0x1, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1f665
movl 0x18(%rbx), %ecx
decl %ecx
movl %ecx, 0x18(%rbx)
shll %cl, %r14d
notb %r14b
andb %r14b, (%rax)
cmpl $0x0, 0x18(%rbx)
jne 0x1f665
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
leaq 0x9df0(%rip), %rdi      # 0x2945c
leaq 0xd17a(%rip), %rcx      # 0x2c7ed
movl $0x1, %r14d
movl $0x1, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1f6b3
movl 0x18(%rbx), %ecx
decl %ecx
movl %ecx, 0x18(%rbx)
shll %cl, %r14d
notb %r14b
andb %r14b, (%rax)
cmpl $0x0, 0x18(%rbx)
jne 0x1f6b3
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
leaq 0x9da2(%rip), %rdi      # 0x2945c
leaq 0xd14c(%rip), %rcx      # 0x2c80d
movl $0x1, %r14d
movl $0x1, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1f701
movl 0x18(%rbx), %ecx
decl %ecx
movl %ecx, 0x18(%rbx)
shll %cl, %r14d
notb %r14b
andb %r14b, (%rax)
cmpl $0x0, 0x18(%rbx)
jne 0x1f701
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
leaq 0x9d54(%rip), %rdi      # 0x2945c
leaq 0xd116(%rip), %rcx      # 0x2c825
movl $0x1, %r14d
movl $0x1, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1f74f
movl 0x18(%rbx), %ecx
decl %ecx
movl %ecx, 0x18(%rbx)
shll %cl, %r14d
notb %r14b
andb %r14b, (%rax)
cmpl $0x0, 0x18(%rbx)
jne 0x1f74f
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
leaq 0x5a5e(%rip), %rdi      # 0x251b4
leaq 0x997f(%rip), %rsi      # 0x290dc
leaq 0x9d4a(%rip), %rdx      # 0x294ae
xorl %eax, %eax
callq 0x4c22
movq 0x8(%rbx), %rax
cmpq 0x10(%rbx), %rax
jae 0x1f793
movb 0x18(%rbx), %cl
decb %cl
movl $0x1, %edx
shll %cl, %edx
orb %dl, (%rax)
decl 0x18(%rbx)
jne 0x1f793
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
movl 0x18(%rbx), %eax
cmpl $0x8, %eax
sete %cl
testl %eax, %eax
setle %dl
orb %cl, %dl
jne 0x1f7da
incl %eax
movq 0x8(%rbx), %rdx
cmpq 0x10(%rbx), %rdx
jae 0x1f7da
movb 0x18(%rbx), %cl
decb %cl
movl $0x1, %esi
shll %cl, %esi
notb %sil
andb %sil, (%rdx)
decl 0x18(%rbx)
jne 0x1f7d3
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
decl %eax
cmpl $0x1, %eax
jg 0x1f7a7
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x9cae(%rip), %rdi      # 0x29498
leaq 0x18a5(%rip), %rcx      # 0x21096
movl $0x8, %esi
movl %r15d, %edx
xorl %eax, %eax
callq 0x4c22
movl $0x9, %eax
movq 0x8(%rbx), %rdx
cmpq 0x10(%rbx), %rdx
jae 0x1f4df
movb 0x18(%rbx), %cl
decb %cl
movl $0x1, %esi
shll %cl, %esi
leal -0x2(%rax), %ecx
movzbl %cl, %ecx
movb (%rdx), %dil
movl %esi, %r8d
notb %r8b
andb %dil, %r8b
orb %sil, %dil
btl %ecx, %r15d
movzbl %dil, %ecx
movzbl %r8b, %esi
cmovbl %ecx, %esi
movb %sil, (%rdx)
decl 0x18(%rbx)
jne 0x1f856
incq 0x8(%rbx)
movl $0x8, 0x18(%rbx)
decl %eax
cmpl $0x1, %eax
ja 0x1f805
jmp 0x1f4df