// File: /workspace/github_c_makefile_star2_O3/OnionIoT[P]lv_example/lvgl/src/lv_objx/lv_chart.c
// Function: lv_chart_design
static bool lv_chart_design(lv_obj_t * chart, const lv_area_t * mask, lv_design_mode_t mode)
{
    if(mode == LV_DESIGN_COVER_CHK) {
        /*Return false if the object is not covers the mask_p area*/
        return ancestor_design_f(chart, mask, mode);
    } else if(mode == LV_DESIGN_DRAW_MAIN) {
        /*Draw the background*/
        lv_draw_rect(&chart->coords, mask, lv_obj_get_style(chart), lv_obj_get_opa_scale(chart));

        lv_chart_ext_t * ext = lv_obj_get_ext_attr(chart);

        lv_chart_draw_div(chart, mask);

        /* Adjust the mask to remove the margin (clips chart contents to be within background) */

        lv_area_t mask_tmp, adjusted_mask;
        lv_obj_get_coords(chart, &mask_tmp);

        bool union_ok = lv_area_intersect(&adjusted_mask, mask, &mask_tmp);

        if(union_ok) {
                if(ext->type & LV_CHART_TYPE_LINE) lv_chart_draw_lines(chart, &adjusted_mask);
                if(ext->type & LV_CHART_TYPE_COLUMN) lv_chart_draw_cols(chart, &adjusted_mask);
                if(ext->type & LV_CHART_TYPE_POINT) lv_chart_draw_points(chart, &adjusted_mask);
                if(ext->type & LV_CHART_TYPE_VERTICAL_LINE) lv_chart_draw_vertical_lines(chart, &adjusted_mask);
                if(ext->type & LV_CHART_TYPE_AREA) lv_chart_draw_areas(chart, &adjusted_mask);
        }

        lv_chart_draw_axes(chart, mask);
    }
    return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rsi, %r14
movq %rdi, %r15
testl %edx, %edx
je 0x15225
cmpl $0x2, %edx
jne 0x15ffe
movq 0x4b179(%rip), %rax     # 0x60380
movq %r15, %rdi
movq %r14, %rsi
movl $0x2, %edx
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
leaq 0x20(%r15), %r12
movq %r15, %rdi
callq 0x66b6
movq %rax, %rbx
movq %r15, %rdi
callq 0x69eb
movzbl %al, %ecx
movq %r12, 0x40(%rsp)
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x36968
movq %r15, %rdi
callq 0x6af7
movq %rax, 0x80(%rsp)
movq %r15, %rdi
callq 0x6af7
movq %rax, %rbx
movq %r15, %rdi
callq 0x66b6
movq %r14, 0x78(%rsp)
movq %rax, %r14
movq %r15, %rdi
callq 0x69eb
movb %al, 0x98(%rsp)
movq %r15, %rdi
callq 0x566d
movq %rax, 0x68(%rsp)
movq %r15, %rdi
callq 0x5697
movl %eax, 0xa0(%rsp)
movzwl 0x20(%r15), %eax
movq %rax, 0x30(%rsp)
movq %r15, 0x70(%rsp)
movzwl 0x22(%r15), %esi
movb 0x1c(%rbx), %bpl
testb %bpl, %bpl
je 0x15366
cmpw $0x0, 0xc(%r14)
setne %r15b
sete %al
addb %al, %bpl
movq 0x30(%rsp), %rax
movw %ax, 0xc0(%rsp)
movq 0x68(%rsp), %rcx
addl %ecx, %eax
movw %ax, 0x50(%rsp)
cmpb %r15b, %bpl
jb 0x15366
movswl 0xa0(%rsp), %eax
movl %eax, 0x28(%rsp)
movzbl 0x98(%rsp), %r13d
movzbl %r15b, %r15d
movswl 0x3e(%r14), %ecx
movl 0x28(%rsp), %eax
subl %ecx, %eax
imull %r15d, %eax
movzbl 0x1c(%rbx), %ecx
incl %ecx
cltd
idivl %ecx
addl %esi, %eax
movw %ax, 0xc2(%rsp)
movw %ax, 0x52(%rsp)
leaq 0xc0(%rsp), %rdi
movq %rbx, %r12
movl %esi, %ebx
leaq 0x50(%rsp), %rsi
movq 0x78(%rsp), %rdx
movq %r14, %rcx
movl %r13d, %r8d
callq 0x3ad34
movl %ebx, %esi
movq %r12, %rbx
incb %r15b
cmpb %bpl, %r15b
jbe 0x1530c
movb 0x1d(%rbx), %r13b
testb %r13b, %r13b
movq 0x30(%rsp), %r12
je 0x15405
cmpw $0x0, 0xc(%r14)
setne %r15b
sete %al
addb %al, %r13b
movw %si, 0xc2(%rsp)
movl 0xa0(%rsp), %eax
addl %esi, %eax
movw %ax, 0x52(%rsp)
cmpb %r15b, %r13b
jb 0x15405
movswl 0x68(%rsp), %eax
movl %eax, 0x28(%rsp)
movzbl 0x98(%rsp), %ebp
movzbl %r15b, %r15d
movswl 0x3e(%r14), %ecx
movl 0x28(%rsp), %eax
subl %ecx, %eax
imull %r15d, %eax
movzbl 0x1d(%rbx), %ecx
incl %ecx
cltd
idivl %ecx
addl %r12d, %eax
movw %ax, 0xc0(%rsp)
movw %ax, 0x50(%rsp)
leaq 0xc0(%rsp), %rdi
leaq 0x50(%rsp), %rsi
movq 0x78(%rsp), %rdx
movq %r14, %rcx
movl %ebp, %r8d
callq 0x3ad34
incb %r15b
cmpb %r13b, %r15b
jbe 0x153b4
leaq 0x110(%rsp), %rbx
movq 0x70(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x542b
leaq 0x8c(%rsp), %rdi
movq 0x78(%rsp), %r14
movq %r14, %rsi
movq %rbx, %rdx
callq 0x28d24
testb %al, %al
movq %r14, %rbx
je 0x15d02
movq 0x80(%rsp), %r14
movb 0x20(%r14), %al
testb $0x1, %al
je 0x15464
leaq 0x8c(%rsp), %rsi
movq %r15, %rdi
callq 0x171ed
movb 0x20(%r14), %al
testb $0x2, %al
je 0x1569b
movq %r15, %rdi
callq 0x6af7
movq %rax, %r13
movq %r15, %rdi
callq 0x566d
movq %r15, %rbx
movl %eax, %ebp
movq %r15, %rdi
callq 0x5697
movl %eax, %r14d
movswl %bp, %eax
movzbl 0x5e(%r13), %edx
incl %edx
movzwl 0x1e(%r13), %ecx
imull %edx, %ecx
movl %eax, 0x30(%rsp)
cltd
idivl %ecx
movl %eax, %r12d
leaq 0x4aa66(%rip), %rsi     # 0x5ff18
leaq 0xc0(%rsp), %r15
movq %r15, %rdi
callq 0x799d
xorl %eax, %eax
movw %ax, 0xc(%r15)
movl $0x0, 0x28(%rsp)
movw %ax, 0x6(%r15)
movb 0x5f(%r13), %al
movb %al, 0x8(%r15)
movzwl 0x26(%rbx), %eax
movw %ax, 0x56(%rsp)
movzwl 0x1e(%r13), %ebp
testw %bp, %bp
je 0x15685
movzwl %r12w, %eax
movl %r14d, %ecx
movq %rax, %r14
shrl $0xf, %eax
addl %r12d, %eax
cwtl
shrl %eax
movl %eax, 0x68(%rsp)
movswl %cx, %r12d
movq 0x40(%rsp), %rax
movzwl (%rax), %r15d
movq %r13, %rdi
callq 0x2a458
testq %rax, %rax
je 0x1566e
movq %rax, %rbx
movl 0x28(%rsp), %eax
imull 0x30(%rsp), %eax
movzwl %bp, %ecx
cltd
idivl %ecx
addl 0x68(%rsp), %r15d
addl %eax, %r15d
movl %r15d, %ecx
xorl %eax, %eax
testb $0x1, 0x5a(%r13)
jne 0x15554
movswl 0xa(%rbx), %eax
movw %cx, 0x50(%rsp)
leal (%rcx,%r14), %r15d
movw %r15w, 0x54(%rsp)
cmpw 0x8c(%rsp), %r15w
jl 0x15657
cmpw 0x90(%rsp), %cx
jg 0x1566e
movzwl 0x8(%rbx), %ecx
movw %cx, 0xc2(%rsp)
movzbl 0x60(%r13), %edx
xorl $0xff, %edx
movl %ecx, %esi
shrl $0x8, %esi
andl $-0x8, %esi
imull %edx, %esi
andl $0xfffff800, %esi       # imm = 0xFFFFF800
movl %ecx, %edi
shrl $0x5, %edi
andl $0x3f, %edi
imull %edx, %edi
shrl $0x3, %edi
andl $-0x20, %edi
andl $0x1f, %ecx
imull %edx, %ecx
movzbl %ch, %ecx
orl %esi, %ecx
orl %edi, %ecx
movw %cx, 0xc4(%rsp)
addl 0x28(%rsp), %eax
movzwl 0x1e(%r13), %ecx
cltd
idivl %ecx
movq (%rbx), %rax
movswq %dx, %rbp
movswl (%rax,%rbp,2), %eax
movswl 0x18(%r13), %ecx
subl %ecx, %eax
imull %r12d, %eax
movswl 0x1a(%r13), %esi
subl %ecx, %esi
cltd
idivl %esi
movl %r12d, %ecx
subl %eax, %ecx
movq 0x70(%rsp), %rax
addw 0x22(%rax), %cx
movw %cx, 0x52(%rsp)
leaq 0x48(%rsp), %rdi
leaq 0x8c(%rsp), %rsi
leaq 0x50(%rsp), %rdx
callq 0x28d24
testb %al, %al
je 0x15657
movq (%rbx), %rax
cmpw $0x83e8, (%rax,%rbp,2)  # imm = 0x83E8
je 0x15657
movq 0x70(%rsp), %rdi
callq 0x69eb
movzbl %al, %ecx
movq 0x40(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0xc0(%rsp), %rdx
callq 0x36968
movq %r13, %rdi
movq %rbx, %rsi
callq 0x2a369
movq %rax, %rbx
testq %rax, %rax
jne 0x15544
movl 0x28(%rsp), %eax
incl %eax
movzwl 0x1e(%r13), %ebp
movl %eax, 0x28(%rsp)
cmpl %ebp, %eax
jb 0x15510
movq 0x80(%rsp), %r14
movb 0x20(%r14), %al
movq 0x78(%rsp), %rbx
movq 0x70(%rsp), %r15
testb $0x4, %al
je 0x15878
movq %r15, %rdi
callq 0x6af7
movq %rax, %r12
movq %r15, %rdi
callq 0x566d
movl %eax, %r13d
movq %r15, %rdi
callq 0x5697
movl %eax, %ebp
movzwl 0x20(%r15), %eax
movl %eax, 0x28(%rsp)
movzwl 0x22(%r15), %eax
movl %eax, 0x40(%rsp)
leaq 0x4a83c(%rip), %rsi     # 0x5ff18
leaq 0xc0(%rsp), %r15
movq %r15, %rdi
callq 0x799d
movw $0x0, 0xc(%r15)
movb 0x5f(%r12), %al
movb %al, 0x8(%r15)
movzwl 0x5c(%r12), %eax
movw %ax, 0x6(%r15)
movq %r12, %rdi
callq 0x2a458
testq %rax, %rax
je 0x15862
movq %rax, %r15
movswl %r13w, %eax
movl %eax, 0x30(%rsp)
movswl %bp, %ebx
xorl %r14d, %r14d
testb $0x1, 0x5a(%r12)
jne 0x15736
movswl 0xa(%r15), %r14d
movzwl 0x8(%r15), %eax
movw %ax, 0xc2(%rsp)
movzbl 0x60(%r12), %ecx
xorl $0xff, %ecx
movl %eax, %edx
shrl $0x8, %edx
andl $-0x8, %edx
imull %ecx, %edx
andl $0xfffff800, %edx       # imm = 0xFFFFF800
movl %eax, %esi
shrl $0x5, %esi
andl $0x3f, %esi
imull %ecx, %esi
shrl $0x3, %esi
andl $-0x20, %esi
andl $0x1f, %eax
imull %ecx, %eax
movzbl %ah, %eax
orl %edx, %eax
orl %esi, %eax
movw %ax, 0xc4(%rsp)
movzwl 0x1e(%r12), %ecx
testw %cx, %cx
je 0x1584b
xorl %ebp, %ebp
xorl %r13d, %r13d
movzwl %cx, %esi
leal -0x1(%rsi), %edi
movl %ebp, %eax
cltd
idivl %edi
addl 0x28(%rsp), %eax
movzwl 0xc6(%rsp), %edi
leal (%rax,%rdi), %edx
movw %dx, 0x54(%rsp)
subl %edi, %eax
movw %ax, 0x50(%rsp)
leal (%r14,%r13), %eax
cltd
idivl %esi
movq (%r15), %r8
movswq %dx, %r9
movswl (%r8,%r9,2), %eax
movswl 0x18(%r12), %edx
subl %edx, %eax
imull %ebx, %eax
movswl 0x1a(%r12), %r10d
subl %edx, %r10d
cltd
idivl %r10d
movl %ebx, %edx
subl %eax, %edx
addl 0x40(%rsp), %edx
leal (%rdx,%rdi), %eax
movw %ax, 0x56(%rsp)
subl %edi, %edx
movw %dx, 0x52(%rsp)
cmpw $0x83e8, (%r8,%r9,2)    # imm = 0x83E8
je 0x1583b
movq 0x70(%rsp), %rdi
callq 0x69eb
movzbl %al, %ecx
leaq 0x50(%rsp), %rdi
leaq 0x8c(%rsp), %rsi
leaq 0xc0(%rsp), %rdx
callq 0x36968
movzwl 0x1e(%r12), %ecx
movzwl %cx, %esi
incl %r13d
addl 0x30(%rsp), %ebp
cmpl %esi, %r13d
jb 0x1579a
movq %r12, %rdi
movq %r15, %rsi
callq 0x2a369
movq %rax, %r15
testq %rax, %rax
jne 0x15726
movq 0x80(%rsp), %r14
movb 0x20(%r14), %al
movq 0x78(%rsp), %rbx
movq 0x70(%rsp), %r15
testb $0x8, %al
je 0x15a80
movq %r15, %rdi
callq 0x6af7
movq %rax, %r12
movq %r15, %rdi
callq 0x566d
movzwl 0x1e(%r12), %ecx
cwtl
movl %ecx, 0x30(%rsp)
cmpl %eax, %ecx
jne 0x15a70
movq %r15, %rdi
callq 0x5697
movl %eax, %ebx
movzwl 0x20(%r15), %eax
movl %eax, 0x28(%rsp)
movzwl 0x22(%r15), %eax
movl %eax, 0x40(%rsp)
movq %r15, %rdi
callq 0x69eb
movb %al, 0x68(%rsp)
leaq 0x4a643(%rip), %rsi     # 0x5ff18
leaq 0xc0(%rsp), %r14
movq %r14, %rdi
callq 0x799d
movb 0x5f(%r12), %al
movb %al, 0x40(%r14)
movzwl 0x5c(%r12), %eax
movw %ax, 0x3e(%r14)
movq %r12, %rdi
callq 0x2a458
testq %rax, %rax
je 0x15a5c
movq %rax, %r15
movswl %bx, %r13d
xorl %ebp, %ebp
testb $0x1, 0x5a(%r12)
jne 0x15920
movswl 0xa(%r15), %ebp
movzwl 0x8(%r15), %eax
movw %ax, 0xfc(%rsp)
movl 0x28(%rsp), %eax
movw %ax, 0x50(%rsp)
movw %ax, 0x48(%rsp)
movq (%r15), %rax
movswl (%rax), %eax
movswl 0x18(%r12), %ecx
subl %ecx, %eax
imull %r13d, %eax
movswl 0x1a(%r12), %esi
subl %ecx, %esi
cltd
idivl %esi
movl %r13d, %r8d
subl %eax, %r8d
addl 0x40(%rsp), %r8d
movw %r8w, 0x4a(%rsp)
movw %r8w, 0x52(%rsp)
movzwl 0x1e(%r12), %esi
testw %si, %si
je 0x15a45
xorl %ebx, %ebx
movl 0x28(%rsp), %ecx
movzwl %si, %edi
leal (%rbx,%rbp), %eax
cltd
idivl %edi
movl %edx, %r14d
movq (%r15), %r10
movswq %r14w, %r11
movswl (%r10,%r11,2), %eax
movswl 0x18(%r12), %edx
subl %edx, %eax
imull %r13d, %eax
movswl 0x1a(%r12), %r9d
subl %edx, %r9d
cltd
idivl %r9d
movl %r13d, %r9d
subl %eax, %r9d
addl 0x40(%rsp), %r9d
movw %r9w, 0x4a(%rsp)
cmpw %r9w, %r8w
jne 0x159d3
incl %ecx
movw %cx, 0x48(%rsp)
addq %r11, %r11
cmpw $0x83e8, (%r10,%r11)    # imm = 0x83E8
je 0x15a13
movzbl 0x68(%rsp), %r8d
leaq 0x50(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0x8c(%rsp), %rdx
leaq 0xc0(%rsp), %rcx
callq 0x3ad34
movzwl 0x1e(%r12), %esi
movzwl 0x4a(%rsp), %r9d
movzwl %si, %edi
movswl %r14w, %eax
imull 0x30(%rsp), %eax
leal -0x1(%rdi), %ecx
cltd
idivl %ecx
movl %eax, %ecx
addl 0x28(%rsp), %ecx
movw %cx, 0x48(%rsp)
movw %cx, 0x50(%rsp)
movw %r9w, 0x52(%rsp)
incl %ebx
movl %r9d, %r8d
cmpl %edi, %ebx
jb 0x15984
movq %r12, %rdi
movq %r15, %rsi
callq 0x2a369
movq %rax, %r15
testq %rax, %rax
jne 0x15911
movq 0x78(%rsp), %rbx
movq 0x70(%rsp), %r15
movq 0x80(%rsp), %r14
jmp 0x15a80
leaq 0x8c(%rsp), %rsi
movq %r15, %rdi
callq 0x171ed
testb $0x10, 0x20(%r14)
je 0x15d02
movq %r15, %rdi
callq 0x6af7
movq %rax, %rbp
movq %r15, %rdi
callq 0x566d
movl %eax, %ebx
movq %r15, %rdi
callq 0x5697
movl %eax, %r14d
movzwl 0x20(%r15), %eax
movl %eax, 0x30(%rsp)
movzwl 0x22(%r15), %eax
movq %rax, 0xb0(%rsp)
movq %r15, %rdi
callq 0x69eb
movb %al, 0x3f(%rsp)
leaq 0x4a444(%rip), %rsi     # 0x5ff18
leaq 0xc0(%rsp), %rdi
callq 0x799d
movq %rbp, %rdi
callq 0x2a458
testq %rax, %rax
je 0x15cf8
movq %rax, %r11
movswl %r14w, %eax
movl %eax, 0x68(%rsp)
movq 0xb0(%rsp), %rax
addl %r14d, %eax
movl %eax, 0xbc(%rsp)
movswl %bx, %eax
movl %eax, 0x80(%rsp)
movq %rbp, 0x108(%rsp)
testb $0x1, 0x5a(%rbp)
jne 0x15b2e
movzwl 0xa(%r11), %esi
jmp 0x15b30
xorl %esi, %esi
movzwl 0x8(%r11), %eax
movw %ax, 0xc2(%rsp)
movb 0x5f(%rbp), %al
movb %al, 0xc8(%rsp)
movzwl 0x1e(%rbp), %eax
movw %ax, 0x40(%rsp)
cmpw $0x2, %ax
jb 0x15ce1
movq (%r11), %rax
movswq %si, %rcx
movswl (%rax,%rcx,2), %eax
movswl 0x18(%rbp), %edx
subl %edx, %eax
imull 0x68(%rsp), %eax
movswl 0x1a(%rbp), %edi
subl %edx, %edi
cltd
idivl %edi
movl 0xbc(%rsp), %r15d
subl %eax, %r15d
movswl %cx, %eax
movq %rax, 0x98(%rsp)
movl $0x1, %r12d
movl 0x80(%rsp), %r13d
movl 0x30(%rsp), %ebx
movq %r11, 0xa0(%rsp)
movl %esi, %r10d
movl %ebx, %r8d
movl %r15d, %r9d
movzwl 0x40(%rsp), %edi
movq 0x98(%rsp), %rax
addl %r12d, %eax
cltd
idivl %edi
leal -0x1(%rdi), %ecx
movl %edx, %esi
movl %r13d, %eax
cltd
idivl %ecx
movq (%r11), %r14
movq %rsi, 0x28(%rsp)
movswq %si, %rcx
movswl (%r14,%rcx,2), %r11d
movswl 0x18(%rbp), %edx
movl %r11d, %ecx
subl %edx, %ecx
movl 0x68(%rsp), %esi
imull %esi, %ecx
movswl 0x1a(%rbp), %r15d
subl %edx, %r15d
movl %eax, %ebx
movl %ecx, %eax
cltd
idivl %r15d
movl %esi, %r15d
subl %eax, %r15d
movswq %r10w, %rax
addl 0x30(%rsp), %ebx
addl 0xb0(%rsp), %r15d
cmpw $0x83e8, (%r14,%rax,2)  # imm = 0x83E8
je 0x15cc0
movzwl %r11w, %eax
cmpl $0x83e8, %eax           # imm = 0x83E8
je 0x15cc0
movw %r8w, 0x50(%rsp)
movw %r9w, 0x52(%rsp)
movw %bx, 0x54(%rsp)
movw %r15w, 0x56(%rsp)
movw %r8w, 0x58(%rsp)
movq 0x70(%rsp), %rbp
movzwl 0x26(%rbp), %eax
movw %ax, 0x5a(%rsp)
movzbl 0x3f(%rsp), %r14d
leaq 0x50(%rsp), %rdi
leaq 0x8c(%rsp), %rsi
leaq 0xc0(%rsp), %rdx
movl %r14d, %ecx
callq 0x3d1e0
movw %bx, 0x58(%rsp)
movzwl 0x26(%rbp), %eax
movq 0x108(%rsp), %rbp
movw %ax, 0x52(%rsp)
leaq 0x50(%rsp), %rdi
leaq 0x8c(%rsp), %rsi
leaq 0xc0(%rsp), %rdx
movl %r14d, %ecx
callq 0x3d1e0
movzwl 0x1e(%rbp), %eax
movw %ax, 0x40(%rsp)
movzwl %ax, %edi
incl %r12d
addl 0x80(%rsp), %r13d
cmpl %edi, %r12d
movq 0xa0(%rsp), %r11
movq 0x28(%rsp), %rsi
jb 0x15ba9
movq %rbp, %rdi
movq %r11, %rsi
callq 0x2a369
movq %rax, %r11
testq %rax, %rax
jne 0x15b21
movq 0x78(%rsp), %rbx
movq 0x70(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x173d3
movq %r15, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x173d3
movq %r15, %rdi
callq 0x6af7
cmpq $0x0, 0x38(%rax)
jne 0x15d38
cmpb $0x0, 0x41(%rax)
je 0x15ffe
movq %rax, 0x28(%rsp)
movq %r15, %rdi
callq 0x66b6
movq %rax, %r12
movq %r15, %rdi
callq 0x69eb
movl %eax, %ebx
movzwl 0x20(%r15), %eax
movl %eax, 0x68(%rsp)
movzwl 0x22(%r15), %r13d
movq %r15, %rdi
callq 0x5697
movl %eax, %ebp
movq %r15, %rdi
callq 0x566d
movq 0x28(%rsp), %rdi
movzbl 0x42(%rdi), %ecx
movswl %ax, %edx
movl %edx, 0x80(%rsp)
imull $0xffff8889, %edx, %edx # imm = 0xFFFF8889
shrl $0x10, %edx
addl %eax, %edx
movzwl %dx, %edx
movl %edx, %eax
shrl $0xf, %eax
shrl $0x3, %edx
addl %eax, %edx
cmpb $-0x1, %cl
cmovnel %ecx, %edx
movl %edx, 0x30(%rsp)
movb 0x43(%rdi), %al
movl %eax, 0x98(%rsp)
cmpb $-0x1, %al
jne 0x15dca
movzbl 0x30(%rsp), %eax
imull $0xaaac, %eax, %eax     # imm = 0xAAAC
shrl $0x10, %eax
movl %eax, 0x98(%rsp)
movq 0x38(%rdi), %rax
xorl %ecx, %ecx
xorl %edx, %edx
movzbl %dl, %esi
movzbl (%rax,%rsi), %esi
cmpl $0xa, %esi
je 0x15de4
testl %esi, %esi
jne 0x15de6
jmp 0x15dea
incb %cl
incb %dl
jmp 0x15dd2
leal 0x1(%rcx), %r14d
movzbl %r14b, %edx
movq %rax, 0xc0(%rsp)
movq %rax, 0xc8(%rsp)
movq %rdx, 0xd0(%rsp)
movb 0x41(%rdi), %al
testb %al, %al
jne 0x15e17
movb $0x1, 0x41(%rdi)
movb $0x1, %al
cmpb $0x2, %r14b
movzbl %cl, %ecx
movl $0x1, %edx
cmovael %ecx, %edx
mulb %dl
movb %al, 0xa0(%rsp)
movzbl %al, %r15d
addl %r13d, %ebp
xorl %ecx, %ecx
movzbl %bl, %eax
movl %eax, 0x40(%rsp)
leaq 0xac(%rsp), %rbx
xorl %r13d, %r13d
movl %r14d, 0xb0(%rsp)
movw %bp, 0xae(%rsp)
testb %r14b, %r14b
je 0x15e7a
movl 0x30(%rsp), %eax
testb %r13b, %r13b
je 0x15e81
movzbl %r13b, %eax
divb 0x41(%rdi)
movzbl %ah, %edx
movl 0x30(%rsp), %eax
testb %dl, %dl
je 0x15e81
movl 0x98(%rsp), %eax
movzbl %al, %eax
addl %ebp, %eax
movw %ax, 0x96(%rsp)
movswl 0x3e(%r12), %edx
movl 0x80(%rsp), %eax
subl %edx, %eax
imull %ecx, %eax
cltd
idivl %r15d
addl 0x68(%rsp), %eax
movw %ax, 0xac(%rsp)
movw %ax, 0x94(%rsp)
cmpb %r13b, %r15b
jne 0x15ec3
testb $0x1, 0x40(%rdi)
je 0x15ee5
movq %rbx, %rdi
leaq 0x94(%rsp), %rsi
movq 0x78(%rsp), %rdx
movq %r12, %rcx
movl 0x40(%rsp), %r8d
callq 0x3ad34
movq 0x28(%rsp), %rdi
testb %r14b, %r14b
je 0x15fea
testb %r13b, %r13b
je 0x15f05
movzbl %r13b, %eax
divb 0x41(%rdi)
movzbl %ah, %eax
testb %al, %al
jne 0x15fea
leaq 0xc0(%rsp), %rdi
movl %ebp, %r14d
movq %rbx, %rbp
leaq 0x50(%rsp), %rbx
movq %rbx, %rsi
callq 0x17756
movq 0x28(%r12), %rdx
movswl 0x30(%r12), %ecx
movswl 0x32(%r12), %r8d
movl $0x4, (%rsp)
leaq 0xa8(%rsp), %rdi
movq %rbx, %rsi
movl $0x7c18, %r9d           # imm = 0x7C18
callq 0x2acd4
movzwl 0x94(%rsp), %eax
movzwl 0xa8(%rsp), %ecx
movl %ecx, %edx
shrl $0xf, %edx
addl %ecx, %edx
movswl %dx, %ecx
sarl %ecx
movl %eax, %edx
subl %ecx, %edx
movw %dx, 0x48(%rsp)
movzwl 0x96(%rsp), %edx
addl $0x4, %edx
movw %dx, 0x4a(%rsp)
addl %eax, %ecx
movw %cx, 0x4c(%rsp)
addw 0xaa(%rsp), %dx
movw %dx, 0x4e(%rsp)
movq 0x70(%rsp), %rdi
callq 0x4ab2
movzbl %al, %eax
movl %eax, 0x18(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
leaq 0x48(%rsp), %rdi
movq 0x78(%rsp), %rsi
movq %r12, %rdx
movl 0x40(%rsp), %ecx
movq %rbx, %r8
movq %rbp, %rbx
movl %r14d, %ebp
movl 0xb0(%rsp), %r14d
movl $0x4, %r9d
callq 0x3a5ac
movq 0x28(%rsp), %rdi
incb %r13b
movzbl %r13b, %ecx
cmpb %cl, 0xa0(%rsp)
jae 0x15e52
movb $0x1, %al
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq