// File: /workspace/github_c_makefile_star2_O0/s3lase[P]v6shell/osh.c
// Function: rp_alias
static const char **
rp_alias(const char *string)
{
	struct tnode *t;
	sigset_t nmask, omask;
	char *wp;

	asp = string;
	linep  = aline;
	elinep = &aline[LINEMAX - 5];
	wordp  = aword;
	ewordp = &aword[WORDMAX - 5];
	error  = false;
	error_message = NULL;
	nul_count = 0;
	do {
		wp = linep;
		if (get_word() == EOF) {
			error_message = ERR_SYNTAX;/* same as: ([...] \) */
			asp = NULL;
			return NULL;
		}
	} while (*wp != EOL);
	*wordp = NULL;

	if (error) {
		asp = NULL;
		return NULL;
	}

	if (wordp - aword > 1) {
		if (any(**aword, ";&")) {
			error_message = ERR_SYNTAX;/* same as: (;) or (&) */
			asp = NULL;
			return NULL;
		}
		(void)sigfillset(&nmask);
		(void)sigprocmask(SIG_SETMASK, &nmask, &omask);
		t = NULL;
		t = syntax(aword, wordp);
		(void)sigprocmask(SIG_SETMASK, &omask, NULL);
		if (error) {
			tfree(t);
			t = NULL;
			asp = NULL;
			return NULL;
		}
		tfree(t);
		t = NULL;
		asp = NULL;
		return (const char **)aword;
	}
	error_message = ERR_SYNTAX;/* same as: () */
	asp = NULL;
	return NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, 0x90de(%rip)      # 0xe278
leaq 0xb96f(%rip), %rax      # 0x10b10
movq %rax, 0x98d8(%rip)      # 0xea80
leaq 0xb961(%rip), %rax      # 0x10b10
addq $0x7fb, %rax            # imm = 0x7FB
movq %rax, 0x98cc(%rip)      # 0xea88
leaq 0xc14d(%rip), %rax      # 0x11310
movq %rax, 0xb8c6(%rip)      # 0x10a90
leaq 0xc13f(%rip), %rax      # 0x11310
addq $0x1fd8, %rax           # imm = 0x1FD8
movq %rax, 0xb8ba(%rip)      # 0x10a98
movb $0x0, 0xb8bb(%rip)      # 0x10aa0
movq $0x0, 0xb8b8(%rip) # 0x10aa8
movl $0x0, 0xb8b6(%rip)      # 0x10ab0
movq 0x987f(%rip), %rax      # 0xea80
movq %rax, -0x120(%rbp)
callq 0x37c0
cmpl $-0x1, %eax
jne 0x5238
leaq 0x64b0(%rip), %rax      # 0xb6c9
movq %rax, 0xb888(%rip)      # 0x10aa8
movq $0x0, 0x904d(%rip) # 0xe278
movq $0x0, -0x8(%rbp)
jmp 0x53aa
jmp 0x523a
movq -0x120(%rbp), %rax
movsbl (%rax), %eax
cmpl $0xa, %eax
jne 0x51fa
movq 0xb840(%rip), %rax      # 0x10a90
movq $0x0, (%rax)
testb $0x1, 0xb842(%rip)      # 0x10aa0
je 0x5278
movq $0x0, 0x900d(%rip) # 0xe278
movq $0x0, -0x8(%rbp)
jmp 0x53aa
movq 0xb811(%rip), %rax      # 0x10a90
leaq 0xc08a(%rip), %rcx      # 0x11310
subq %rcx, %rax
sarq $0x3, %rax
cmpq $0x1, %rax
jle 0x5389
movq 0xc072(%rip), %rax      # 0x11310
movsbl (%rax), %edi
leaq 0x64b3(%rip), %rsi      # 0xb75b
callq 0x4460
testb $0x1, %al
jne 0x52b3
jmp 0x52d9
leaq 0x640f(%rip), %rax      # 0xb6c9
movq %rax, 0xb7e7(%rip)      # 0x10aa8
movq $0x0, 0x8fac(%rip) # 0xe278
movq $0x0, -0x8(%rbp)
jmp 0x53aa
leaq -0x98(%rbp), %rdi
callq 0x2290
movl $0x2, %edi
leaq -0x98(%rbp), %rsi
leaq -0x118(%rbp), %rdx
callq 0x2040
movq $0x0, -0x18(%rbp)
movq 0xb784(%rip), %rsi      # 0x10a90
leaq 0xbffd(%rip), %rdi      # 0x11310
callq 0x3c80
movq %rax, -0x18(%rbp)
movl $0x2, %edi
leaq -0x118(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq 0x2040
testb $0x1, 0xb768(%rip)      # 0x10aa0
je 0x5360
movq -0x18(%rbp), %rdi
callq 0x4120
movq $0x0, -0x18(%rbp)
movq $0x0, 0x8f22(%rip) # 0xe278
movq $0x0, -0x8(%rbp)
jmp 0x53aa
movq -0x18(%rbp), %rdi
callq 0x4120
movq $0x0, -0x18(%rbp)
movq $0x0, 0x8efc(%rip) # 0xe278
leaq 0xbf8d(%rip), %rax      # 0x11310
movq %rax, -0x8(%rbp)
jmp 0x53aa
leaq 0x6339(%rip), %rax      # 0xb6c9
movq %rax, 0xb711(%rip)      # 0x10aa8
movq $0x0, 0x8ed6(%rip) # 0xe278
movq $0x0, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
nopw (%rax,%rax)