// File: /workspace/github_c_makefile_star2_O0/OnionIoT[P]lv_example/lvgl/src/lv_themes/lv_theme_zen.c
// Function: tabview_init
static void tabview_init(void)
{
#if LV_USE_TABVIEW != 0
    static lv_style_t btn_bg, indic, rel, pr, tgl_rel, tgl_pr;

    lv_style_copy(&btn_bg, &def);
    btn_bg.body.opa          = LV_OPA_TRANSP;
    btn_bg.body.border.width = 2;
    btn_bg.body.border.part  = LV_BORDER_BOTTOM;
    btn_bg.body.border.color = lv_color_hsv_to_rgb(_hue, 10, 90);

    lv_style_copy(&indic, &def);
    indic.body.padding.inner = LV_DPI / 16;
    indic.body.border.width  = 0;
    indic.body.radius        = LV_RADIUS_CIRCLE;
    indic.body.main_color    = lv_color_hsv_to_rgb(_hue, 50, 80);
    indic.body.grad_color    = indic.body.main_color;

    lv_style_copy(&rel, &def);
    rel.body.opa          = LV_OPA_TRANSP;
    rel.body.border.width = 0;
    rel.text.color        = lv_color_hex3(0x999);

    lv_style_copy(&pr, &rel);
    pr.text.color = lv_color_hex3(0x777);

    lv_style_copy(&tgl_rel, &rel);
    tgl_rel.text.color = lv_color_hsv_to_rgb(_hue, 50, 80);

    lv_style_copy(&tgl_pr, &rel);
    tgl_pr.text.color = lv_color_hsv_to_rgb(_hue, 50, 70);

    theme.style.tabview.bg          = theme.style.bg;
    theme.style.tabview.indic       = &indic;
    theme.style.tabview.btn.bg      = &btn_bg;
    theme.style.tabview.btn.rel     = &rel;
    theme.style.tabview.btn.pr      = &pr;
    theme.style.tabview.btn.tgl_rel = &tgl_rel;
    theme.style.tabview.btn.tgl_pr  = &tgl_pr;
#endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
leaq 0x45749(%rip), %rdi     # 0x97798
leaq 0x44782(%rip), %rsi     # 0x967d8
callq 0xc550
movb $0x0, 0x4573e(%rip)     # 0x977a0
movw $0x2, 0x45739(%rip)     # 0x977a4
movb $0x1, 0x45734(%rip)     # 0x977a6
movl $0xa, %esi
movl $0x5a, %edx
movzwl 0x443e5(%rip), %edi     # 0x96468
callq 0x45bf0
movw %ax, -0x2(%rbp)
movw -0x2(%rbp), %ax
movw %ax, 0x4570b(%rip)      # 0x977a2
leaq 0x45742(%rip), %rdi     # 0x977e0
leaq 0x44733(%rip), %rsi     # 0x967d8
callq 0xc550
movw $0x6, 0x4574b(%rip)     # 0x977fe
movw $0x0, 0x45730(%rip)     # 0x977ec
movw $0x7c18, 0x45721(%rip)  # imm = 0x7C18
movl $0x32, %esi
movl $0x50, %edx
movzwl 0x44392(%rip), %edi     # 0x96468
callq 0x45bf0
movw %ax, -0x4(%rbp)
movw -0x4(%rbp), %ax
movw %ax, 0x456f8(%rip)      # 0x977e2
movw 0x456f1(%rip), %ax      # 0x977e2
movw %ax, 0x456ec(%rip)      # 0x977e4
leaq 0x45729(%rip), %rdi     # 0x97828
leaq 0x446d2(%rip), %rsi     # 0x967d8
callq 0xc550
movb $0x0, 0x4571e(%rip)     # 0x97830
movw $0x0, 0x45719(%rip)     # 0x97834
movl $0x999, %edi            # imm = 0x999
callq 0x52740
movw %ax, -0x6(%rbp)
movw -0x6(%rbp), %ax
movw %ax, 0x45714(%rip)      # 0x97848
leaq 0x45735(%rip), %rdi     # 0x97870
leaq 0x456e6(%rip), %rsi     # 0x97828
callq 0xc550
movl $0x777, %edi            # imm = 0x777
callq 0x52740
movw %ax, -0x8(%rbp)
movw -0x8(%rbp), %ax
movw %ax, 0x45730(%rip)      # 0x97890
leaq 0x45751(%rip), %rdi     # 0x978b8
leaq 0x456ba(%rip), %rsi     # 0x97828
callq 0xc550
movl $0x32, %esi
movl $0x50, %edx
movzwl 0x442e4(%rip), %edi     # 0x96468
callq 0x45bf0
movw %ax, -0xa(%rbp)
movw -0xa(%rbp), %ax
movw %ax, 0x45740(%rip)      # 0x978d8
leaq 0x45761(%rip), %rdi     # 0x97900
leaq 0x45682(%rip), %rsi     # 0x97828
callq 0xc550
movl $0x32, %esi
movl $0x46, %edx
movzwl 0x442ac(%rip), %edi     # 0x96468
callq 0x45bf0
movw %ax, -0xc(%rbp)
movw -0xc(%rbp), %ax
movw %ax, 0x45750(%rip)      # 0x97920
movq 0x442a9(%rip), %rax     # 0x96480
movq %rax, 0x4455a(%rip)     # 0x96738
leaq 0x455fb(%rip), %rax     # 0x977e0
movq %rax, 0x44554(%rip)     # 0x96740
leaq 0x455a5(%rip), %rax     # 0x97798
movq %rax, 0x4454e(%rip)     # 0x96748
leaq 0x45627(%rip), %rax     # 0x97828
movq %rax, 0x44548(%rip)     # 0x96750
leaq 0x45661(%rip), %rax     # 0x97870
movq %rax, 0x44542(%rip)     # 0x96758
leaq 0x4569b(%rip), %rax     # 0x978b8
movq %rax, 0x4453c(%rip)     # 0x96760
leaq 0x456d5(%rip), %rax     # 0x97900
movq %rax, 0x44536(%rip)     # 0x96768
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)