// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui.cpp
// Function: ImGui::LogButtons()
void ImGui::LogButtons()
{
    ImGuiContext& g = *GImGui;

    PushID("LogButtons");
#ifndef IMGUI_DISABLE_TTY_FUNCTIONS
    const bool log_to_tty = Button("Log To TTY"); SameLine();
#else
    const bool log_to_tty = false;
#endif
    const bool log_to_file = Button("Log To File"); SameLine();
    const bool log_to_clipboard = Button("Log To Clipboard"); SameLine();
    PushAllowKeyboardFocus(false);
    SetNextItemWidth(80.0f);
    SliderInt("Default Depth", &g.LogDepthToExpandDefault, 0, 9, NULL);
    PopAllowKeyboardFocus();
    PopID();

    // Start logging at the end of the function so that the buttons don't appear in the log
    if (log_to_tty)
        LogToTTY();
    if (log_to_file)
        LogToFile();
    if (log_to_clipboard)
        LogToClipboard();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq 0xa3ac9(%rip), %rbx     # 0xfdcd0
leaq 0x6061d(%rip), %rdi     # 0xba82b
callq 0x55c36
leaq -0x28(%rbp), %rsi
movq $0x0, (%rsi)
leaq 0x60611(%rip), %rdi     # 0xba836
callq 0x93128
movl %eax, %r14d
movq 0xa3a9c(%rip), %rcx     # 0xfdcd0
movq 0x1ae0(%rcx), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
jne 0x5a291
movss 0x15a8(%rcx), %xmm0
addss 0xe0(%rax), %xmm0
movss %xmm0, 0xd8(%rax)
movss 0xe4(%rax), %xmm0
movss %xmm0, 0xdc(%rax)
movq 0x108(%rax), %rcx
movq %rcx, 0x100(%rax)
movss 0x114(%rax), %xmm0
movss %xmm0, 0x110(%rax)
leaq -0x28(%rbp), %rsi
movq $0x0, (%rsi)
leaq 0x6059e(%rip), %rdi     # 0xba841
callq 0x93128
movl %eax, %r15d
movq 0xa3a1e(%rip), %rcx     # 0xfdcd0
movq 0x1ae0(%rcx), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
jne 0x5a30f
movss 0x15a8(%rcx), %xmm0
addss 0xe0(%rax), %xmm0
movss %xmm0, 0xd8(%rax)
movss 0xe4(%rax), %xmm0
movss %xmm0, 0xdc(%rax)
movq 0x108(%rax), %rcx
movq %rcx, 0x100(%rax)
movss 0x114(%rax), %xmm0
movss %xmm0, 0x110(%rax)
leaq -0x28(%rbp), %rsi
movq $0x0, (%rsi)
leaq 0x6052c(%rip), %rdi     # 0xba84d
callq 0x93128
movl %eax, %r12d
movq 0xa39a0(%rip), %rcx     # 0xfdcd0
movq 0x1ae0(%rcx), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
jne 0x5a38d
movss 0x15a8(%rcx), %xmm0
addss 0xe0(%rax), %xmm0
movss %xmm0, 0xd8(%rax)
movss 0xe4(%rax), %xmm0
movss %xmm0, 0xdc(%rax)
movq 0x108(%rax), %rcx
movq %rcx, 0x100(%rax)
movss 0x114(%rax), %xmm0
movss %xmm0, 0x110(%rax)
movl $0x1, %edi
movl $0x1, %esi
callq 0x54e0c
movq 0xa392d(%rip), %rax     # 0xfdcd0
orl $0x1, 0x1bf8(%rax)
movl $0x42a00000, 0x1bfc(%rax) # imm = 0x42A00000
addq $0x3168, %rbx           # imm = 0x3168
leaq 0x6049c(%rip), %rdi     # 0xba85e
movq %rbx, %rsi
xorl %edx, %edx
movl $0x9, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x99276
callq 0x54f76
callq 0x56188
testb %r14b, %r14b
je 0x5a416
movq 0xa38e3(%rip), %rbx     # 0xfdcd0
cmpb $0x0, 0x3138(%rbx)
jne 0x5a416
movl $0x1, %edi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x5a01f
movq 0x9eaf4(%rip), %rax     # 0xf8f00
movq (%rax), %rax
movq %rax, 0x3140(%rbx)
testb %r15b, %r15b
je 0x5a427
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
xorl %esi, %esi
callq 0x5a124
testb %r12b, %r12b
je 0x5a44b
movq 0xa389d(%rip), %rax     # 0xfdcd0
cmpb $0x0, 0x3138(%rax)
jne 0x5a44b
movl $0x4, %edi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x5a01f
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq