// File: /workspace/github_cpp_makefile_star2_O1/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 0x3e348(%rip), %r13     # 0x55490
leaq 0x27081(%rip), %rdi     # 0x3e1d0
callq 0x173b3
leaq -0x30(%rbp), %rsi
movq $0x0, (%rsi)
leaq 0x27075(%rip), %rdi     # 0x3e1db
xorl %edx, %edx
callq 0x166bc
movl %eax, %ebx
movq 0x3e31a(%rip), %rcx     # 0x55490
movq 0x1758(%rcx), %rax
movb $0x1, 0x72(%rax)
cmpb $0x0, 0x74(%rax)
jne 0x171b9
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 0x2701b(%rip), %rdi     # 0x3e1e6
xorl %edx, %edx
callq 0x166bc
movl %eax, %r14d
movq 0x3e2b4(%rip), %rcx     # 0x55490
movq 0x1758(%rcx), %rax
movb $0x1, 0x72(%rax)
cmpb $0x0, 0x74(%rax)
jne 0x1721f
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 0x26fc1(%rip), %rdi     # 0x3e1f2
xorl %edx, %edx
callq 0x166bc
movl %eax, %r15d
movq 0x3e24e(%rip), %rcx     # 0x55490
movq 0x1758(%rcx), %rax
movb $0x1, 0x72(%rax)
cmpb $0x0, 0x74(%rax)
jne 0x17285
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 0x2618b(%rip), %xmm0    # 0x3d418
callq 0x9d0e
xorl %edi, %edi
callq 0x14e5c
xorps %xmm0, %xmm0
cvtsi2ssl 0x2c04(%r13), %xmm0
leaq -0x30(%rbp), %r12
movss %xmm0, (%r12)
leaq 0x26f4d(%rip), %rdi     # 0x3e203
leaq 0x29c3e(%rip), %rdx     # 0x40efb
movss 0x26157(%rip), %xmm1    # 0x3d41c
movss 0x260b3(%rip), %xmm2    # 0x3d380
xorps %xmm0, %xmm0
movq %r12, %rsi
callq 0x1b0db
cvttss2si (%r12), %eax
movl %eax, 0x2c04(%r13)
callq 0x14f3f
callq 0x9e68
callq 0x16fc0
testb %bl, %bl
je 0x17344
movq 0x3e191(%rip), %rax     # 0x55490
cmpb $0x0, 0x2be8(%rax)
jne 0x17344
movl 0x2c04(%r13), %ecx
movq 0x1758(%rax), %rdx
movb $0x1, 0x2be8(%rax)
movq 0x3dcac(%rip), %rsi     # 0x54fd0
movq (%rsi), %rsi
movq %rsi, 0x2bf0(%rax)
movl 0xdc(%rdx), %edx
movl %edx, 0x2c00(%rax)
testl %ecx, %ecx
js 0x17344
movl %ecx, 0x2c04(%rax)
testb %r14b, %r14b
je 0x17359
movl 0x2c04(%r13), %edi
movq 0x20(%r13), %rsi
callq 0x17053
testb %r15b, %r15b
je 0x173a4
movq 0x3e12b(%rip), %rax     # 0x55490
cmpb $0x0, 0x2be8(%rax)
jne 0x173a4
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 0x173a4
movl %ecx, 0x2c04(%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq