// File: /workspace/github_c_makefile_star2_O3/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x110, %rsp            # imm = 0x110
leaq 0x95a7(%rip), %rax      # 0xc280
movq %rax, 0x9da0(%rip)      # 0xca80
leaq 0x9d94(%rip), %rax      # 0xca7b
movq %rax, 0x9d9a(%rip)      # 0xca88
leaq 0x9d9b(%rip), %r14      # 0xca90
movq %r14, 0xbd94(%rip)      # 0xea90
leaq 0xbd65(%rip), %rax      # 0xea68
movq %rax, 0xbd8e(%rip)      # 0xea98
movb $0x0, 0xbd8f(%rip)      # 0xeaa0
movq $0x0, 0xbd8c(%rip) # 0xeaa8
movl $0x0, 0xbd8a(%rip)      # 0xeab0
movq 0x9d53(%rip), %rbx      # 0xca80
callq 0x3383
cmpl $-0x1, %eax
je 0x2e92
cmpb $0xa, (%rbx)
jne 0x2d26
movq 0xbd49(%rip), %rax      # 0xea90
movq $0x0, (%rax)
cmpb $0x1, 0x94cb(%rip)      # 0xc220
jne 0x2dc9
movq 0x9d32(%rip), %rdx      # 0xca90
cmpb $0xa, (%rdx)
je 0x2da8
leaq 0x9d2e(%rip), %r15      # 0xca98
leaq 0x655f(%rip), %r12      # 0x92d0
leaq 0x64d7(%rip), %r13      # 0x924f
leaq 0x6549(%rip), %rbx      # 0x92c8
movq (%r15), %rax
cmpb $0xa, (%rax)
movq %r12, %rcx
je 0x2d8d
movq %r13, %rcx
movl $0x2, %edi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x69fa
movq (%r15), %rdx
addq $0x8, %r15
cmpb $0xa, (%rdx)
jne 0x2d7f
leaq 0x658c(%rip), %rsi      # 0x933b
leaq 0x651a(%rip), %rdx      # 0x92d0
movl $0x2, %edi
xorl %eax, %eax
callq 0x69fa
movq 0xbcc7(%rip), %rax      # 0xea90
movl 0x9429(%rip), %edi      # 0xc1f8
cmpl $-0x1, %edi
je 0x2eb6
movl 0x945e(%rip), %ecx      # 0xc23c
andl $0x1f, %ecx
cmpl $0x4, %ecx
jne 0x2eb6
subq %r14, %rax
cmpq $0x9, %rax
jl 0x2eb6
movq %rsp, %rsi
callq 0x2390
testl %eax, %eax
js 0x2e9c
movl $0xf000, %eax           # imm = 0xF000
andl 0x18(%rsp), %eax
cmpl $0x8000, %eax           # imm = 0x8000
jne 0x2e9c
cmpq $0x0, 0x10(%rsp)
je 0x2e9c
movq 0x9c66(%rip), %rdx      # 0xca90
cmpb $0xa, (%rdx)
je 0x2e75
leaq 0x9c62(%rip), %r15      # 0xca98
leaq 0x6493(%rip), %r12      # 0x92d0
leaq 0x640b(%rip), %r13      # 0x924f
leaq 0x647d(%rip), %rbx      # 0x92c8
movq (%r15), %rax
cmpb $0xa, (%rax)
movq %r12, %rcx
je 0x2e59
movq %r13, %rcx
movl 0x9399(%rip), %edi      # 0xc1f8
movq %rbx, %rsi
xorl %eax, %eax
callq 0x69fa
movq (%r15), %rdx
addq $0x8, %r15
cmpb $0xa, (%rdx)
jne 0x2e4b
movl 0x937d(%rip), %edi      # 0xc1f8
leaq 0x64b9(%rip), %rsi      # 0x933b
leaq 0x6447(%rip), %rdx      # 0x92d0
xorl %eax, %eax
callq 0x69fa
jmp 0x2eb6
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
jmp 0x2fb2
movl 0x9356(%rip), %edi      # 0xc1f8
callq 0x21d0
cmpl $-0x1, %eax
je 0x2eb6
movl $0xffffffff, 0x9342(%rip) # imm = 0xFFFFFFFF
cmpb $0x1, 0xbbe3(%rip)      # 0xeaa0
jne 0x2eeb
callq 0x6a87
movq 0xbbdd(%rip), %rcx      # 0xeaa8
leaq 0x6465(%rip), %rsi      # 0x9337
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movq %rax, %rdx
xorl %eax, %eax
callq 0x6840
movl $0x1, %ebx
jmp 0x2fb2
movq 0xbb9e(%rip), %rax      # 0xea90
subq %r14, %rax
movl $0x1, %ebx
cmpq $0x9, %rax
jl 0x2fb2
movq %rsp, %r14
movq %r14, %rdi
callq 0x2290
leaq 0x90(%rsp), %r15
movl $0x2, %edi
movq %r14, %rsi
movq %r15, %rdx
callq 0x2040
movq 0xbb8a(%rip), %r14      # 0xeab8
movq $0x0, 0xbb7f(%rip) # 0xeab8
movq 0xbb50(%rip), %rsi      # 0xea90
leaq 0x9b49(%rip), %rdi      # 0xca90
callq 0x35ef
movq %rax, 0xbb65(%rip)      # 0xeab8
movl $0x2, %edi
movq %r15, %rsi
xorl %edx, %edx
callq 0x2040
cmpb $0x1, 0xbb37(%rip)      # 0xeaa0
jne 0x2f8f
callq 0x6a87
movq 0xbb31(%rip), %rcx      # 0xeaa8
leaq 0x63b9(%rip), %rsi      # 0x9337
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movq %rax, %rdx
xorl %eax, %eax
callq 0x6840
jmp 0x2f9f
movq 0xbb22(%rip), %rdi      # 0xeab8
xorl %esi, %esi
xorl %edx, %edx
callq 0x3628
movq 0xbb12(%rip), %rdi      # 0xeab8
callq 0x3d2c
movq %r14, 0xbb06(%rip)      # 0xeab8
movl %ebx, %eax
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq