// File: /workspace/github_c_makefile_star2_O0/jonof[P]jftekwar/jfbuild/src/glbuild.c
// Function: dumpglinfo
static void dumpglinfo(void)
{
	const char *supported = "supported", *unsupported = "not supported";
	const char *glslverstr = "not supported";

	if (!glinfo.loaded) {
		buildputs("OpenGL information not available.\n");
		return;
	}

	if (glinfo.glslmajver == 1 && glinfo.glslminver == 0) {
		glslverstr = "1.00";
	} else if (glinfo.glslmajver >= 1) {
		glslverstr = (const char *) glfunc.glGetString(GL_SHADING_LANGUAGE_VERSION);
	}

	buildprintf(
		"OpenGL Information:\n"
		" Version:      %s\n"
		" Vendor:       %s\n"
		" Renderer:     %s\n"
		" GLSL version: %s\n"
		" Anisotropic filtering: %s (%.1f)\n"
		" BGRA textures:         %s\n"
		" Non-2^x textures:      %s\n"
		" DXT1 texture compr:    %s\n"
		" DXT5 texture compr:    %s\n"
		" ETC1 texture compr:    %s\n"
		" Clamp-to-edge:         %s\n"
		" Multisampling:         %s\n"
		"   Nvidia quincunx:     %s\n"
		"   Sample shading:      %s\n",
		glfunc.glGetString(GL_VERSION),
		glfunc.glGetString(GL_VENDOR),
		glfunc.glGetString(GL_RENDERER),
		glslverstr,
		glinfo.maxanisotropy > 1.0 ? supported : unsupported, glinfo.maxanisotropy,
		glinfo.bgra ? supported : unsupported,
		glinfo.texnpot ? supported : unsupported,
		glinfo.texcomprdxt1 ? supported : unsupported,
		glinfo.texcomprdxt5 ? supported : unsupported,
		glinfo.texcompretc1 ? supported : unsupported,
		glinfo.clamptoedge ? supported : unsupported,
		glinfo.multisample ? supported : unsupported,
		glinfo.nvmultisamplehint ? supported : unsupported,
		glinfo.sampleshading ? supported : unsupported
	);

#ifdef DEBUGGINGAIDS
	buildprintf(
		" Multitexturing:        %d units\n"
		" Max 1/2D texture size: %d\n"
		" Max vertex attribs:    %d\n",
		glinfo.multitex,
		glinfo.maxtexsize,
		glinfo.maxvertexattribs
	);
#endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
leaq 0x43ec9(%rip), %rax     # 0xb5e34
movq %rax, -0x30(%rbp)
leaq 0x43eba(%rip), %rax     # 0xb5e30
movq %rax, -0x38(%rbp)
leaq 0x43eaf(%rip), %rax     # 0xb5e30
movq %rax, -0x40(%rbp)
leaq 0x148e24(%rip), %rax    # 0x1badb0
cmpl $0x0, (%rax)
jne 0x71fa2
leaq 0x43ea6(%rip), %rdi     # 0xb5e3e
callq 0x4a720
jmp 0x722ca
leaq 0x148e07(%rip), %rax    # 0x1badb0
cmpl $0x1, 0xc(%rax)
jne 0x71fc9
leaq 0x148dfa(%rip), %rax    # 0x1badb0
cmpl $0x0, 0x10(%rax)
jne 0x71fc9
leaq 0x43e9e(%rip), %rax     # 0xb5e61
movq %rax, -0x40(%rbp)
jmp 0x71fe7
leaq 0x148de0(%rip), %rax    # 0x1badb0
cmpl $0x1, 0xc(%rax)
jl 0x71fe5
movl $0x8b8c, %edi           # imm = 0x8B8C
callq *0x57b78f(%rip)         # 0x5ed770
movq %rax, -0x40(%rbp)
jmp 0x71fe7
movl $0x1f02, %edi           # imm = 0x1F02
callq *0x57b77e(%rip)         # 0x5ed770
movq %rax, -0x60(%rbp)
movl $0x1f00, %edi           # imm = 0x1F00
callq *0x57b76f(%rip)         # 0x5ed770
movq %rax, -0x58(%rbp)
movl $0x1f01, %edi           # imm = 0x1F01
callq *0x57b760(%rip)         # 0x5ed770
movq %rax, -0x50(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0x148d8d(%rip), %rax    # 0x1badb0
movss 0x14(%rax), %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x3f99c(%rip), %xmm1    # 0xb19d0
ucomisd %xmm1, %xmm0
jbe 0x72044
movq -0x30(%rbp), %rax
movq %rax, -0x68(%rbp)
jmp 0x7204c
movq -0x38(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq 0x148d55(%rip), %rax    # 0x1badb0
movss 0x14(%rax), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x70(%rbp)
leaq 0x148d40(%rip), %rax    # 0x1badb0
movsbl 0x18(%rax), %eax
cmpl $0x0, %eax
je 0x72083
movq -0x30(%rbp), %rax
movq %rax, -0x80(%rbp)
jmp 0x7208b
movq -0x38(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0x148d13(%rip), %rax    # 0x1badb0
movsbl 0x1d(%rax), %eax
cmpl $0x0, %eax
je 0x720b3
movq -0x30(%rbp), %rax
movq %rax, -0x90(%rbp)
jmp 0x720be
movq -0x38(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq 0x148cdd(%rip), %rax    # 0x1badb0
movsbl 0x1a(%rax), %eax
cmpl $0x0, %eax
je 0x720e9
movq -0x30(%rbp), %rax
movq %rax, -0xa0(%rbp)
jmp 0x720f4
movq -0x38(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq 0x148ca7(%rip), %rax    # 0x1badb0
movsbl 0x1b(%rax), %eax
cmpl $0x0, %eax
je 0x7211f
movq -0x30(%rbp), %rax
movq %rax, -0xb0(%rbp)
jmp 0x7212a
movq -0x38(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq 0x148c71(%rip), %rax    # 0x1badb0
movsbl 0x1c(%rax), %eax
cmpl $0x0, %eax
je 0x72155
movq -0x30(%rbp), %rax
movq %rax, -0xc0(%rbp)
jmp 0x72160
movq -0x38(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq 0x148c3b(%rip), %rax    # 0x1badb0
movsbl 0x19(%rax), %eax
cmpl $0x0, %eax
je 0x7218b
movq -0x30(%rbp), %rax
movq %rax, -0xd0(%rbp)
jmp 0x72196
movq -0x38(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0xd8(%rbp)
leaq 0x148c05(%rip), %rax    # 0x1badb0
movsbl 0x1e(%rax), %eax
cmpl $0x0, %eax
je 0x721c1
movq -0x30(%rbp), %rax
movq %rax, -0xe0(%rbp)
jmp 0x721cc
movq -0x38(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0xe8(%rbp)
leaq 0x148bcf(%rip), %rax    # 0x1badb0
movsbl 0x1f(%rax), %eax
cmpl $0x0, %eax
je 0x721f7
movq -0x30(%rbp), %rax
movq %rax, -0xf0(%rbp)
jmp 0x72202
movq -0x38(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0xf8(%rbp)
leaq 0x148b99(%rip), %rax    # 0x1badb0
movsbl 0x20(%rax), %eax
cmpl $0x0, %eax
je 0x7222d
movq -0x30(%rbp), %rax
movq %rax, -0x100(%rbp)
jmp 0x72238
movq -0x38(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0xe8(%rbp), %r11
movq -0xd8(%rbp), %rbx
movq -0xc8(%rbp), %r14
movq -0xb8(%rbp), %r15
movq -0xa8(%rbp), %r12
movq -0x98(%rbp), %r13
movq -0x88(%rbp), %r10
movsd -0x70(%rbp), %xmm0
movq -0x78(%rbp), %r9
movq -0x48(%rbp), %r8
movq -0x50(%rbp), %rcx
movq -0x58(%rbp), %rdx
movq -0x60(%rbp), %rsi
movq -0x100(%rbp), %rax
leaq 0x43bd6(%rip), %rdi     # 0xb5e66
movq %r10, (%rsp)
movq -0xf8(%rbp), %r10
movq %r13, 0x8(%rsp)
movq %r12, 0x10(%rsp)
movq %r15, 0x18(%rsp)
movq %r14, 0x20(%rsp)
movq %rbx, 0x28(%rsp)
movq %r11, 0x30(%rsp)
movq %r10, 0x38(%rsp)
movq %rax, 0x40(%rsp)
movb $0x1, %al
callq 0x37c90
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)