// File: /workspace/github_c_makefile_star2_O0/OnionIoT[P]lv_example/lvgl/src/lv_themes/lv_theme_material.c
// Function: style_mod_edit
static void style_mod_edit(lv_group_t * group, lv_style_t * style)
{
    (void)group; /*Unused*/
#if LV_COLOR_DEPTH != 1
    uint16_t hue2 = (_hue + 300) % 360;

    /*Make the style to be a little bit orange*/
    style->body.border.opa   = LV_OPA_COVER;
    style->body.border.color = LV_COLOR_GREEN;

    /*If not empty or has border then emphasis the border*/
    if(style->body.opa != LV_OPA_TRANSP || style->body.border.width != 0) style->body.border.width = LV_DPI / 30;


    style->body.main_color   = lv_color_mix(style->body.main_color, lv_color_hsv_to_rgb(hue2, 90, 70), LV_OPA_70);
    style->body.grad_color   = lv_color_mix(style->body.grad_color, lv_color_hsv_to_rgb(hue2, 90, 70), LV_OPA_70);
    style->body.shadow.color = lv_color_mix(style->body.shadow.color, lv_color_hsv_to_rgb(hue2, 90, 70), LV_OPA_60);

    style->text.color = lv_color_mix(style->text.color, lv_color_hsv_to_rgb(hue2, 90, 70), LV_OPA_70);
#else
    style->body.border.opa   = LV_OPA_COVER;
    style->body.border.color = LV_COLOR_BLACK;
    style->body.border.width = 3;
#endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movzwl 0x42dd1(%rip), %eax     # 0x97a68
addl $0x12c, %eax            # imm = 0x12C
movl $0x168, %ecx            # imm = 0x168
cltd
idivl %ecx
movw %dx, %ax
movw %ax, -0x12(%rbp)
movq -0x10(%rbp), %rax
movb $-0x1, 0xf(%rax)
movq -0x10(%rbp), %rax
movw -0x14(%rbp), %cx
andw $-0x20, %cx
orw $0x0, %cx
movw %cx, -0x14(%rbp)
movw -0x14(%rbp), %cx
andw $0xf81f, %cx            # imm = 0xF81F
orw $0x400, %cx             # imm = 0x400
movw %cx, -0x14(%rbp)
movw -0x14(%rbp), %cx
andw $0x7ff, %cx             # imm = 0x7FF
orw $0x0, %cx
movw %cx, -0x14(%rbp)
movw -0x14(%rbp), %cx
movw %cx, 0xa(%rax)
movq -0x10(%rbp), %rax
movzbl 0x8(%rax), %eax
cmpl $0x0, %eax
jne 0x54d0c
movq -0x10(%rbp), %rax
movswl 0xc(%rax), %eax
cmpl $0x0, %eax
je 0x54d16
movq -0x10(%rbp), %rax
movw $0x3, 0xc(%rax)
movq -0x10(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x68(%rbp)
movl $0x5a, %esi
movl $0x46, %edx
movzwl -0x12(%rbp), %edi
callq 0x45bf0
movw %ax, %cx
movq -0x68(%rbp), %rax
movw %cx, -0x18(%rbp)
movw 0x2(%rax), %ax
movl $0xb2, %edx
movzwl %ax, %edi
movzwl -0x18(%rbp), %esi
callq 0x54fd0
movw %ax, %cx
movq -0x60(%rbp), %rax
movw %cx, -0x16(%rbp)
movw -0x16(%rbp), %cx
movw %cx, 0x2(%rax)
movq -0x10(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x58(%rbp)
movl $0x5a, %esi
movl $0x46, %edx
movzwl -0x12(%rbp), %edi
callq 0x45bf0
movw %ax, %cx
movq -0x58(%rbp), %rax
movw %cx, -0x1c(%rbp)
movw 0x4(%rax), %ax
movl $0xb2, %edx
movzwl %ax, %edi
movzwl -0x1c(%rbp), %esi
callq 0x54fd0
movw %ax, %cx
movq -0x50(%rbp), %rax
movw %cx, -0x1a(%rbp)
movw -0x1a(%rbp), %cx
movw %cx, 0x4(%rax)
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
movl $0x5a, %esi
movl $0x46, %edx
movzwl -0x12(%rbp), %edi
callq 0x45bf0
movw %ax, %cx
movq -0x48(%rbp), %rax
movw %cx, -0x20(%rbp)
movw 0x10(%rax), %ax
movl $0x99, %edx
movzwl %ax, %edi
movzwl -0x20(%rbp), %esi
callq 0x54fd0
movw %ax, %cx
movq -0x40(%rbp), %rax
movw %cx, -0x1e(%rbp)
movw -0x1e(%rbp), %cx
movw %cx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movl $0x5a, %esi
movl $0x46, %edx
movzwl -0x12(%rbp), %edi
callq 0x45bf0
movw %ax, %cx
movq -0x38(%rbp), %rax
movw %cx, -0x24(%rbp)
movw 0x20(%rax), %ax
movl $0xb2, %edx
movzwl %ax, %edi
movzwl -0x24(%rbp), %esi
callq 0x54fd0
movw %ax, %cx
movq -0x30(%rbp), %rax
movw %cx, -0x22(%rbp)
movw -0x22(%rbp), %cx
movw %cx, 0x20(%rax)
addq $0x70, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)