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

	linep  = line;
	elinep = &line[LINEMAX - 5];
	wordp  = word;
	ewordp = &word[WORDMAX - 5];
	error  = false;
	error_message = NULL;
	nul_count = 0;
	do {
		wp = linep;
		if (get_word() == EOF)
			return EOF;
	} while (*wp != EOL);
	*wordp = NULL;

	cmd_verbose();
	hist_write(PROMPT && wordp - word > 1);

	if (error) {
		err(-1, FMT2S, getmyname(), error_message);
		return 1;
	}

	if (wordp - word > 1) {
		(void)sigfillset(&nmask);
		(void)sigprocmask(SIG_SETMASK, &nmask, &omask);
		t = tnp;
		tnp = NULL;
		tnp = syntax(word, wordp);
		(void)sigprocmask(SIG_SETMASK, &omask, NULL);
		if (error)
			err(-1, FMT2S, getmyname(), error_message);
		else
			execute(tnp, NULL, NULL);
		tfree(tnp);
		tnp = NULL;
		tnp = t;
	}
	return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
leaq 0xb25e(%rip), %rax      # 0xe280
movq %rax, 0xba57(%rip)      # 0xea80
leaq 0xb250(%rip), %rax      # 0xe280
addq $0x7fb, %rax            # imm = 0x7FB
movq %rax, 0xba4b(%rip)      # 0xea88
leaq 0xba4c(%rip), %rax      # 0xea90
movq %rax, 0xda45(%rip)      # 0x10a90
leaq 0xba3e(%rip), %rax      # 0xea90
addq $0x1fd8, %rax           # imm = 0x1FD8
movq %rax, 0xda39(%rip)      # 0x10a98
movb $0x0, 0xda3a(%rip)      # 0x10aa0
movq $0x0, 0xda37(%rip) # 0x10aa8
movl $0x0, 0xda35(%rip)      # 0x10ab0
movq 0xb9fe(%rip), %rax      # 0xea80
movq %rax, -0x118(%rbp)
callq 0x37c0
cmpl $-0x1, %eax
jne 0x309f
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x3234
jmp 0x30a1
movq -0x118(%rbp), %rax
movsbl (%rax), %eax
cmpl $0xa, %eax
jne 0x307b
movq 0xd9d9(%rip), %rax      # 0x10a90
movq $0x0, (%rax)
callq 0x3b00
movl 0xb173(%rip), %ecx      # 0xe23c
andl $0x1f, %ecx
xorl %eax, %eax
cmpl $0x4, %ecx
movb %al, -0x119(%rbp)
jne 0x30fb
movq 0xd9b0(%rip), %rax      # 0x10a90
leaq 0xb9a9(%rip), %rcx      # 0xea90
subq %rcx, %rax
sarq $0x3, %rax
cmpq $0x1, %rax
setg %al
movb %al, -0x119(%rbp)
movb -0x119(%rbp), %al
movzbl %al, %edi
andl $0x1, %edi
callq 0x3ba0
testb $0x1, 0xd98d(%rip)      # 0x10aa0
je 0x3143
callq 0x8df0
movq %rax, %rdx
movq 0xd984(%rip), %rcx      # 0x10aa8
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
leaq 0x8671(%rip), %rsi      # 0xb7a1
movb $0x0, %al
callq 0x8af0
movl $0x1, -0x4(%rbp)
jmp 0x3234
movq 0xd946(%rip), %rax      # 0x10a90
leaq 0xb93f(%rip), %rcx      # 0xea90
subq %rcx, %rax
sarq $0x3, %rax
cmpq $0x1, %rax
jle 0x322d
leaq -0x90(%rbp), %rdi
callq 0x2290
movl $0x2, %edi
leaq -0x90(%rbp), %rsi
leaq -0x110(%rbp), %rdx
callq 0x2040
movq 0xd92b(%rip), %rax      # 0x10ab8
movq %rax, -0x10(%rbp)
movq $0x0, 0xd91c(%rip) # 0x10ab8
movq 0xd8ed(%rip), %rsi      # 0x10a90
leaq 0xb8e6(%rip), %rdi      # 0xea90
callq 0x3c80
movq %rax, 0xd902(%rip)      # 0x10ab8
movl $0x2, %edi
leaq -0x110(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq 0x2040
testb $0x1, 0xd8ce(%rip)      # 0x10aa0
je 0x31f8
callq 0x8df0
movq %rax, %rdx
movq 0xd8c5(%rip), %rcx      # 0x10aa8
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
leaq 0x85b2(%rip), %rsi      # 0xb7a1
movb $0x0, %al
callq 0x8af0
jmp 0x320b
movq 0xd8b9(%rip), %rdi      # 0x10ab8
xorl %eax, %eax
movl %eax, %edx
movq %rdx, %rsi
callq 0x3cf0
movq 0xd8a6(%rip), %rdi      # 0x10ab8
callq 0x4120
movq $0x0, 0xd896(%rip) # 0x10ab8
movq -0x10(%rbp), %rax
movq %rax, 0xd88b(%rip)      # 0x10ab8
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq