// File: /workspace/github_c_makefile_star2_O1/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 0x226e2
movl %eax, %r14d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x51a3
testq %rax, %rax
je 0x22940
testb %r14b, %r14b
je 0x22940
movzbl %r14b, %eax
cmpl $0x1, %eax
jne 0x2287a
movq %rbx, %rdi
callq 0x6697
movq %rax, %r14
leaq 0x8(%rbx), %r15
movq %r15, %rdi
callq 0x29cce
xorl %r13d, %r13d
testq %rax, %rax
je 0x22938
movq %rax, %r12
xorl %ebp, %ebp
movq %r12, %rdi
callq 0x51ee
testb %al, %al
jne 0x2285c
movq %r12, %rdi
movl $0x4, %esi
callq 0x6a3c
testb %al, %al
jne 0x2285c
movq %r12, %rdi
callq 0x567b
addl %eax, %ebp
addw 0x1e(%r14), %bp
incl %r13d
movq %r15, %rdi
movq %r12, %rsi
callq 0x29dfb
movq %rax, %r12
testq %rax, %rax
jne 0x2282d
testl %r13d, %r13d
sete %al
jmp 0x2293c
movl %r14d, %ecx
andb $0xe, %cl
cmpb $0x2, %cl
setne %cl
cmpb $0x4, %r14b
setne %dl
testb %cl, %dl
jne 0x228d3
movq %rbx, %rdi
callq 0x226e2
movl %eax, %ebp
movq %rbx, %rdi
callq 0x6697
movq %rax, %r14
cmpb $0x4, %bpl
je 0x22a25
movzbl %bpl, %eax
cmpl $0x3, %eax
je 0x22a20
cmpl $0x2, %eax
jne 0x22a31
movzwl 0x1a(%r14), %ebp
movb $0x1, %r13b
jmp 0x22a36
leal -0x5(%r14), %ecx
cmpb $0x2, %cl
ja 0x229f7
movq %rbx, %rdi
callq 0x226e2
movl %eax, %r14d
movq %rbx, %rdi
callq 0x6697
movq %rax, %r15
movq %rbx, %rdi
callq 0x4abc
movl %eax, %ebp
cmpb $0x7, %r14b
je 0x22afb
movzbl %r14b, %eax
cmpl $0x6, %eax
je 0x22aed
cmpl $0x5, %eax
jne 0x22b14
movzwl 0x16(%r15), %r14d
cmpb $0x1, %bpl
sete %r13b
addb %r13b, %r13b
incb %r13b
jmp 0x22b25
movb $0x1, %al
xorl %ebp, %ebp
testb %al, %al
je 0x2294f
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movzwl 0x1e(%r14), %r13d
movq %rbx, %rdi
movl $0x1, %esi
callq 0x62e7
movq %r15, %rdi
callq 0x29e0b
testq %rax, %rax
je 0x22bcc
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 0x51ee
testb %al, %al
jne 0x229df
movq %r12, %rdi
movl $0x4, %esi
callq 0x6a3c
testb %al, %al
jne 0x229df
movq %r12, %rdi
callq 0x567b
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 0x576d
movq %r12, %rdi
callq 0x567b
addl %ebp, %eax
addw 0x1e(%r14), %ax
movl %eax, %ebp
movq %r15, %rdi
movq %r12, %rsi
callq 0x29cdb
movq %rax, %r12
testq %rax, %rax
jne 0x22987
jmp 0x22bcc
cmpb $0x9, %r14b
je 0x22ad7
cmpl $0x8, %eax
jne 0x22940
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x22fd4
movb $0x2, %r13b
jmp 0x22a34
xorl %ebp, %ebp
subw 0x1c(%r14), %bp
movb $0x3, %r13b
jmp 0x22a36
movb $0x1, %r13b
xorl %ebp, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq 0x62e7
movq %r14, 0x10(%rsp)
movzwl 0x16(%r14), %r14d
leaq 0x8(%rbx), %r15
movq %r15, %rdi
callq 0x29e0b
testq %rax, %rax
je 0x22bcc
movq %rax, %r12
movzbl %r13b, %eax
movl %eax, 0xc(%rsp)
movswl %bp, %r13d
movq %r12, %rdi
callq 0x51ee
testb %al, %al
jne 0x22abf
movq %r12, %rdi
movl $0x4, %esi
callq 0x6a3c
testb %al, %al
jne 0x22abf
movswl %r14w, %ebp
movq %r12, %rdi
movq %rbx, %rsi
movl 0xc(%rsp), %edx
movl %r13d, %ecx
movl %ebp, %r8d
callq 0x576d
movq %r12, %rdi
callq 0x567b
movl %eax, %r14d
addl %ebp, %r14d
movq 0x10(%rsp), %rax
addw 0x1e(%rax), %r14w
movq %r15, %rdi
movq %r12, %rsi
callq 0x29cdb
movq %rax, %r12
testq %rax, %rax
jne 0x22a71
jmp 0x22bcc
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2335a
cmpb $0x1, %bpl
sete %r13b
addb $0x7, %r13b
jmp 0x22b22
xorl %r14d, %r14d
subw 0x18(%r15), %r14w
cmpb $0x1, %bpl
sete %r13b
addb %r13b, %r13b
orb $0x4, %r13b
jmp 0x22b25
cmpb $0x1, %bpl
sete %r13b
addb %r13b, %r13b
incb %r13b
xorl %r14d, %r14d
movq %rbx, %rdi
movl $0x1, %esi
callq 0x62e7
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 0x29e0b
testq %rax, %rax
je 0x22bcc
movq %rax, %r12
movzbl %r13b, %r13d
movswl %r14w, %r14d
movq %r12, %rdi
callq 0x51ee
testb %al, %al
jne 0x22bb9
movq %r12, %rdi
movl $0x4, %esi
callq 0x6a3c
testb %al, %al
jne 0x22bb9
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 0x576d
movq %r12, %rdi
callq 0x5651
addl %ebp, %eax
movq 0x10(%rsp), %rcx
addw 0x1e(%rcx), %ax
movl %eax, %ebp
movq %r15, %rdi
movq %r12, %rsi
callq 0x29cdb
movq %rax, %r12
testq %rax, %rax
jne 0x22b67
movq %rbx, %rdi
movl $0x1, %esi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6314