// File: /workspace/github_c_makefile_star2_O3/OnionIoT[P]lv_example/lvgl/src/lv_objx/lv_cont.c
// Function: lv_cont_refr_layout
static void lv_cont_refr_layout(lv_obj_t * cont)
{
    lv_layout_t type = lv_cont_get_layout(cont);

    /*'cont' has to be at least 1 child*/
    if(lv_obj_get_child(cont, NULL) == NULL) return;

    if(type == LV_LAYOUT_OFF) return;

    if(type == LV_LAYOUT_CENTER) {
        lv_cont_layout_center(cont);
    } else if(type == LV_LAYOUT_COL_L || type == LV_LAYOUT_COL_M || type == LV_LAYOUT_COL_R) {
        lv_cont_layout_col(cont);
    } else if(type == LV_LAYOUT_ROW_T || type == LV_LAYOUT_ROW_M || type == LV_LAYOUT_ROW_B) {
        lv_cont_layout_row(cont);
    } else if(type == LV_LAYOUT_PRETTY) {
        lv_cont_layout_pretty(cont);
    } else if(type == LV_LAYOUT_GRID) {
        lv_cont_layout_grid(cont);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
callq 0x22e64
movl %eax, %r14d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x51a7
testq %rax, %rax
je 0x23185
testb %r14b, %r14b
je 0x23185
movzbl %r14b, %eax
cmpl $0x1, %eax
jne 0x230a6
movq %rbx, %rdi
callq 0x66b6
movq %rax, %r14
leaq 0x8(%rbx), %r15
movq %r15, %rdi
callq 0x2a35c
testq %rax, %rax
je 0x23185
movq %rax, %r12
xorl %ebp, %ebp
xorl %r13d, %r13d
movq %r12, %rdi
callq 0x51f2
testb %al, %al
jne 0x22fe2
movq %r12, %rdi
movl $0x4, %esi
callq 0x6a5b
testb %al, %al
jne 0x22fe2
movq %r12, %rdi
callq 0x5697
addl %eax, %ebp
addw 0x1e(%r14), %bp
incl %r13d
movq %r15, %rdi
movq %r12, %rsi
callq 0x2a448
movq %rax, %r12
testq %rax, %rax
jne 0x22fb3
testl %r13d, %r13d
je 0x23185
movzwl 0x1e(%r14), %r13d
movq %rbx, %rdi
movl $0x1, %esi
callq 0x6306
movq %r15, %rdi
callq 0x2a458
testq %rax, %rax
je 0x23340
movq %rax, %r12
subl %r13d, %ebp
movzwl %bp, %eax
shrl $0xf, %eax
addl %ebp, %eax
movswl %ax, %ebp
sarl %ebp
negl %ebp
movq %r12, %rdi
callq 0x51f2
testb %al, %al
jne 0x2308e
movq %r12, %rdi
movl $0x4, %esi
callq 0x6a5b
testb %al, %al
jne 0x2308e
movq %r12, %rdi
callq 0x5697
movzwl %ax, %ecx
shrl $0xf, %ecx
addl %eax, %ecx
movswl %cx, %eax
sarl %eax
addl %ebp, %eax
movswl %ax, %r8d
movq %r12, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x5789
movq %r12, %rdi
callq 0x5697
addl %ebp, %eax
addw 0x1e(%r14), %ax
movl %eax, %ebp
movq %r15, %rdi
movq %r12, %rsi
callq 0x2a369
movq %rax, %r12
testq %rax, %rax
jne 0x23036
jmp 0x23340
movl %r14d, %ecx
andb $0xe, %cl
cmpb $0x2, %cl
setne %cl
cmpb $0x4, %r14b
setne %dl
testb %cl, %dl
jne 0x230ff
movq %rbx, %rdi
callq 0x22e64
movl %eax, %ebp
movq %rbx, %rdi
callq 0x66b6
movq %rax, %r14
cmpb $0x4, %bpl
je 0x23199
movzbl %bpl, %eax
cmpl $0x3, %eax
je 0x23194
cmpl $0x2, %eax
jne 0x231a5
movzwl 0x1a(%r14), %ebp
movb $0x1, %r13b
jmp 0x231aa
leal -0x5(%r14), %ecx
cmpb $0x2, %cl
ja 0x23160
movq %rbx, %rdi
callq 0x22e64
movl %eax, %r14d
movq %rbx, %rdi
callq 0x66b6
movq %rax, %r15
movq %rbx, %rdi
callq 0x4ab2
movl %eax, %ebp
cmpb $0x7, %r14b
je 0x2326f
movzbl %r14b, %eax
cmpl $0x6, %eax
je 0x23261
cmpl $0x5, %eax
jne 0x23288
movzwl 0x16(%r15), %r14d
cmpb $0x1, %bpl
sete %r13b
addb %r13b, %r13b
incb %r13b
jmp 0x23299
cmpb $0x9, %r14b
je 0x2324b
cmpl $0x8, %eax
jne 0x23185
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2372a
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0x2, %r13b
jmp 0x231a8
xorl %ebp, %ebp
subw 0x1c(%r14), %bp
movb $0x3, %r13b
jmp 0x231aa
movb $0x1, %r13b
xorl %ebp, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x6306
movq %r14, 0x10(%rsp)
movzwl 0x16(%r14), %r14d
leaq 0x8(%rbx), %r15
movq %r15, %rdi
callq 0x2a458
testq %rax, %rax
je 0x23340
movq %rax, %r12
movzbl %r13b, %eax
movl %eax, 0xc(%rsp)
movswl %bp, %r13d
movq %r12, %rdi
callq 0x51f2
testb %al, %al
jne 0x23233
movq %r12, %rdi
movl $0x4, %esi
callq 0x6a5b
testb %al, %al
jne 0x23233
movswl %r14w, %ebp
movq %r12, %rdi
movq %rbx, %rsi
movl 0xc(%rsp), %edx
movl %r13d, %ecx
movl %ebp, %r8d
callq 0x5789
movq %r12, %rdi
callq 0x5697
movl %eax, %r14d
addl %ebp, %r14d
movq 0x10(%rsp), %rax
addw 0x1e(%rax), %r14w
movq %r15, %rdi
movq %r12, %rsi
callq 0x2a369
movq %rax, %r12
testq %rax, %rax
jne 0x231e5
jmp 0x23340
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x23a9a
cmpb $0x1, %bpl
sete %r13b
addb $0x7, %r13b
jmp 0x23296
xorl %r14d, %r14d
subw 0x18(%r15), %r14w
cmpb $0x1, %bpl
sete %r13b
addb %r13b, %r13b
orb $0x4, %r13b
jmp 0x23299
cmpb $0x1, %bpl
sete %r13b
addb %r13b, %r13b
incb %r13b
xorl %r14d, %r14d
movq %rbx, %rdi
movl $0x1, %esi
callq 0x6306
xorl %eax, %eax
movb %bpl, 0xc(%rsp)
cmpb $0x1, %bpl
sete %al
movq %r15, 0x10(%rsp)
movzwl 0x1a(%r15,%rax,2), %ebp
leaq 0x8(%rbx), %r15
movq %r15, %rdi
callq 0x2a458
testq %rax, %rax
je 0x23340
movq %rax, %r12
movzbl %r13b, %r13d
movswl %r14w, %r14d
movq %r12, %rdi
callq 0x51f2
testb %al, %al
jne 0x2332d
movq %r12, %rdi
movl $0x4, %esi
callq 0x6a5b
testb %al, %al
jne 0x2332d
movl %ebp, %eax
negl %eax
cmpb $0x1, 0xc(%rsp)
cmovnel %ebp, %eax
movswl %ax, %ecx
movq %r12, %rdi
movq %rbx, %rsi
movl %r13d, %edx
movl %r14d, %r8d
callq 0x5789
movq %r12, %rdi
callq 0x566d
addl %ebp, %eax
movq 0x10(%rsp), %rcx
addw 0x1e(%rcx), %ax
movl %eax, %ebp
movq %r15, %rdi
movq %r12, %rsi
callq 0x2a369
movq %rax, %r12
testq %rax, %rax
jne 0x232db
movq %rbx, %rdi
movl $0x1, %esi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6333