// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/backends/xlib/backendxlib.cpp
// Function: smooth::Backends::BackendXLib::QueryGSettings(smooth::String const&, smooth::String const&)
S::String S::Backends::BackendXLib::QueryGSettings(const String &schema, const String &key)
{
	static String	 gsettings = FindExecutable("gsettings");

	if (gsettings == NIL) return NIL;

	/* Execute gsettings to query value.
	 */
	FILE	*pstdin = popen(String(gsettings).Append(" get ").Append(schema).Append(" ").Append(key), "r");

	if (pstdin != NIL)
	{
		char	 value[256];

		if (fgets(value, 256, pstdin) != NIL)
		{
			pclose(pstdin);

			return value;
		}

		pclose(pstdin);
	}

	return NIL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1d0, %rsp            # imm = 0x1D0
movq %rdi, -0x1a0(%rbp)
movq %rdi, %rax
movq %rax, -0x198(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
cmpb $0x0, 0xf5439(%rip)     # 0x2147a8
jne 0x11f3d5
leaq 0xf5430(%rip), %rdi     # 0x2147a8
callq 0x5a4e0
cmpl $0x0, %eax
je 0x11f3d5
leaq 0x87493(%rip), %rsi     # 0x1a681c
leaq -0x30(%rbp), %rdi
callq 0x5c1f0
jmp 0x11f394
leaq 0xf53f5(%rip), %rdi     # 0x214790
leaq -0x30(%rbp), %rsi
callq 0x11ef90
jmp 0x11f3a6
leaq -0x30(%rbp), %rdi
callq 0x5df00
movq 0xe9b72(%rip), %rdi     # 0x208f28
leaq 0xf53d3(%rip), %rsi     # 0x214790
leaq 0xec33c(%rip), %rdx     # 0x20b700
callq 0x5c700
leaq 0xf53d8(%rip), %rdi     # 0x2147a8
callq 0x5b0c0
leaq 0xf53b4(%rip), %rdi     # 0x214790
xorl %esi, %esi
callq 0x59320
testb $0x1, %al
jne 0x11f3e9
jmp 0x11f430
movq -0x1a0(%rbp), %rdi
xorl %esi, %esi
callq 0x5da90
jmp 0x11f5c8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x11f41f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x5df00
leaq 0xf5382(%rip), %rdi     # 0x2147a8
callq 0x5a860
jmp 0x11f5d8
leaq 0xf5359(%rip), %rsi     # 0x214790
leaq -0x60(%rbp), %rdi
callq 0x5b6d0
leaq 0x873df(%rip), %rsi     # 0x1a6826
leaq -0x78(%rbp), %rdi
callq 0x5c1f0
jmp 0x11f452
leaq -0x60(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x5a710
movq %rax, -0x1a8(%rbp)
jmp 0x11f468
movq -0x1a8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x5a710
movq %rax, -0x1b0(%rbp)
jmp 0x11f481
leaq 0x9caf8(%rip), %rsi     # 0x1bbf80
leaq -0x90(%rbp), %rdi
callq 0x5c1f0
jmp 0x11f496
movq -0x1b0(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x5a710
movq %rax, -0x1b8(%rbp)
jmp 0x11f4b2
movq -0x1b8(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x5a710
movq %rax, -0x1c0(%rbp)
jmp 0x11f4cb
movq -0x1c0(%rbp), %rdi
callq 0x5d090
movq %rax, -0x1c8(%rbp)
jmp 0x11f4e0
movq -0x1c8(%rbp), %rdi
leaq 0x8711f(%rip), %rsi     # 0x1a660d
callq 0x5c3c0
movq %rax, -0x1d0(%rbp)
jmp 0x11f4fc
leaq -0x90(%rbp), %rdi
callq 0x5df00
leaq -0x78(%rbp), %rdi
callq 0x5df00
leaq -0x60(%rbp), %rdi
callq 0x5df00
movq -0x1d0(%rbp), %rax
movq %rax, -0x48(%rbp)
cmpq $0x0, -0x48(%rbp)
je 0x11f5ba
leaq -0x190(%rbp), %rdi
movq -0x48(%rbp), %rdx
movl $0x100, %esi            # imm = 0x100
callq 0x5b4e0
cmpq $0x0, %rax
je 0x11f5b1
movq -0x48(%rbp), %rdi
callq 0x59370
movq -0x1a0(%rbp), %rdi
leaq -0x190(%rbp), %rsi
callq 0x5c1f0
jmp 0x11f5c8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x11f5a6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x11f59d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x5df00
leaq -0x78(%rbp), %rdi
callq 0x5df00
leaq -0x60(%rbp), %rdi
callq 0x5df00
jmp 0x11f5d8
movq -0x48(%rbp), %rdi
callq 0x59370
movq -0x1a0(%rbp), %rdi
xorl %esi, %esi
callq 0x5da90
movq -0x198(%rbp), %rax
addq $0x1d0, %rsp            # imm = 0x1D0
popq %rbp
retq
movq -0x38(%rbp), %rdi
callq 0x5b6b0
nopw %cs:(%rax,%rax)