LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_group.c
// Function: lv_group_set_editing
void lv_group_set_editing(lv_group_t * group, bool edit)
{
    uint8_t en_val = edit ? 1 : 0;

    if(en_val == group->editing) return; /*Do not set the same mode again*/

    group->editing     = en_val;
    lv_obj_t * focused = lv_group_get_focused(group);

    if(focused) {
        focused->signal_cb(focused, LV_SIGNAL_FOCUS, NULL); /*Focus again to properly leave/open edit/navigate mode*/
        lv_res_t res = lv_event_send(*group->obj_focus, LV_EVENT_FOCUSED, NULL);
        if(res != LV_RES_OK) return;
    }

    lv_obj_invalidate(focused);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movb 0x80(%rdi), %al
testb $0x2, %al
sete %cl
xorb %sil, %cl
jne 0x2821
movq %rdi, %rbx
addb %sil, %sil
andb $-0x3, %al
orb %sil, %al
movb %al, 0x80(%rdi)
testq %rdi, %rdi
je 0x27e5
movq 0x18(%rbx), %rax
testq %rax, %rax
je 0x27e5
movq (%rax), %r14
jmp 0x27e8
xorl %r14d, %r14d
testq %r14, %r14
je 0x2812
movq %r14, %rdi
movl $0x10, %esi
xorl %edx, %edx
callq *0x30(%r14)
movq 0x18(%rbx), %rax
movq (%rax), %rdi
movl $0xc, %esi
xorl %edx, %edx
callq 0x4fea
cmpb $0x1, %al
jne 0x2821
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x4c36
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_group.c
// Function: obj_to_foreground
static void obj_to_foreground(lv_obj_t * obj)
{
    /*Search for 'top' attribute*/
    lv_obj_t * i        = obj;
    lv_obj_t * last_top = NULL;
    while(i != NULL) {
        if(i->top != 0) last_top = i;
        i = lv_obj_get_parent(i);
    }

    if(last_top != NULL) {
        /*Move the last_top object to the foreground*/
        lv_obj_move_foreground(last_top);
    }
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0x284e
movq %rdi, %rax
xorl %ebx, %ebx
movzwl 0x58(%rax), %ecx
testb $0x20, %cl
cmovneq %rax, %rbx
movq %rax, %rdi
callq 0x4abf
testq %rax, %rax
jne 0x2834
jmp 0x2850
xorl %ebx, %ebx
testq %rbx, %rbx
je 0x285e
movq %rbx, %rdi
popq %rbx
jmp 0x5334
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_group.c
// Function: lv_group_send_data
lv_res_t lv_group_send_data(lv_group_t * group, uint32_t c)
{
    lv_obj_t * act = lv_group_get_focused(group);
    if(act == NULL) return LV_RES_OK;

    lv_res_t res;

    res = act->signal_cb(act, LV_SIGNAL_CONTROL, &c);
    if(res != LV_RES_OK) return res;

    res = lv_event_send(act, LV_EVENT_KEY, &c);
    if(res != LV_RES_OK) return res;

    return res;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movl %esi, 0xc(%rsp)
testq %rdi, %rdi
je 0x2a02
movq 0x18(%rdi), %rax
testq %rax, %rax
je 0x2a02
movq (%rax), %rbx
jmp 0x2a04
xorl %ebx, %ebx
testq %rbx, %rbx
je 0x2a31
leaq 0xc(%rsp), %rdx
movq %rbx, %rdi
movl $0x12, %esi
callq *0x30(%rbx)
cmpb $0x1, %al
jne 0x2a33
leaq 0xc(%rsp), %rdx
movq %rbx, %rdi
movl $0xb, %esi
callq 0x4fea
jmp 0x2a33
movb $0x1, %al
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x798d
testb $0x2, 0x80(%r14)
jne 0x2ae8
movq 0x20(%r14), %rax
jmp 0x2aec
movq 0x28(%r14), %rax
testq %rax, %rax
je 0x2af9
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_O1/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 %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
callq 0x2e244
movq %rax, %rbx
testq %r14, %r14
je 0x2bbf
leaq 0xa9(%rip), %rax        # 0x2c2e
movq %rax, 0x20(%r14)
leaq 0x214(%rip), %rax       # 0x2da4
movq %rax, 0x28(%r14)
testq %rbx, %rbx
je 0x2c22
movq 0x350(%rbx), %rax
testq %rax, %rax
je 0x2bad
movq %rax, 0x20(%r14)
movq 0x358(%rbx), %rax
testq %rax, %rax
je 0x2c22
movq %rax, 0x28(%r14)
jmp 0x2c22
leaq 0x659aa(%rip), %rdi     # 0x68570
callq 0x29cce
testq %rax, %rax
je 0x2c22
leaq 0x57(%rip), %r15        # 0x2c2e
leaq 0x1c6(%rip), %r12       # 0x2da4
leaq 0x6598b(%rip), %r14     # 0x68570
movq %r15, 0x20(%rax)
movq %r12, 0x28(%rax)
testq %rbx, %rbx
je 0x2c12
movq 0x350(%rbx), %rcx
testq %rcx, %rcx
je 0x2c02
movq %rcx, 0x20(%rax)
movq 0x358(%rbx), %rcx
testq %rcx, %rcx
je 0x2c12
movq %rcx, 0x28(%rax)
movq %r14, %rdi
movq %rax, %rsi
callq 0x29dfb
testq %rax, %rax
jne 0x2be5
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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:
movb $-0x1, 0xf(%rsi)
movw $0x400, 0xa(%rsi)       # imm = 0x400
cmpb $0x0, 0x8(%rsi)
jne 0x2dbb
cmpw $0x0, 0xc(%rsi)
je 0x2dc1
movw $0x5, 0xc(%rsi)
pushq %rbx
movzwl 0x2(%rsi), %edi
movl %edi, %eax
shrl $0xb, %eax
imull $0x590, %eax, %r8d      # imm = 0x590
movl $0xfffff800, %eax       # imm = 0xFFFFF800
andl %eax, %r8d
movl %edi, %ecx
shrl $0x5, %ecx
andl $0x3f, %ecx
imull $0xb2, %ecx, %r9d
movl $0x9a0, %ecx            # imm = 0x9A0
addl %ecx, %r9d
shrl $0x3, %r9d
movl $0x7e0, %edx            # imm = 0x7E0
andl %edx, %r9d
andl $0x1f, %edi
imull $0xb2, %edi, %ebx
movzbl %bh, %edi
orl %r8d, %edi
orl %r9d, %edi
movw %di, 0x2(%rsi)
movzwl 0x4(%rsi), %edi
movl %edi, %r8d
shrl $0xb, %r8d
imull $0x590, %r8d, %r8d      # imm = 0x590
andl %eax, %r8d
movl %edi, %r9d
shrl $0x5, %r9d
andl $0x3f, %r9d
imull $0xb2, %r9d, %r9d
addl %ecx, %r9d
shrl $0x3, %r9d
andl %edx, %r9d
andl $0x1f, %edi
imull $0xb2, %edi, %ebx
movzbl %bh, %edi
orl %r8d, %edi
orl %r9d, %edi
movw %di, 0x4(%rsi)
movzwl 0x10(%rsi), %edi
movl %edi, %r8d
shrl $0xb, %r8d
imull $0x4c8, %r8d, %r8d      # imm = 0x4C8
andl %eax, %r8d
movl %edi, %r9d
shrl $0x5, %r9d
andl $0x3f, %r9d
imull $0x99, %r9d, %r9d
addl $0xcc0, %r9d            # imm = 0xCC0
shrl $0x3, %r9d
andl %edx, %r9d
andl $0x1f, %edi
imull $0x99, %edi, %ebx
movzbl %bh, %edi
orl %r8d, %edi
orl %r9d, %edi
movw %di, 0x10(%rsi)
movzwl 0x20(%rsi), %edi
movl %edi, %r8d
shrl $0xb, %r8d
imull $0x590, %r8d, %r8d      # imm = 0x590
andl %eax, %r8d
movl %edi, %eax
shrl $0x5, %eax
andl $0x3f, %eax
imull $0xb2, %eax, %eax
addl %ecx, %eax
shrl $0x3, %eax
andl %edx, %eax
andl $0x1f, %edi
imull $0xb2, %edi, %ecx
movzbl %ch, %ecx
orl %r8d, %ecx
orl %eax, %ecx
movw %cx, 0x20(%rsi)
cmpb $0xf, 0x3a(%rsi)
popq %rbx
ja 0x2ef5
movw $0x400, 0x38(%rsi)      # imm = 0x400
movb $0x66, 0x3a(%rsi)
retq
nop
// File: /workspace/github_c_makefile_star2_O1/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 0x2f09
orb $0x2, 0x78(%rdi)
retq
pushq %rax
xorl %edi, %edi
callq 0x87d5
testq %rax, %rax
je 0x2f1f
orb $0x2, 0x78(%rax)
movq %rax, %rdi
jmp 0x2f0c
addq $0x8, %rsp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x380f
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, 0x80(%rdi)
movq 0x18(%rdi), %rdi
callq 0x4420
movq %r14, %rdi
movq %rax, %rsi
callq 0x5255
movq 0x80(%rbx), %rdi
movswl 0x38(%rbx), %esi
movswl 0x3a(%rbx), %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x4ae2
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x384a
movzwl 0x38(%rdi), %eax
movw %ax, (%rsi)
movzwl 0x3a(%rdi), %eax
jmp 0x3853
movw $0xffff, (%rsi)         # imm = 0xFFFF
movw $0xffff, %ax            # imm = 0xFFFF
movw %ax, 0x2(%rsi)
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x4abf
testq %rax, %rax
je 0x445c
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rbx, %rdi
callq 0x5033
cmpq %r14, %rax
je 0x4454
addq $0x48, %rax
addq $0x48, %r14
movq %rax, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movl $0x1, %ecx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x29e65
// File: /workspace/github_c_makefile_star2_O1/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 0x49b3
movq %rdi, %r14
leaq 0x3a723(%rip), %rax     # 0x3f070
movslq (%rax,%rsi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movq %r14, %rdi
movl $0x1, %esi
callq 0x6a3c
movl %eax, %ebx
xorb $0x1, %bl
jmp 0x49b3
movq %r14, %rdi
callq 0x6697
movzwl 0x12(%rax), %eax
cmpw 0x5c(%r14), %ax
jle 0x49b3
movw %ax, 0x5c(%r14)
jmp 0x49b3
movq %r14, %rdi
callq 0x64f5
jmp 0x49b3
xorl %eax, %eax
cmpq $0x0, (%rdx,%rax,8)
je 0x49a5
incq %rax
cmpq $0x7, %rax
jne 0x4990
movl $0x7, %eax
movzbl %al, %eax
leaq 0x3a7a0(%rip), %rcx     # 0x3f14f
movq %rcx, (%rdx,%rax,8)
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/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 %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
testl %edx, %edx
je 0x4a07
cmpl $0x2, %edx
jne 0x4a2f
leaq 0x20(%r14), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x28750
testb %al, %al
je 0x4a03
movq %r14, %rdi
callq 0x6697
cmpb $-0x5, 0x8(%rax)
jb 0x4a03
movzwl 0x6(%rax), %r12d
cmpl $0x7c18, %r12d          # imm = 0x7C18
jne 0x4a3d
xorl %eax, %eax
jmp 0x4a31
movq %r14, %rdi
callq 0x6697
movq %rax, %r15
leaq 0x20(%r14), %r12
movq %r14, %rdi
callq 0x69cc
movzbl %al, %ecx
movq %r12, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x365ac
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %r14, %rdi
callq 0x80d4
testb %al, %al
je 0x4a9a
movq (%r15), %rax
movq %rsp, %rsi
movq %rax, (%rsi)
addl %r12d, %eax
movw %ax, (%rsi)
subw %r12w, 0x4(%rsi)
movq %rbx, %rdi
callq 0x28750
testb %al, %al
je 0x4a03
movq %r14, %rdi
callq 0x80d4
testb %al, %al
je 0x4aab
movq (%r15), %rax
movq %rsp, %rsi
movq %rax, (%rsi)
addw %r12w, 0x2(%rsi)
subw %r12w, 0x6(%rsi)
movq %rbx, %rdi
callq 0x28750
testb %al, %al
je 0x4a03
jmp 0x4a2f
leaq 0x3a693(%rip), %rdi     # 0x3f134
movq %r14, %rsi
callq 0x829e
jmp 0x4aa9
leaq 0x3a682(%rip), %rdi     # 0x3f134
movq %r14, %rsi
callq 0x829e
jmp 0x4aba
// File: /workspace/github_c_makefile_star2_O1/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 %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movl %esi, %r15d
movq %rdi, %rbx
callq 0x80d4
testb %al, %al
je 0x4ba4
movq (%rbx), %r14
addw 0x20(%r14), %r15w
movzwl 0x22(%r14), %eax
addl %eax, %ebp
movl 0x20(%rbx), %r12d
movzwl 0x22(%rbx), %r13d
movl %r15d, %eax
xorl %r12d, %eax
movl %r13d, %ecx
xorl %ebp, %ecx
orw %ax, %cx
je 0x4b95
movq %rbx, %rdi
callq 0x4c36
movq %rbx, %rdi
callq 0x80d4
testb %al, %al
je 0x4bb5
subl %r12d, %r15d
movq 0x20(%rbx), %rax
movq %rsp, %r12
movq %rax, (%r12)
addw %r15w, 0x20(%rbx)
subl %r13d, %ebp
addw %bp, 0x22(%rbx)
addw %r15w, 0x24(%rbx)
addw %bp, 0x26(%rbx)
movswl %r15w, %esi
movswl %bp, %edx
movq %rbx, %rdi
callq 0x545a
movq %rbx, %rdi
movl $0x2, %esi
movq %r12, %rdx
callq *0x30(%rbx)
movq %r14, %rdi
movl $0x1, %esi
movq %rbx, %rdx
callq *0x30(%r14)
movq %rbx, %rdi
callq 0x4c36
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3a589(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x4bb3
leaq 0x3a578(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x4bc4
// File: /workspace/github_c_makefile_star2_O1/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 0x80d4
testb %al, %al
je 0x4bed
movq %rbx, %rdi
callq 0x4abf
movq %rax, %rcx
movzwl 0x20(%rbx), %eax
testq %rcx, %rcx
je 0x4beb
subw 0x20(%rcx), %ax
popq %rbx
retq
leaq 0x3a540(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x4bfc
// File: /workspace/github_c_makefile_star2_O1/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 0x80d4
testb %al, %al
je 0x4c25
movq %rbx, %rdi
callq 0x4abf
movq %rax, %rcx
movzwl 0x22(%rbx), %eax
testq %rcx, %rcx
je 0x4c23
subw 0x22(%rcx), %ax
popq %rbx
retq
leaq 0x3a508(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x4c34
// File: /workspace/github_c_makefile_star2_O1/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 %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
callq 0x80d4
testb %al, %al
je 0x4d1a
movq %r14, %rdi
callq 0x51ee
testb %al, %al
jne 0x4d0f
movq %r14, %rdi
callq 0x5216
movq %rax, %r15
movq %rax, %rdi
callq 0x5033
movq %rax, %rbx
movq %rax, %rdi
callq 0x43d0
cmpq %rax, %r15
je 0x4c9a
movq %rbx, %rdi
callq 0x4403
cmpq %rax, %r15
je 0x4c9a
movq %rbx, %rdi
callq 0x4420
cmpq %rax, %r15
jne 0x4d0f
movq %r14, %rdi
callq 0x4abf
movl 0x5c(%r14), %ecx
movq 0x20(%r14), %rdx
movq %rdx, (%rsp)
subl %ecx, %edx
movw %dx, (%rsp)
subw %cx, 0x2(%rsp)
addw %cx, 0x4(%rsp)
addw %cx, 0x6(%rsp)
testq %rax, %rax
je 0x4d04
movq %rax, %r14
movq %rsp, %r15
leaq 0x20(%r14), %rdx
movq %r15, %rdi
movq %r15, %rsi
callq 0x2865e
testb %al, %al
je 0x4d0f
movl %eax, %ebp
movq %r14, %rdi
callq 0x51ee
testb %al, %al
jne 0x4d0f
movq %r14, %rdi
callq 0x4abf
movq %rax, %r14
testq %rax, %rax
jne 0x4cce
testb %bpl, %bpl
je 0x4d0f
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x7184
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3a413(%rip), %rdi     # 0x3f134
movq %r14, %rsi
callq 0x829e
jmp 0x4d29
// File: /workspace/github_c_makefile_star2_O1/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 0x501b
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %rbx
callq 0x80d4
testb %al, %al
je 0x5022
movq 0x28(%rbx), %rdi
movzbl %bpl, %edx
movq %rbx, %rsi
movq %r14, %rcx
popq %rbx
popq %r14
popq %rbp
jmp 0x6374
movb $0x1, %al
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x3a10b(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x5031
// File: /workspace/github_c_makefile_star2_O1/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x80d4
testb %al, %al
je 0x50e5
cmpq $0x0, (%rbx)
je 0x505f
movq %rbx, %rdi
callq 0x5216
movq %rax, %rbx
leaq 0x63492(%rip), %rdi     # 0x684f8
callq 0x29cce
testq %rax, %rax
je 0x50d0
movq %rax, %r14
leaq 0x6347e(%rip), %r15     # 0x684f8
leaq 0x48(%r14), %r12
movq %r12, %rdi
callq 0x29cce
testq %rax, %rax
sete %cl
je 0x50b3
movq %r14, %r13
cmpq %rbx, %rax
je 0x50b6
movq %r12, %rdi
movq %rax, %rsi
callq 0x29dfb
testq %rax, %rax
sete %cl
je 0x50b3
cmpq %rbx, %rax
jne 0x5096
movq %r14, %r13
jmp 0x50b6
movq %rbp, %r13
testb %cl, %cl
je 0x50d3
movq %r15, %rdi
movq %r14, %rsi
callq 0x29dfb
movq %rax, %r14
movq %r13, %rbp
testq %rax, %rax
jne 0x507a
xorl %r13d, %r13d
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3a048(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x50f4
// File: /workspace/github_c_makefile_star2_O1/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 0x80d4
testb %al, %al
je 0x5192
movq %rbx, %rdi
xorl %esi, %esi
callq 0x51a3
testq %rax, %rax
je 0x518c
movq %rax, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x51a3
movq %rax, %r15
movq %r14, %rdi
callq 0x4d2b
movq %r15, %r14
testq %r15, %r15
jne 0x516e
popq %rbx
popq %r14
popq %r15
retq
leaq 0x39f9b(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x51a1
// File: /workspace/github_c_makefile_star2_O1/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 0x80d4
testb %al, %al
je 0x51d1
addq $0x8, %rbx
movq %rbx, %rdi
testq %r14, %r14
je 0x51e2
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x29dfb
leaq 0x39f5c(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x51e0
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x29cce
// File: /workspace/github_c_makefile_star2_O1/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 0x80d4
testb %al, %al
je 0x5244
movq %rbx, %r14
movq %rbx, %rdi
callq 0x4abf
movq %rax, %rbx
testq %rax, %rax
jne 0x5226
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x39ee9(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x5253
// File: /workspace/github_c_makefile_star2_O1/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 %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
callq 0x80d4
testb %al, %al
je 0x5309
movq %r14, %rdi
callq 0x80d4
testb %al, %al
je 0x531a
testq %r14, %r14
je 0x532b
cmpq $0x0, (%rbx)
je 0x532b
movq %rbx, %rdi
callq 0x4c36
movq %rbx, %rdi
callq 0x4bc6
movl %eax, %ebp
movq %rbx, %rdi
callq 0x4bfe
movl %eax, %r15d
movq (%rbx), %r12
leaq 0x8(%r12), %rdi
leaq 0x8(%r14), %rsi
movq %rbx, %rdx
movl $0x1, %ecx
callq 0x29e65
movq %r14, (%rbx)
movswl %bp, %esi
movswl %r15w, %edx
movq %rbx, %rdi
callq 0x4ae2
movq %r12, %rdi
movl $0x1, %esi
xorl %edx, %edx
callq *0x30(%r12)
movq %r14, %rdi
movl $0x1, %esi
movq %rbx, %rdx
callq *0x30(%r14)
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x4c36
leaq 0x39e24(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x5318
leaq 0x39e13(%rip), %rdi     # 0x3f134
movq %r14, %rsi
callq 0x829e
jmp 0x5329
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
callq 0x80d4
testb %al, %al
je 0x5398
movq %rbx, %rdi
callq 0x4abf
movq %rax, %r14
leaq 0x8(%rax), %r15
movq %r15, %rdi
callq 0x29cce
cmpq %rbx, %rax
je 0x53a9
movq %r14, %rdi
callq 0x4c36
movq %r15, %rdi
movq %r15, %rsi
movq %rbx, %rdx
movl $0x1, %ecx
callq 0x29e65
movq %r14, %rdi
movl $0x1, %esi
movq %rbx, %rdx
callq *0x30(%r14)
movq %r14, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x4c36
leaq 0x39d95(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x53a7
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x80d4
testb %al, %al
je 0x5410
movq %rbx, %rdi
callq 0x4abf
movq %rax, %r14
leaq 0x8(%rax), %r15
movq %r15, %rdi
callq 0x29e0b
cmpq %rbx, %rax
je 0x5421
movq %r14, %rdi
callq 0x4c36
movq %r15, %rdi
movq %r15, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x29e65
movq %r14, %rdi
movl $0x1, %esi
movq %rbx, %rdx
callq *0x30(%r14)
movq %r14, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x4c36
leaq 0x39d1d(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x541f
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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
pushq %rax
movl %edx, %r15d
movl %esi, %ebp
movq %rdi, %rbx
addq $0x8, %rbx
movq %rbx, %rdi
callq 0x29cce
testq %rax, %rax
je 0x54b8
movq %rax, %r14
movswl %bp, %ebp
movswl %r15w, %r15d
addw %bp, 0x20(%r14)
addw %r15w, 0x22(%r14)
addw %bp, 0x24(%r14)
addw %r15w, 0x26(%r14)
movq %r14, %rdi
movl %ebp, %esi
movl %r15d, %edx
callq 0x545a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x29dfb
movq %rax, %r14
testq %rax, %rax
jne 0x5484
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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, %r14d
movl %esi, %ebp
movq %rdi, %rbx
callq 0x80d4
testb %al, %al
je 0x562f
movq %rbx, %rdi
callq 0x5651
cmpw %bp, %ax
jne 0x557a
movq %rbx, %rdi
callq 0x567b
cmpw %r14w, %ax
je 0x5624
movq %rbx, %rdi
callq 0x4c36
movq %rbx, %rdi
callq 0x80d4
testb %al, %al
je 0x5640
movq 0x20(%rbx), %rax
movq %rsp, %rdx
movq %rax, (%rdx)
addw 0x22(%rbx), %r14w
decl %r14d
movw %r14w, 0x26(%rbx)
addw 0x20(%rbx), %bp
decl %ebp
movw %bp, 0x24(%rbx)
movq %rbx, %rdi
movl $0x2, %esi
callq *0x30(%rbx)
movq %rbx, %rdi
callq 0x4abf
testq %rax, %rax
je 0x55d9
movq %rax, %rdi
movl $0x1, %esi
movq %rbx, %rdx
callq *0x30(%rax)
leaq 0x8(%rbx), %r14
movq %r14, %rdi
callq 0x29cce
testq %rax, %rax
je 0x560e
movq %rax, %r15
movq %r15, %rdi
movl $0x3, %esi
xorl %edx, %edx
callq *0x30(%r15)
movq %r14, %rdi
movq %r15, %rsi
callq 0x29dfb
movq %rax, %r15
testq %rax, %rax
jne 0x55ed
movq %rbx, %rdi
callq 0x4c36
testb $0x1, 0x6d(%rbx)
je 0x5624
movq %rbx, %rdi
callq 0x56a5
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x39afe(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x563e
leaq 0x39aed(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x564f
// File: /workspace/github_c_makefile_star2_O1/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 0x80d4
testb %al, %al
je 0x56da
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 0x56eb
popq %rbx
jmp 0x576d
leaq 0x39a53(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x56e9
popq %rbx
jmp 0x5b05
// File: /workspace/github_c_makefile_star2_O1/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 0x80d4
testb %al, %al
je 0x5dbd
movq %r14, %rdi
callq 0x822e
testb %al, %al
je 0x5dce
movq %r14, 0x48(%rbx)
movq %rbx, %rdi
callq 0x5ddf
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x5e38
leaq 0x39370(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x5dcc
leaq 0x3936c(%rip), %rdi     # 0x3f141
movq %r14, %rsi
callq 0x829e
jmp 0x5ddd
// File: /workspace/github_c_makefile_star2_O1/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 0x51a3
testq %rax, %rax
je 0x5e30
movq %rax, %r14
movq 0x48(%r14), %rax
testq %rax, %rax
je 0x5e0d
testb $0x1, (%rax)
je 0x5e1d
movq %r14, %rdi
callq 0x5ddf
jmp 0x5e1d
movq %r14, %rdi
callq 0x5ddf
movq %r14, %rdi
callq 0x5e38
movq %rbx, %rdi
movq %r14, %rsi
callq 0x51a3
movq %rax, %r14
testq %rax, %rax
jne 0x5df5
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x80d4
testb %al, %al
je 0x5e63
movq %rbx, %rdi
callq 0x4c36
movq %rbx, %rdi
movl $0x4, %esi
xorl %edx, %edx
callq *0x30(%rbx)
movq %rbx, %rdi
popq %rbx
jmp 0x4c36
leaq 0x392ca(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x5e72
// File: /workspace/github_c_makefile_star2_O1/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 0x822e
testb %al, %al
je 0x5ef9
xorl %edi, %edi
callq 0x8640
testq %rax, %rax
je 0x5eed
movq %rax, %r14
leaq 0x48(%r14), %r15
movq %r15, %rdi
callq 0x29cce
testq %rax, %rax
je 0x5edd
movq %rax, %r12
testq %rbx, %rbx
je 0x5eb7
cmpq %rbx, 0x48(%r12)
jne 0x5ebf
movq %r12, %rdi
callq 0x5e38
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5f0a
movq %r15, %rdi
movq %r12, %rsi
callq 0x29dfb
movq %rax, %r12
testq %rax, %rax
jne 0x5eab
movq %r14, %rdi
callq 0x8640
movq %rax, %r14
testq %rax, %rax
jne 0x5e97
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x39241(%rip), %rdi     # 0x3f141
movq %rbx, %rsi
callq 0x829e
jmp 0x5f08
// File: /workspace/github_c_makefile_star2_O1/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 0x29cce
testq %rax, %rax
je 0x5f62
movq %rax, %r15
testq %r14, %r14
je 0x5f34
cmpq %r14, 0x48(%r15)
jne 0x5f44
movq %r15, %rdi
callq 0x5ddf
movq %r15, %rdi
callq 0x5e38
movq %r14, %rdi
movq %r15, %rsi
callq 0x5f0a
movq %rbx, %rdi
movq %r15, %rsi
callq 0x29dfb
movq %rax, %r15
testq %rax, %rax
jne 0x5f29
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x80d4
testb %al, %al
je 0x5fc7
testb $0x10, 0x58(%rbx)
jne 0x5f87
movq %rbx, %rdi
callq 0x4c36
movl 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 0x5fa8
movq %rbx, %rdi
callq 0x4c36
movq %rbx, %rdi
callq 0x4abf
movq 0x30(%rax), %rcx
movq %rax, %rdi
movl $0x1, %esi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %rbp
jmpq *%rcx
leaq 0x39166(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x5fd6
// File: /workspace/github_c_makefile_star2_O1/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 0x61b3
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)
movl $0x5, %esi
xorl %edx, %edx
callq 0x61de
movq %rbx, %rdi
popq %rbx
jmp 0x6222
// File: /workspace/github_c_makefile_star2_O1/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 %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %esi, %esi
callq 0x51a3
testq %rax, %rax
je 0x626f
movq %rax, %r14
movl 0x58(%r14), %eax
notl %eax
testl $0xc00, %eax            # imm = 0xC00
jne 0x625c
movq %r14, %rdi
movl $0x5, %esi
xorl %edx, %edx
callq 0x61de
movq %r14, %rdi
callq 0x6222
movq %rbx, %rdi
movq %r14, %rsi
callq 0x51a3
movq %rax, %r14
testq %rax, %rax
jne 0x6238
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x80d4
testb %al, %al
je 0x6412
leaq 0x8(%rsp), %rax
movq %r14, (%rax)
movb $0x0, 0x8(%rax)
movq 0x59b06(%rip), %rcx     # 0x5feb0
movq %rcx, 0x10(%rax)
movq %rax, 0x59afb(%rip)     # 0x5feb0
movq 0x59afc(%rip), %r12     # 0x5feb8
movq %rbx, 0x59af5(%rip)     # 0x5feb8
callq 0x3784
movzbl %bpl, %ebp
testq %rax, %rax
je 0x63e1
movq 0x10(%rax), %rcx
testq %rcx, %rcx
je 0x63e1
movq %rax, %rdi
movl %ebp, %esi
callq *%rcx
testq %r15, %r15
je 0x63ee
movq %r14, %rdi
movl %ebp, %esi
callq *%r15
movq %r12, 0x59ac3(%rip)     # 0x5feb8
movq 0x59ab4(%rip), %rax     # 0x5feb0
movq 0x10(%rax), %rax
movq %rax, 0x59aa9(%rip)     # 0x5feb0
cmpb $0x0, 0x10(%rsp)
je 0x6423
xorl %eax, %eax
jmp 0x6447
leaq 0x38d1b(%rip), %rdi     # 0x3f134
movq %r14, %rsi
callq 0x829e
jmp 0x6421
testq %r14, %r14
je 0x6445
testb $-0x80, 0x58(%r14)
je 0x6445
movq (%r14), %rdi
testq %rdi, %rdi
je 0x6445
movl %ebp, %esi
movq %rbx, %rdx
callq 0x4fea
testb %al, %al
je 0x640e
movb $0x1, %al
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x80d4
testb %al, %al
je 0x651e
movw $0x0, 0x5c(%rbx)
movq %rbx, %rdi
movl $0x6, %esi
xorl %edx, %edx
callq *0x30(%rbx)
movq %rbx, %rdi
popq %rbx
jmp 0x4c36
leaq 0x38c0f(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x652d
// File: /workspace/github_c_makefile_star2_O1/OnionIoT[P]lv_example/lvgl/src/lv_core/lv_obj.c
// Function: lv_obj_get_child_back
lv_obj_t * lv_obj_get_child_back(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_tail(&obj->child_ll);
    } else {
        result = lv_ll_get_prev(&obj->child_ll, child);
    }

    return result;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x80d4
testb %al, %al
je 0x655d
addq $0x8, %rbx
movq %rbx, %rdi
testq %r14, %r14
je 0x656e
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x29cdb
leaq 0x38bd0(%rip), %rdi     # 0x3f134
movq %rbx, %rsi
callq 0x829e
jmp 0x656c
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x29e0b