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

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

    static lv_style_t week_box;
    lv_style_copy(&week_box, &def);
    week_box.body.main_color     = lv_color_hsv_to_rgb(_hue, 40, 100);
    week_box.body.grad_color     = lv_color_hsv_to_rgb(_hue, 40, 100);
    week_box.body.padding.top    = LV_DPI / 20;
    week_box.body.padding.bottom = LV_DPI / 20;
    week_box.body.padding.left   = theme.style.panel->body.padding.left;
    week_box.body.padding.right  = theme.style.panel->body.padding.right;
    week_box.body.border.color   = theme.style.panel->body.border.color;
    week_box.body.border.width   = theme.style.panel->body.border.width;
    week_box.body.border.part    = LV_BORDER_LEFT | LV_BORDER_RIGHT;
    week_box.body.radius         = 0;

    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           = &lv_style_transp;
    theme.style.calendar.inactive_days    = &ina_days;
    theme.style.calendar.highlighted_days = &high_days;
    theme.style.calendar.week_box         = &week_box;
    theme.style.calendar.today_box        = &today_box;
#endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
leaq 0x44d29(%rip), %rdi     # 0x98528
leaq 0x445d2(%rip), %rsi     # 0x97dd8
callq 0xc550
xorl %esi, %esi
movl $0x46, %edx
movzwl 0x4424f(%rip), %edi     # 0x97a68
callq 0x45bf0
movw %ax, -0x2(%rbp)
movw -0x2(%rbp), %ax
movw %ax, 0x44d1b(%rip)      # 0x98548
leaq 0x44d3c(%rip), %rdi     # 0x98570
leaq 0x4459d(%rip), %rsi     # 0x97dd8
callq 0xc550
movl $0x50, %esi
movl $0x5a, %edx
movzwl 0x44217(%rip), %edi     # 0x97a68
callq 0x45bf0
movw %ax, -0x4(%rbp)
movw -0x4(%rbp), %ax
movw %ax, 0x44d2b(%rip)      # 0x98590
leaq 0x44d4c(%rip), %rdi     # 0x985b8
leaq 0x44565(%rip), %rsi     # 0x97dd8
callq 0xc550
movl $0x28, %esi
movl $0x64, %edx
movzwl 0x441df(%rip), %edi     # 0x97a68
callq 0x45bf0
movw %ax, -0x6(%rbp)
movw -0x6(%rbp), %ax
movw %ax, 0x44d1d(%rip)      # 0x985ba
movl $0x28, %esi
movl $0x64, %edx
movzwl 0x441ba(%rip), %edi     # 0x97a68
callq 0x45bf0
movw %ax, -0x8(%rbp)
movw -0x8(%rbp), %ax
movw %ax, 0x44cfa(%rip)      # 0x985bc
movw $0x5, 0x44d03(%rip)     # 0x985ce
movw $0x5, 0x44cfc(%rip)     # 0x985d0
movq 0x441ad(%rip), %rax     # 0x97a88
movw 0x1a(%rax), %ax
movw %ax, 0x44cec(%rip)      # 0x985d2
movq 0x4419b(%rip), %rax     # 0x97a88
movw 0x1c(%rax), %ax
movw %ax, 0x44cdc(%rip)      # 0x985d4
movq 0x44189(%rip), %rax     # 0x97a88
movw 0xa(%rax), %ax
movw %ax, 0x44cb8(%rip)      # 0x985c2
movq 0x44177(%rip), %rax     # 0x97a88
movw 0xc(%rax), %ax
movw %ax, 0x44ca8(%rip)      # 0x985c4
movb $0xc, 0x44ca3(%rip)     # 0x985c6
movw $0x0, 0x44c92(%rip)     # 0x985be
leaq 0x44ccd(%rip), %rdi     # 0x98600
leaq 0x4449e(%rip), %rsi     # 0x97dd8
callq 0xc550
movw -0xa(%rbp), %ax
andw $-0x20, %ax
orw $0x1f, %ax
movw %ax, -0xa(%rbp)
movw -0xa(%rbp), %ax
andw $0xf81f, %ax            # imm = 0xF81F
orw $0x7e0, %ax             # imm = 0x7E0
movw %ax, -0xa(%rbp)
movw -0xa(%rbp), %ax
andw $0x7ff, %ax             # imm = 0x7FF
orw $0xf800, %ax            # imm = 0xF800
movw %ax, -0xa(%rbp)
movw -0xa(%rbp), %ax
movw %ax, 0x44c88(%rip)      # 0x98602
movw -0xc(%rbp), %ax
andw $-0x20, %ax
orw $0x1f, %ax
movw %ax, -0xc(%rbp)
movw -0xc(%rbp), %ax
andw $0xf81f, %ax            # imm = 0xF81F
orw $0x7e0, %ax             # imm = 0x7E0
movw %ax, -0xc(%rbp)
movw -0xc(%rbp), %ax
andw $0x7ff, %ax             # imm = 0x7FF
orw $0xf800, %ax            # imm = 0xF800
movw %ax, -0xc(%rbp)
movw -0xc(%rbp), %ax
movw %ax, 0x44c4f(%rip)      # 0x98604
movw $0x5, 0x44c58(%rip)     # 0x98616
movw $0x5, 0x44c51(%rip)     # 0x98618
movw $0x0, 0x44c36(%rip)     # 0x98606
movq 0x440b1(%rip), %rax     # 0x97a88
movq %rax, 0x441b2(%rip)     # 0x97b90
leaq 0x35723(%rip), %rax     # 0x89108
movq %rax, 0x441ac(%rip)     # 0x97b98
leaq 0x44b35(%rip), %rax     # 0x98528
movq %rax, 0x441be(%rip)     # 0x97bb8
leaq 0x44b6f(%rip), %rax     # 0x98570
movq %rax, 0x441a8(%rip)     # 0x97bb0
leaq 0x44ba9(%rip), %rax     # 0x985b8
movq %rax, 0x441aa(%rip)     # 0x97bc0
leaq 0x44be3(%rip), %rax     # 0x98600
movq %rax, 0x441a4(%rip)     # 0x97bc8
addq $0x10, %rsp
popq %rbp
retq
nopw (%rax,%rax)