LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_group.c
// Function: lv_group_mod_style
lv_style_t * lv_group_mod_style(lv_group_t * group, const lv_style_t * style)
{
    /*Load the current style. It will be modified by the callback*/
    lv_style_copy(&group->style_tmp, style);

    if(group->editing) {
        if(group->style_mod_edit_cb) group->style_mod_edit_cb(group, &group->style_tmp);
    } else {
        if(group->style_mod_cb) group->style_mod_cb(group, &group->style_tmp);
    }
    return &group->style_tmp;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
leaq 0x38(%rdi), %rbx
movq %rbx, %rdi
callq 0x74d4
testb $0x2, 0x80(%r14)
jne 0x2a67
movq 0x20(%r14), %rax
jmp 0x2a6b
movq 0x28(%r14), %rax
testq %rax, %rax
je 0x2a78
movq %r14, %rdi
movq %rbx, %rsi
callq *%rax
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_group.c
// Function: lv_group_report_style_mod
void lv_group_report_style_mod(lv_group_t * group)
{
    lv_theme_t * th = lv_theme_get_current();

    if(group != NULL) {
        refresh_theme(group, th);
        return;
    }

    lv_group_t * i;
    LV_LL_READ(LV_GC_ROOT(_lv_group_ll), i)
    {
        refresh_theme(i, th);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
callq 0x2be75
movq %rax, %rbx
testq %r14, %r14
je 0x2b0a
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x2401
leaq 0x63a5f(%rip), %r14     # 0x66570
movq %r14, %rdi
callq 0x27db9
movq %rax, %r15
testq %rax, %rax
je 0x2b39
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2401
movq %r14, %rdi
movq %r15, %rsi
callq 0x27e93
jmp 0x2b19
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_group.c
// Function: style_mod_def
static void style_mod_def(lv_group_t * group, lv_style_t * style)
{
    (void)group; /*Unused*/
#if LV_COLOR_DEPTH != 1

    /*Make the style to be a little bit orange*/
    style->body.border.opa   = LV_OPA_COVER;
    style->body.border.color = LV_COLOR_ORANGE;

    /*If not transparent or has border then emphasis the border*/
    if(style->body.opa != LV_OPA_TRANSP || style->body.border.width != 0) style->body.border.width = LV_DPI / 20;

    style->body.main_color   = lv_color_mix(style->body.main_color, LV_COLOR_ORANGE, LV_OPA_70);
    style->body.grad_color   = lv_color_mix(style->body.grad_color, LV_COLOR_ORANGE, LV_OPA_70);
    style->body.shadow.color = lv_color_mix(style->body.shadow.color, LV_COLOR_ORANGE, LV_OPA_60);

    style->text.color = lv_color_mix(style->text.color, LV_COLOR_ORANGE, LV_OPA_70);

    /*Add some recolor to the images*/
    if(style->image.intense < LV_OPA_MIN) {
        style->image.color   = LV_COLOR_ORANGE;
        style->image.intense = LV_OPA_40;
    }
#else
    style->body.border.opa   = LV_OPA_COVER;
    style->body.border.color = LV_COLOR_BLACK;
    style->body.border.width = 2;

#endif
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
movb $-0x1, 0xf(%rsi)
movw $0xfd20, 0xa(%rsi)      # imm = 0xFD20
cmpb $0x0, 0x8(%rsi)
jne 0x2b5a
cmpw $0x0, 0xc(%rbx)
je 0x2b60
movw $0x5, 0xc(%rbx)
movzwl 0x2(%rbx), %edi
movl $0xfd20, %esi           # imm = 0xFD20
movl $0xb2, %edx
callq 0x2c5b
movw %ax, 0x2(%rbx)
movzwl 0x4(%rbx), %edi
movl $0xfd20, %esi           # imm = 0xFD20
movl $0xb2, %edx
callq 0x2c5b
movw %ax, 0x4(%rbx)
movzwl 0x10(%rbx), %edi
movl $0xfd20, %esi           # imm = 0xFD20
movl $0x99, %edx
callq 0x2c5b
movw %ax, 0x10(%rbx)
movl 0x20(%rbx), %edi
movl $0xfd20, %esi           # imm = 0xFD20
movl $0xb2, %edx
callq 0x2c5b
movw %ax, 0x20(%rbx)
cmpb $0xf, 0x3a(%rbx)
ja 0x2bcb
movw $0xfd20, 0x38(%rbx)     # imm = 0xFD20
movb $0x66, 0x3a(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_group.c
// Function: style_mod_edit_def
static void style_mod_edit_def(lv_group_t * group, lv_style_t * style)
{
    (void)group; /*Unused*/
#if LV_COLOR_DEPTH != 1

    /*Make the style to be a little bit orange*/
    style->body.border.opa   = LV_OPA_COVER;
    style->body.border.color = LV_COLOR_GREEN;

    /*If not empty or has border then emphasis the border*/
    if(style->body.opa != LV_OPA_TRANSP || style->body.border.width != 0) style->body.border.width = LV_DPI / 20;

    style->body.main_color   = lv_color_mix(style->body.main_color, LV_COLOR_GREEN, LV_OPA_70);
    style->body.grad_color   = lv_color_mix(style->body.grad_color, LV_COLOR_GREEN, LV_OPA_70);
    style->body.shadow.color = lv_color_mix(style->body.shadow.color, LV_COLOR_GREEN, LV_OPA_60);

    style->text.color = lv_color_mix(style->text.color, LV_COLOR_GREEN, LV_OPA_70);

    /*Add some recolor to the images*/
    if(style->image.intense < LV_OPA_MIN) {
        style->image.color   = LV_COLOR_GREEN;
        style->image.intense = LV_OPA_40;
    }

#else
    style->body.border.opa   = LV_OPA_COVER;
    style->body.border.color = LV_COLOR_BLACK;
    style->body.border.width = 3;

#endif
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
movb $-0x1, 0xf(%rsi)
movw $0x400, 0xa(%rsi)       # imm = 0x400
cmpb $0x0, 0x8(%rsi)
jne 0x2be8
cmpw $0x0, 0xc(%rbx)
je 0x2bee
movw $0x5, 0xc(%rbx)
movzwl 0x2(%rbx), %edi
movl $0x400, %esi            # imm = 0x400
movl $0xb2, %edx
callq 0x2c5b
movw %ax, 0x2(%rbx)
movzwl 0x4(%rbx), %edi
movl $0x400, %esi            # imm = 0x400
movl $0xb2, %edx
callq 0x2c5b
movw %ax, 0x4(%rbx)
movzwl 0x10(%rbx), %edi
movl $0x400, %esi            # imm = 0x400
movl $0x99, %edx
callq 0x2c5b
movw %ax, 0x10(%rbx)
movl 0x20(%rbx), %edi
movl $0x400, %esi            # imm = 0x400
movl $0xb2, %edx
callq 0x2c5b
movw %ax, 0x20(%rbx)
cmpb $0xf, 0x3a(%rbx)
ja 0x2c59
movw $0x400, 0x38(%rbx)      # imm = 0x400
movb $0x66, 0x3a(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_themes/../lv_core/../lv_misc/lv_color.h
// Function: lv_color_mix
static inline lv_color_t lv_color_mix(lv_color_t c1, lv_color_t c2, uint8_t mix)
{
    lv_color_t ret;
#if LV_COLOR_DEPTH != 1
    /*LV_COLOR_DEPTH == 8, 16 or 32*/
    LV_COLOR_SET_R(ret, (uint16_t)((uint16_t) LV_COLOR_GET_R(c1) * mix + LV_COLOR_GET_R(c2) * (255 - mix)) >> 8);
    LV_COLOR_SET_G(ret, (uint16_t)((uint16_t) LV_COLOR_GET_G(c1) * mix + LV_COLOR_GET_G(c2) * (255 - mix)) >> 8);
    LV_COLOR_SET_B(ret, (uint16_t)((uint16_t) LV_COLOR_GET_B(c1) * mix + LV_COLOR_GET_B(c2) * (255 - mix)) >> 8);
    LV_COLOR_SET_A(ret, 0xFF);
#else
    /*LV_COLOR_DEPTH == 1*/
    ret.full = mix > LV_OPA_50 ? c1.full : c2.full;
#endif

    return ret;
}

// Assembly:
movl %edi, %eax
movl %edi, %ecx
shrl $0x8, %ecx
andl $0xf8, %ecx
imull %esi, %ecx
andl $0xfffff800, %ecx       # imm = 0xFFFFF800
movl %edi, %edx
shrl $0x5, %edx
andl $0x3f, %edx
imull %esi, %edx
andl $0x1f, %eax
imull %esi, %eax
shll $0x5, %esi
xorl $0x1fe0, %esi           # imm = 0x1FE0
addl %edx, %esi
shrl $0x3, %esi
andl $0x7e0, %esi            # imm = 0x7E0
movzbl %ah, %eax
orl %ecx, %eax
orl %esi, %eax
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_indev.c
// Function: lv_indev_reset
void lv_indev_reset(lv_indev_t * indev)
{
    if(indev)
        indev->proc.reset_query = 1;
    else {
        lv_indev_t * i = lv_indev_get_next(NULL);
        while(i) {
            i->proc.reset_query = 1;

            i = lv_indev_get_next(i);
        }
    }
}

// Assembly:
testq %rdi, %rdi
je 0x2cd9
orb $0x2, 0x78(%rdi)
retq
pushq %rax
xorl %edi, %edi
callq 0x7fb2
testq %rax, %rax
je 0x2cef
orb $0x2, 0x78(%rax)
movq %rax, %rdi
jmp 0x2cdc
addq $0x8, %rsp
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_indev.c
// Function: lv_indev_set_cursor
void lv_indev_set_cursor(lv_indev_t * indev, lv_obj_t * cur_obj)
{
    if(indev->driver.type != LV_INDEV_TYPE_POINTER) return;

    indev->cursor = cur_obj;
    lv_obj_set_parent(indev->cursor, lv_disp_get_layer_sys(indev->driver.disp));
    lv_obj_set_pos(indev->cursor, indev->proc.types.pointer.act_point.x, indev->proc.types.pointer.act_point.y);
}

// Assembly:
cmpb $0x1, (%rdi)
jne 0x363e
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, 0x80(%rdi)
movq 0x18(%rdi), %rdi
callq 0x4190
movq %r14, %rdi
movq %rax, %rsi
callq 0x4eff
movq 0x80(%rbx), %rdi
movswl 0x38(%rbx), %esi
movswl 0x3a(%rbx), %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x47df
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_indev.c
// Function: lv_indev_get_point
void lv_indev_get_point(const lv_indev_t * indev, lv_point_t * point)
{
    if(indev->driver.type != LV_INDEV_TYPE_POINTER && indev->driver.type != LV_INDEV_TYPE_BUTTON) {
        point->x = -1;
        point->y = -1;
    } else {
        point->x = indev->proc.types.pointer.act_point.x;
        point->y = indev->proc.types.pointer.act_point.y;
    }
}

// Assembly:
movzbl (%rdi), %eax
orl $0x2, %eax
cmpl $0x3, %eax
jne 0x3679
movzwl 0x38(%rdi), %eax
movw %ax, (%rsi)
movzwl 0x3a(%rdi), %eax
jmp 0x3681
orw $-0x1, (%rsi)
movw $0xffff, %ax            # imm = 0xFFFF
movw %ax, 0x2(%rsi)
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_disp.c
// Function: lv_disp_get_scr_act
lv_obj_t * lv_disp_get_scr_act(lv_disp_t * disp)
{
    if(!disp) disp = lv_disp_get_default();
    if(!disp) {
        LV_LOG_WARN("lv_scr_act: no display registered to get its top layer");
        return NULL;
    }

    return disp->act_scr;
}

// Assembly:
pushq %rax
testq %rdi, %rdi
jne 0x4153
callq 0x7df2
movq %rax, %rdi
testq %rax, %rax
je 0x4159
movq 0x60(%rdi), %rax
popq %rcx
retq
xorl %eax, %eax
jmp 0x4157
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_disp.c
// Function: lv_disp_get_layer_top
lv_obj_t * lv_disp_get_layer_top(lv_disp_t * disp)
{
    if(!disp) disp = lv_disp_get_default();
    if(!disp) {
        LV_LOG_WARN("lv_layer_top: no display registered to get its top layer");
        return NULL;
    }

    return disp->top_layer;
}

// Assembly:
pushq %rax
testq %rdi, %rdi
jne 0x4186
callq 0x7df2
movq %rax, %rdi
testq %rax, %rax
je 0x418c
movq 0x68(%rdi), %rax
popq %rcx
retq
xorl %eax, %eax
jmp 0x418a
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_disp.c
// Function: lv_disp_get_layer_sys
lv_obj_t * lv_disp_get_layer_sys(lv_disp_t * disp)
{
    if(!disp) disp = lv_disp_get_default();
    if(!disp) {
        LV_LOG_WARN("lv_layer_sys: no display registered to get its top layer");
        return NULL;
    }

    return disp->sys_layer;
}

// Assembly:
pushq %rax
testq %rdi, %rdi
jne 0x41a3
callq 0x7df2
movq %rax, %rdi
testq %rax, %rax
je 0x41a9
movq 0x70(%rdi), %rax
popq %rcx
retq
xorl %eax, %eax
jmp 0x41a7
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_disp.c
// Function: lv_disp_assign_screen
void lv_disp_assign_screen(lv_disp_t * disp, lv_obj_t * scr)
{
    if(lv_obj_get_parent(scr) != NULL) {
        LV_LOG_WARN("lv_disp_assign_screen: try to assign a non-screen object");
        return;
    }

    lv_disp_t * old_disp = lv_obj_get_disp(scr);

    if(old_disp == disp) return;

    lv_ll_chg_list(&old_disp->scr_ll, &disp->scr_ll, scr, true);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x47bc
testq %rax, %rax
je 0x41cc
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rbx, %rdi
callq 0x4d17
cmpq %r14, %rax
je 0x41c4
addq $0x48, %rax
addq $0x48, %r14
pushq $0x1
popq %rcx
movq %rax, %rdi
movq %r14, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x27efa
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_disp.c
// Function: lv_disp_get_refr_task
lv_task_t * lv_disp_get_refr_task(lv_disp_t * disp)
{
    if(!disp) disp = lv_disp_get_default();
    if(!disp) {
        LV_LOG_WARN("lv_disp_get_refr_task: no display registered");
        return NULL;
    }

    return disp->refr_task;
}

// Assembly:
pushq %rax
testq %rdi, %rdi
jne 0x420c
callq 0x7df2
movq %rax, %rdi
testq %rax, %rax
je 0x4212
movq 0x40(%rdi), %rax
popq %rcx
retq
xorl %eax, %eax
jmp 0x4210
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_signal
static lv_res_t lv_obj_signal(lv_obj_t * obj, lv_signal_t sign, void * param)
{
    if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, LV_OBJX_NAME);

    lv_res_t res = LV_RES_OK;

    if(sign == LV_SIGNAL_CHILD_CHG) {
        /*Return 'invalid' if the child change signal is not enabled*/
        if(lv_obj_is_protected(obj, LV_PROTECT_CHILD_CHG) != false) res = LV_RES_INV;
    } else if(sign == LV_SIGNAL_REFR_EXT_DRAW_PAD) {
        const lv_style_t * style = lv_obj_get_style(obj);
        if(style->body.shadow.width > obj->ext_draw_pad) obj->ext_draw_pad = style->body.shadow.width;
    } else if(sign == LV_SIGNAL_STYLE_CHG) {
        lv_obj_refresh_ext_draw_pad(obj);
    }
    return res;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movb $0x1, %bl
decl %esi
cmpl $0x6, %esi
ja 0x46d4
movq %rdi, %r14
leaq 0x369fa(%rip), %rax     # 0x3b080
movslq (%rax,%rsi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
pushq $0x1
popq %rsi
movq %r14, %rdi
callq 0x66ab
movl %eax, %ebx
xorb $0x1, %bl
jmp 0x46d4
movq %r14, %rdi
callq 0x6316
movzwl 0x12(%rax), %eax
cmpw 0x5c(%r14), %ax
jle 0x46d4
movw %ax, 0x5c(%r14)
jmp 0x46d4
movq %r14, %rdi
callq 0x617f
jmp 0x46d4
leaq 0x36a93(%rip), %rsi     # 0x3b15f
movq %rdx, %rdi
callq 0x684b
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_design
static bool lv_obj_design(lv_obj_t * obj, const lv_area_t * mask_p, lv_design_mode_t mode)
{
    if(mode == LV_DESIGN_COVER_CHK) {

        /*Most trivial test. Is the mask fully IN the object? If no it surely doesn't cover it*/
        if(lv_area_is_in(mask_p, &obj->coords) == false) return false;

        /*Can cover the area only if fully solid (no opacity)*/
        const lv_style_t * style = lv_obj_get_style(obj);
        if(style->body.opa < LV_OPA_MAX) return false;

        /* Because of the radius it is not sure the area is covered
         * Check the areas where there is no radius*/
        lv_coord_t r = style->body.radius;

        if(r == LV_RADIUS_CIRCLE) return false;

        lv_area_t area_tmp;

        /*Check horizontally without radius*/
        lv_obj_get_coords(obj, &area_tmp);
        area_tmp.x1 += r;
        area_tmp.x2 -= r;
        if(lv_area_is_in(mask_p, &area_tmp) == false) return false;

        /*Check vertically without radius*/
        lv_obj_get_coords(obj, &area_tmp);
        area_tmp.y1 += r;
        area_tmp.y2 -= r;
        if(lv_area_is_in(mask_p, &area_tmp) == false) return false;

    } else if(mode == LV_DESIGN_DRAW_MAIN) {
        const lv_style_t * style = lv_obj_get_style(obj);
        lv_draw_rect(&obj->coords, mask_p, style, lv_obj_get_opa_scale(obj));
    }

    return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r15
movb $0x1, %bl
testl %edx, %edx
je 0x4780
cmpl $0x2, %edx
jne 0x47a8
leaq 0x20(%r15), %rsi
movq %r14, %rdi
callq 0x26931
testb %al, %al
je 0x477c
movq %r15, %rdi
callq 0x6316
cmpb $-0x5, 0x8(%rax)
jb 0x477c
movzwl 0x6(%rax), %ebp
cmpw $0x7c18, %bp            # imm = 0x7C18
je 0x477c
movq %rsp, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x50e5
addw %bp, (%r12)
subw %bp, 0x4(%r12)
movq %r14, %rdi
movq %r12, %rsi
callq 0x26931
testb %al, %al
je 0x477c
movq %rsp, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x50e5
addw %bp, 0x2(%r12)
subw %bp, 0x6(%r12)
movq %r14, %rdi
movq %r12, %rsi
callq 0x26931
testb %al, %al
jne 0x47a8
xorl %ebx, %ebx
jmp 0x47a8
movq %r15, %rdi
callq 0x6316
movq %rax, %r12
leaq 0x20(%r15), %r13
movq %r15, %rdi
callq 0x6649
movzbl %al, %ecx
movq %r13, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x336d4
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_set_pos
void lv_obj_set_pos(lv_obj_t * obj, lv_coord_t x, lv_coord_t y)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);

    /*Convert x and y to absolute coordinates*/
    lv_obj_t * par = obj->par;

    x = x + par->coords.x1;
    y = y + par->coords.y1;

    /*Calculate and set the movement*/
    lv_point_t diff;
    diff.x = x - obj->coords.x1;
    diff.y = y - obj->coords.y1;

    /* Do nothing if the position is not changed */
    /* It is very important else recursive positioning can
     * occur without position change*/
    if(diff.x == 0 && diff.y == 0) return;

    /*Invalidate the original area*/
    lv_obj_invalidate(obj);

    /*Save the original coordinates*/
    lv_area_t ori;
    lv_obj_get_coords(obj, &ori);

    obj->coords.x1 += diff.x;
    obj->coords.y1 += diff.y;
    obj->coords.x2 += diff.x;
    obj->coords.y2 += diff.y;

    refresh_children_position(obj, diff.x, diff.y);

    /*Inform the object about its new coordinates*/
    obj->signal_cb(obj, LV_SIGNAL_CORD_CHG, &ori);

    /*Send a signal to the parent too*/
    par->signal_cb(par, LV_SIGNAL_CHILD_CHG, obj);

    /*Invalidate the new area*/
    lv_obj_invalidate(obj);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %edx, %ebp
movl %esi, %r15d
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x48b9
movq (%rbx), %r14
movq 0x20(%r14), %xmm0
movd %r15d, %xmm2
pinsrw $0x1, %ebp, %xmm2
paddw %xmm0, %xmm2
movq 0x20(%rbx), %xmm0
movdqa %xmm2, %xmm1
pcmpeqw %xmm0, %xmm1
pshuflw $0x50, %xmm1, %xmm1     # xmm1 = xmm1[0,0,1,1,4,5,6,7]
pshufd $0x50, %xmm1, %xmm1     # xmm1 = xmm1[0,0,1,1]
movmskpd %xmm1, %eax
cmpl $0x3, %eax
je 0x48ae
psubw %xmm0, %xmm2
movdqa %xmm2, (%rsp)
pshufd $0x50, %xmm2, %xmm0     # xmm0 = xmm2[0,0,1,1]
movdqa %xmm0, 0x10(%rsp)
movq %rbx, %rdi
callq 0x493a
leaq 0x20(%rsp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x50e5
movq 0x20(%rbx), %xmm0
paddw 0x10(%rsp), %xmm0
movq %xmm0, 0x20(%rbx)
movdqa (%rsp), %xmm0
movd %xmm0, %eax
pextrw $0x1, %xmm0, %ecx
movswl %ax, %esi
movswl %cx, %edx
movq %rbx, %rdi
callq 0x5118
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq *0x30(%rbx)
pushq $0x1
popq %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq *0x30(%r14)
movq %rbx, %rdi
callq 0x493a
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x36884(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x48c8
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_get_x
lv_coord_t lv_obj_get_x(const lv_obj_t * obj)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);

    lv_coord_t rel_x;
    lv_obj_t * parent = lv_obj_get_parent(obj);
    if(parent) {
        rel_x             = obj->coords.x1 - parent->coords.x1;
    } else {
        rel_x = obj->coords.x1;
    }
    return rel_x;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x48f1
movq %rbx, %rdi
callq 0x47bc
movq %rax, %rcx
movzwl 0x20(%rbx), %eax
testq %rcx, %rcx
je 0x48ef
subw 0x20(%rcx), %ax
popq %rbx
retq
leaq 0x3684c(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x4900
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_get_y
lv_coord_t lv_obj_get_y(const lv_obj_t * obj)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);

    lv_coord_t rel_y;
    lv_obj_t * parent = lv_obj_get_parent(obj);
   if(parent) {
       rel_y             = obj->coords.y1 - parent->coords.y1;
   } else {
       rel_y = obj->coords.y1;
   }
    return rel_y;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x4929
movq %rbx, %rdi
callq 0x47bc
movq %rax, %rcx
movzwl 0x22(%rbx), %eax
testq %rcx, %rcx
je 0x4927
subw 0x22(%rcx), %ax
popq %rbx
retq
leaq 0x36814(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x4938
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_invalidate
void lv_obj_invalidate(const lv_obj_t * obj)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);

    if(lv_obj_get_hidden(obj)) return;

    /*Invalidate the object only if it belongs to the 'LV_GC_ROOT(_lv_act_scr)'*/
    lv_obj_t * obj_scr = lv_obj_get_screen(obj);
    lv_disp_t * disp   = lv_obj_get_disp(obj_scr);
    if(obj_scr == lv_disp_get_scr_act(disp) || obj_scr == lv_disp_get_layer_top(disp) ||
       obj_scr == lv_disp_get_layer_sys(disp)) {
        /*Truncate recursively to the parents*/
        lv_area_t area_trunc;
        lv_obj_t * par = lv_obj_get_parent(obj);
        bool union_ok  = true;
        /*Start with the original coordinates*/
        lv_coord_t ext_size = obj->ext_draw_pad;
        lv_area_copy(&area_trunc, &obj->coords);
        area_trunc.x1 -= ext_size;
        area_trunc.y1 -= ext_size;
        area_trunc.x2 += ext_size;
        area_trunc.y2 += ext_size;

        /*Check through all parents*/
        while(par != NULL) {
            union_ok = lv_area_intersect(&area_trunc, &area_trunc, &par->coords);
            if(union_ok == false) break;       /*If no common parts with parent break;*/
            if(lv_obj_get_hidden(par)) return; /*If the parent is hidden then the child is hidden and won't be drawn*/

            par = lv_obj_get_parent(par);
        }

        if(union_ok) lv_inv_area(disp, &area_trunc);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r14
callq 0x7994
testb %al, %al
je 0x4a1a
movq %r14, %rdi
callq 0x4e98
testb %al, %al
jne 0x4a38
movq %r14, %rdi
callq 0x4ec0
movq %rax, %r15
movq %rax, %rdi
callq 0x4d17
movq %rax, %rbx
movq %rax, %rdi
callq 0x4140
cmpq %rax, %r15
je 0x49a4
movq %rbx, %rdi
callq 0x4173
cmpq %rax, %r15
je 0x49a4
movq %rbx, %rdi
callq 0x4190
cmpq %rax, %r15
jne 0x4a38
movq %r14, %rdi
callq 0x47bc
movq %rax, %r15
movl 0x5c(%r14), %eax
movq 0x20(%r14), %rcx
movl %ecx, %edx
subl %eax, %edx
leaq 0x8(%rsp), %r14
movw %dx, (%r14)
movl %ecx, %edx
shrl $0x10, %edx
subl %eax, %edx
movw %dx, 0x2(%r14)
movq %rcx, %rdx
shrq $0x20, %rdx
addl %eax, %edx
movw %dx, 0x4(%r14)
shrq $0x30, %rcx
addl %eax, %ecx
movw %cx, 0x6(%r14)
testq %r15, %r15
je 0x4a2b
leaq 0x20(%r15), %rdx
movq %r14, %rdi
movq %r14, %rsi
callq 0x26880
testb %al, %al
je 0x4a38
movq %r15, %rdi
callq 0x4e98
testb %al, %al
jne 0x4a38
movq %r15, %rdi
callq 0x47bc
movq %rax, %r15
jmp 0x49e9
leaq 0x36723(%rip), %rdi     # 0x3b144
movq %r14, %rsi
callq 0x7b01
jmp 0x4a29
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x6cff
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_event_send
lv_res_t lv_event_send(lv_obj_t * obj, lv_event_t event, const void * data)
{
    if(obj == NULL) return LV_RES_OK;

    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);

    lv_res_t res;
    res = lv_event_send_func(obj->event_cb, obj, event, data);
    return res;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x4ce0
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x4ce7
movq 0x28(%rbx), %rdi
movzbl %bpl, %edx
movq %rbx, %rsi
movq %r14, %rcx
popq %rbx
popq %r14
popq %rbp
jmp 0x5ffe
movb $0x1, %al
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x36456(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x4cf6
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_event_mark_deleted
static void lv_event_mark_deleted(lv_obj_t * obj)
{
    lv_event_temp_data_t * t = event_temp_data_head;

    while(t) {
        if(t->obj == obj) t->deleted = true;
        t = t->prev;
    }
}

// Assembly:
leaq 0x591b1(%rip), %rax     # 0x5deb0
movq (%rax), %rax
testq %rax, %rax
je 0x4d16
cmpq %rdi, (%rax)
jne 0x4d10
movb $0x1, 0x8(%rax)
addq $0x10, %rax
jmp 0x4cff
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_get_disp
lv_disp_t * lv_obj_get_disp(const lv_obj_t * obj)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);

    const lv_obj_t * scr;

    if(obj->par == NULL)
        scr = obj; /*`obj` is a screen*/
    else
        scr = lv_obj_get_screen(obj); /*get the screen of `obj`*/

    lv_disp_t * d;
    LV_LL_READ(LV_GC_ROOT(_lv_disp_ll), d)
    {
        lv_obj_t * s;
        LV_LL_READ(d->scr_ll, s)
        {
            if(s == scr) return d;
        }
    }

    LV_LOG_WARN("lv_scr_get_disp: screen not found")
    return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x4d83
cmpq $0x0, (%rbx)
je 0x4d3c
movq %rbx, %rdi
callq 0x4ec0
movq %rax, %rbx
leaq 0x617b5(%rip), %r14     # 0x664f8
movq %r14, %rdi
callq 0x27db9
movq %rax, %r15
testq %rax, %rax
je 0x4d94
leaq 0x48(%r15), %r12
movq %r12, %rdi
callq 0x27db9
testq %rax, %rax
je 0x4d76
cmpq %rbx, %rax
je 0x4d94
movq %r12, %rdi
movq %rax, %rsi
callq 0x27e93
jmp 0x4d5f
movq %r14, %rdi
movq %r15, %rsi
callq 0x27e93
jmp 0x4d4b
leaq 0x363ba(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x4d92
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_clean
void lv_obj_clean(lv_obj_t * obj)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);
    lv_obj_t * child = lv_obj_get_child(obj, NULL);
    lv_obj_t * child_next;
    while(child) {
        /* Read the next child before deleting the current
         * because the next couldn't be read from a deleted (invalid) node*/
        child_next = lv_obj_get_child(obj, child);
        lv_obj_del(child);
        child = child_next;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x4e36
movq %rbx, %rdi
xorl %esi, %esi
callq 0x4e4d
movq %rax, %r14
testq %r14, %r14
je 0x4e47
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4e4d
movq %rax, %r15
movq %r14, %rdi
callq 0x4a42
movq %r15, %r14
jmp 0x4e16
leaq 0x36307(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x4e45
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_get_child
lv_obj_t * lv_obj_get_child(const lv_obj_t * obj, const lv_obj_t * child)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);

    lv_obj_t * result = NULL;

    if(child == NULL) {
        result = lv_ll_get_head(&obj->child_ll);
    } else {
        result = lv_ll_get_next(&obj->child_ll, child);
    }

    return result;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x4e7b
addq $0x8, %rbx
movq %rbx, %rdi
testq %r14, %r14
je 0x4e8c
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x27e93
leaq 0x362c2(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x4e8a
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x27db9
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_get_screen
lv_obj_t * lv_obj_get_screen(const lv_obj_t * obj)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);

    const lv_obj_t * par = obj;
    const lv_obj_t * act_p;

    do {
        act_p = par;
        par   = lv_obj_get_parent(act_p);
    } while(par != NULL);

    return (lv_obj_t *)act_p;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x4eee
movq %rbx, %r14
movq %rbx, %rdi
callq 0x47bc
movq %rax, %rbx
testq %rax, %rax
jne 0x4ed0
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x3624f(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x4efd
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_set_parent
void lv_obj_set_parent(lv_obj_t * obj, lv_obj_t * parent)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);
    LV_ASSERT_OBJ(parent, LV_OBJX_NAME);

    if(obj->par == NULL) {
        LV_LOG_WARN("Can't set the parent of a screen");
        return;
    }

    if(parent == NULL) {
        LV_LOG_WARN("Can't set parent == NULL to an object");
        return;
    }

    lv_obj_invalidate(obj);

    lv_point_t old_pos;
    old_pos.x = lv_obj_get_x(obj);
    old_pos.y = lv_obj_get_y(obj);

    lv_obj_t * old_par = obj->par;

    lv_ll_chg_list(&obj->par->child_ll, &parent->child_ll, obj, true);
    obj->par = parent;
    lv_obj_set_pos(obj, old_pos.x, old_pos.y);

    /*Notify the original parent because one of its children is lost*/
    old_par->signal_cb(old_par, LV_SIGNAL_CHILD_CHG, NULL);

    /*Notify the new parent about the child*/
    parent->signal_cb(parent, LV_SIGNAL_CHILD_CHG, obj);

    lv_obj_invalidate(obj);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x4fba
movq %r14, %rdi
callq 0x7994
testb %al, %al
je 0x4fcb
testq %r14, %r14
je 0x4fdc
cmpq $0x0, (%rbx)
je 0x4fdc
movq %rbx, %rdi
callq 0x493a
movq %rbx, %rdi
callq 0x48ca
movl %eax, %ebp
movq %rbx, %rdi
callq 0x4902
movl %eax, %r15d
movq (%rbx), %r12
leaq 0x8(%r12), %rdi
leaq 0x8(%r14), %rsi
pushq $0x1
popq %r13
movq %rbx, %rdx
movl %r13d, %ecx
callq 0x27efa
movq %r14, (%rbx)
movswl %bp, %esi
movswl %r15w, %edx
movq %rbx, %rdi
callq 0x47df
movq %r12, %rdi
movl %r13d, %esi
xorl %edx, %edx
callq *0x30(%r12)
movq %r14, %rdi
movl %r13d, %esi
movq %rbx, %rdx
callq *0x30(%r14)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x493a
leaq 0x36183(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x4fc9
leaq 0x36172(%rip), %rdi     # 0x3b144
movq %r14, %rsi
callq 0x7b01
jmp 0x4fda
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_move_foreground
void lv_obj_move_foreground(lv_obj_t * obj)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);

    lv_obj_t * parent = lv_obj_get_parent(obj);

    /*Do nothing of already in the foreground*/
    if(lv_ll_get_head(&parent->child_ll) == obj) return;

    lv_obj_invalidate(parent);

    lv_ll_chg_list(&parent->child_ll, &parent->child_ll, obj, true);

    /*Notify the new parent about the child*/
    parent->signal_cb(parent, LV_SIGNAL_CHILD_CHG, obj);

    lv_obj_invalidate(parent);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x5053
movq %rbx, %rdi
callq 0x47bc
movq %rax, %r14
leaq 0x8(%rax), %r15
movq %r15, %rdi
callq 0x27db9
cmpq %rbx, %rax
je 0x5064
movq %r14, %rdi
callq 0x493a
pushq $0x1
popq %rbp
movq %r15, %rdi
movq %r15, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0x27efa
movq %r14, %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq *0x30(%r14)
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x493a
leaq 0x360ea(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x5062
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_move_background
void lv_obj_move_background(lv_obj_t * obj)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);

    lv_obj_t * parent = lv_obj_get_parent(obj);

    /*Do nothing of already in the background*/
    if(lv_ll_get_tail(&parent->child_ll) == obj) return;

    lv_obj_invalidate(parent);

    lv_ll_chg_list(&parent->child_ll, &parent->child_ll, obj, false);

    /*Notify the new parent about the child*/
    parent->signal_cb(parent, LV_SIGNAL_CHILD_CHG, obj);

    lv_obj_invalidate(parent);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x50ce
movq %rbx, %rdi
callq 0x47bc
movq %rax, %r14
leaq 0x8(%rax), %r15
movq %r15, %rdi
callq 0x27ea3
cmpq %rbx, %rax
je 0x50df
movq %r14, %rdi
callq 0x493a
movq %r15, %rdi
movq %r15, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x27efa
pushq $0x1
popq %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq *0x30(%r14)
movq %r14, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x493a
leaq 0x3606f(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x50dd
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: refresh_children_position
static void refresh_children_position(lv_obj_t * obj, lv_coord_t x_diff, lv_coord_t y_diff)
{
    lv_obj_t * i;
    LV_LL_READ(obj->child_ll, i)
    {
        i->coords.x1 += x_diff;
        i->coords.y1 += y_diff;
        i->coords.x2 += x_diff;
        i->coords.y2 += y_diff;

        refresh_children_position(i, x_diff, y_diff);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movl %edx, %r14d
movl %esi, %ebp
movq %rdi, %rbx
addq $0x8, %rbx
movq %rbx, %rdi
callq 0x27db9
movd %ebp, %xmm0
pinsrw $0x1, %r14d, %xmm0
movq %rax, %r15
pshufd $0x50, %xmm0, %xmm0     # xmm0 = xmm0[0,0,1,1]
movdqa %xmm0, (%rsp)
movswl %bp, %ebp
movswl %r14w, %r14d
testq %r15, %r15
je 0x5187
movq 0x20(%r15), %xmm0
paddw (%rsp), %xmm0
movq %xmm0, 0x20(%r15)
movq %r15, %rdi
movl %ebp, %esi
movl %r14d, %edx
callq 0x5118
movq %rbx, %rdi
movq %r15, %rsi
callq 0x27e93
movq %rax, %r15
jmp 0x5154
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_set_size
void lv_obj_set_size(lv_obj_t * obj, lv_coord_t w, lv_coord_t h)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);


    /* Do nothing if the size is not changed */
    /* It is very important else recursive resizing can
     * occur without size change*/
    if(lv_obj_get_width(obj) == w && lv_obj_get_height(obj) == h) {
        return;
    }

    /*Invalidate the original area*/
    lv_obj_invalidate(obj);

    /*Save the original coordinates*/
    lv_area_t ori;
    lv_obj_get_coords(obj, &ori);

    /*Set the length and height*/
    obj->coords.y2 = obj->coords.y1 + h - 1;
    if(lv_obj_get_base_dir(obj) == LV_BIDI_DIR_RTL) {
        obj->coords.x1 = obj->coords.x2 - w + 1;
    } else {
        obj->coords.x2 = obj->coords.x1 + w - 1;
    }

    /*Send a signal to the object with its new coordinates*/
    obj->signal_cb(obj, LV_SIGNAL_CORD_CHG, &ori);

    /*Send a signal to the parent too*/
    lv_obj_t * par = lv_obj_get_parent(obj);
    if(par != NULL) par->signal_cb(par, LV_SIGNAL_CHILD_CHG, obj);

    /*Tell the children the parent's size has changed*/
    lv_obj_t * i;
    LV_LL_READ(obj->child_ll, i)
    {
        i->signal_cb(i, LV_SIGNAL_PARENT_SIZE_CHG, NULL);
    }

    /*Invalidate the new area*/
    lv_obj_invalidate(obj);

    /*Automatically realign the object if required*/
#if LV_USE_OBJ_REALIGN
    if(obj->realign.auto_realign) lv_obj_realign(obj);
#endif
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x52d6
movq %rbx, %rdi
callq 0x5308
cmpw %r14w, %ax
jne 0x5249
movq %rbx, %rdi
callq 0x5332
cmpw %bp, %ax
je 0x52fd
movq %rbx, %rdi
callq 0x493a
movq %rsp, %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x50e5
movd %r14d, %xmm0
pinsrw $0x1, %ebp, %xmm0
movq 0x20(%rbx), %xmm1
pcmpeqd %xmm2, %xmm2
paddw %xmm0, %xmm2
paddw %xmm1, %xmm2
movd %xmm2, 0x24(%rbx)
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq *0x30(%rbx)
movq %rbx, %rdi
callq 0x47bc
testq %rax, %rax
je 0x52a4
pushq $0x1
popq %rsi
movq %rax, %rdi
movq %rbx, %rdx
callq *0x30(%rax)
leaq 0x8(%rbx), %r14
movq %r14, %rdi
callq 0x27db9
movq %rax, %r15
pushq $0x3
popq %rbp
testq %r15, %r15
je 0x52e7
movq %r15, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq *0x30(%r15)
movq %r14, %rdi
movq %r15, %rsi
callq 0x27e93
movq %rax, %r15
jmp 0x52b6
leaq 0x35e67(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x52e5
movq %rbx, %rdi
callq 0x493a
testb $0x1, 0x6d(%rbx)
je 0x52fd
movq %rbx, %rdi
callq 0x535c
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_realign
void lv_obj_realign(lv_obj_t * obj)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);

#if LV_USE_OBJ_REALIGN
    if(obj->realign.origo_align)
        lv_obj_align_origo(obj, obj->realign.base, obj->realign.align, obj->realign.xofs, obj->realign.yofs);
    else
        lv_obj_align(obj, obj->realign.base, obj->realign.align, obj->realign.xofs, obj->realign.yofs);
#else
    (void)obj;
    LV_LOG_WARN("lv_obj_realaign: no effect because LV_USE_OBJ_REALIGN = 0");
#endif
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x5391
testb $0x2, 0x6d(%rbx)
movq 0x60(%rbx), %rsi
movb 0x6c(%rbx), %dl
movzwl 0x68(%rbx), %ecx
movzwl 0x6a(%rbx), %eax
movzbl %dl, %edx
movswl %cx, %ecx
movswl %ax, %r8d
movq %rbx, %rdi
jne 0x53a2
popq %rbx
jmp 0x5424
leaq 0x35dac(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x53a0
popq %rbx
jmp 0x57c2
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_set_style
void lv_obj_set_style(lv_obj_t * obj, const lv_style_t * style)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);
    LV_ASSERT_STYLE(style);

    obj->style_p = style;

    /*Send a signal about style change to every children with NULL style*/
    refresh_children_style(obj);

    /*Notify the object about the style change too*/
    lv_obj_refresh_style(obj);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x5a77
movq %r14, %rdi
callq 0x7a9a
testb %al, %al
je 0x5a88
movq %r14, 0x48(%rbx)
movq %rbx, %rdi
callq 0x5a99
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x5ae7
leaq 0x356c6(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x5a86
leaq 0x356c2(%rip), %rdi     # 0x3b151
movq %r14, %rsi
callq 0x7b01
jmp 0x5a97
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: refresh_children_style
static void refresh_children_style(lv_obj_t * obj)
{
    lv_obj_t * child = lv_obj_get_child(obj, NULL);
    while(child != NULL) {
        if(child->style_p == NULL) {
            refresh_children_style(child); /*Check children too*/
            lv_obj_refresh_style(child);   /*Notify the child about the style change*/
        } else if(child->style_p->glass) {
            /*Children with 'glass' parent might be effected if their style == NULL*/
            refresh_children_style(child);
        }
        child = lv_obj_get_child(obj, child);
    }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %esi, %esi
callq 0x4e4d
movq %rax, %r14
testq %rax, %rax
je 0x5adf
movq 0x48(%r14), %rax
testq %rax, %rax
je 0x5ac7
testb $0x1, (%rax)
je 0x5ad7
movq %r14, %rdi
callq 0x5a99
jmp 0x5ad7
movq %r14, %rdi
callq 0x5a99
movq %r14, %rdi
callq 0x5ae7
movq %rbx, %rdi
movq %r14, %rsi
jmp 0x5aa2
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_refresh_style
void lv_obj_refresh_style(lv_obj_t * obj)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);

    lv_obj_invalidate(obj);
    obj->signal_cb(obj, LV_SIGNAL_STYLE_CHG, NULL);
    lv_obj_invalidate(obj);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x5b10
movq %rbx, %rdi
callq 0x493a
pushq $0x4
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq *0x30(%rbx)
movq %rbx, %rdi
popq %rbx
jmp 0x493a
leaq 0x3562d(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x5b1f
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_report_style_mod
void lv_obj_report_style_mod(lv_style_t * style)
{
    LV_ASSERT_STYLE(style);

    lv_disp_t * d = lv_disp_get_next(NULL);

    while(d) {
        lv_obj_t * i;
        LV_LL_READ(d->scr_ll, i)
        {
            if(i->style_p == style || style == NULL) {
                lv_obj_refresh_style(i);
            }

            report_style_mod_core(style, i);
        }
        d = lv_disp_get_next(d);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x7a9a
testb %al, %al
je 0x5b89
xorl %edi, %edi
callq 0x7e25
movq %rax, %r14
testq %rax, %rax
je 0x5b9a
leaq 0x48(%r14), %r15
movq %r15, %rdi
callq 0x27db9
movq %rax, %r12
testq %rax, %rax
je 0x5b84
testq %rbx, %rbx
je 0x5b64
cmpq %rbx, 0x48(%r12)
jne 0x5b6c
movq %r12, %rdi
callq 0x5ae7
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5ba6
movq %r15, %rdi
movq %r12, %rsi
callq 0x27e93
jmp 0x5b50
movq %r14, %rdi
jmp 0x5b37
leaq 0x355c1(%rip), %rdi     # 0x3b151
movq %rbx, %rsi
callq 0x7b01
jmp 0x5b98
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: report_style_mod_core
static void report_style_mod_core(void * style_p, lv_obj_t * obj)
{
    lv_obj_t * i;
    LV_LL_READ(obj->child_ll, i)
    {
        if(i->style_p == style_p || style_p == NULL) {
            refresh_children_style(i);
            lv_obj_refresh_style(i);
        }

        report_style_mod_core(style_p, i);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
addq $0x8, %rbx
movq %rbx, %rdi
callq 0x27db9
movq %rax, %r15
testq %rax, %rax
je 0x5bf8
testq %r14, %r14
je 0x5bd0
cmpq %r14, 0x48(%r15)
jne 0x5be0
movq %r15, %rdi
callq 0x5a99
movq %r15, %rdi
callq 0x5ae7
movq %r14, %rdi
movq %r15, %rsi
callq 0x5ba6
movq %rbx, %rdi
movq %r15, %rsi
callq 0x27e93
jmp 0x5bbd
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_set_hidden
void lv_obj_set_hidden(lv_obj_t * obj, bool en)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);

    if(!obj->hidden) lv_obj_invalidate(obj); /*Invalidate when not hidden (hidden objects are ignored) */

    obj->hidden = en == false ? 0 : 1;

    if(!obj->hidden) lv_obj_invalidate(obj); /*Invalidate when not hidden (hidden objects are ignored) */

    lv_obj_t * par = lv_obj_get_parent(obj);
    par->signal_cb(par, LV_SIGNAL_CHILD_CHG, obj);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x5c5e
movzwl 0x58(%rbx), %eax
testb $0x10, %al
jne 0x5c23
movq %rbx, %rdi
callq 0x493a
movzwl 0x58(%rbx), %eax
movzbl %bpl, %ecx
movl %ecx, %edx
shll $0x4, %edx
andl $-0x11, %eax
orl %edx, %eax
movw %ax, 0x58(%rbx)
testb %cl, %cl
jne 0x5c41
movq %rbx, %rdi
callq 0x493a
movq %rbx, %rdi
callq 0x47bc
movq 0x30(%rax), %rcx
pushq $0x1
popq %rsi
movq %rax, %rdi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %rbp
jmpq *%rcx
leaq 0x354df(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x5c6d
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_set_base_dir
void lv_obj_set_base_dir(lv_obj_t * obj, lv_bidi_dir_t dir)
{
    if(dir != LV_BIDI_DIR_LTR && dir != LV_BIDI_DIR_RTL &&
       dir != LV_BIDI_DIR_AUTO && dir != LV_BIDI_DIR_INHERIT) {

        LV_LOG_WARN("lv_obj_set_base_dir: invalid base dir");
        return;
    }

    obj->base_dir = dir;
    lv_signal_send(obj, LV_SIGNAL_BASE_DIR_CHG, NULL);

    /* Notify the children about the parent base dir has changed.
     * (The children might have `LV_BIDI_DIR_INHERIT`)*/
    base_dir_refr_children(obj);
}

// Assembly:
cmpb $0x3, %sil
jbe 0x5e46
retq
pushq %rbx
movq %rdi, %rbx
movzbl %sil, %eax
shll $0xa, %eax
movl $0xfffff3ff, %ecx       # imm = 0xFFFFF3FF
andl 0x58(%rdi), %ecx
orl %eax, %ecx
movw %cx, 0x58(%rdi)
pushq $0x5
popq %rsi
xorl %edx, %edx
callq 0x5e6f
movq %rbx, %rdi
popq %rbx
jmp 0x5eb3
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: base_dir_refr_children
static void base_dir_refr_children(lv_obj_t * obj)
{
    lv_obj_t * child;
    child = lv_obj_get_child(obj, NULL);

    while(child) {
        if(child->base_dir == LV_BIDI_DIR_INHERIT) {
            lv_signal_send(child, LV_SIGNAL_BASE_DIR_CHG, NULL);
            base_dir_refr_children(child);
        }

        child = lv_obj_get_child(obj, child);
    }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %esi, %esi
callq 0x4e4d
movq %rax, %r14
pushq $0x5
popq %rbp
testq %r14, %r14
je 0x5efc
movl 0x58(%r14), %eax
notl %eax
testw $0xc00, %ax             # imm = 0xC00
jne 0x5eec
movq %r14, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x5e6f
movq %r14, %rdi
callq 0x5eb3
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4e4d
movq %rax, %r14
jmp 0x5ec7
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_event_send_func
lv_res_t lv_event_send_func(lv_event_cb_t event_xcb, lv_obj_t * obj, lv_event_t event, const void * data)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);

    /* Build a simple linked list from the objects used in the events
     * It's important to know if an this object was deleted by a nested event
     * called from this `even_cb`. */
    lv_event_temp_data_t event_temp_data;
    event_temp_data.obj     = obj;
    event_temp_data.deleted = false;
    event_temp_data.prev    = NULL;

    if(event_temp_data_head) {
        event_temp_data.prev = event_temp_data_head;
    }
    event_temp_data_head = &event_temp_data;

    const void * event_act_data_save = event_act_data;
    event_act_data                   = data;

    /*Call the input device's feedback callback if set*/
    lv_indev_t * indev_act = lv_indev_get_act();
    if(indev_act) {
        if(indev_act->driver.feedback_cb) indev_act->driver.feedback_cb(&indev_act->driver, event);
    }

    /*Call the event callback itself*/
    if(event_xcb) event_xcb(obj, event);

    /*Restore the event data*/
    event_act_data = event_act_data_save;

    /*Remove this element from the list*/
    event_temp_data_head = event_temp_data_head->prev;

    if(event_temp_data.deleted) {
        return LV_RES_INV;
    }

    if(obj) {
        if(obj->parent_event && obj->par) {
            lv_res_t res = lv_event_send(obj->par, event, data);
            if(res != LV_RES_OK) {
                return LV_RES_INV;
            }
        }
    }

    return LV_RES_OK;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rcx, %rbx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %rdi
callq 0x7994
testb %al, %al
je 0x609c
leaq 0x8(%rsp), %rax
movq %r14, (%rax)
movb $0x0, 0x8(%rax)
movq 0x57e7c(%rip), %rcx     # 0x5deb0
movq %rcx, 0x10(%rax)
movq %rax, 0x57e71(%rip)     # 0x5deb0
movq 0x57e72(%rip), %r12     # 0x5deb8
movq %rbx, 0x57e6b(%rip)     # 0x5deb8
callq 0x35b3
movzbl %bpl, %ebp
testq %rax, %rax
je 0x606b
movq 0x10(%rax), %rcx
testq %rcx, %rcx
je 0x606b
movq %rax, %rdi
movl %ebp, %esi
callq *%rcx
testq %r15, %r15
je 0x6078
movq %r14, %rdi
movl %ebp, %esi
callq *%r15
movq %r12, 0x57e39(%rip)     # 0x5deb8
movq 0x57e2a(%rip), %rax     # 0x5deb0
movq 0x10(%rax), %rax
movq %rax, 0x57e1f(%rip)     # 0x5deb0
cmpb $0x0, 0x10(%rsp)
je 0x60ad
xorl %eax, %eax
jmp 0x60d1
leaq 0x350a1(%rip), %rdi     # 0x3b144
movq %r14, %rsi
callq 0x7b01
jmp 0x60ab
testq %r14, %r14
je 0x60cf
testb $-0x80, 0x58(%r14)
je 0x60cf
movq (%r14), %rdi
testq %rdi, %rdi
je 0x60cf
movl %ebp, %esi
movq %rbx, %rdx
callq 0x4caf
testb %al, %al
je 0x6098
movb $0x1, %al
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_refresh_ext_draw_pad
void lv_obj_refresh_ext_draw_pad(lv_obj_t * obj)
{
    LV_ASSERT_OBJ(obj, LV_OBJX_NAME);

    obj->ext_draw_pad = 0;
    obj->signal_cb(obj, LV_SIGNAL_REFR_EXT_DRAW_PAD, NULL);

    lv_obj_invalidate(obj);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x7994
testb %al, %al
je 0x61a5
andw $0x0, 0x5c(%rbx)
pushq $0x6
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq *0x30(%rbx)
movq %rbx, %rdi
popq %rbx
jmp 0x493a
leaq 0x34f98(%rip), %rdi     # 0x3b144
movq %rbx, %rsi
callq 0x7b01
jmp 0x61b4