// File: /workspace/github_c_makefile_star2_O0/OnionIoT[P]lv_example/lvgl/src/lv_themes/lv_theme_alien.c
// Function: calendar_init
static void calendar_init(void)
{
#if LV_USE_CALENDAR
    static lv_style_t header;
    static lv_style_t color_text;
    static lv_style_t gray_text;
    static lv_style_t today_box;

    lv_style_copy(&header, &def);
    header.body.radius         = 0;
    header.body.padding.left   = LV_DPI / 12;
    header.body.padding.right  = LV_DPI / 12;
    header.body.padding.top    = LV_DPI / 14;
    header.body.padding.bottom = LV_DPI / 14;
    header.body.main_color     = lv_color_hsv_to_rgb(_hue, 30, 60);
    header.body.grad_color     = header.body.main_color;
    header.body.border.opa     = panel.body.border.opa;
    header.body.border.width   = panel.body.border.width;
    header.body.border.color   = lv_color_hsv_to_rgb(_hue, 20, 80);
    header.text.color          = lv_color_hsv_to_rgb(_hue, 5, 100);

    lv_style_copy(&today_box, &header);
    today_box.body.main_color = lv_color_hsv_to_rgb(_hue, 40, 70);
    today_box.body.grad_color = today_box.body.main_color;
    today_box.body.opa        = LV_OPA_TRANSP;

    lv_style_copy(&color_text, &def);
    color_text.text.color = lv_color_hsv_to_rgb(_hue, 30, 80);

    lv_style_copy(&gray_text, &def);
    gray_text.text.color = lv_color_hsv_to_rgb(_hue, 10, 65);

    theme.style.calendar.bg               = &panel;
    theme.style.calendar.header           = &header;
    theme.style.calendar.week_box         = &header;
    theme.style.calendar.today_box        = &today_box;
    theme.style.calendar.day_names        = &color_text;
    theme.style.calendar.highlighted_days = &color_text;
    theme.style.calendar.inactive_days    = &gray_text;
#endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
leaq 0x46b29(%rip), %rdi     # 0x92148
leaq 0x463d2(%rip), %rsi     # 0x919f8
callq 0xc550
movw $0x0, 0x46b1a(%rip)     # 0x9214e
movw $0x8, 0x46b25(%rip)     # 0x92162
movw $0x8, 0x46b1e(%rip)     # 0x92164
movw $0x7, 0x46b0f(%rip)     # 0x9215e
movw $0x7, 0x46b08(%rip)     # 0x92160
movl $0x1e, %esi
movl $0x3c, %edx
movzwl 0x4601f(%rip), %edi     # 0x91688
callq 0x45bf0
movw %ax, -0x2(%rbp)
movw -0x2(%rbp), %ax
movw %ax, 0x46acd(%rip)      # 0x9214a
movw 0x46ac6(%rip), %ax      # 0x9214a
movw %ax, 0x46ac1(%rip)      # 0x9214c
movb 0x4644e(%rip), %al      # 0x91adf
movb %al, 0x46ac0(%rip)      # 0x92157
movw 0x4643e(%rip), %ax      # 0x91adc
movw %ax, 0x46aaf(%rip)      # 0x92154
movl $0x14, %esi
movl $0x50, %edx
movzwl 0x45fd2(%rip), %edi     # 0x91688
callq 0x45bf0
movw %ax, -0x4(%rbp)
movw -0x4(%rbp), %ax
movw %ax, 0x46a88(%rip)      # 0x92152
movl $0x5, %esi
movl $0x64, %edx
movzwl 0x45fad(%rip), %edi     # 0x91688
callq 0x45bf0
movw %ax, -0x6(%rbp)
movw -0x6(%rbp), %ax
movw %ax, 0x46a79(%rip)      # 0x92168
leaq 0x46b2a(%rip), %rdi     # 0x92220
leaq 0x46a4b(%rip), %rsi     # 0x92148
callq 0xc550
movl $0x28, %esi
movl $0x46, %edx
movzwl 0x45f75(%rip), %edi     # 0x91688
callq 0x45bf0
movw %ax, -0x8(%rbp)
movw -0x8(%rbp), %ax
movw %ax, 0x46afb(%rip)      # 0x92222
movw 0x46af4(%rip), %ax      # 0x92222
movw %ax, 0x46aef(%rip)      # 0x92224
movb $0x0, 0x46aec(%rip)     # 0x92228
leaq 0x46a4d(%rip), %rdi     # 0x92190
leaq 0x462ae(%rip), %rsi     # 0x919f8
callq 0xc550
movl $0x1e, %esi
movl $0x50, %edx
movzwl 0x45f28(%rip), %edi     # 0x91688
callq 0x45bf0
movw %ax, -0xa(%rbp)
movw -0xa(%rbp), %ax
movw %ax, 0x46a3c(%rip)      # 0x921b0
leaq 0x46a5d(%rip), %rdi     # 0x921d8
leaq 0x46276(%rip), %rsi     # 0x919f8
callq 0xc550
movl $0xa, %esi
movl $0x41, %edx
movzwl 0x45ef0(%rip), %edi     # 0x91688
callq 0x45bf0
movw %ax, -0xc(%rbp)
movw -0xc(%rbp), %ax
movw %ax, 0x46a4c(%rip)      # 0x921f8
leaq 0x4631d(%rip), %rax     # 0x91ad0
movq %rax, 0x45ff6(%rip)     # 0x917b0
leaq 0x46987(%rip), %rax     # 0x92148
movq %rax, 0x45ff0(%rip)     # 0x917b8
leaq 0x46979(%rip), %rax     # 0x92148
movq %rax, 0x4600a(%rip)     # 0x917e0
leaq 0x46a43(%rip), %rax     # 0x92220
movq %rax, 0x46004(%rip)     # 0x917e8
leaq 0x469a5(%rip), %rax     # 0x92190
movq %rax, 0x45fd6(%rip)     # 0x917c8
leaq 0x46997(%rip), %rax     # 0x92190
movq %rax, 0x45fd0(%rip)     # 0x917d0
leaq 0x469d1(%rip), %rax     # 0x921d8
movq %rax, 0x45fca(%rip)     # 0x917d8
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)