// File: /workspace/github_c_makefile_star2_O1/OnionIoT[P]lv_example/lvgl/src/lv_draw/lv_draw_line.c
// Function: lv_draw_line
void lv_draw_line(const lv_point_t * point1, const lv_point_t * point2, const lv_area_t * mask,
                  const lv_style_t * style, lv_opa_t opa_scale)
{

    if(style->line.width == 0) return;
    if(point1->x == point2->x && point1->y == point2->y) return;

    /*Return if the points are out of the mask*/
    if(point1->x < mask->x1 - style->line.width && point2->x < mask->x1 - style->line.width) return;
    if(point1->x > mask->x2 + style->line.width && point2->x > mask->x2 + style->line.width) return;
    if(point1->y < mask->y1 - style->line.width && point2->y < mask->y1 - style->line.width) return;
    if(point1->y > mask->y2 + style->line.width && point2->y > mask->y2 + style->line.width) return;

    line_draw_t main_line;
    lv_point_t p1;
    lv_point_t p2;

    /*If the line if rather vertical then be sure y1 < y2 else x1 < x2*/

    if(LV_MATH_ABS(point1->x - point2->x) > LV_MATH_ABS(point1->y - point2->y)) {

        /*Steps less in y then x -> rather horizontal*/
        if(point1->x < point2->x) {
            p1.x = point1->x;
            p1.y = point1->y;
            p2.x = point2->x;
            p2.y = point2->y;
        } else {
            p1.x = point2->x;
            p1.y = point2->y;
            p2.x = point1->x;
            p2.y = point1->y;
        }
    } else {
        /*Steps less in x then y -> rather vertical*/
        if(point1->y < point2->y) {
            p1.x = point1->x;
            p1.y = point1->y;
            p2.x = point2->x;
            p2.y = point2->y;
        } else {
            p1.x = point2->x;
            p1.y = point2->y;
            p2.x = point1->x;
            p2.y = point1->y;
        }
    }

    line_init(&main_line, &p1, &p2);

    /*Special case draw a horizontal line*/
    if(main_line.p1.y == main_line.p2.y) {
        line_draw_hor(&main_line, mask, style, opa_scale);
    }
    /*Special case draw a vertical line*/
    else if(main_line.p1.x == main_line.p2.x) {
        line_draw_ver(&main_line, mask, style, opa_scale);
    }
    /*Arbitrary skew line*/
    else {
        bool dir_ori = false;
#if LV_ANTIALIAS
        bool aa = lv_disp_get_antialiasing(lv_refr_get_disp_refreshing());
        if(aa) {
            lv_point_t p_tmp;

            if(main_line.hor) {
                if(main_line.p1.y < main_line.p2.y) {
                    dir_ori = true;
                    p_tmp.x = main_line.p2.x;
                    p_tmp.y = main_line.p2.y - 1;
                    line_init(&main_line, &p1, &p_tmp);
                    main_line.sy = LV_MATH_ABS(main_line.sy); /*The sign can change if the line becomes horizontal*/
                } else if(main_line.p1.y > main_line.p2.y) {
                    dir_ori = false;
                    p_tmp.x = main_line.p2.x;
                    p_tmp.y = main_line.p2.y + 1;
                    line_init(&main_line, &p1, &p_tmp);
                    main_line.sy = -LV_MATH_ABS(main_line.sy); /*The sign can change if the line becomes horizontal*/
                }
            } else {
                if(main_line.p1.x < main_line.p2.x) {
                    dir_ori = true;
                    p_tmp.x = main_line.p2.x - 1;
                    p_tmp.y = main_line.p2.y;
                    line_init(&main_line, &p1, &p_tmp);
                    main_line.sx = LV_MATH_ABS(main_line.sx); /*The sign can change if the line becomes vertical*/
                } else if(main_line.p1.x > main_line.p2.x) {
                    dir_ori = false;
                    p_tmp.x = main_line.p2.x + 1;
                    p_tmp.y = main_line.p2.y;
                    line_init(&main_line, &p1, &p_tmp);
                    main_line.sx = -LV_MATH_ABS(main_line.sx); /*The sign can change if the line becomes vertical*/
                }
            }
        }
#endif
        line_draw_skew(&main_line, dir_ori, mask, style, opa_scale);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rcx, 0x28(%rsp)
movswl 0x3e(%rcx), %eax
testl %eax, %eax
je 0x3ab47
movl %r8d, %ebp
movswl (%rdi), %ecx
movswl (%rsi), %r12d
cmpw %r12w, %cx
jne 0x3a7f2
movzwl 0x2(%rdi), %r8d
cmpw 0x2(%rsi), %r8w
je 0x3ab47
movswl (%rdx), %r9d
subl %eax, %r9d
cmpl %ecx, %r9d
setg %r8b
cmpl %r12d, %r9d
setg %r9b
testb %r9b, %r8b
jne 0x3ab47
movswl 0x4(%rdx), %r9d
addl %eax, %r9d
cmpl %ecx, %r9d
setl %r8b
cmpl %r12d, %r9d
setl %r9b
testb %r9b, %r8b
jne 0x3ab47
movswl 0x2(%rdi), %r10d
movswl 0x2(%rdx), %r8d
subl %eax, %r8d
cmpl %r10d, %r8d
jle 0x3a84e
movswl 0x2(%rsi), %edi
cmpl %edi, %r8d
jg 0x3ab47
movswl 0x6(%rdx), %r8d
addl %eax, %r8d
cmpl %r10d, %r8d
jge 0x3a868
movswl 0x2(%rsi), %edi
cmpl %edi, %r8d
jl 0x3ab47
movl %ecx, %r8d
subl %r12d, %r8d
movl %r8d, %edi
negl %edi
cmovsl %r8d, %edi
movswl 0x2(%rsi), %r9d
movl %r10d, %esi
subl %r9d, %esi
movl %esi, %r8d
negl %r8d
cmovsl %esi, %r8d
cmpl %r8d, %edi
movq %rdx, 0x40(%rsp)
jbe 0x3a8b2
cmpw %r12w, %cx
movl %r9d, %r11d
cmovll %r10d, %r11d
movl %r12d, %r8d
cmovll %ecx, %r8d
cmovll %r9d, %r10d
cmovgl %ecx, %r12d
jmp 0x3a8cf
cmpw %r9w, %r10w
movl %r9d, %r11d
cmovll %r10d, %r11d
movl %r12d, %r8d
cmovll %ecx, %r8d
cmovlel %r9d, %r10d
cmovll %r12d, %ecx
movl %ecx, %r12d
movswl %r12w, %edx
movswl %r8w, %edi
movl %edx, %ecx
subl %edi, %ecx
movl %ecx, %r9d
negl %r9d
cmovsl %ecx, %r9d
xorl %esi, %esi
movl %edi, 0x14(%rsp)
cmpw %dx, %di
setl %dil
movswl %r10w, %ecx
movswl %r11w, %r13d
movq %r8, %rbx
movl %ecx, %r8d
subl %r13d, %r8d
movl %r8d, %r15d
negl %r15d
cmovsl %r8d, %r15d
movl %r15d, 0x34(%rsp)
movswl %r15w, %r8d
movl %r8d, %r15d
negl %r15d
cmpw %r8w, %r9w
movl %r9d, 0x5c(%rsp)
movswl %r9w, %r9d
movl %r15d, %r14d
movl %r9d, 0x20(%rsp)
cmovgl %r9d, %r14d
setg 0x18(%rsp)
xorl %r8d, %r8d
movl %r13d, 0x24(%rsp)
cmpw %cx, %r13w
setl %r9b
jne 0x3a96e
cmpb $-0x1, %bpl
je 0x3aa60
movzbl %bpl, %esi
movq 0x28(%rsp), %rcx
movzbl 0x40(%rcx), %ecx
imull %esi, %ecx
shrl $0x8, %ecx
jmp 0x3aa68
movq %rbx, 0x48(%rsp)
cmpw %r12w, %bx
jne 0x3a99e
cmpb $-0x1, %bpl
je 0x3aadc
movzbl %bpl, %edx
movq 0x28(%rsp), %rsi
movzbl 0x40(%rsi), %r9d
imull %edx, %r9d
shrl $0x8, %r9d
jmp 0x3aae5
movq %r11, 0x50(%rsp)
movq %r10, %rbx
movb %dil, %sil
leal -0x1(,%rsi,2), %eax
movq %rax, 0xa0(%rsp)
movb %r9b, %r8b
leal -0x1(,%r8,2), %eax
movq %rax, 0x90(%rsp)
callq 0x72ad
movq %rax, %rdi
callq 0x861d
xorl %r9d, %r9d
testb %al, %al
je 0x3aac7
movl 0x34(%rsp), %r8d
cmpw %r8w, 0x5c(%rsp)
movq %rbx, %rdx
movq 0x50(%rsp), %rsi
movq 0x48(%rsp), %rdi
jle 0x3ab59
cmpw %dx, %si
jge 0x3abb5
decl %edx
movswl %dx, %eax
movl %eax, %ecx
subl 0x24(%rsp), %ecx
movl %ecx, %r8d
negl %r8d
cmovsl %ecx, %r8d
xorl %ecx, %ecx
cmpw %ax, %si
setl %cl
leal -0x1(,%rcx,2), %eax
movswl %r8w, %ecx
movl %ecx, %ebx
negl %ebx
cmpw %cx, 0x5c(%rsp)
setg %r13b
cmovgl 0x20(%rsp), %ebx
movl %eax, %ecx
negw %cx
cmovsw %ax, %cx
movq %rcx, 0x90(%rsp)
movl $0x1, %r9d
jmp 0x3ac58
movq 0x28(%rsp), %rcx
movb 0x40(%rcx), %cl
movq 0x40(%rsp), %rsi
decl %eax
movswl %ax, %edi
andl $0x1, %eax
sarl %edi
addl %edi, %eax
subl %eax, %r11d
addl %edi, %r10d
movl 0x14(%rsp), %r8d
cmpl %edx, %r8d
movl %edx, %eax
cmovll %r8d, %eax
leaq 0x38(%rsp), %rdi
movw %ax, (%rdi)
cmovgl %r8d, %edx
movw %dx, 0x4(%rdi)
movswl %r11w, %eax
movswl %r10w, %edx
cmpl %edx, %eax
movl %edx, %r8d
cmovll %eax, %r8d
movw %r8w, 0x2(%rdi)
cmovgl %eax, %edx
movw %dx, 0x6(%rdi)
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %edx
movzbl %cl, %ecx
jmp 0x3ab42
movq %rbx, %rdx
movl 0x34(%rsp), %r8d
movl %r14d, %ebx
movb 0x18(%rsp), %r13b
jmp 0x3ac58
movq 0x28(%rsp), %rdx
movb 0x40(%rdx), %r9b
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdi
decl %eax
movswl %ax, %edx
andl $0x1, %eax
sarl %edx
subl %edx, %edi
addl %eax, %edx
addl %edx, %r12d
movswl %di, %eax
movswl %r12w, %edx
cmpl %edx, %eax
movl %edx, %r8d
cmovll %eax, %r8d
leaq 0x38(%rsp), %rdi
movw %r8w, (%rdi)
cmovgl %eax, %edx
movw %dx, 0x4(%rdi)
movl 0x24(%rsp), %edx
cmpl %ecx, %edx
movl %ecx, %eax
cmovll %edx, %eax
movw %ax, 0x2(%rdi)
cmovgl %edx, %ecx
movw %cx, 0x6(%rdi)
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %edx
movzbl %r9b, %ecx
callq 0x35310
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpw %r12w, %di
jge 0x3ac08
decl %r12d
movswl %r12w, %eax
movl %eax, %ecx
subl 0x14(%rsp), %ecx
movl %ecx, %esi
negl %esi
cmovsl %ecx, %esi
xorl %ecx, %ecx
cmpw %ax, %di
setl %cl
leal -0x1(,%rcx,2), %eax
cmpw %r8w, %si
setg %r13b
movl %esi, 0x5c(%rsp)
movswl %si, %ecx
cmovgl %ecx, %r15d
movl %eax, %ecx
negw %cx
cmovsw %ax, %cx
movq %rcx, 0xa0(%rsp)
movl $0x1, %r9d
jmp 0x3ac55
jle 0x3aacf
incl %edx
movswl %dx, %eax
movl %eax, %ecx
subl 0x24(%rsp), %ecx
movl %ecx, %r8d
negl %r8d
cmovsl %ecx, %r8d
xorl %ecx, %ecx
cmpw %ax, %si
setl %cl
leal -0x1(,%rcx,2), %eax
movswl %r8w, %ecx
movl %ecx, %ebx
negl %ebx
cmpw %cx, 0x5c(%rsp)
setg %r13b
cmovgl 0x20(%rsp), %ebx
movl %eax, %ecx
negw %cx
cmovnsw %ax, %cx
movq %rcx, 0x90(%rsp)
jmp 0x3ac58
jle 0x3aacf
incl %r12d
movswl %r12w, %eax
movl %eax, %ecx
subl 0x14(%rsp), %ecx
movl %ecx, %esi
negl %esi
cmovsl %ecx, %esi
xorl %ecx, %ecx
cmpw %ax, %di
setl %cl
leal -0x1(,%rcx,2), %eax
cmpw %r8w, %si
setg %r13b
movl %esi, 0x5c(%rsp)
movswl %si, %ecx
cmovgl %ecx, %r15d
movl %eax, %ecx
negw %cx
cmovnsw %ax, %cx
movq %rcx, 0xa0(%rsp)
movl %r15d, %ebx
movl %r8d, 0x34(%rsp)
movq %rdx, 0x68(%rsp)
movl %r9d, %r15d
cmpb $-0x1, %bpl
je 0x3ac84
movzbl %bpl, %eax
movq 0x28(%rsp), %rcx
movzbl 0x40(%rcx), %ecx
imull %eax, %ecx
shrl $0x8, %ecx
movl %ecx, 0x60(%rsp)
jmp 0x3ac90
movq 0x28(%rsp), %rax
movb 0x40(%rax), %al
movl %eax, 0x60(%rsp)
callq 0x72ad
movq %rax, %rdi
callq 0x861d
movb %al, 0x13(%rsp)
movl %r12d, %eax
subl 0x48(%rsp), %eax
movl %eax, 0x20(%rsp)
movq 0x68(%rsp), %rax
movl %eax, %r14d
subl 0x50(%rsp), %r14d
testb %r13b, %r13b
movl %ebx, 0x1c(%rsp)
movb %r13b, 0x18(%rsp)
movl %r15d, 0x74(%rsp)
je 0x3acdc
cwtl
addl %r15d, %eax
cmpl 0x24(%rsp), %eax
jg 0x3ace9
negl 0x20(%rsp)
jmp 0x3acec
movswl %r12w, %eax
addl %r15d, %eax
cmpl 0x14(%rsp), %eax
jg 0x3acd6
negl %r14d
movq 0x28(%rsp), %rax
movswl 0x3e(%rax), %r13d
leal (,%r13,2), %ebx
movswl %bx, %ebp
leal (,%rbp,4), %edi
callq 0x3638c
movq %rax, %r15
movq %r13, 0x88(%rsp)
testl %r13d, %r13d
je 0x3ae8e
movl %r14d, %eax
shll $0x4, %eax
movl 0x20(%rsp), %r8d
shll $0x4, %r8d
movl %eax, %ecx
negw %cx
cmovsw %ax, %cx
xorl %edx, %edx
movl %eax, %r14d
testw %ax, %ax
setg %dil
movl %r8d, %eax
negw %ax
cmovsw %r8w, %ax
xorl %esi, %esi
movl %r8d, 0x20(%rsp)
testw %r8w, %r8w
setg %r8b
cmpw $0x2, %bx
movb 0x18(%rsp), %r13b
jl 0x3ae9e
movb %dil, %dl
leal -0x1(,%rdx,2), %edx
movl %edx, 0x78(%rsp)
movb %r8b, %sil
leal -0x1(,%rsi,2), %esi
movq 0x88(%rsp), %rdx
imull %edx, %edx
decl %ebp
movswl %ax, %r8d
movl %r8d, %edi
negl %edi
movl %r8d, 0xb0(%rsp)
cmpw %r8w, %cx
movswl %cx, %r8d
cmovgl %r8d, %edi
shrl %edi
movzbl 0x13(%rsp), %ecx
negl %ecx
movl %r8d, 0xac(%rsp)
negl %r8d
movl %r8d, 0x9c(%rsp)
xorl %r10d, %r10d
movswl %si, %esi
movl %esi, 0xa8(%rsp)
movswl %cx, %ecx
movq %rcx, 0x80(%rsp)
xorl %ecx, %ecx
xorl %r8d, %r8d
movq 0x50(%rsp), %r11
movswq %r10w, %rsi
movw %r8w, (%r15,%rsi,4)
movw %cx, 0x2(%r15,%rsi,4)
movswl %r8w, %ebx
imull %ebx, %ebx
movswl %cx, %esi
imull %esi, %esi
addl %ebx, %esi
cmpl %edx, %esi
jae 0x3ae62
cmpw %r14w, %r8w
jne 0x3ae1d
cmpw 0x20(%rsp), %cx
je 0x3ae75
movswl %di, %ebx
cmpl 0x9c(%rsp), %ebx
movl $0x0, %r9d
cmovgl 0x78(%rsp), %r9d
movl $0x0, %r11d
cmovgl 0xb0(%rsp), %r11d
addl %r9d, %r8d
subl %r11d, %edi
cmpw %ax, %bx
jge 0x3ae5b
addl 0xac(%rsp), %edi
addl 0xa8(%rsp), %ecx
movq 0x50(%rsp), %r11
jmp 0x3ae75
movq 0x80(%rsp), %r9
addl %r10d, %r9d
movq %r9, 0x88(%rsp)
movl 0x1c(%rsp), %ebx
cmpl %edx, %esi
jae 0x3aea7
incl %r10d
movswl %r10w, %esi
cmpl %esi, %ebp
jg 0x3adee
jmp 0x3aea7
movq 0x50(%rsp), %r11
movl 0x1c(%rsp), %ebx
movb 0x18(%rsp), %r13b
jmp 0x3aea7
movq 0x50(%rsp), %r11
movl 0x1c(%rsp), %ebx
movq 0x88(%rsp), %rsi
cmpw $0x2, %si
movl $0x1, %eax
cmovael %esi, %eax
cmpb $0x0, 0x13(%rsp)
cmovel %esi, %eax
movl %eax, 0xac(%rsp)
testw %si, %si
je 0x3af13
movswq %si, %rax
movzwl -0x4(%r15,%rax,4), %ecx
movl %ecx, %edx
shrl $0xf, %edx
addl %ecx, %edx
movswl %dx, %r9d
sarl %r9d
negl %r9d
movzwl -0x2(%r15,%rax,4), %eax
movl %eax, %ecx
shrl $0xf, %ecx
addl %eax, %ecx
movswl %cx, %eax
sarl %eax
negl %eax
movl %eax, 0x24(%rsp)
movq 0x68(%rsp), %rdi
movq 0x48(%rsp), %r8
movl 0x34(%rsp), %r10d
jmp 0x3af62
testb %r13b, %r13b
movq 0x68(%rsp), %rdi
movq 0x48(%rsp), %r8
movl 0x34(%rsp), %r10d
je 0x3af40
movswl %di, %eax
movl 0x74(%rsp), %r14d
addl %eax, %r14d
cmpl 0x24(%rsp), %r14d
jg 0x3af57
decw 0x2(%r15)
jmp 0x3af57
movswl %r12w, %eax
movl 0x74(%rsp), %r14d
addl %eax, %r14d
cmpl 0x14(%rsp), %r14d
jg 0x3af57
decw (%r15)
xorl %r9d, %r9d
movl $0x0, 0x24(%rsp)
movl %ebx, %ecx
shrl $0x1f, %ecx
movzwl %si, %r14d
movzbl 0x60(%rsp), %eax
movl %eax, 0x14(%rsp)
testw %si, %si
movq %r14, 0x80(%rsp)
jle 0x3b2be
movl %ecx, 0xb8(%rsp)
leal -0x1(%r11), %eax
movl %eax, 0x9c(%rsp)
leal 0x1(%rdi), %eax
movq %rax, 0x78(%rsp)
leal 0x1(%r8), %eax
movl %eax, 0xa8(%rsp)
leal 0x1(%r12), %eax
movq %rax, 0xb0(%rsp)
leal -0x1(%r8), %eax
movl %eax, 0x74(%rsp)
leal 0x1(%r11), %eax
movl %eax, 0xbc(%rsp)
xorl %ebp, %ebp
movb 0x13(%rsp), %al
xorb $0x1, %al
movb %al, 0x20(%rsp)
xorl %eax, %eax
movl %r9d, 0x60(%rsp)
movq %r12, 0xc0(%rsp)
movzwl (%r15,%rbp,4), %ecx
addw %r9w, %cx
movw %cx, (%r15,%rbp,4)
movzwl 0x2(%r15,%rbp,4), %edx
addw 0x24(%rsp), %dx
movw %dx, 0x2(%r15,%rbp,4)
testq %rbp, %rbp
sete %sil
orb 0x20(%rsp), %sil
jne 0x3b2a5
testb %r13b, %r13b
je 0x3b0dd
cmpw %cx, -0x4(%r15,%rbp,4)
je 0x3b2a5
movswq %ax, %rbx
movzwl 0x2(%r15,%rbx,4), %ecx
movl %edx, %r13d
subl %ecx, %r13d
movzwl (%r15,%rbx,4), %eax
movq 0x28(%rsp), %rsi
movzwl 0x3c(%rsi), %r8d
cmpw $0x0, 0x90(%rsp)
js 0x3b18e
addl 0x74(%rsp), %eax
addl %r11d, %ecx
movswl %ax, %edi
movswl %cx, %esi
movswl %r13w, %r13d
movl %r13d, %edx
movq 0x40(%rsp), %r12
movq %r12, %rcx
movl 0x14(%rsp), %r14d
movl %r14d, %r9d
callq 0x36477
movzwl (%r15,%rbx,4), %eax
addw 0xb0(%rsp), %ax
movzwl 0x2(%r15,%rbx,4), %ecx
movq 0x68(%rsp), %rbx
addw %bx, %cx
negl %r13d
movswl %ax, %edi
movswl %cx, %esi
movswl %r13w, %edx
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %r8d
movq %r12, %rcx
movq 0xc0(%rsp), %r12
movl %r14d, %r9d
movq 0x80(%rsp), %r14
callq 0x36477
movq 0x50(%rsp), %r11
movq %rbx, %rdi
movl %ebp, %eax
jmp 0x3b1fe
cmpw %dx, -0x2(%r15,%rbp,4)
je 0x3b2a5
movswq %ax, %rbx
movzwl (%r15,%rbx,4), %edx
movl %ecx, %r13d
subl %edx, %r13d
movzwl 0x2(%r15,%rbx,4), %eax
movq 0x28(%rsp), %rsi
movzwl 0x3c(%rsi), %r8d
cmpw $0x0, 0xa0(%rsp)
js 0x3b211
addl 0x48(%rsp), %edx
addl 0x9c(%rsp), %eax
movswl %dx, %edi
movswl %ax, %esi
movswl %r13w, %r13d
movl %r13d, %edx
movq 0x40(%rsp), %r14
movq %r14, %rcx
movl 0x14(%rsp), %r9d
callq 0x36510
movzwl (%r15,%rbx,4), %eax
addw %r12w, %ax
movzwl 0x2(%r15,%rbx,4), %ecx
addw 0x78(%rsp), %cx
negl %r13d
movswl %ax, %edi
movswl %cx, %esi
movswl %r13w, %edx
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %r8d
movq %r14, %rcx
movl 0x14(%rsp), %r9d
callq 0x36510
movq 0x48(%rsp), %r8
movl %ebp, %eax
movq 0x68(%rsp), %rdi
movq 0x50(%rsp), %r11
jmp 0x3b28a
addl 0x74(%rsp), %eax
addl 0xbc(%rsp), %edx
movswl %ax, %edi
movswl %dx, %esi
movswl %r13w, %edx
movq 0x40(%rsp), %rcx
movl 0x14(%rsp), %r9d
callq 0x36477
movzwl (%r15,%rbx,4), %eax
addw 0xb0(%rsp), %ax
movq 0x78(%rsp), %rcx
addl %r13d, %ecx
addw 0x2(%r15,%rbx,4), %cx
negl %r13d
movswl %ax, %edi
movswl %cx, %esi
movswl %r13w, %edx
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %r8d
movq 0x40(%rsp), %rcx
movl 0x14(%rsp), %r9d
callq 0x36477
movq 0x50(%rsp), %r11
movl %ebp, %eax
movq 0x68(%rsp), %rdi
movq 0x48(%rsp), %r8
movl 0x34(%rsp), %r10d
movl 0x1c(%rsp), %ebx
jmp 0x3b29b
addl 0xa8(%rsp), %ecx
addl 0x9c(%rsp), %eax
movswl %cx, %edi
movswl %ax, %esi
movswl %r13w, %edx
movq 0x40(%rsp), %r14
movq %r14, %rcx
movl 0x14(%rsp), %r9d
callq 0x36510
movq 0xb0(%rsp), %rax
addl %r13d, %eax
addw (%r15,%rbx,4), %ax
movzwl 0x2(%r15,%rbx,4), %ecx
addw 0x78(%rsp), %cx
negl %r13d
movswl %ax, %edi
movswl %cx, %esi
movswl %r13w, %edx
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %r8d
movq %r14, %rcx
movl 0x14(%rsp), %r9d
callq 0x36510
movl %ebp, %eax
movq 0x68(%rsp), %rdi
movq 0x50(%rsp), %r11
movq 0x48(%rsp), %r8
movl 0x34(%rsp), %r10d
movl 0x1c(%rsp), %ebx
movq 0x80(%rsp), %r14
movb 0x18(%rsp), %r13b
movl 0x60(%rsp), %r9d
incq %rbp
cmpq %rbp, %r14
jne 0x3afe5
movswq %ax, %rbp
movl 0xb8(%rsp), %ecx
jmp 0x3b2c0
xorl %ebp, %ebp
addl %ecx, %ebx
cmpw $0x0, 0x88(%rsp)
setne %al
andb 0x13(%rsp), %al
movswq 0xac(%rsp), %rcx
movq %rcx, 0x60(%rsp)
cmpb $0x1, %al
jne 0x3b52b
movl %ebx, 0x1c(%rsp)
movq 0x28(%rsp), %rax
movzwl 0x3c(%rax), %r8d
testb %r13b, %r13b
je 0x3b3a9
movq 0x60(%rsp), %rax
movzwl -0x2(%r15,%rax,4), %eax
movzwl 0x2(%r15,%rbp,4), %ecx
movl %eax, %ebx
subl %ecx, %ebx
movzwl (%r15,%rbp,4), %edx
addw 0x48(%rsp), %dx
decl %edx
movq 0x90(%rsp), %r9
leal (%r9,%rbx), %esi
leal 0x1(%r12), %edi
movl %edi, 0x24(%rsp)
movswl %dx, %edi
movswl %si, %r13d
testw %r9w, %r9w
js 0x3b447
addl %r11d, %ecx
movswl %cx, %esi
movl %r13d, %edx
movq 0x40(%rsp), %rbx
movq %rbx, %rcx
movl 0x14(%rsp), %r14d
movl %r14d, %r9d
callq 0x36477
movl 0x24(%rsp), %ecx
addw (%r15,%rbp,4), %cx
movzwl 0x2(%r15,%rbp,4), %eax
movq 0x68(%rsp), %rbp
addw %bp, %ax
negl %r13d
movswl %cx, %edi
movswl %ax, %esi
movswl %r13w, %edx
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %r8d
movq %rbx, %rcx
movl %r14d, %r9d
callq 0x36477
movq 0x50(%rsp), %r11
movq %rbp, %rdi
jmp 0x3b4a2
movq 0x60(%rsp), %rax
movzwl -0x4(%r15,%rax,4), %eax
movzwl (%r15,%rbp,4), %ecx
movl %eax, %ebx
subl %ecx, %ebx
movzwl 0x2(%r15,%rbp,4), %edx
addw %r11w, %dx
decl %edx
movq 0xa0(%rsp), %r9
leal (%r9,%rbx), %edi
movswl %dx, %esi
movswl %di, %r13d
testw %r9w, %r9w
js 0x3b4ba
addl 0x48(%rsp), %ecx
movswl %cx, %edi
movl %r13d, %edx
movq 0x40(%rsp), %rbx
movq %rbx, %rcx
movl 0x14(%rsp), %r14d
movl %r14d, %r9d
callq 0x36510
movzwl (%r15,%rbp,4), %eax
addw %r12w, %ax
movzwl 0x2(%r15,%rbp,4), %ecx
movq 0x68(%rsp), %rbp
addw %bp, %cx
incl %ecx
negl %r13d
movswl %ax, %edi
movswl %cx, %esi
movswl %r13w, %edx
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %r8d
movq %rbx, %rcx
movl %r14d, %r9d
movq 0x80(%rsp), %r14
jmp 0x3b50b
addl %r11d, %eax
movswl %ax, %esi
movl %r13d, %edx
movq 0x40(%rsp), %r14
movq %r14, %rcx
movl 0x14(%rsp), %r9d
callq 0x36477
movl 0x24(%rsp), %eax
addw (%r15,%rbp,4), %ax
addl 0x68(%rsp), %ebx
addw 0x2(%r15,%rbp,4), %bx
negl %r13d
movswl %ax, %edi
movswl %bx, %esi
movswl %r13w, %edx
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %r8d
movq %r14, %rcx
movl 0x14(%rsp), %r9d
callq 0x36477
movq 0x50(%rsp), %r11
movq 0x68(%rsp), %rdi
movq 0x48(%rsp), %r8
movl 0x34(%rsp), %r10d
movl 0x1c(%rsp), %ebx
movq 0x80(%rsp), %r14
jmp 0x3b526
addl 0x48(%rsp), %eax
movswl %ax, %edi
movl %r13d, %edx
movq 0x40(%rsp), %rcx
movl 0x14(%rsp), %r9d
callq 0x36510
addl %r12d, %ebx
addw (%r15,%rbp,4), %bx
movzwl 0x2(%r15,%rbp,4), %eax
movq 0x68(%rsp), %rbp
addw %bp, %ax
incl %eax
negl %r13d
movswl %bx, %edi
movswl %ax, %esi
movswl %r13w, %edx
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %r8d
movq 0x40(%rsp), %rcx
movl 0x14(%rsp), %r9d
callq 0x36510
movq 0x48(%rsp), %r8
movq %rbp, %rdi
movq 0x50(%rsp), %r11
movl 0x34(%rsp), %r10d
movl 0x1c(%rsp), %ebx
movb 0x18(%rsp), %r13b
shrl %ebx
xorl %eax, %eax
movl $0x0, 0x18(%rsp)
cmpb $0x0, 0x13(%rsp)
movl 0x5c(%rsp), %r9d
movq 0xa0(%rsp), %rbp
je 0x3b581
movq 0x88(%rsp), %rax
negw %ax
movl $0x0, %edx
sbbl %edx, %edx
testb %r13b, %r13b
je 0x3b56d
cmpw $0x0, 0x90(%rsp)
jmp 0x3b570
testw %bp, %bp
movl $0x1, %ecx
movl %edx, %eax
cmovsl %ecx, %eax
cmovsl %edx, %ecx
movl %ecx, 0x18(%rsp)
movl %eax, 0x78(%rsp)
movw %r8w, 0x10(%rsp)
movw %r11w, 0xe(%rsp)
movswl %r9w, %eax
negl %eax
movl %eax, 0x24(%rsp)
movb $0x1, %al
testb %r13b, %r13b
je 0x3b79e
movl %eax, 0x20(%rsp)
movl %r11d, %r13d
movl %r8d, %eax
xorl %r12d, %eax
movl %r13d, %ecx
xorl %edi, %ecx
orw %ax, %cx
setne %al
je 0x3b5ee
movswl %bx, %ecx
cmpl 0x24(%rsp), %ecx
movl $0x0, %edx
cmovgl %r10d, %edx
movl $0x0, %esi
cmovgl %ebp, %esi
subl %edx, %ebx
addl %esi, %r8d
cmpw %r10w, %cx
jge 0x3b5ee
addl %r9d, %ebx
addl 0x90(%rsp), %r13d
testb %al, %al
je 0x3b998
cmpw %r13w, %r11w
je 0x3b5ad
testb %al, %al
je 0x3b998
movl %ebx, 0x1c(%rsp)
cmpw $0x0, 0x88(%rsp)
jle 0x3b6c1
xorl %ebx, %ebx
movzwl 0x10(%rsp), %eax
addw (%r15,%rbx,4), %ax
movw %ax, 0x38(%rsp)
movzwl 0xe(%rsp), %ecx
addw 0x2(%r15,%rbx,4), %cx
movq %r8, %rbp
addl %r8d, %eax
movw %cx, 0x3a(%rsp)
movzwl 0x10(%rsp), %edx
notl %edx
addl %eax, %edx
movw %dx, 0x3c(%rsp)
movw %cx, 0x3e(%rsp)
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %edx
leaq 0x38(%rsp), %rdi
movq 0x40(%rsp), %rsi
movl 0x14(%rsp), %ecx
callq 0x35310
testq %rbx, %rbx
je 0x3b6b2
movzwl (%r15,%rbx,4), %eax
cmpw -0x4(%r15,%rbx,4), %ax
sete %al
orb 0x20(%rsp), %al
testb $0x1, %al
jne 0x3b6b2
movswl 0x38(%rsp), %edi
movzwl 0x3a(%rsp), %eax
subl 0x90(%rsp), %eax
movswl %ax, %esi
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %ecx
movq 0x40(%rsp), %rdx
movl 0x14(%rsp), %r8d
callq 0x351bc
incq %rbx
cmpq %rbx, %r14
movq %rbp, %r8
jne 0x3b619
cmpb $0x0, 0x13(%rsp)
je 0x3b767
movzwl 0x10(%rsp), %eax
addw (%r15), %ax
movzwl 0xe(%rsp), %ecx
addw 0x78(%rsp), %cx
addw 0x2(%r15), %cx
movzwl 0x10(%rsp), %edx
subl %r8d, %edx
movswl %ax, %edi
movswl %cx, %esi
movswl %dx, %edx
movq %r8, 0x48(%rsp)
movq 0x28(%rsp), %rbp
movl 0x3c(%rbp), %r8d
movq 0x40(%rsp), %rbx
movq %rbx, %rcx
movl 0x14(%rsp), %r14d
movl %r14d, %r9d
callq 0x36510
movzwl 0x10(%rsp), %eax
movq 0x60(%rsp), %rdx
addw -0x4(%r15,%rdx,4), %ax
movzwl 0xe(%rsp), %ecx
addw 0x18(%rsp), %cx
addw -0x2(%r15,%rdx,4), %cx
movq 0x48(%rsp), %rdx
subw 0x10(%rsp), %dx
movswl %ax, %edi
movswl %cx, %esi
movl 0x3c(%rbp), %r8d
movswl %dx, %edx
movq %rbx, %rcx
movl %r14d, %r9d
movq 0x80(%rsp), %r14
callq 0x36510
movq 0x48(%rsp), %r8
movw %r8w, 0x10(%rsp)
movw %r13w, 0xe(%rsp)
movl $0x0, 0x20(%rsp)
movl %r13d, %r11d
movq 0x68(%rsp), %rdi
movl 0x5c(%rsp), %r9d
movq 0xa0(%rsp), %rbp
movl 0x34(%rsp), %r10d
movl 0x1c(%rsp), %ebx
jmp 0x3b5aa
movl %eax, 0x20(%rsp)
movl %r8d, %r13d
movl %r13d, %eax
xorl %r12d, %eax
movl %r11d, %ecx
xorl %edi, %ecx
orw %ax, %cx
setne %al
je 0x3b7e6
movswl %bx, %ecx
cmpl 0x24(%rsp), %ecx
movl $0x0, %edx
cmovgl %r10d, %edx
movl $0x0, %esi
cmovgl %ebp, %esi
subl %edx, %ebx
addl %esi, %r13d
cmpw %r10w, %cx
jge 0x3b7e6
addl %r9d, %ebx
addl 0x90(%rsp), %r11d
testb %al, %al
je 0x3baee
cmpw %r13w, %r8w
je 0x3b7a5
testb %al, %al
je 0x3baee
movl %ebx, 0x1c(%rsp)
cmpw $0x0, 0x88(%rsp)
jle 0x3b8bb
xorl %ebx, %ebx
movzwl 0x10(%rsp), %eax
addw (%r15,%rbx,4), %ax
movw %ax, 0x38(%rsp)
movzwl 0xe(%rsp), %ecx
addw 0x2(%r15,%rbx,4), %cx
movq %r11, %rbp
leal (%rcx,%r11), %edx
movw %cx, 0x3a(%rsp)
movw %ax, 0x3c(%rsp)
movzwl 0xe(%rsp), %eax
notl %eax
addl %edx, %eax
movw %ax, 0x3e(%rsp)
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %edx
leaq 0x38(%rsp), %rdi
movq 0x40(%rsp), %rsi
movl 0x14(%rsp), %ecx
callq 0x35310
testq %rbx, %rbx
je 0x3b8ac
movzwl 0x2(%r15,%rbx,4), %eax
cmpw -0x2(%r15,%rbx,4), %ax
sete %al
orb 0x20(%rsp), %al
testb $0x1, %al
jne 0x3b8ac
movzwl 0x38(%rsp), %eax
subl 0xa0(%rsp), %eax
movswl 0x3a(%rsp), %esi
movswl %ax, %edi
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %ecx
movq 0x40(%rsp), %rdx
movl 0x14(%rsp), %r8d
callq 0x351bc
incq %rbx
cmpq %rbx, %r14
movq %rbp, %r11
jne 0x3b811
cmpb $0x0, 0x13(%rsp)
je 0x3b961
movzwl 0x10(%rsp), %eax
addw 0x78(%rsp), %ax
addw (%r15), %ax
movzwl 0xe(%rsp), %ecx
addw 0x2(%r15), %cx
movzwl 0xe(%rsp), %edx
subl %r11d, %edx
movswl %ax, %edi
movswl %cx, %esi
movswl %dx, %edx
movq 0x28(%rsp), %rbp
movl 0x3c(%rbp), %r8d
movq 0x40(%rsp), %rbx
movq %rbx, %rcx
movl 0x14(%rsp), %r14d
movl %r14d, %r9d
movq %r11, 0x50(%rsp)
callq 0x36477
movzwl 0x10(%rsp), %eax
addw 0x18(%rsp), %ax
movq 0x60(%rsp), %rdx
addw -0x4(%r15,%rdx,4), %ax
movzwl 0xe(%rsp), %ecx
addw -0x2(%r15,%rdx,4), %cx
movq 0x50(%rsp), %rdx
subw 0xe(%rsp), %dx
movswl %ax, %edi
movswl %cx, %esi
movl 0x3c(%rbp), %r8d
movswl %dx, %edx
movq %rbx, %rcx
movl %r14d, %r9d
movq 0x80(%rsp), %r14
callq 0x36477
movq 0x50(%rsp), %r11
movw %r13w, 0x10(%rsp)
movw %r11w, 0xe(%rsp)
movl $0x0, 0x20(%rsp)
movl %r13d, %r8d
movq 0x68(%rsp), %rdi
movl 0x5c(%rsp), %r9d
movq 0xa0(%rsp), %rbp
movl 0x34(%rsp), %r10d
movl 0x1c(%rsp), %ebx
jmp 0x3b7a2
cmpw $0x0, 0x88(%rsp)
movl 0x20(%rsp), %ebp
jle 0x3ba53
xorl %ebx, %ebx
leaq 0x38(%rsp), %r13
movzwl 0x10(%rsp), %eax
addw (%r15,%rbx,4), %ax
movw %ax, 0x38(%rsp)
movzwl 0xe(%rsp), %ecx
addw 0x2(%r15,%rbx,4), %cx
movq %r8, %r12
addl %r8d, %eax
movw %cx, 0x3a(%rsp)
subw 0x10(%rsp), %ax
movw %ax, 0x3c(%rsp)
movw %cx, 0x3e(%rsp)
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %edx
movq %r13, %rdi
movq 0x40(%rsp), %rsi
movl 0x14(%rsp), %ecx
callq 0x35310
testq %rbx, %rbx
je 0x3ba44
movzwl (%r15,%rbx,4), %eax
cmpw -0x4(%r15,%rbx,4), %ax
sete %al
orb %bpl, %al
testb $0x1, %al
jne 0x3ba44
movswl 0x38(%rsp), %edi
movzwl 0x3a(%rsp), %eax
subl 0x90(%rsp), %eax
movswl %ax, %esi
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %ecx
movq 0x40(%rsp), %rdx
movl 0x14(%rsp), %r8d
callq 0x351bc
incq %rbx
cmpq %rbx, %r14
movq %r12, %r8
jne 0x3b9b2
cmpb $0x0, 0x13(%rsp)
je 0x3ab47
movzwl 0x10(%rsp), %eax
addw (%r15), %ax
movl 0x78(%rsp), %edx
addw 0xe(%rsp), %dx
addw 0x2(%r15), %dx
movl %r8d, %ecx
notl %ecx
addw 0x10(%rsp), %cx
movswl %ax, %edi
movswl %dx, %esi
movswl %cx, %edx
movq %r8, %r12
movq 0x28(%rsp), %r14
movl 0x3c(%r14), %r8d
movq 0x40(%rsp), %rbx
movq %rbx, %rcx
movl 0x14(%rsp), %ebp
movl %ebp, %r9d
callq 0x36510
movzwl 0x10(%rsp), %eax
movq 0x60(%rsp), %rcx
addw -0x4(%r15,%rcx,4), %ax
movl 0x18(%rsp), %edx
addw 0xe(%rsp), %dx
addw -0x2(%r15,%rcx,4), %dx
subw 0x10(%rsp), %r12w
incl %r12d
movswl %ax, %edi
movswl %dx, %esi
movswl %r12w, %edx
movl 0x3c(%r14), %r8d
movq %rbx, %rcx
movl %ebp, %r9d
callq 0x36510
jmp 0x3ab47
cmpw $0x0, 0x88(%rsp)
jle 0x3bba3
xorl %ebx, %ebx
leaq 0x38(%rsp), %r13
movzwl 0x10(%rsp), %eax
addw (%r15,%rbx,4), %ax
movw %ax, 0x38(%rsp)
movzwl 0xe(%rsp), %ecx
addw 0x2(%r15,%rbx,4), %cx
movq %r11, %r12
leal (%rcx,%r11), %edx
movw %cx, 0x3a(%rsp)
movw %ax, 0x3c(%rsp)
subw 0xe(%rsp), %dx
movw %dx, 0x3e(%rsp)
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %edx
movq %r13, %rdi
movq 0x40(%rsp), %rsi
movl 0x14(%rsp), %ecx
callq 0x35310
testq %rbx, %rbx
je 0x3bb94
movzwl 0x2(%r15,%rbx,4), %eax
cmpw -0x2(%r15,%rbx,4), %ax
sete %al
orb 0x20(%rsp), %al
testb $0x1, %al
jne 0x3bb94
movzwl 0x38(%rsp), %eax
subl %ebp, %eax
movswl 0x3a(%rsp), %esi
movswl %ax, %edi
movq 0x28(%rsp), %rax
movl 0x3c(%rax), %ecx
movq 0x40(%rsp), %rdx
movl 0x14(%rsp), %r8d
callq 0x351bc
incq %rbx
cmpq %rbx, %r14
movq %r12, %r11
jne 0x3bb04
cmpb $0x0, 0x13(%rsp)
je 0x3ab47
movl 0x78(%rsp), %edx
addw 0x10(%rsp), %dx
addw (%r15), %dx
movzwl 0xe(%rsp), %eax
addw 0x2(%r15), %ax
movl %r11d, %ecx
notl %ecx
addw 0xe(%rsp), %cx
movswl %dx, %edi
movswl %ax, %esi
movswl %cx, %edx
movq 0x28(%rsp), %r14
movl 0x3c(%r14), %r8d
movq 0x40(%rsp), %rbx
movq %rbx, %rcx
movl 0x14(%rsp), %ebp
movl %ebp, %r9d
movq %r11, %r12
callq 0x36477
movl 0x18(%rsp), %edx
addw 0x10(%rsp), %dx
movq 0x60(%rsp), %rcx
addw -0x4(%r15,%rcx,4), %dx
movzwl 0xe(%rsp), %eax
addw -0x2(%r15,%rcx,4), %ax
subw 0xe(%rsp), %r12w
incl %r12d
movswl %dx, %edi
movswl %ax, %esi
movswl %r12w, %edx
movl 0x3c(%r14), %r8d
movq %rbx, %rcx
movl %ebp, %r9d
callq 0x36477
jmp 0x3ab47
nop