// File: /workspace/github_cpp_makefile_star2_O3/donfreiday[P]gb/./imgui/imgui.cpp
// Function: ImGui::LogButtons()
void ImGui::LogButtons()
{
    ImGuiState& g = *GImGui;

    ImGui::PushID("LogButtons");
    const bool log_to_tty = ImGui::Button("Log To TTY");
    ImGui::SameLine();
    const bool log_to_file = ImGui::Button("Log To File");
    ImGui::SameLine();
    const bool log_to_clipboard = ImGui::Button("Log To Clipboard");
    ImGui::SameLine();

    ImGui::PushItemWidth(80.0f);
    ImGui::PushAllowKeyboardFocus(false);
    ImGui::SliderInt("Depth", &g.LogAutoExpandMaxDepth, 0, 9, NULL);
    ImGui::PopAllowKeyboardFocus();
    ImGui::PopItemWidth();
    ImGui::PopID();

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

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x3e7df(%rip), %r13     # 0x55480
leaq 0x27558(%rip), %rdi     # 0x3e200
callq 0x16f0c
leaq -0x30(%rbp), %rsi
movq $0x0, (%rsi)
leaq 0x2754c(%rip), %rdi     # 0x3e20b
xorl %edx, %edx
callq 0x1621f
movl %eax, %ebx
movq 0x3e7b1(%rip), %rcx     # 0x55480
movq 0x1758(%rcx), %rax
movb $0x1, 0x72(%rax)
cmpb $0x0, 0x74(%rax)
jne 0x16d12
movss 0x1414(%rcx), %xmm0
addss 0xb0(%rax), %xmm0
movl 0xb4(%rax), %ecx
movq 0xd0(%rax), %rdx
movq %rdx, 0xc8(%rax)
movss %xmm0, 0xa8(%rax)
movl %ecx, 0xac(%rax)
leaq -0x30(%rbp), %rsi
movq $0x0, (%rsi)
leaq 0x274f2(%rip), %rdi     # 0x3e216
xorl %edx, %edx
callq 0x1621f
movl %eax, %r14d
movq 0x3e74b(%rip), %rcx     # 0x55480
movq 0x1758(%rcx), %rax
movb $0x1, 0x72(%rax)
cmpb $0x0, 0x74(%rax)
jne 0x16d78
movss 0x1414(%rcx), %xmm0
addss 0xb0(%rax), %xmm0
movl 0xb4(%rax), %ecx
movq 0xd0(%rax), %rdx
movq %rdx, 0xc8(%rax)
movss %xmm0, 0xa8(%rax)
movl %ecx, 0xac(%rax)
leaq -0x30(%rbp), %rsi
movq $0x0, (%rsi)
leaq 0x27498(%rip), %rdi     # 0x3e222
xorl %edx, %edx
callq 0x1621f
movl %eax, %r15d
movq 0x3e6e5(%rip), %rcx     # 0x55480
movq 0x1758(%rcx), %rax
movb $0x1, 0x72(%rax)
cmpb $0x0, 0x74(%rax)
jne 0x16dde
movss 0x1414(%rcx), %xmm0
addss 0xb0(%rax), %xmm0
movl 0xb4(%rax), %ecx
movq 0xd0(%rax), %rdx
movq %rdx, 0xc8(%rax)
movss %xmm0, 0xa8(%rax)
movl %ecx, 0xac(%rax)
movss 0x26642(%rip), %xmm0    # 0x3d428
callq 0x9c64
xorl %edi, %edi
callq 0x14ac5
xorps %xmm0, %xmm0
cvtsi2ssl 0x2c04(%r13), %xmm0
leaq -0x30(%rbp), %r12
movss %xmm0, (%r12)
leaq 0x27424(%rip), %rdi     # 0x3e233
leaq 0x2a065(%rip), %rdx     # 0x40e7b
movss 0x2660e(%rip), %xmm1    # 0x3d42c
movss 0x2656a(%rip), %xmm2    # 0x3d390
xorps %xmm0, %xmm0
movq %r12, %rsi
callq 0x1ad02
cvttss2si (%r12), %eax
movl %eax, 0x2c04(%r13)
callq 0x14b9c
callq 0x9db1
callq 0x16b19
testb %bl, %bl
je 0x16e9d
movq 0x3e628(%rip), %rax     # 0x55480
cmpb $0x0, 0x2be8(%rax)
jne 0x16e9d
movl 0x2c04(%r13), %ecx
movq 0x1758(%rax), %rdx
movb $0x1, 0x2be8(%rax)
movq 0x3e153(%rip), %rsi     # 0x54fd0
movq (%rsi), %rsi
movq %rsi, 0x2bf0(%rax)
movl 0xdc(%rdx), %edx
movl %edx, 0x2c00(%rax)
testl %ecx, %ecx
js 0x16e9d
movl %ecx, 0x2c04(%rax)
testb %r14b, %r14b
je 0x16eb2
movl 0x2c04(%r13), %edi
movq 0x20(%r13), %rsi
callq 0x16bac
testb %r15b, %r15b
je 0x16efd
movq 0x3e5c2(%rip), %rax     # 0x55480
cmpb $0x0, 0x2be8(%rax)
jne 0x16efd
movl 0x2c04(%r13), %ecx
movq 0x1758(%rax), %rdx
movb $0x1, 0x2be8(%rax)
movq $0x0, 0x2bf0(%rax)
movl 0xdc(%rdx), %edx
movl %edx, 0x2c00(%rax)
testl %ecx, %ecx
js 0x16efd
movl %ecx, 0x2c04(%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq