// File: /workspace/github_c_makefile_star2_O0/OnionIoT[P]lv_example/lvgl/src/lv_themes/lv_theme_default.c
// Function: style_mod
static void style_mod(lv_group_t * group, lv_style_t * style)
{
    (void)group; /*Unused*/
#if LV_COLOR_DEPTH != 1
    /*Make the style to be a little bit orange*/
    style->body.border.opa   = LV_OPA_COVER;
    style->body.border.color = LV_COLOR_ORANGE;

    /*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 / 20;

    style->body.main_color   = lv_color_mix(style->body.main_color, LV_COLOR_ORANGE, LV_OPA_70);
    style->body.grad_color   = lv_color_mix(style->body.grad_color, LV_COLOR_ORANGE, LV_OPA_70);
    style->body.shadow.color = lv_color_mix(style->body.shadow.color, LV_COLOR_ORANGE, LV_OPA_60);

    style->text.color = lv_color_mix(style->text.color, LV_COLOR_ORANGE, LV_OPA_70);
#else
    style->body.border.opa   = LV_OPA_COVER;
    style->body.border.color = LV_COLOR_BLACK;
    style->body.border.width = 2;
#endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movb $-0x1, 0xf(%rax)
movq -0x10(%rbp), %rax
movw -0x12(%rbp), %cx
andw $-0x20, %cx
orw $0x0, %cx
movw %cx, -0x12(%rbp)
movw -0x12(%rbp), %cx
andw $0xf81f, %cx            # imm = 0xF81F
orw $0x520, %cx             # imm = 0x520
movw %cx, -0x12(%rbp)
movw -0x12(%rbp), %cx
andw $0x7ff, %cx             # imm = 0x7FF
orw $0xf800, %cx            # imm = 0xF800
movw %cx, -0x12(%rbp)
movw -0x12(%rbp), %cx
movw %cx, 0xa(%rax)
movq -0x10(%rbp), %rax
movzbl 0x8(%rax), %eax
cmpl $0x0, %eax
jne 0x4dad2
movq -0x10(%rbp), %rax
movswl 0xc(%rax), %eax
cmpl $0x0, %eax
je 0x4dadc
movq -0x10(%rbp), %rax
movw $0x5, 0xc(%rax)
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x10(%rbp), %rax
movw -0x16(%rbp), %cx
andw $-0x20, %cx
orw $0x0, %cx
movw %cx, -0x16(%rbp)
movw -0x16(%rbp), %cx
andw $0xf81f, %cx            # imm = 0xF81F
orw $0x520, %cx             # imm = 0x520
movw %cx, -0x16(%rbp)
movw -0x16(%rbp), %cx
andw $0x7ff, %cx             # imm = 0x7FF
orw $0xf800, %cx            # imm = 0xF800
movw %cx, -0x16(%rbp)
movw 0x2(%rax), %ax
movl $0xb2, %edx
movzwl %ax, %edi
movzwl -0x16(%rbp), %esi
callq 0x4dfb0
movw %ax, %cx
movq -0x48(%rbp), %rax
movw %cx, -0x14(%rbp)
movw -0x14(%rbp), %cx
movw %cx, 0x2(%rax)
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rax
movw -0x1a(%rbp), %cx
andw $-0x20, %cx
orw $0x0, %cx
movw %cx, -0x1a(%rbp)
movw -0x1a(%rbp), %cx
andw $0xf81f, %cx            # imm = 0xF81F
orw $0x520, %cx             # imm = 0x520
movw %cx, -0x1a(%rbp)
movw -0x1a(%rbp), %cx
andw $0x7ff, %cx             # imm = 0x7FF
orw $0xf800, %cx            # imm = 0xF800
movw %cx, -0x1a(%rbp)
movw 0x4(%rax), %ax
movl $0xb2, %edx
movzwl %ax, %edi
movzwl -0x1a(%rbp), %esi
callq 0x4dfb0
movw %ax, %cx
movq -0x40(%rbp), %rax
movw %cx, -0x18(%rbp)
movw -0x18(%rbp), %cx
movw %cx, 0x4(%rax)
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rax
movw -0x1e(%rbp), %cx
andw $-0x20, %cx
orw $0x0, %cx
movw %cx, -0x1e(%rbp)
movw -0x1e(%rbp), %cx
andw $0xf81f, %cx            # imm = 0xF81F
orw $0x520, %cx             # imm = 0x520
movw %cx, -0x1e(%rbp)
movw -0x1e(%rbp), %cx
andw $0x7ff, %cx             # imm = 0x7FF
orw $0xf800, %cx            # imm = 0xF800
movw %cx, -0x1e(%rbp)
movw 0x10(%rax), %ax
movl $0x99, %edx
movzwl %ax, %edi
movzwl -0x1e(%rbp), %esi
callq 0x4dfb0
movw %ax, %cx
movq -0x38(%rbp), %rax
movw %cx, -0x1c(%rbp)
movw -0x1c(%rbp), %cx
movw %cx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rax
movw -0x22(%rbp), %cx
andw $-0x20, %cx
orw $0x0, %cx
movw %cx, -0x22(%rbp)
movw -0x22(%rbp), %cx
andw $0xf81f, %cx            # imm = 0xF81F
orw $0x520, %cx             # imm = 0x520
movw %cx, -0x22(%rbp)
movw -0x22(%rbp), %cx
andw $0x7ff, %cx             # imm = 0x7FF
orw $0xf800, %cx            # imm = 0xF800
movw %cx, -0x22(%rbp)
movw 0x20(%rax), %ax
movl $0xb2, %edx
movzwl %ax, %edi
movzwl -0x22(%rbp), %esi
callq 0x4dfb0
movw %ax, %cx
movq -0x30(%rbp), %rax
movw %cx, -0x20(%rbp)
movw -0x20(%rbp), %cx
movw %cx, 0x20(%rax)
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)