// File: /workspace/github_cpp_makefile_star2_O3/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 0xa2c6c(%rip), %rbx     # 0xfbcd0
leaq 0x5f7c0(%rip), %rdi     # 0xb882b
callq 0x54b5f
leaq -0x28(%rbp), %rsi
movq $0x0, (%rsi)
leaq 0x5f7b4(%rip), %rdi     # 0xb8836
callq 0x9141e
movl %eax, %r14d
movq 0xa2c3f(%rip), %rcx     # 0xfbcd0
movq 0x1ae0(%rcx), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
jne 0x590ee
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 0x5f741(%rip), %rdi     # 0xb8841
callq 0x9141e
movl %eax, %r15d
movq 0xa2bc1(%rip), %rcx     # 0xfbcd0
movq 0x1ae0(%rcx), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
jne 0x5916c
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 0x5f6cf(%rip), %rdi     # 0xb884d
callq 0x9141e
movl %eax, %r12d
movq 0xa2b43(%rip), %rcx     # 0xfbcd0
movq 0x1ae0(%rcx), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
jne 0x591ea
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 0x53d92
movq 0xa2ad0(%rip), %rax     # 0xfbcd0
orl $0x1, 0x1bf8(%rax)
movl $0x42a00000, 0x1bfc(%rax) # imm = 0x42A00000
addq $0x3168, %rbx           # imm = 0x3168
leaq 0x5f63f(%rip), %rdi     # 0xb885e
movq %rbx, %rsi
xorl %edx, %edx
movl $0x9, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x97509
callq 0x53ede
callq 0x55082
testb %r14b, %r14b
je 0x59273
movq 0xa2a86(%rip), %rbx     # 0xfbcd0
cmpb $0x0, 0x3138(%rbx)
jne 0x59273
movl $0x1, %edi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x58e7c
movq 0x9dc97(%rip), %rax     # 0xf6f00
movq (%rax), %rax
movq %rax, 0x3140(%rbx)
testb %r15b, %r15b
je 0x59284
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
xorl %esi, %esi
callq 0x58f81
testb %r12b, %r12b
je 0x592a8
movq 0xa2a40(%rip), %rax     # 0xfbcd0
cmpb $0x0, 0x3138(%rax)
jne 0x592a8
movl $0x4, %edi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x58e7c
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq