// File: /workspace/github_c_makefile_star2_O2/OnionIoT[P]lv_example/lvgl/src/lv_themes/lv_theme_default.c
// Function: lv_theme_default_init
lv_theme_t * lv_theme_default_init(uint16_t hue, lv_font_t * font)
{
    if(font == NULL) font = LV_FONT_DEFAULT;

    _hue  = hue;
    _font = font;

    /*For backward compatibility initialize all theme elements with a default style */
    uint16_t i;
    lv_style_t ** style_p = (lv_style_t **)&theme.style;
    for(i = 0; i < LV_THEME_STYLE_COUNT; i++) {
        *style_p = &def;
        style_p++;
    }

    basic_init();
    btn_init();
    label_init();
    img_init();
    line_init();
    led_init();
    bar_init();
    slider_init();
    sw_init();
    lmeter_init();
    gauge_init();
    chart_init();
    cb_init();
    btnm_init();
    kb_init();
    mbox_init();
    page_init();
    ta_init();
    list_init();
    ddlist_init();
    roller_init();
    tabview_init();
    table_init();
    win_init();

#if LV_USE_GROUP
    theme.group.style_mod_xcb      = style_mod;
    theme.group.style_mod_edit_xcb = style_mod_edit;
#endif

    return &theme;
}

// Assembly:
testq %rsi, %rsi
jne 0x2be98
leaq 0x25730(%rip), %rsi     # 0x515c8
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, 0x3dc56(%rip)     # 0x69b00
xorl %eax, %eax
leaq 0x3dc55(%rip), %rcx     # 0x69b08
leaq 0x3dfae(%rip), %r15     # 0x69e68
cmpw $0x350, %ax             # imm = 0x350
je 0x2beca
movq %r15, (%rax,%rcx)
addq $0x8, %rax
jmp 0x2beba
leaq 0x320d7(%rip), %rbx     # 0x5dfa8
movq %r15, %rdi
movq %rbx, %rsi
callq 0x74d4
leaq 0x3dfcd(%rip), %r12     # 0x69eb0
movq %r12, %rdi
movq %r15, %rsi
callq 0x74d4
andq $0x0, 0x3dfd0(%rip)     # 0x69ec6
leaq 0x3dffb(%rip), %rdi     # 0x69ef8
leaq 0x320ec(%rip), %rsi     # 0x5dff0
callq 0x74d4
movzwl 0x3dfea(%rip), %eax     # 0x69efa
movw %ax, 0x3dfe5(%rip)      # 0x69efc
movzwl 0x3dff6(%rip), %eax     # 0x69f14
cwtd
movw $0x2, %cx
idivw %cx
movw %ax, 0x3dfe6(%rip)      # 0x69f14
movzwl 0x3dfdb(%rip), %eax     # 0x69f10
cwtd
idivw %cx
movw %ax, 0x3dfcf(%rip)      # 0x69f10
leaq 0x3dff8(%rip), %rdi     # 0x69f40
leaq 0x31fc9(%rip), %r13     # 0x5df18
movq %r13, %rsi
callq 0x74d4
movl $0x2bdd7, 0x3dfe9(%rip) # imm = 0x2BDD7
movq %r13, 0x3dba8(%rip)     # 0x69b10
movq %r12, 0x3db99(%rip)     # 0x69b08
movq %rbx, 0x3dba2(%rip)     # 0x69b18
leaq 0x32193(%rip), %rax     # 0x5e110
movq %rax, 0x3dba4(%rip)     # 0x69b28
leaq 0x321cd(%rip), %rax     # 0x5e158
movq %rax, 0x3db9e(%rip)     # 0x69b30
leaq 0x32207(%rip), %rax     # 0x5e1a0
movq %rax, 0x3db98(%rip)     # 0x69b38
leaq 0x32241(%rip), %rax     # 0x5e1e8
movq %rax, 0x3db92(%rip)     # 0x69b40
leaq 0x3227b(%rip), %rax     # 0x5e230
movq %rax, 0x3db8c(%rip)     # 0x69b48
leaq 0x3dfc5(%rip), %r12     # 0x69f88
movq %r12, %rdi
movq %r13, %rsi
callq 0x74d4
leaq 0x3dffb(%rip), %r14     # 0x69fd0
movq %r14, %rdi
movq %r13, %rsi
callq 0x74d4
leaq 0x3e031(%rip), %rbp     # 0x6a018
movq %rbp, %rdi
movq %r13, %rsi
callq 0x74d4
movw $0x1082, 0x3dfad(%rip)  # imm = 0x1082
movw $0x8c51, %ax            # imm = 0x8C51
movw %ax, 0x3dfea(%rip)      # 0x69ff0
movw $0x8c51, %r13w          # imm = 0x8C51
movw $0xad55, 0x3e024(%rip)  # imm = 0xAD55
movq %r12, 0x3db5d(%rip)     # 0x69b78
movq %r14, 0x3db5e(%rip)     # 0x69b80
movq %rbp, 0x3db5f(%rip)     # 0x69b88
movq %r15, 0x3db60(%rip)     # 0x69b90
movq %r15, 0x3db61(%rip)     # 0x69b98
movq %r15, 0x3db62(%rip)     # 0x69ba0
leaq 0x3e01b(%rip), %r14     # 0x6a060
movq %r14, %rdi
leaq 0x31fa1(%rip), %r15     # 0x5dff0
movq %r15, %rsi
callq 0x74d4
movw $0xa, 0x3e012(%rip)     # 0x6a072
movw $0x7c18, 0x3dffd(%rip)  # imm = 0x7C18
movw $0x3, 0x3dffa(%rip)     # 0x6a06c
movb $0x4c, 0x3dff6(%rip)    # 0x6a06f
movzwl 0x3dfe2(%rip), %eax     # 0x6a062
movw %ax, 0x3dfe9(%rip)      # 0x6a070
movq %r14, 0x3db1a(%rip)     # 0x69ba8
movq %rbx, 0x3db1b(%rip)     # 0x69bb0
movq %r15, 0x3db1c(%rip)     # 0x69bb8
leaq 0x3e005(%rip), %r14     # 0x6a0a8
movq %r14, %rdi
movq %rbx, %rsi
callq 0x74d4
movabsq $0x5000500050005, %rax  # imm = 0x5000500050005
movq %rax, 0x3dfff(%rip)     # 0x6a0be
movq %r14, 0x3dafa(%rip)     # 0x69bc0
movq %r15, 0x3dafb(%rip)     # 0x69bc8
movq %rbx, 0x3dafc(%rip)     # 0x69bd0
leaq 0x3e015(%rip), %r14     # 0x6a0f0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x74d4
movabsq $0x3000300030003, %rax  # imm = 0x3000300030003
movq %rax, 0x3e00f(%rip)     # 0x6a106
movq %r14, 0x3dafa(%rip)     # 0x69bf8
movq %r15, 0x3dafb(%rip)     # 0x69c00
movq %rbx, 0x3dafc(%rip)     # 0x69c08
movq %rbx, 0x3dafd(%rip)     # 0x69c10
leaq 0x3e01e(%rip), %r14     # 0x6a138
movq %r14, %rdi
movq %r15, %rsi
callq 0x74d4
movl $0x2defb, 0x3e045(%rip) # imm = 0x2DEFB
movzwl 0x3e004(%rip), %edi     # 0x6a13a
pushq $0x7f
popq %rbp
movl $0xffff, %esi           # imm = 0xFFFF
movl %ebp, %edx
callq 0x2c4df
movw %ax, 0x3dfee(%rip)      # 0x6a13a
movl 0x3dfea(%rip), %edi     # 0x6a13c
xorl %esi, %esi
movl %ebp, %edx
callq 0x2c4df
movw %ax, 0x3dfda(%rip)      # 0x6a13c
movq %r14, 0x3da6f(%rip)     # 0x69bd8
leaq 0x3e010(%rip), %r15     # 0x6a180
movq %r15, %rdi
movq %r14, %rsi
callq 0x74d4
movq 0x3da56(%rip), %rax     # 0x69bd8
movzwl 0x4(%rax), %ecx
movw %cx, 0x3e02f(%rip)      # 0x6a1bc
movw $0x2, 0x3e028(%rip)     # 0x6a1be
movw %r13w, 0x3dfe4(%rip)    # 0x6a182
movzwl 0x2(%rax), %eax
movw %ax, 0x3dfdb(%rip)      # 0x6a184
movw %r13w, 0x3dfef(%rip)    # 0x6a1a0
movq %r15, 0x3da28(%rip)     # 0x69be0
movq %rbx, 0x3da59(%rip)     # 0x69c18
leaq 0x31e72(%rip), %rax     # 0x5e038
movq %rax, 0x3da93(%rip)     # 0x69c60
movq %rbx, 0x3da94(%rip)     # 0x69c68
leaq 0x31f7d(%rip), %r9      # 0x5e158
movq %r9, 0x3da8e(%rip)      # 0x69c70
leaq 0x31fb7(%rip), %r10     # 0x5e1a0
movq %r10, 0x3da88(%rip)     # 0x69c78
leaq 0x31ff1(%rip), %rcx     # 0x5e1e8
movq %rcx, 0x3da82(%rip)     # 0x69c80
leaq 0x3202b(%rip), %rdx     # 0x5e230
movq %rdx, 0x3da7c(%rip)     # 0x69c88
movq %rbx, 0x3da7d(%rip)     # 0x69c90
leaq 0x31ef6(%rip), %r8      # 0x5e110
movq %r8, 0x3da77(%rip)      # 0x69c98
movq %r9, 0x3da78(%rip)      # 0x69ca0
movq %r10, 0x3da79(%rip)     # 0x69ca8
movq %rcx, 0x3da7a(%rip)     # 0x69cb0
movq %rdx, 0x3da7b(%rip)     # 0x69cb8
movq %rbx, 0x3da7c(%rip)     # 0x69cc0
movq %r8, 0x3da7d(%rip)      # 0x69cc8
movq %r9, 0x3da7e(%rip)      # 0x69cd0
movq %r10, 0x3da7f(%rip)     # 0x69cd8
movq %rcx, 0x3da80(%rip)     # 0x69ce0
movq %rdx, 0x3da81(%rip)     # 0x69ce8
movq %rdx, %rdi
movq %rbx, 0x3da7f(%rip)     # 0x69cf0
movq %rax, 0x3da80(%rip)     # 0x69cf8
movq %r8, 0x3da81(%rip)      # 0x69d00
movq %rcx, 0x3da82(%rip)     # 0x69d08
movq %rcx, %r11
movq %rbx, 0x3da80(%rip)     # 0x69d10
leaq 0x31e31(%rip), %rcx     # 0x5e0c8
movq %rcx, 0x3da7a(%rip)     # 0x69d18
leaq 0x3dc53(%rip), %rsi     # 0x69ef8
movq %rsi, 0x3da74(%rip)     # 0x69d20
movq %rbx, 0x3da75(%rip)     # 0x69d28
movq %rbx, 0x3da76(%rip)     # 0x69d30
andq $0x0, 0x3da76(%rip)     # 0x69d38
movq %rsi, 0x3da77(%rip)     # 0x69d40
movq %rbx, 0x3da90(%rip)     # 0x69d60
leaq 0x31da9(%rip), %rdx     # 0x5e080
movq %rdx, 0x3da8a(%rip)     # 0x69d68
movq %rsi, 0x3da8b(%rip)     # 0x69d70
movq %r8, 0x3da8c(%rip)      # 0x69d78
movq %r9, 0x3da8d(%rip)      # 0x69d80
movq %r10, 0x3da8e(%rip)     # 0x69d88
movq %r11, 0x3da8f(%rip)     # 0x69d90
movq %rdi, 0x3da90(%rip)     # 0x69d98
movq %rbx, 0x3da91(%rip)     # 0x69da0
leaq 0x31c4a(%rip), %rdx     # 0x5df60
movq %rdx, 0x3da8b(%rip)     # 0x69da8
movq %rsi, 0x3da8c(%rip)     # 0x69db0
movq %rbx, 0x3da8d(%rip)     # 0x69db8
movq %rdx, 0x3da8e(%rip)     # 0x69dc0
leaq 0x3dc07(%rip), %rdi     # 0x69f40
movq %rdi, 0x3da88(%rip)     # 0x69dc8
movq %rdx, 0x3da89(%rip)     # 0x69dd0
movq %rax, 0x3da8a(%rip)     # 0x69dd8
movq %r8, 0x3da8b(%rip)      # 0x69de0
movq %r9, 0x3da8c(%rip)      # 0x69de8
movq %r10, 0x3da8d(%rip)     # 0x69df0
movq %r11, 0x3da8e(%rip)     # 0x69df8
movq %rcx, 0x3daa7(%rip)     # 0x69e18
leaq 0x31ba0(%rip), %rcx     # 0x5df18
movq %rcx, 0x3daa1(%rip)     # 0x69e20
movq %rdi, 0x3daa2(%rip)     # 0x69e28
movq %rsi, 0x3daa3(%rip)     # 0x69e30
movq %rdx, 0x3daa4(%rip)     # 0x69e38
movq %rax, 0x3daa5(%rip)     # 0x69e40
movq %r8, 0x3daa6(%rip)      # 0x69e48
movq %r9, 0x3daa7(%rip)      # 0x69e50
leaq 0x2b(%rip), %rax        # 0x2c3db
movq %rax, 0x3daa1(%rip)     # 0x69e58
leaq 0x9b(%rip), %rax        # 0x2c459
movq %rax, 0x3da9b(%rip)     # 0x69e60
leaq 0x3d73c(%rip), %rax     # 0x69b08
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq