// File: /workspace/github_c_makefile_star2_O0/OnionIoT[P]lv_example/lvgl/src/lv_themes/lv_theme_night.c
// Function: calendar_init
static void calendar_init(void)
{
#if LV_USE_CALENDAR
    static lv_style_t cal_bg;
    lv_style_copy(&cal_bg, &bg);
    cal_bg.body.main_color     = lv_color_hsv_to_rgb(_hue, 10, 40);
    cal_bg.body.grad_color     = lv_color_hsv_to_rgb(_hue, 10, 40);
    cal_bg.body.border.color   = lv_color_hex3(0x333);
    cal_bg.body.border.width   = 1;
    cal_bg.body.radius         = LV_DPI / 20;
    cal_bg.body.padding.left   = LV_DPI / 10;
    cal_bg.body.padding.right  = LV_DPI / 10;
    cal_bg.body.padding.top    = LV_DPI / 10;
    cal_bg.body.padding.bottom = LV_DPI / 10;

    static lv_style_t cal_header;
    lv_style_copy(&cal_header, &bg);
    cal_header.body.main_color     = lv_color_hsv_to_rgb(_hue, 10, 20);
    cal_header.body.grad_color     = lv_color_hsv_to_rgb(_hue, 10, 20);
    cal_header.body.radius         = 0;
    cal_header.body.border.width   = 1;
    cal_header.body.border.color   = lv_color_hex3(0x333);
    cal_header.body.padding.left   = LV_DPI / 10;
    cal_header.body.padding.right  = LV_DPI / 10;
    cal_header.body.padding.top    = LV_DPI / 10;
    cal_header.body.padding.bottom = LV_DPI / 10;

    static lv_style_t week_box;
    lv_style_copy(&week_box, &panel);
    week_box.body.main_color     = lv_color_hsv_to_rgb(_hue, 30, 45);
    week_box.body.grad_color     = lv_color_hsv_to_rgb(_hue, 30, 45);
    week_box.body.radius         = LV_DPI / 20;
    week_box.body.border.width   = 1;
    week_box.body.padding.left   = LV_DPI / 20;
    week_box.body.padding.right  = LV_DPI / 20;
    week_box.body.padding.top    = LV_DPI / 25;
    week_box.body.padding.bottom = LV_DPI / 25;

    static lv_style_t today_box;
    lv_style_copy(&today_box, &week_box);
    today_box.body.main_color     = lv_color_hsv_to_rgb(_hue, 80, 70);
    today_box.body.grad_color     = lv_color_hsv_to_rgb(_hue, 80, 70);
    today_box.body.radius         = LV_DPI / 20;
    today_box.body.padding.left   = LV_DPI / 14;
    today_box.body.padding.right  = LV_DPI / 14;
    today_box.body.padding.top    = LV_DPI / 14;
    today_box.body.padding.bottom = LV_DPI / 14;

    static lv_style_t highlighted_days;
    lv_style_copy(&highlighted_days, &bg);
    highlighted_days.text.color = lv_color_hsv_to_rgb(_hue, 40, 80);

    static lv_style_t ina_days;
    lv_style_copy(&ina_days, &bg);
    ina_days.text.color = lv_color_hsv_to_rgb(_hue, 0, 60);

    theme.style.calendar.bg               = &cal_bg;
    theme.style.calendar.header           = &cal_header;
    theme.style.calendar.week_box         = &week_box;
    theme.style.calendar.today_box        = &today_box;
    theme.style.calendar.highlighted_days = &highlighted_days;
    theme.style.calendar.day_names        = &cal_bg;
    theme.style.calendar.inactive_days    = &ina_days;
#endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
leaq 0x46cb1(%rip), %rdi     # 0x95bb0
leaq 0x46752(%rip), %rsi     # 0x95658
callq 0xc550
movl $0xa, %esi
movl $0x28, %edx
movzwl 0x46384(%rip), %edi     # 0x952a0
callq 0x45bf0
movw %ax, -0x2(%rbp)
movw -0x2(%rbp), %ax
movw %ax, 0x46c82(%rip)      # 0x95bb2
movl $0xa, %esi
movl $0x28, %edx
movzwl 0x4635f(%rip), %edi     # 0x952a0
callq 0x45bf0
movw %ax, -0x4(%rbp)
movw -0x4(%rbp), %ax
movw %ax, 0x46c5f(%rip)      # 0x95bb4
movl $0x333, %edi            # imm = 0x333
callq 0x50280
movw %ax, -0x6(%rbp)
movw -0x6(%rbp), %ax
movw %ax, 0x46c4c(%rip)      # 0x95bba
movw $0x1, 0x46c45(%rip)     # 0x95bbc
movw $0x5, 0x46c36(%rip)     # 0x95bb6
movw $0xa, 0x46c41(%rip)     # 0x95bca
movw $0xa, 0x46c3a(%rip)     # 0x95bcc
movw $0xa, 0x46c2b(%rip)     # 0x95bc6
movw $0xa, 0x46c24(%rip)     # 0x95bc8
leaq 0x46c4d(%rip), %rdi     # 0x95bf8
leaq 0x466a6(%rip), %rsi     # 0x95658
callq 0xc550
movl $0xa, %esi
movl $0x14, %edx
movzwl 0x462d8(%rip), %edi     # 0x952a0
callq 0x45bf0
movw %ax, -0x8(%rbp)
movw -0x8(%rbp), %ax
movw %ax, 0x46c1e(%rip)      # 0x95bfa
movl $0xa, %esi
movl $0x14, %edx
movzwl 0x462b3(%rip), %edi     # 0x952a0
callq 0x45bf0
movw %ax, -0xa(%rbp)
movw -0xa(%rbp), %ax
movw %ax, 0x46bfb(%rip)      # 0x95bfc
movw $0x0, 0x46bf4(%rip)     # 0x95bfe
movw $0x1, 0x46bf1(%rip)     # 0x95c04
movl $0x333, %edi            # imm = 0x333
callq 0x50280
movw %ax, -0xc(%rbp)
movw -0xc(%rbp), %ax
movw %ax, 0x46bd6(%rip)      # 0x95c02
movw $0xa, 0x46bdd(%rip)     # 0x95c12
movw $0xa, 0x46bd6(%rip)     # 0x95c14
movw $0xa, 0x46bc7(%rip)     # 0x95c0e
movw $0xa, 0x46bc0(%rip)     # 0x95c10
leaq 0x46be9(%rip), %rdi     # 0x95c40
leaq 0x466d2(%rip), %rsi     # 0x95730
callq 0xc550
movl $0x1e, %esi
movl $0x2d, %edx
movzwl 0x4622c(%rip), %edi     # 0x952a0
callq 0x45bf0
movw %ax, -0xe(%rbp)
movw -0xe(%rbp), %ax
movw %ax, 0x46bba(%rip)      # 0x95c42
movl $0x1e, %esi
movl $0x2d, %edx
movzwl 0x46207(%rip), %edi     # 0x952a0
callq 0x45bf0
movw %ax, -0x10(%rbp)
movw -0x10(%rbp), %ax
movw %ax, 0x46b97(%rip)      # 0x95c44
movw $0x5, 0x46b90(%rip)     # 0x95c46
movw $0x1, 0x46b8d(%rip)     # 0x95c4c
movw $0x5, 0x46b92(%rip)     # 0x95c5a
movw $0x5, 0x46b8b(%rip)     # 0x95c5c
movw $0x4, 0x46b7c(%rip)     # 0x95c56
movw $0x4, 0x46b75(%rip)     # 0x95c58
leaq 0x46b9e(%rip), %rdi     # 0x95c88
leaq 0x46b4f(%rip), %rsi     # 0x95c40
callq 0xc550
movl $0x50, %esi
movl $0x46, %edx
movzwl 0x46199(%rip), %edi     # 0x952a0
callq 0x45bf0
movw %ax, -0x12(%rbp)
movw -0x12(%rbp), %ax
movw %ax, 0x46b6f(%rip)      # 0x95c8a
movl $0x50, %esi
movl $0x46, %edx
movzwl 0x46174(%rip), %edi     # 0x952a0
callq 0x45bf0
movw %ax, -0x14(%rbp)
movw -0x14(%rbp), %ax
movw %ax, 0x46b4c(%rip)      # 0x95c8c
movw $0x5, 0x46b45(%rip)     # 0x95c8e
movw $0x7, 0x46b50(%rip)     # 0x95ca2
movw $0x7, 0x46b49(%rip)     # 0x95ca4
movw $0x7, 0x46b3a(%rip)     # 0x95c9e
movw $0x7, 0x46b33(%rip)     # 0x95ca0
leaq 0x46b5c(%rip), %rdi     # 0x95cd0
leaq 0x464dd(%rip), %rsi     # 0x95658
callq 0xc550
movl $0x28, %esi
movl $0x50, %edx
movzwl 0x4610f(%rip), %edi     # 0x952a0
callq 0x45bf0
movw %ax, -0x16(%rbp)
movw -0x16(%rbp), %ax
movw %ax, 0x46b4b(%rip)      # 0x95cf0
leaq 0x46b6c(%rip), %rdi     # 0x95d18
leaq 0x464a5(%rip), %rsi     # 0x95658
callq 0xc550
xorl %esi, %esi
movl $0x3c, %edx
movzwl 0x460da(%rip), %edi     # 0x952a0
callq 0x45bf0
movw %ax, -0x18(%rbp)
movw -0x18(%rbp), %ax
movw %ax, 0x46b5e(%rip)      # 0x95d38
leaq 0x469cf(%rip), %rax     # 0x95bb0
movq %rax, 0x461e0(%rip)     # 0x953c8
leaq 0x46a09(%rip), %rax     # 0x95bf8
movq %rax, 0x461da(%rip)     # 0x953d0
leaq 0x46a43(%rip), %rax     # 0x95c40
movq %rax, 0x461f4(%rip)     # 0x953f8
leaq 0x46a7d(%rip), %rax     # 0x95c88
movq %rax, 0x461ee(%rip)     # 0x95400
leaq 0x46ab7(%rip), %rax     # 0x95cd0
movq %rax, 0x461c8(%rip)     # 0x953e8
leaq 0x46989(%rip), %rax     # 0x95bb0
movq %rax, 0x461b2(%rip)     # 0x953e0
leaq 0x46ae3(%rip), %rax     # 0x95d18
movq %rax, 0x461b4(%rip)     # 0x953f0
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)