// File: /workspace/github_c_makefile_star2_O0/OnionIoT[P]lv_example/lvgl/src/lv_themes/lv_theme_zen.c
// Function: basic_init
static void basic_init(void)
{
    static lv_style_t bg;
    static lv_style_t scr;
    static lv_style_t panel;

    lv_style_copy(&def, &lv_style_pretty); /*Initialize the default style*/
    def.body.border.opa = LV_OPA_COVER;
    def.text.font       = _font;
    def.text.color      = lv_color_hex3(0x444);
    def.image.color     = lv_color_hex3(0x444);

    lv_style_copy(&bg, &def);
    bg.body.main_color   = LV_COLOR_WHITE;
    bg.body.grad_color   = LV_COLOR_WHITE;
    bg.body.radius       = 0;
    bg.body.border.width = 0;
    bg.body.shadow.width = 0;

    lv_style_copy(&scr, &bg);
    scr.body.padding.bottom = 0;
    scr.body.padding.top    = 0;
    scr.body.padding.left   = 0;
    scr.body.padding.right  = 0;

    lv_style_copy(&panel, &bg);
    panel.body.radius         = LV_DPI / 10;
    panel.body.border.width   = 2;
    panel.body.border.color   = lv_color_hsv_to_rgb(_hue, 30, 90);
    panel.body.border.opa     = LV_OPA_COVER;
    panel.body.shadow.width   = 4;
    panel.body.shadow.color   = lv_color_hex3(0xddd);
    panel.body.padding.left   = LV_DPI / 6;
    panel.body.padding.right  = LV_DPI / 6;
    panel.body.padding.top    = LV_DPI / 8;
    panel.body.padding.bottom = LV_DPI / 8;
    panel.body.padding.inner  = LV_DPI / 10;

    lv_style_copy(&sb, &def);
    sb.body.main_color    = lv_color_hsv_to_rgb(_hue, 30, 90);
    sb.body.grad_color    = sb.body.main_color;
    sb.body.border.width  = 0;
    sb.body.radius        = LV_RADIUS_CIRCLE;
    sb.body.padding.inner = LV_DPI / 15;

    theme.style.scr   = &scr;
    theme.style.bg    = &bg;
    theme.style.panel = &panel;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
leaq 0x46319(%rip), %rdi     # 0x967d8
leaq 0x38bb2(%rip), %rsi     # 0x89078
callq 0xc550
movb $-0x1, 0x46315(%rip)    # 0x967e7
movq 0x45f97(%rip), %rax     # 0x96470
movq %rax, 0x46320(%rip)     # 0x96800
movl $0x444, %edi            # imm = 0x444
callq 0x52740
movw %ax, -0x2(%rbp)
movw -0x2(%rbp), %ax
movw %ax, 0x462ff(%rip)      # 0x967f8
movl $0x444, %edi            # imm = 0x444
callq 0x52740
movw %ax, -0x4(%rbp)
movw -0x4(%rbp), %ax
movw %ax, 0x462fe(%rip)      # 0x96810
leaq 0x46307(%rip), %rdi     # 0x96820
leaq 0x462b8(%rip), %rsi     # 0x967d8
callq 0xc550
movw -0x6(%rbp), %ax
andw $-0x20, %ax
orw $0x1f, %ax
movw %ax, -0x6(%rbp)
movw -0x6(%rbp), %ax
andw $0xf81f, %ax            # imm = 0xF81F
orw $0x7e0, %ax             # imm = 0x7E0
movw %ax, -0x6(%rbp)
movw -0x6(%rbp), %ax
andw $0x7ff, %ax             # imm = 0x7FF
orw $0xf800, %ax            # imm = 0xF800
movw %ax, -0x6(%rbp)
movw -0x6(%rbp), %ax
movw %ax, 0x462c2(%rip)      # 0x96822
movw -0x8(%rbp), %ax
andw $-0x20, %ax
orw $0x1f, %ax
movw %ax, -0x8(%rbp)
movw -0x8(%rbp), %ax
andw $0xf81f, %ax            # imm = 0xF81F
orw $0x7e0, %ax             # imm = 0x7E0
movw %ax, -0x8(%rbp)
movw -0x8(%rbp), %ax
andw $0x7ff, %ax             # imm = 0x7FF
orw $0xf800, %ax            # imm = 0xF800
movw %ax, -0x8(%rbp)
movw -0x8(%rbp), %ax
movw %ax, 0x46289(%rip)      # 0x96824
movw $0x0, 0x46282(%rip)     # 0x96826
movw $0x0, 0x4627f(%rip)     # 0x9682c
movw $0x0, 0x4627c(%rip)     # 0x96832
leaq 0x462ab(%rip), %rdi     # 0x96868
leaq 0x4625c(%rip), %rsi     # 0x96820
callq 0xc550
movw $0x0, 0x462ae(%rip)     # 0x96880
movw $0x0, 0x462a3(%rip)     # 0x9687e
movw $0x0, 0x4629e(%rip)     # 0x96882
movw $0x0, 0x46297(%rip)     # 0x96884
leaq 0x462bc(%rip), %rdi     # 0x968b0
leaq 0x46225(%rip), %rsi     # 0x96820
callq 0xc550
movw $0xa, 0x462ad(%rip)     # 0x968b6
movw $0x2, 0x462aa(%rip)     # 0x968bc
movl $0x1e, %esi
movl $0x5a, %edx
movzwl 0x45e45(%rip), %edi     # 0x96468
callq 0x45bf0
movw %ax, -0xa(%rbp)
movw -0xa(%rbp), %ax
movw %ax, 0x46283(%rip)      # 0x968ba
movb $-0x1, 0x46281(%rip)    # 0x968bf
movw $0x4, 0x4627b(%rip)     # 0x968c2
movl $0xddd, %edi            # imm = 0xDDD
callq 0x52740
movw %ax, -0xc(%rbp)
movw -0xc(%rbp), %ax
movw %ax, 0x46260(%rip)      # 0x968c0
movw $0x10, 0x46261(%rip)    # 0x968ca
movw $0x10, 0x4625a(%rip)    # 0x968cc
movw $0xc, 0x4624b(%rip)     # 0x968c6
movw $0xc, 0x46244(%rip)     # 0x968c8
movw $0xa, 0x46241(%rip)     # 0x968ce
leaq 0x46264(%rip), %rdi     # 0x968f8
leaq 0x4613d(%rip), %rsi     # 0x967d8
callq 0xc550
movl $0x1e, %esi
movl $0x5a, %edx
movzwl 0x45db7(%rip), %edi     # 0x96468
callq 0x45bf0
movw %ax, -0xe(%rbp)
movw -0xe(%rbp), %ax
movw %ax, 0x46235(%rip)      # 0x968fa
movw 0x4622e(%rip), %ax      # 0x968fa
movw %ax, 0x46229(%rip)      # 0x968fc
movw $0x0, 0x46228(%rip)     # 0x96904
movw $0x7c18, 0x46219(%rip)  # imm = 0x7C18
movw $0x6, 0x46228(%rip)     # 0x96916
leaq 0x46173(%rip), %rax     # 0x96868
movq %rax, 0x45d7c(%rip)     # 0x96478
leaq 0x4611d(%rip), %rax     # 0x96820
movq %rax, 0x45d76(%rip)     # 0x96480
leaq 0x4619f(%rip), %rax     # 0x968b0
movq %rax, 0x45d70(%rip)     # 0x96488
addq $0x10, %rsp
popq %rbp
retq
nop