// File: /workspace/github_c_makefile_star2_O0/OnionIoT[P]lv_example/lvgl/src/lv_themes/lv_theme_nemo.c
// Function: calendar_init
static void calendar_init(void)
{
#if LV_USE_CALENDAR != 0
    static lv_style_t ina_days;
    lv_style_copy(&ina_days, &def);
    ina_days.text.color = lv_color_hsv_to_rgb(_hue, 0, 50);

    static lv_style_t high_days;
    lv_style_copy(&high_days, &def);
    high_days.text.color = lv_color_hsv_to_rgb(_hue, 50, 90);

    static lv_style_t week_box;
    lv_style_copy(&week_box, &def);
    week_box.body.opa            = LV_OPA_TRANSP;
    week_box.body.border.color   = theme.style.panel->body.border.color;
    week_box.body.padding.top    = LV_DPI / 20;
    week_box.body.padding.bottom = LV_DPI / 20;

    static lv_style_t today_box;
    lv_style_copy(&today_box, &def);
    today_box.body.main_color     = LV_COLOR_WHITE;
    today_box.body.grad_color     = LV_COLOR_WHITE;
    today_box.body.padding.top    = LV_DPI / 20;
    today_box.body.padding.bottom = LV_DPI / 20;
    today_box.body.radius         = 0;

    theme.style.calendar.bg               = theme.style.panel;
    theme.style.calendar.header           = theme.style.label.prim;
    theme.style.calendar.inactive_days    = theme.style.label.hint;
    theme.style.calendar.highlighted_days = theme.style.label.sec;
    theme.style.calendar.week_box         = &week_box;
    theme.style.calendar.today_box        = &week_box;
    theme.style.calendar.header_pr        = theme.style.label.prim;
#endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
leaq 0x43669(%rip), %rdi     # 0x99a98
leaq 0x42f12(%rip), %rsi     # 0x99348
callq 0xc550
xorl %esi, %esi
movl $0x32, %edx
movzwl 0x42b8f(%rip), %edi     # 0x98fd8
callq 0x45bf0
movw %ax, -0x2(%rbp)
movw -0x2(%rbp), %ax
movw %ax, 0x4365b(%rip)      # 0x99ab8
leaq 0x4367c(%rip), %rdi     # 0x99ae0
leaq 0x42edd(%rip), %rsi     # 0x99348
callq 0xc550
movl $0x32, %esi
movl $0x5a, %edx
movzwl 0x42b57(%rip), %edi     # 0x98fd8
callq 0x45bf0
movw %ax, -0x4(%rbp)
movw -0x4(%rbp), %ax
movw %ax, 0x4366b(%rip)      # 0x99b00
leaq 0x4368c(%rip), %rdi     # 0x99b28
leaq 0x42ea5(%rip), %rsi     # 0x99348
callq 0xc550
movb $0x0, 0x43681(%rip)     # 0x99b30
movq 0x42b42(%rip), %rax     # 0x98ff8
movw 0xa(%rax), %ax
movw %ax, 0x43671(%rip)      # 0x99b32
movw $0x5, 0x43674(%rip)     # 0x99b3e
movw $0x5, 0x4366d(%rip)     # 0x99b40
leaq 0x43696(%rip), %rdi     # 0x99b70
leaq 0x42e67(%rip), %rsi     # 0x99348
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, 0x43651(%rip)      # 0x99b72
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, 0x43618(%rip)      # 0x99b74
movw $0x5, 0x43621(%rip)     # 0x99b86
movw $0x5, 0x4361a(%rip)     # 0x99b88
movw $0x0, 0x435ff(%rip)     # 0x99b76
movq 0x42a7a(%rip), %rax     # 0x98ff8
movq %rax, 0x42b7b(%rip)     # 0x99100
movq 0x42acc(%rip), %rax     # 0x99058
movq %rax, 0x42b75(%rip)     # 0x99108
movq 0x42ace(%rip), %rax     # 0x99068
movq %rax, 0x42b87(%rip)     # 0x99128
movq 0x42ab8(%rip), %rax     # 0x99060
movq %rax, 0x42b71(%rip)     # 0x99120
leaq 0x43572(%rip), %rax     # 0x99b28
movq %rax, 0x42b73(%rip)     # 0x99130
leaq 0x43564(%rip), %rax     # 0x99b28
movq %rax, 0x42b6d(%rip)     # 0x99138
movq 0x42a86(%rip), %rax     # 0x99058
movq %rax, 0x42b37(%rip)     # 0x99110
addq $0x10, %rsp
popq %rbp
retq
nop