// File: /workspace/github_c_makefile_star2_O2/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 $0x88, %rsp
movswl 0x3e(%rcx), %r12d
testl %r12d, %r12d
je 0x37405
movl %r8d, %ebp
movq %rcx, %r14
movq %rdx, %rbx
movzwl (%rdi), %eax
movzwl (%rsi), %ecx
cmpw %cx, %ax
jne 0x37179
movzwl 0x2(%rdi), %edx
cmpw 0x2(%rsi), %dx
je 0x37405
movswl %ax, %r8d
movswl %cx, %r9d
movswl (%rbx), %edx
subl %r12d, %edx
cmpl %r8d, %edx
setg %r10b
cmpl %r9d, %edx
setg %dl
testb %dl, %r10b
jne 0x37405
movswl 0x4(%rbx), %edx
addl %r12d, %edx
cmpl %r8d, %edx
setl %r10b
cmpl %r9d, %edx
setl %dl
testb %dl, %r10b
jne 0x37405
movzwl 0x2(%rdi), %edx
movswl %dx, %edi
movswl 0x2(%rbx), %r10d
subl %r12d, %r10d
cmpl %edi, %r10d
jle 0x371dc
movswl 0x2(%rsi), %r11d
cmpl %r11d, %r10d
jg 0x37405
movswl 0x6(%rbx), %r11d
addl %r12d, %r11d
cmpl %edi, %r11d
setl %r15b
movzwl 0x2(%rsi), %r10d
movswl %r10w, %esi
cmpl %esi, %r11d
setl %r11b
testb %r11b, %r15b
jne 0x37405
subl %r9d, %r8d
movl %r8d, %r9d
negl %r9d
cmovsl %r8d, %r9d
subl %esi, %edi
movl %edi, %r8d
negl %r8d
cmovsl %edi, %r8d
cmpl %r8d, %r9d
jbe 0x37238
cmpw %cx, %ax
jge 0x3723e
movw %ax, 0x16(%rsp)
movw %dx, 0x18(%rsp)
movw %cx, 0x6c(%rsp)
jmp 0x3724f
cmpw %r10w, %dx
jl 0x37227
movw %cx, 0x16(%rsp)
movw %si, 0x18(%rsp)
movw %ax, 0x6c(%rsp)
movl %edx, %esi
leaq 0x6c(%rsp), %rdx
movw %si, 0x2(%rdx)
leaq 0x1a(%rsp), %r15
leaq 0x16(%rsp), %rsi
movq %r15, %rdi
callq 0x3808a
movswl 0x2(%r15), %r13d
movzwl 0x6(%r15), %r15d
movzbl %bpl, %edx
cmpw %r15w, %r13w
jne 0x37298
cmpb $-0x1, %bpl
je 0x37346
movzbl 0x40(%r14), %eax
imull %edx, %eax
shrl $0x8, %eax
jmp 0x3734a
movzwl 0x1a(%rsp), %esi
movzwl 0x1e(%rsp), %eax
cmpw %ax, %si
jne 0x372c5
movswl %r15w, %eax
cmpb $-0x1, %bpl
je 0x373a8
movzbl 0x40(%r14), %ecx
imull %edx, %ecx
shrl $0x8, %ecx
jmp 0x373ac
movl %eax, 0x60(%rsp)
movl %esi, 0x38(%rsp)
movl %edx, 0x4(%rsp)
callq 0x6e0e
movq %rax, %rdi
callq 0x7e02
movl 0x4(%rsp), %edx
xorl %r12d, %r12d
testb %al, %al
je 0x374fa
cmpb $0x1, 0x32(%rsp)
jne 0x37417
cmpw %r15w, %r13w
movl 0x60(%rsp), %eax
jge 0x3746b
leaq 0x46(%rsp), %rdx
movw %ax, (%rdx)
decl %r15d
movw %r15w, 0x2(%rdx)
leaq 0x1a(%rsp), %r12
leaq 0x16(%rsp), %rsi
movq %r12, %rdi
callq 0x3808a
movl 0x4(%rsp), %edx
movzwl 0x12(%r12), %eax
movl %eax, %ecx
negw %cx
cmovsw %ax, %cx
movw %cx, 0x12(%r12)
jmp 0x37462
movb 0x40(%r14), %al
decl %r12d
movswl %r12w, %ecx
andl $0x1, %r12d
sarl %ecx
movswl 0x1a(%rsp), %edx
movswl 0x1e(%rsp), %esi
addl %ecx, %r12d
movl %r13d, %r8d
subl %r12d, %r8d
addl %r13d, %ecx
cmpl %esi, %edx
movl %esi, %r9d
cmovll %edx, %r9d
leaq 0x46(%rsp), %rdi
movw %r9w, (%rdi)
cmovgl %edx, %esi
movw %si, 0x4(%rdi)
movswl %r8w, %edx
movswl %cx, %ecx
cmpl %ecx, %edx
movl %ecx, %esi
cmovll %edx, %esi
movw %si, 0x2(%rdi)
cmovgl %edx, %ecx
movw %cx, 0x6(%rdi)
movl 0x3c(%r14), %edx
movzbl %al, %ecx
jmp 0x373fd
movb 0x40(%r14), %cl
decl %r12d
movswl %r12w, %edx
andl $0x1, %r12d
sarl %edx
addl %esi, %r12d
subl %edx, %esi
addl %edx, %r12d
movswl %si, %edx
movswl %r12w, %esi
cmpl %esi, %edx
movl %esi, %r8d
cmovll %edx, %r8d
leaq 0x46(%rsp), %rdi
movw %r8w, (%rdi)
cmovgl %edx, %esi
movw %si, 0x4(%rdi)
cmpl %eax, %r13d
movl %eax, %edx
cmovll %r13d, %edx
movw %dx, 0x2(%rdi)
cmovgl %r13d, %eax
movw %ax, 0x6(%rdi)
movl 0x3c(%r14), %edx
movzbl %cl, %ecx
movq %rbx, %rsi
callq 0x32757
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0x38(%rsp), %eax
movl 0x60(%rsp), %ecx
cmpw %cx, %ax
jge 0x374b5
decl %ecx
leaq 0x46(%rsp), %rdx
movw %cx, (%rdx)
movw %r15w, 0x2(%rdx)
leaq 0x1a(%rsp), %r12
leaq 0x16(%rsp), %rsi
movq %r12, %rdi
callq 0x3808a
movl 0x4(%rsp), %edx
movzwl 0xe(%r12), %eax
movl %eax, %ecx
negw %cx
cmovsw %ax, %cx
movw %cx, 0xe(%r12)
pushq $0x1
popq %r12
jmp 0x374fa
xorl %r12d, %r12d
cmpw %r15w, %r13w
jle 0x374fa
leaq 0x46(%rsp), %rdx
movw %ax, (%rdx)
incl %r15d
movw %r15w, 0x2(%rdx)
leaq 0x1a(%rsp), %r12
leaq 0x16(%rsp), %rsi
movq %r12, %rdi
callq 0x3808a
movl 0x4(%rsp), %edx
movzwl 0x12(%r12), %eax
movl %eax, %ecx
negw %cx
cmovnsw %ax, %cx
movw %cx, 0x12(%r12)
jmp 0x374f7
xorl %r12d, %r12d
cmpw %cx, %ax
jle 0x374fa
incl %ecx
leaq 0x46(%rsp), %rdx
movw %cx, (%rdx)
movw %r15w, 0x2(%rdx)
leaq 0x1a(%rsp), %r12
leaq 0x16(%rsp), %rsi
movq %r12, %rdi
callq 0x3808a
movl 0x4(%rsp), %edx
movzwl 0xe(%r12), %eax
movl %eax, %ecx
negw %cx
cmovnsw %ax, %cx
movw %cx, 0xe(%r12)
xorl %r12d, %r12d
cmpb $-0x1, %bpl
je 0x3750d
movzbl 0x40(%r14), %eax
imull %edx, %eax
shrl $0x8, %eax
jmp 0x37511
movb 0x40(%r14), %al
movl %eax, 0x4(%rsp)
callq 0x6e0e
movq %rax, %rdi
callq 0x7e02
movb %al, 0x3(%rsp)
movswl 0x1e(%rsp), %edx
movswl 0x1a(%rsp), %esi
movl %edx, %eax
subl %esi, %eax
movswl 0x20(%rsp), %edi
movswl 0x1c(%rsp), %r8d
movl %edi, %ecx
subl %r8d, %ecx
movb 0x32(%rsp), %r9b
movb %r9b, 0x38(%rsp)
cmpb $0x1, %r9b
movl %r12d, 0x60(%rsp)
jne 0x37565
addl %r12d, %edi
cmpl %r8d, %edi
jg 0x3756c
negl %eax
jmp 0x3756e
addl %r12d, %edx
cmpl %esi, %edx
jg 0x37561
negl %ecx
shll $0x4, %ecx
movw %cx, 0x74(%rsp)
shll $0x4, %eax
movw %ax, 0x76(%rsp)
movswl 0x3e(%r14), %r12d
leal (%r12,%r12), %eax
movswl %ax, %r13d
leal (,%r13,4), %edi
callq 0x334c8
movq %rax, %r15
movzbl 0x3(%rsp), %eax
testl %r12d, %r12d
je 0x3760f
movl %eax, 0x10(%rsp)
leaq 0x8(%rsp), %rsi
andl $0x0, (%rsi)
leaq 0x46(%rsp), %rdi
leaq 0x74(%rsp), %rdx
callq 0x3808a
movq %r12, 0x78(%rsp)
imull %r12d, %r12d
cmpl $0x2, %r13d
pushq $0x1
popq %rax
cmovll %eax, %r13d
decl %r13d
xorl %ebp, %ebp
cmpq %rbp, %r13
je 0x37613
movswl 0x4e(%rsp), %eax
movw %ax, (%r15,%rbp,4)
movswl 0x50(%rsp), %ecx
movw %cx, 0x2(%r15,%rbp,4)
imull %eax, %eax
imull %ecx, %ecx
addl %eax, %ecx
cmpl %r12d, %ecx
jae 0x3761c
leaq 0x46(%rsp), %rdi
callq 0x3812f
incq %rbp
jmp 0x375d9
movl %eax, %ebp
jmp 0x3766d
movq 0x78(%rsp), %rbp
movl %ebp, %edi
jmp 0x3763f
movl 0x10(%rsp), %eax
negl %eax
movzwl %ax, %edi
addq %rbp, %rdi
cmpw $0x2, %di
pushq $0x1
popq %rax
cmovael %edi, %eax
cmpb $0x0, 0x3(%rsp)
cmovnel %eax, %ebp
testw %di, %di
je 0x3766d
movswq %di, %rcx
movzwl -0x4(%r15,%rcx,4), %eax
movzwl -0x2(%r15,%rcx,4), %ecx
movw $0xfffe, %si            # imm = 0xFFFE
cwtd
idivw %si
movl %eax, %r8d
movl %ecx, %eax
cwtd
idivw %si
movl %eax, %r9d
movb $0x1, %al
movl %eax, 0x40(%rsp)
jmp 0x376b3
cmpb $0x0, 0x38(%rsp)
movl 0x60(%rsp), %edx
je 0x3768f
movswl 0x1c(%rsp), %eax
movswl 0x20(%rsp), %ecx
addl %ecx, %edx
cmpl %eax, %edx
jg 0x376a3
decw 0x2(%r15)
jmp 0x376a3
movswl 0x1a(%rsp), %eax
movswl 0x1e(%rsp), %ecx
addl %ecx, %edx
cmpl %eax, %edx
jg 0x376a3
decw (%r15)
movl $0x0, 0x40(%rsp)
xorl %edi, %edi
xorl %r8d, %r8d
xorl %r9d, %r9d
movq %rbp, 0x78(%rsp)
xorl %r13d, %r13d
testw %di, %di
movl $0x0, %eax
movq %rdi, 0x80(%rsp)
cmovgl %edi, %eax
movzwl %ax, %eax
movq %rax, 0x60(%rsp)
movb 0x32(%rsp), %dil
movzwl 0x28(%rsp), %eax
movw %ax, 0x72(%rsp)
movzwl 0x2c(%rsp), %eax
movw %ax, 0x70(%rsp)
movb 0x3(%rsp), %r10b
xorb $0x1, %r10b
movzbl 0x4(%rsp), %eax
movl %eax, 0x4(%rsp)
xorl %eax, %eax
movl %r8d, 0x38(%rsp)
movl %r9d, 0x10(%rsp)
movb %dil, 0x34(%rsp)
movb %r10b, 0xf(%rsp)
movswq %ax, %rbp
cmpq %r13, 0x60(%rsp)
je 0x3792d
movzwl (%r15,%r13,4), %edx
addw %r8w, %dx
movw %dx, (%r15,%r13,4)
movzwl 0x2(%r15,%r13,4), %ecx
addw %r9w, %cx
movw %cx, 0x2(%r15,%r13,4)
testq %r13, %r13
sete %sil
orb %r10b, %sil
jne 0x37925
testb $0x1, %dil
je 0x377d6
cmpw %dx, -0x4(%r15,%r13,4)
je 0x37925
movzwl 0x2(%r15,%rbp,4), %edx
movl %ecx, %esi
subl %edx, %esi
movzwl 0x1a(%rsp), %edi
movzwl 0x1c(%rsp), %eax
addw (%r15,%rbp,4), %di
decl %edi
movswl %di, %edi
movswl %si, %r12d
cmpw $0x0, 0x70(%rsp)
js 0x37852
addl %edx, %eax
movswl %ax, %esi
movl 0x3c(%r14), %r8d
movl %r12d, %edx
movq %rbx, %rcx
movl 0x4(%rsp), %r9d
callq 0x335ad
movzwl 0x1e(%rsp), %eax
addw (%r15,%rbp,4), %ax
incl %eax
movzwl 0x2(%r15,%rbp,4), %ecx
addw 0x20(%rsp), %cx
negl %r12d
movswl %ax, %edi
movswl %r12w, %edx
movswl %cx, %esi
jmp 0x37896
cmpw %cx, -0x2(%r15,%r13,4)
je 0x37925
movzwl (%r15,%rbp,4), %ecx
movl %edx, %esi
subl %ecx, %esi
movzwl 0x1a(%rsp), %eax
movswl %si, %r12d
cmpw $0x0, 0x72(%rsp)
js 0x378a9
addl %ecx, %eax
movzwl 0x1c(%rsp), %ecx
addw 0x2(%r15,%rbp,4), %cx
decl %ecx
movswl %ax, %edi
movswl %cx, %esi
movl 0x3c(%r14), %r8d
movl %r12d, %edx
movq %rbx, %rcx
movl 0x4(%rsp), %r9d
callq 0x3363f
movzwl (%r15,%rbp,4), %eax
addw 0x1e(%rsp), %ax
movzwl 0x20(%rsp), %ecx
addw 0x2(%r15,%rbp,4), %cx
incl %ecx
negl %r12d
movswl %cx, %esi
movswl %r12w, %edx
movswl %ax, %edi
jmp 0x378fd
addl %ecx, %eax
incl %eax
movswl %ax, %esi
movl 0x3c(%r14), %r8d
movl %r12d, %edx
movq %rbx, %rcx
movl 0x4(%rsp), %r9d
callq 0x335ad
movzwl 0x1e(%rsp), %eax
addw (%r15,%rbp,4), %ax
incl %eax
movl %r12d, %ecx
addw 0x20(%rsp), %cx
addw 0x2(%r15,%rbp,4), %cx
incl %ecx
negl %r12d
movswl %ax, %edi
movswl %cx, %esi
movswl %r12w, %edx
movl 0x3c(%r14), %r8d
movq %rbx, %rcx
movl 0x4(%rsp), %r9d
callq 0x335ad
jmp 0x3790e
addl %edx, %eax
incl %eax
movzwl 0x1c(%rsp), %ecx
addw 0x2(%r15,%rbp,4), %cx
decl %ecx
movswl %ax, %edi
movswl %cx, %esi
movl 0x3c(%r14), %r8d
movl %r12d, %edx
movq %rbx, %rcx
movl 0x4(%rsp), %r9d
callq 0x3363f
movl %r12d, %eax
addw 0x1e(%rsp), %ax
addw (%r15,%rbp,4), %ax
incl %eax
movzwl 0x20(%rsp), %ecx
addw 0x2(%r15,%rbp,4), %cx
incl %ecx
negl %r12d
movswl %ax, %edi
movswl %cx, %esi
movswl %r12w, %edx
movl 0x3c(%r14), %r8d
movq %rbx, %rcx
movl 0x4(%rsp), %r9d
callq 0x3363f
movl %r13d, %eax
movl 0x38(%rsp), %r8d
movl 0x10(%rsp), %r9d
movb 0x34(%rsp), %dil
movb 0xf(%rsp), %r10b
incq %r13
jmp 0x37717
movl 0x40(%rsp), %ecx
andb 0x3(%rsp), %cl
movb 0x32(%rsp), %sil
movswq 0x78(%rsp), %rax
movq %rax, 0x38(%rsp)
cmpb $0x1, %cl
jne 0x37b1d
movzwl 0x3c(%r14), %r8d
movb %sil, 0x10(%rsp)
testb $0x1, %sil
je 0x379f0
movq 0x38(%rsp), %rax
movzwl -0x2(%r15,%rax,4), %ecx
movzwl 0x2(%r15,%rbp,4), %edx
movl %ecx, %r13d
subl %edx, %r13d
movzwl 0x2c(%rsp), %esi
movzwl 0x1a(%rsp), %edi
movzwl 0x1c(%rsp), %eax
addw (%r15,%rbp,4), %di
decl %edi
movl %esi, %r9d
addl %r13d, %r9d
movswl %di, %edi
movswl %r9w, %r12d
testw %si, %si
js 0x37a7e
addl %edx, %eax
movswl %ax, %esi
movl %r12d, %edx
movq %rbx, %rcx
movl 0x4(%rsp), %r13d
movl %r13d, %r9d
callq 0x335ad
movzwl 0x1e(%rsp), %eax
addw (%r15,%rbp,4), %ax
incl %eax
movzwl 0x2(%r15,%rbp,4), %ecx
addw 0x20(%rsp), %cx
negl %r12d
movswl %ax, %edi
movswl %r12w, %edx
movswl %cx, %esi
movl 0x3c(%r14), %r8d
movq %rbx, %rcx
movl %r13d, %r9d
jmp 0x37ac5
movq 0x38(%rsp), %rax
movzwl -0x4(%r15,%rax,4), %ecx
movzwl (%r15,%rbp,4), %edx
movl %ecx, %r13d
subl %edx, %r13d
movzwl 0x28(%rsp), %edi
movzwl 0x1a(%rsp), %eax
movzwl 0x1c(%rsp), %esi
addw 0x2(%r15,%rbp,4), %si
decl %esi
movl %edi, %r9d
addl %r13d, %r9d
movswl %si, %esi
movswl %r9w, %r12d
testw %di, %di
js 0x37acc
addl %edx, %eax
movswl %ax, %edi
movl %r12d, %edx
movq %rbx, %rcx
movl 0x4(%rsp), %r13d
movl %r13d, %r9d
callq 0x3363f
movzwl (%r15,%rbp,4), %eax
addw 0x1e(%rsp), %ax
movzwl 0x20(%rsp), %ecx
addw 0x2(%r15,%rbp,4), %cx
incl %ecx
negl %r12d
movswl %cx, %esi
movswl %r12w, %edx
movswl %ax, %edi
movl 0x3c(%r14), %r8d
movq %rbx, %rcx
movl %r13d, %r9d
jmp 0x37b13
addl %ecx, %eax
movswl %ax, %esi
movl %r12d, %edx
movq %rbx, %rcx
movl 0x4(%rsp), %r9d
callq 0x335ad
movzwl 0x1e(%rsp), %eax
addw (%r15,%rbp,4), %ax
addw 0x20(%rsp), %r13w
incl %eax
addw 0x2(%r15,%rbp,4), %r13w
negl %r12d
movswl %r13w, %esi
movswl %ax, %edi
movswl %r12w, %edx
movl 0x3c(%r14), %r8d
movq %rbx, %rcx
movl 0x4(%rsp), %r9d
callq 0x335ad
jmp 0x37b18
addl %ecx, %eax
movswl %ax, %edi
movl %r12d, %edx
movq %rbx, %rcx
movl 0x4(%rsp), %r9d
callq 0x3363f
addw 0x1e(%rsp), %r13w
addw (%r15,%rbp,4), %r13w
movzwl 0x20(%rsp), %eax
addw 0x2(%r15,%rbp,4), %ax
incl %eax
negl %r12d
movswl %r13w, %edi
movswl %ax, %esi
movswl %r12w, %edx
movl 0x3c(%r14), %r8d
movq %rbx, %rcx
movl 0x4(%rsp), %r9d
callq 0x3363f
movb 0x10(%rsp), %sil
xorl %edx, %edx
movl $0x0, %ecx
cmpb $0x0, 0x3(%rsp)
je 0x37b55
xorl %eax, %eax
testb %sil, %sil
setne %al
movq 0x80(%rsp), %rcx
negw %cx
sbbl %edx, %edx
cmpw $0x0, 0x28(%rsp,%rax,4)
movl %edx, %eax
pushq $0x1
popq %rcx
cmovsl %ecx, %eax
cmovnsl %ecx, %edx
movl %edx, %ecx
movl %eax, %edx
movl %edx, 0x34(%rsp)
movl %ecx, 0x10(%rsp)
movzwl 0x1a(%rsp), %eax
movzwl 0x1c(%rsp), %ecx
movw %ax, 0x8(%rsp)
movw %cx, (%rsp)
movb $0x1, %r13b
leaq 0x1a(%rsp), %r12
testb $0x1, %sil
je 0x37cdc
movzwl 0xa(%r12), %ebp
movq %r12, %rdi
callq 0x3812f
testb %al, %al
je 0x37e34
cmpw 0x24(%rsp), %bp
je 0x37b88
xorl %ebp, %ebp
cmpq %rbp, 0x60(%rsp)
je 0x37c3c
movzwl 0x8(%rsp), %eax
addw (%r15,%rbp,4), %ax
movw %ax, 0x46(%rsp)
movzwl (%rsp), %ecx
addw 0x2(%r15,%rbp,4), %cx
movw %cx, 0x48(%rsp)
addw 0x22(%rsp), %ax
movzwl 0x8(%rsp), %edx
notl %edx
addl %eax, %edx
movw %dx, 0x4a(%rsp)
movw %cx, 0x4c(%rsp)
movl 0x3c(%r14), %edx
leaq 0x46(%rsp), %rdi
movq %rbx, %rsi
movl 0x4(%rsp), %ecx
callq 0x32757
testq %rbp, %rbp
je 0x37c34
movzwl (%r15,%rbp,4), %eax
cmpw -0x4(%r15,%rbp,4), %ax
sete %al
orb %r13b, %al
testb $0x1, %al
jne 0x37c34
movswl 0x46(%rsp), %edi
movzwl 0x48(%rsp), %eax
subw 0x2c(%rsp), %ax
movl 0x3c(%r14), %ecx
movswl %ax, %esi
movq %rbx, %rdx
movl 0x4(%rsp), %r8d
callq 0x325fc
incq %rbp
jmp 0x37ba1
cmpb $0x0, 0x3(%rsp)
je 0x37cc1
movzwl 0x8(%rsp), %eax
addw (%r15), %ax
movzwl (%rsp), %ecx
addw 0x34(%rsp), %cx
addw 0x2(%r15), %cx
movzwl 0x8(%rsp), %edx
subw 0x22(%rsp), %dx
movswl %ax, %edi
movswl %cx, %esi
movl 0x3c(%r14), %r8d
movswl %dx, %edx
movq %rbx, %rcx
movl 0x4(%rsp), %ebp
movl %ebp, %r9d
callq 0x3363f
movzwl 0x8(%rsp), %eax
movq 0x38(%rsp), %rdx
addw -0x4(%r15,%rdx,4), %ax
movzwl (%rsp), %ecx
addw 0x10(%rsp), %cx
addw -0x2(%r15,%rdx,4), %cx
movzwl 0x22(%rsp), %edx
subw 0x8(%rsp), %dx
movswl %ax, %edi
movswl %cx, %esi
movl 0x3c(%r14), %r8d
movswl %dx, %edx
movq %rbx, %rcx
movl %ebp, %r9d
callq 0x3363f
movzwl 0x22(%rsp), %eax
movzwl 0x24(%rsp), %ebp
movw %ax, 0x8(%rsp)
movw %bp, (%rsp)
xorl %r13d, %r13d
jmp 0x37b88
movzwl 0x8(%r12), %ebp
movq %r12, %rdi
callq 0x3812f
testb %al, %al
je 0x37ed0
cmpw 0x22(%rsp), %bp
je 0x37ce2
xorl %ebp, %ebp
cmpq %rbp, 0x60(%rsp)
je 0x37d96
movzwl 0x8(%rsp), %eax
addw (%r15,%rbp,4), %ax
movw %ax, 0x46(%rsp)
movzwl (%rsp), %ecx
addw 0x2(%r15,%rbp,4), %cx
movw %cx, 0x48(%rsp)
movw %ax, 0x4a(%rsp)
addw 0x24(%rsp), %cx
movzwl (%rsp), %eax
notl %eax
addl %ecx, %eax
movw %ax, 0x4c(%rsp)
movl 0x3c(%r14), %edx
leaq 0x46(%rsp), %rdi
movq %rbx, %rsi
movl 0x4(%rsp), %ecx
callq 0x32757
testq %rbp, %rbp
je 0x37d8e
movzwl 0x2(%r15,%rbp,4), %eax
cmpw -0x2(%r15,%rbp,4), %ax
sete %al
orb %r13b, %al
testb $0x1, %al
jne 0x37d8e
movzwl 0x46(%rsp), %eax
subw 0x28(%rsp), %ax
movswl 0x48(%rsp), %esi
movl 0x3c(%r14), %ecx
movswl %ax, %edi
movq %rbx, %rdx
movl 0x4(%rsp), %r8d
callq 0x325fc
incq %rbp
jmp 0x37cfb
cmpb $0x0, 0x3(%rsp)
je 0x37e19
movzwl 0x8(%rsp), %eax
addw 0x34(%rsp), %ax
addw (%r15), %ax
movzwl (%rsp), %ecx
addw 0x2(%r15), %cx
movzwl (%rsp), %edx
subw 0x24(%rsp), %dx
movswl %ax, %edi
movswl %cx, %esi
movl 0x3c(%r14), %r8d
movswl %dx, %edx
movq %rbx, %rcx
movl 0x4(%rsp), %ebp
movl %ebp, %r9d
callq 0x335ad
movzwl 0x8(%rsp), %eax
addw 0x10(%rsp), %ax
movq 0x38(%rsp), %rdx
addw -0x4(%r15,%rdx,4), %ax
movzwl (%rsp), %ecx
addw -0x2(%r15,%rdx,4), %cx
movzwl 0x24(%rsp), %edx
subw (%rsp), %dx
movswl %ax, %edi
movswl %cx, %esi
movl 0x3c(%r14), %r8d
movswl %dx, %edx
movq %rbx, %rcx
movl %ebp, %r9d
callq 0x335ad
movzwl 0x22(%rsp), %ebp
movzwl 0x24(%rsp), %eax
movw %bp, 0x8(%rsp)
movw %ax, (%rsp)
xorl %r13d, %r13d
jmp 0x37ce2
xorl %ebp, %ebp
leaq 0x46(%rsp), %r12
cmpq %rbp, 0x60(%rsp)
je 0x37f6c
movzwl 0x8(%rsp), %eax
addw (%r15,%rbp,4), %ax
movw %ax, 0x46(%rsp)
movzwl (%rsp), %ecx
addw 0x2(%r15,%rbp,4), %cx
movw %cx, 0x48(%rsp)
addw 0x22(%rsp), %ax
subw 0x8(%rsp), %ax
movw %ax, 0x4a(%rsp)
movw %cx, 0x4c(%rsp)
movl 0x3c(%r14), %edx
movq %r12, %rdi
movq %rbx, %rsi
movl 0x4(%rsp), %ecx
callq 0x32757
testq %rbp, %rbp
je 0x37ec8
movzwl (%r15,%rbp,4), %eax
cmpw -0x4(%r15,%rbp,4), %ax
sete %al
orb %r13b, %al
testb $0x1, %al
jne 0x37ec8
movswl 0x46(%rsp), %edi
movzwl 0x48(%rsp), %eax
subw 0x2c(%rsp), %ax
movl 0x3c(%r14), %ecx
movswl %ax, %esi
movq %rbx, %rdx
movl 0x4(%rsp), %r8d
callq 0x325fc
incq %rbp
jmp 0x37e3b
xorl %ebp, %ebp
leaq 0x46(%rsp), %r12
cmpq %rbp, 0x60(%rsp)
je 0x37ffc
movzwl 0x8(%rsp), %eax
addw (%r15,%rbp,4), %ax
movw %ax, 0x46(%rsp)
movzwl (%rsp), %ecx
addw 0x2(%r15,%rbp,4), %cx
movw %cx, 0x48(%rsp)
movw %ax, 0x4a(%rsp)
addw 0x24(%rsp), %cx
subw (%rsp), %cx
movw %cx, 0x4c(%rsp)
movl 0x3c(%r14), %edx
movq %r12, %rdi
movq %rbx, %rsi
movl 0x4(%rsp), %ecx
callq 0x32757
testq %rbp, %rbp
je 0x37f64
movzwl 0x2(%r15,%rbp,4), %eax
cmpw -0x2(%r15,%rbp,4), %ax
sete %al
orb %r13b, %al
testb $0x1, %al
jne 0x37f64
movzwl 0x46(%rsp), %eax
subw 0x28(%rsp), %ax
movswl 0x48(%rsp), %esi
movl 0x3c(%r14), %ecx
movswl %ax, %edi
movq %rbx, %rdx
movl 0x4(%rsp), %r8d
callq 0x325fc
incq %rbp
jmp 0x37ed7
cmpb $0x0, 0x3(%rsp)
je 0x37405
movzwl 0x8(%rsp), %eax
addw (%r15), %ax
movl 0x34(%rsp), %edx
addw (%rsp), %dx
addw 0x2(%r15), %dx
movzwl 0x22(%rsp), %ecx
notl %ecx
addw 0x8(%rsp), %cx
movswl %ax, %edi
movswl %dx, %esi
movl 0x3c(%r14), %r8d
movswl %cx, %edx
movq %rbx, %rcx
movl 0x4(%rsp), %ebp
movl %ebp, %r9d
callq 0x3363f
movzwl 0x8(%rsp), %eax
movq 0x38(%rsp), %rcx
addw -0x4(%r15,%rcx,4), %ax
movl 0x10(%rsp), %edx
addw (%rsp), %dx
addw -0x2(%r15,%rcx,4), %dx
movzwl 0x22(%rsp), %ecx
subw 0x8(%rsp), %cx
incl %ecx
movswl %ax, %edi
movswl %dx, %esi
movswl %cx, %edx
movl 0x3c(%r14), %r8d
movq %rbx, %rcx
movl %ebp, %r9d
callq 0x3363f
jmp 0x37405
cmpb $0x0, 0x3(%rsp)
je 0x37405
movl 0x34(%rsp), %edx
addw 0x8(%rsp), %dx
addw (%r15), %dx
movzwl (%rsp), %eax
addw 0x2(%r15), %ax
movzwl 0x24(%rsp), %ecx
notl %ecx
addw (%rsp), %cx
movswl %dx, %edi
movswl %ax, %esi
movl 0x3c(%r14), %r8d
movswl %cx, %edx
movq %rbx, %rcx
movl 0x4(%rsp), %ebp
movl %ebp, %r9d
callq 0x335ad
movl 0x10(%rsp), %edx
addw 0x8(%rsp), %dx
movq 0x38(%rsp), %rcx
addw -0x4(%r15,%rcx,4), %dx
movzwl (%rsp), %eax
addw -0x2(%r15,%rcx,4), %ax
movzwl 0x24(%rsp), %ecx
subw (%rsp), %cx
incl %ecx
movswl %dx, %edi
movswl %ax, %esi
movswl %cx, %edx
movl 0x3c(%r14), %r8d
movq %rbx, %rcx
movl %ebp, %r9d
callq 0x335ad
jmp 0x37405