// File: /workspace/github_c_makefile_star2_O1/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 $0x108, %rsp            # imm = 0x108
movq %rsi, %r14
movq %rdi, %r15
testl %edx, %edx
je 0x15284
cmpl $0x2, %edx
jne 0x15ff9
movq 0x4b118(%rip), %rax     # 0x60380
movzbl %dl, %edx
movq %r15, %rdi
movq %r14, %rsi
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
leaq 0x20(%r15), %r12
movq %r15, %rdi
callq 0x6697
movq %rax, %rbx
movq %r15, %rdi
callq 0x69cc
movzbl %al, %ecx
movq %r12, 0x30(%rsp)
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x365ac
movq %r15, %rdi
callq 0x6ad8
movq %rax, 0x90(%rsp)
movq %r15, %rdi
callq 0x6ad8
movq %rax, %rbx
movq %r15, %rdi
callq 0x6697
movq %r14, 0x78(%rsp)
movq %rax, %r14
movq %r15, %rdi
callq 0x69cc
movb %al, 0x68(%rsp)
movq %r15, %rdi
callq 0x5651
movq %rax, 0x60(%rsp)
movq %r15, %rdi
callq 0x567b
movl %eax, 0x98(%rsp)
movzwl 0x20(%r15), %eax
movq %rax, 0x28(%rsp)
movq %r15, 0x70(%rsp)
movzwl 0x22(%r15), %esi
movb 0x1c(%rbx), %bpl
testb %bpl, %bpl
je 0x153bf
cmpw $0x0, 0xc(%r14)
setne %r15b
sete %al
addb %al, %bpl
movq 0x28(%rsp), %rax
movw %ax, 0xb0(%rsp)
movq 0x60(%rsp), %rcx
addl %ecx, %eax
movw %ax, 0x40(%rsp)
cmpb %r15b, %bpl
jb 0x153bf
movswl 0x98(%rsp), %eax
movl %eax, 0x20(%rsp)
movzbl 0x68(%rsp), %r13d
movzbl %r15b, %r15d
movswl 0x3e(%r14), %ecx
movl 0x20(%rsp), %eax
subl %ecx, %eax
imull %r15d, %eax
movzbl 0x1c(%rbx), %ecx
incl %ecx
cltd
idivl %ecx
addl %esi, %eax
movw %ax, 0xb2(%rsp)
movw %ax, 0x42(%rsp)
leaq 0xb0(%rsp), %rdi
movq %rbx, %r12
movl %esi, %ebx
leaq 0x40(%rsp), %rsi
movq 0x78(%rsp), %rdx
movq %r14, %rcx
movl %r13d, %r8d
callq 0x3a7b0
movl %ebx, %esi
movq %r12, %rbx
incb %r15b
cmpb %bpl, %r15b
jbe 0x15365
movb 0x1d(%rbx), %r13b
testb %r13b, %r13b
movq 0x28(%rsp), %r12
je 0x1545b
cmpw $0x0, 0xc(%r14)
setne %r15b
sete %al
addb %al, %r13b
movw %si, 0xb2(%rsp)
movl 0x98(%rsp), %eax
addl %esi, %eax
movw %ax, 0x42(%rsp)
cmpb %r15b, %r13b
jb 0x1545b
movswl 0x60(%rsp), %eax
movl %eax, 0x20(%rsp)
movzbl 0x68(%rsp), %ebp
movzbl %r15b, %r15d
movswl 0x3e(%r14), %ecx
movl 0x20(%rsp), %eax
subl %ecx, %eax
imull %r15d, %eax
movzbl 0x1d(%rbx), %ecx
incl %ecx
cltd
idivl %ecx
addl %r12d, %eax
movw %ax, 0xb0(%rsp)
movw %ax, 0x40(%rsp)
leaq 0xb0(%rsp), %rdi
leaq 0x40(%rsp), %rsi
movq 0x78(%rsp), %rdx
movq %r14, %rcx
movl %ebp, %r8d
callq 0x3a7b0
incb %r15b
cmpb %r13b, %r15b
jbe 0x1540a
leaq 0x100(%rsp), %rbx
movq 0x70(%rsp), %rbp
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x5427
leaq 0x84(%rsp), %rdi
movq 0x78(%rsp), %r14
movq %r14, %rsi
movq %rbx, %rdx
callq 0x2865e
testb %al, %al
movq %r14, %rbx
je 0x15d0b
movq 0x90(%rsp), %r14
testb $0x1, 0x20(%r14)
je 0x154b5
leaq 0x84(%rsp), %rsi
movq %rbp, %rdi
callq 0x16cb4
testb $0x2, 0x20(%r14)
je 0x156da
movq %rbp, %rdi
callq 0x6ad8
movq %rax, %r13
movq %rbp, %rdi
callq 0x5651
movq %rbp, %r15
movl %eax, %ebp
movq %r15, %rdi
callq 0x567b
movl %eax, %ebx
movswl %bp, %eax
movzbl 0x5e(%r13), %edx
incl %edx
movzwl 0x1e(%r13), %ecx
imull %edx, %ecx
movl %eax, 0x28(%rsp)
cltd
idivl %ecx
movq %rax, 0x20(%rsp)
leaq 0x4aa11(%rip), %rsi     # 0x5ff18
leaq 0xb0(%rsp), %r14
movq %r14, %rdi
callq 0x798d
xorl %r12d, %r12d
movw %r12w, 0xc(%r14)
movw %r12w, 0x6(%r14)
movb 0x5f(%r13), %al
movb %al, 0x8(%r14)
movzwl 0x26(%r15), %eax
movw %ax, 0x46(%rsp)
movzwl 0x1e(%r13), %r15d
testw %r15w, %r15w
je 0x156c8
movq 0x20(%rsp), %rax
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
movl %ecx, 0x60(%rsp)
movswl %bx, %ebx
movq 0x30(%rsp), %rax
movzwl (%rax), %ebp
movq %r13, %rdi
callq 0x29e0b
testq %rax, %rax
je 0x156b7
movq %rax, %r14
movl %r12d, %eax
imull 0x28(%rsp), %eax
movzwl %r15w, %ecx
cltd
idivl %ecx
addl 0x60(%rsp), %ebp
addl %eax, %ebp
movl %ebp, %ecx
xorl %eax, %eax
testb $0x1, 0x5a(%r13)
jne 0x1559b
movswl 0xa(%r14), %eax
movw %cx, 0x40(%rsp)
movq 0x20(%rsp), %rdx
leal (%rcx,%rdx), %ebp
movw %bp, 0x44(%rsp)
cmpw 0x84(%rsp), %bp
jl 0x156a0
cmpw 0x88(%rsp), %cx
jg 0x156b7
movzwl 0x8(%r14), %ecx
movw %cx, 0xb2(%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, 0xb4(%rsp)
addl %r12d, %eax
movzwl 0x1e(%r13), %ecx
cltd
idivl %ecx
movq (%r14), %rax
movswq %dx, %r15
movswl (%rax,%r15,2), %eax
movswl 0x18(%r13), %ecx
subl %ecx, %eax
imull %ebx, %eax
movswl 0x1a(%r13), %esi
subl %ecx, %esi
cltd
idivl %esi
movl %ebx, %ecx
subl %eax, %ecx
movq 0x70(%rsp), %rax
addw 0x22(%rax), %cx
movw %cx, 0x42(%rsp)
leaq 0x38(%rsp), %rdi
leaq 0x84(%rsp), %rsi
leaq 0x40(%rsp), %rdx
callq 0x2865e
testb %al, %al
je 0x156a0
movq (%r14), %rax
cmpw $0x83e8, (%rax,%r15,2)  # imm = 0x83E8
je 0x156a0
movq 0x70(%rsp), %rdi
callq 0x69cc
movzbl %al, %ecx
movq 0x30(%rsp), %rdi
leaq 0x38(%rsp), %rsi
leaq 0xb0(%rsp), %rdx
callq 0x365ac
movq %r13, %rdi
movq %r14, %rsi
callq 0x29cdb
movq %rax, %r14
testq %rax, %rax
jne 0x1558b
incl %r12d
movzwl 0x1e(%r13), %r15d
cmpl %r15d, %r12d
jb 0x1555a
movq 0x78(%rsp), %rbx
movq 0x70(%rsp), %rbp
movq 0x90(%rsp), %r14
testb $0x4, 0x20(%r14)
je 0x158af
movq %rbp, %rdi
callq 0x6ad8
movq %rax, %r15
movq %rbp, %rdi
callq 0x5651
movl %eax, %r13d
movq %rbp, %rdi
callq 0x567b
movq %rbp, %rcx
movl %eax, %ebp
movzwl 0x20(%rcx), %eax
movl %eax, 0x20(%rsp)
movzwl 0x22(%rcx), %eax
movl %eax, 0x30(%rsp)
leaq 0x4a7f9(%rip), %rsi     # 0x5ff18
leaq 0xb0(%rsp), %rbx
movq %rbx, %rdi
callq 0x798d
movw $0x0, 0xc(%rbx)
movw $0x7c18, 0x6(%rbx)      # imm = 0x7C18
movb 0x5f(%r15), %al
movb %al, 0x8(%rbx)
movzwl 0x5c(%r15), %eax
movw %ax, 0x6(%rbx)
movq %r15, %rdi
callq 0x29e0b
testq %rax, %rax
je 0x1589d
movq %rax, %rbx
movswl %r13w, %eax
movl %eax, 0x28(%rsp)
movswl %bp, %r14d
xorl %r12d, %r12d
testb $0x1, 0x5a(%r15)
jne 0x1577a
movswl 0xa(%rbx), %r12d
movzwl 0x8(%rbx), %eax
movw %ax, 0xb2(%rsp)
movzbl 0x60(%r15), %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, 0xb4(%rsp)
movzwl 0x1e(%r15), %eax
testw %ax, %ax
je 0x15886
xorl %ebp, %ebp
xorl %r13d, %r13d
movzwl %ax, %esi
leal -0x1(%rsi), %ecx
movl %ebp, %eax
cltd
idivl %ecx
addl 0x20(%rsp), %eax
movzwl 0xb6(%rsp), %ecx
leal (%rax,%rcx), %edx
movw %dx, 0x44(%rsp)
subl %ecx, %eax
movw %ax, 0x40(%rsp)
leal (%r12,%r13), %eax
cltd
idivl %esi
movq (%rbx), %rsi
movswq %dx, %rdi
movswl (%rsi,%rdi,2), %eax
movswl 0x18(%r15), %edx
subl %edx, %eax
imull %r14d, %eax
movswl 0x1a(%r15), %r8d
subl %edx, %r8d
cltd
idivl %r8d
movl %r14d, %edx
subl %eax, %edx
addl 0x30(%rsp), %edx
leal (%rdx,%rcx), %eax
movw %ax, 0x46(%rsp)
subl %ecx, %edx
movw %dx, 0x42(%rsp)
cmpw $0x83e8, (%rsi,%rdi,2)  # imm = 0x83E8
je 0x15871
movq 0x70(%rsp), %rdi
callq 0x69cc
movzbl %al, %ecx
leaq 0x40(%rsp), %rdi
leaq 0x84(%rsp), %rsi
leaq 0xb0(%rsp), %rdx
callq 0x365ac
incl %r13d
movzwl 0x1e(%r15), %eax
addl 0x28(%rsp), %ebp
cmpl %eax, %r13d
jb 0x157db
movq %r15, %rdi
movq %rbx, %rsi
callq 0x29cdb
movq %rax, %rbx
testq %rax, %rax
jne 0x1576b
movq 0x78(%rsp), %rbx
movq 0x70(%rsp), %rbp
movq 0x90(%rsp), %r14
testb $0x8, 0x20(%r14)
je 0x15a9b
movq %rbp, %rdi
callq 0x6ad8
movq %rax, %r15
movq %rbp, %rdi
callq 0x5651
movzwl 0x1e(%r15), %ecx
cwtl
movl %eax, 0x28(%rsp)
cmpl %eax, %ecx
jne 0x15a8b
movq %rbp, %rdi
callq 0x567b
movl %eax, %r14d
movzwl 0x20(%rbp), %eax
movl %eax, 0x20(%rsp)
movzwl 0x22(%rbp), %eax
movl %eax, 0x30(%rsp)
movq %rbp, %rdi
callq 0x69cc
movl %eax, %r12d
leaq 0x4a60c(%rip), %rsi     # 0x5ff18
leaq 0xb0(%rsp), %rbx
movq %rbx, %rdi
callq 0x798d
movb 0x5f(%r15), %al
movb %al, 0x40(%rbx)
movzwl 0x5c(%r15), %eax
movw %ax, 0x3e(%rbx)
movq %r15, %rdi
callq 0x29e0b
testq %rax, %rax
je 0x15a77
movq %rax, %rbx
movswl %r14w, %r13d
movzbl %r12b, %eax
movl %eax, 0x60(%rsp)
xorl %ebp, %ebp
testb $0x1, 0x5a(%r15)
jne 0x15959
movswl 0xa(%rbx), %ebp
movzwl 0x8(%rbx), %eax
movw %ax, 0xec(%rsp)
movl 0x20(%rsp), %eax
movw %ax, 0x40(%rsp)
movw %ax, 0x38(%rsp)
movq (%rbx), %rax
movswl (%rax), %eax
movswl 0x18(%r15), %ecx
subl %ecx, %eax
imull %r13d, %eax
movswl 0x1a(%r15), %esi
subl %ecx, %esi
cltd
idivl %esi
movl %r13d, %ecx
subl %eax, %ecx
addl 0x30(%rsp), %ecx
movw %cx, 0x3a(%rsp)
movw %cx, 0x42(%rsp)
movzwl 0x1e(%r15), %ecx
testw %cx, %cx
je 0x15a60
xorl %r14d, %r14d
movzwl %cx, %ecx
leal (%r14,%rbp), %eax
cltd
idivl %ecx
movl %edx, %r12d
movq (%rbx), %rcx
movswq %r12w, %rsi
movswl (%rcx,%rsi,2), %eax
movswl 0x18(%r15), %edx
subl %edx, %eax
imull %r13d, %eax
movswl 0x1a(%r15), %edi
subl %edx, %edi
cltd
idivl %edi
movl %r13d, %edx
subl %eax, %edx
addl 0x30(%rsp), %edx
movw %dx, 0x3a(%rsp)
cmpw %dx, 0x42(%rsp)
jne 0x159f9
incw 0x38(%rsp)
addq %rsi, %rsi
cmpw $0x83e8, (%rcx,%rsi)    # imm = 0x83E8
je 0x15a28
leaq 0x40(%rsp), %rdi
leaq 0x38(%rsp), %rsi
leaq 0x84(%rsp), %rdx
leaq 0xb0(%rsp), %rcx
movl 0x60(%rsp), %r8d
callq 0x3a7b0
movswl %r12w, %eax
imull 0x28(%rsp), %eax
movzwl 0x1e(%r15), %ecx
leal -0x1(%rcx), %esi
cltd
idivl %esi
addl 0x20(%rsp), %eax
movw %ax, 0x38(%rsp)
movw %ax, 0x40(%rsp)
movzwl 0x3a(%rsp), %eax
movw %ax, 0x42(%rsp)
incl %r14d
cmpl %ecx, %r14d
jb 0x159b2
movq %r15, %rdi
movq %rbx, %rsi
callq 0x29cdb
movq %rax, %rbx
testq %rax, %rax
jne 0x1594c
movq 0x78(%rsp), %rbx
movq 0x70(%rsp), %rbp
movq 0x90(%rsp), %r14
jmp 0x15a9b
leaq 0x84(%rsp), %rsi
movq %rbp, %rdi
callq 0x16cb4
testb $0x10, 0x20(%r14)
je 0x15d0b
movq %rbp, %rdi
callq 0x6ad8
movq %rax, %r15
movq %rbp, %rdi
callq 0x5651
movl %eax, %ebx
movq %rbp, %rdi
callq 0x567b
movl %eax, %r14d
movzwl 0x20(%rbp), %eax
movl %eax, 0x30(%rsp)
movzwl 0x22(%rbp), %eax
movq %rax, 0x98(%rsp)
movq %rbp, %rdi
movq %r15, %rbp
callq 0x69cc
movb %al, 0xa0(%rsp)
leaq 0x4a425(%rip), %rsi     # 0x5ff18
leaq 0xb0(%rsp), %rdi
callq 0x798d
movq %r15, %rdi
callq 0x29e0b
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x15d01
movswl %r14w, %eax
movl %eax, 0x28(%rsp)
movq 0x98(%rsp), %rax
addl %r14d, %eax
movl %eax, 0xac(%rsp)
movswl %bx, %eax
movl %eax, 0x60(%rsp)
movq %rbp, 0xf8(%rsp)
testb $0x1, 0x5a(%rbp)
jne 0x15b51
movq 0x68(%rsp), %r14
movzwl 0xa(%r14), %r8d
jmp 0x15b59
xorl %r8d, %r8d
movq 0x68(%rsp), %r14
movzwl 0x8(%r14), %eax
movw %ax, 0xb2(%rsp)
movb 0x5f(%rbp), %al
movb %al, 0xb8(%rsp)
movzwl 0x1e(%rbp), %ecx
cmpw $0x2, %cx
jb 0x15ce8
movq (%r14), %rax
movswq %r8w, %rsi
movswl (%rax,%rsi,2), %eax
movswl 0x18(%rbp), %edx
subl %edx, %eax
imull 0x28(%rsp), %eax
movswl 0x1a(%rbp), %edi
subl %edx, %edi
cltd
idivl %edi
movl 0xac(%rsp), %r15d
subl %eax, %r15d
movswl %si, %eax
movq %rax, 0x90(%rsp)
movl $0x1, %r12d
movl 0x60(%rsp), %ebx
movl 0x30(%rsp), %r13d
movl %r13d, %esi
movl %r15d, %edi
movzwl %cx, %ecx
movq 0x90(%rsp), %rax
addl %r12d, %eax
cltd
idivl %ecx
decl %ecx
movl %edx, %r9d
movl %ebx, %eax
cltd
idivl %ecx
movq (%r14), %r10
movq %r9, 0x20(%rsp)
movswq %r9w, %rcx
movswl (%r10,%rcx,2), %r9d
movswl 0x18(%rbp), %edx
movl %r9d, %ecx
subl %edx, %ecx
movl 0x28(%rsp), %r15d
imull %r15d, %ecx
movswl 0x1a(%rbp), %r11d
subl %edx, %r11d
movl %eax, %r13d
movl %ecx, %eax
cltd
idivl %r11d
subl %eax, %r15d
movswq %r8w, %rax
addl 0x30(%rsp), %r13d
addl 0x98(%rsp), %r15d
cmpw $0x83e8, (%r10,%rax,2)  # imm = 0x83E8
je 0x15ccf
movzwl %r9w, %eax
cmpl $0x83e8, %eax           # imm = 0x83E8
je 0x15ccf
movw %si, 0x40(%rsp)
movw %di, 0x42(%rsp)
movw %r13w, 0x44(%rsp)
movw %r15w, 0x46(%rsp)
movw %si, 0x48(%rsp)
movq 0x70(%rsp), %rbp
movzwl 0x26(%rbp), %eax
movw %ax, 0x4a(%rsp)
movzbl 0xa0(%rsp), %r14d
leaq 0x40(%rsp), %rdi
leaq 0x84(%rsp), %rsi
leaq 0xb0(%rsp), %rdx
movl %r14d, %ecx
callq 0x3ce18
movw %r13w, 0x48(%rsp)
movzwl 0x26(%rbp), %eax
movq 0xf8(%rsp), %rbp
movw %ax, 0x42(%rsp)
leaq 0x40(%rsp), %rdi
leaq 0x84(%rsp), %rsi
leaq 0xb0(%rsp), %rdx
movl %r14d, %ecx
movq 0x68(%rsp), %r14
callq 0x3ce18
incl %r12d
movzwl 0x1e(%rbp), %ecx
addl 0x60(%rsp), %ebx
cmpl %ecx, %r12d
movq 0x20(%rsp), %r8
jb 0x15bc2
movq %rbp, %rdi
movq %r14, %rsi
callq 0x29cdb
movq %rax, 0x68(%rsp)
testq %rax, %rax
jne 0x15b3f
movq 0x78(%rsp), %rbx
movq 0x70(%rsp), %rbp
movq %rbp, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x16ea2
movq %rbp, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x16ea2
movq %rbp, %rdi
callq 0x6ad8
cmpq $0x0, 0x38(%rax)
jne 0x15d41
cmpb $0x0, 0x41(%rax)
je 0x15ff9
movq %rax, 0x20(%rsp)
movq %rbp, %rdi
callq 0x6697
movq %rax, %r12
movq %rbp, %rdi
callq 0x69cc
movl %eax, %r14d
movzwl 0x20(%rbp), %eax
movl %eax, 0x60(%rsp)
movzwl 0x22(%rbp), %ebx
movq %rbp, %rdi
callq 0x567b
movq %rbp, %rdi
movl %eax, %ebp
callq 0x5651
movq 0x20(%rsp), %rdi
movzbl 0x42(%rdi), %ecx
movswl %ax, %edx
movl %edx, 0x90(%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, 0x28(%rsp)
movb 0x43(%rdi), %al
movl %eax, 0x68(%rsp)
cmpb $-0x1, %al
jne 0x15dcc
movzbl 0x28(%rsp), %eax
imull $0xaaac, %eax, %eax     # imm = 0xAAAC
shrl $0x10, %eax
movl %eax, 0x68(%rsp)
movq 0x38(%rdi), %rax
xorl %edx, %edx
xorl %ecx, %ecx
movzbl %cl, %esi
movzbl (%rax,%rsi), %esi
cmpl $0xa, %esi
je 0x15de6
testl %esi, %esi
jne 0x15de8
jmp 0x15dec
incb %dl
incb %cl
jmp 0x15dd4
leal 0x1(%rdx), %r13d
movq %rax, 0xb0(%rsp)
movq %rax, 0xb8(%rsp)
movb %r13b, 0xc0(%rsp)
xorl %ecx, %ecx
movl %ecx, 0xc1(%rsp)
movl %ecx, 0xc4(%rsp)
cmpb $0x0, 0x41(%rdi)
jne 0x15e22
movb $0x1, 0x41(%rdi)
cmpb $0x2, %r13b
movb 0x41(%rdi), %al
movzbl %dl, %edx
movl $0x1, %esi
cmovael %edx, %esi
mulb %sil
movb %al, 0x98(%rsp)
movzbl %al, %r15d
addl %ebx, %ebp
movzbl %r14b, %eax
movl %eax, 0x30(%rsp)
leaq 0xa8(%rsp), %r14
xorl %ebx, %ebx
movl %ebp, 0xa0(%rsp)
movw %bp, 0xaa(%rsp)
testb %r13b, %r13b
je 0x15e83
movl 0x28(%rsp), %eax
testb %bl, %bl
je 0x15e87
movzbl %bl, %eax
divb 0x41(%rdi)
movzbl %ah, %edx
movl 0x28(%rsp), %eax
testb %dl, %dl
je 0x15e87
movl 0x68(%rsp), %eax
movzbl %al, %eax
addl %ebp, %eax
movw %ax, 0x8e(%rsp)
movswl 0x3e(%r12), %edx
movl 0x90(%rsp), %eax
subl %edx, %eax
imull %ecx, %eax
cltd
idivl %r15d
addl 0x60(%rsp), %eax
movw %ax, 0xa8(%rsp)
movw %ax, 0x8c(%rsp)
cmpb %bl, %r15b
jne 0x15ec9
testb $0x1, 0x40(%rdi)
je 0x15eeb
movq %r14, %rdi
leaq 0x8c(%rsp), %rsi
movq 0x78(%rsp), %rdx
movq %r12, %rcx
movl 0x30(%rsp), %r8d
callq 0x3a7b0
movq 0x20(%rsp), %rdi
testb %r13b, %r13b
je 0x15fe7
testb %bl, %bl
je 0x15f09
movzbl %bl, %eax
divb 0x41(%rdi)
movzbl %ah, %eax
testb %al, %al
jne 0x15fe7
leaq 0xb0(%rsp), %rdi
movq %r14, %rbp
leaq 0x40(%rsp), %r14
movq %r14, %rsi
callq 0x17249
movq 0x28(%r12), %rdx
movswl 0x30(%r12), %ecx
movswl 0x32(%r12), %r8d
movl $0x4, (%rsp)
leaq 0xa4(%rsp), %rdi
movq %r14, %rsi
movl $0x7c18, %r9d           # imm = 0x7C18
callq 0x2a643
movzwl 0x8c(%rsp), %eax
movzwl 0xa4(%rsp), %ecx
movl %ecx, %edx
shrl $0xf, %edx
addl %ecx, %edx
movswl %dx, %ecx
sarl %ecx
movl %eax, %edx
subl %ecx, %edx
movw %dx, 0x38(%rsp)
movzwl 0x8e(%rsp), %edx
addl $0x4, %edx
movw %dx, 0x3a(%rsp)
addl %eax, %ecx
movw %cx, 0x3c(%rsp)
addw 0xa6(%rsp), %dx
movw %dx, 0x3e(%rsp)
movq 0x70(%rsp), %rdi
callq 0x4abc
movzbl %al, %eax
movl %eax, 0x18(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
leaq 0x38(%rsp), %rdi
movq 0x78(%rsp), %rsi
movq %r12, %rdx
movl 0x30(%rsp), %ecx
movq %r14, %r8
movq %rbp, %r14
movl 0xa0(%rsp), %ebp
movl $0x4, %r9d
callq 0x3a034
movq 0x20(%rsp), %rdi
incb %bl
movzbl %bl, %ecx
cmpb %cl, 0x98(%rsp)
jae 0x15e5d
movb $0x1, %al
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq