// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
leaq 0x95df(%rip), %rax      # 0xc280
movq %rax, 0x9dd8(%rip)      # 0xca80
leaq 0x9dcc(%rip), %rax      # 0xca7b
movq %rax, 0x9dd2(%rip)      # 0xca88
leaq 0x9dd3(%rip), %r14      # 0xca90
movq %r14, 0xbdcc(%rip)      # 0xea90
leaq 0xbd9d(%rip), %rax      # 0xea68
movq %rax, 0xbdc6(%rip)      # 0xea98
movb $0x0, 0xbdc7(%rip)      # 0xeaa0
andq $0x0, 0xbdc7(%rip)      # 0xeaa8
andl $0x0, 0xbdc8(%rip)      # 0xeab0
pushq $-0x1
popq %rbx
movq 0x9d8e(%rip), %r15      # 0xca80
callq 0x32bb
cmpl $-0x1, %eax
je 0x2f22
cmpb $0xa, (%r15)
jne 0x2ceb
movq 0xbd83(%rip), %rax      # 0xea90
andq $0x0, (%rax)
cmpb $0x1, 0x9508(%rip)      # 0xc220
jne 0x2d81
leaq 0x9d77(%rip), %r15      # 0xca98
leaq 0x55ab(%rip), %r12      # 0x82d3
leaq 0x5520(%rip), %r13      # 0x824f
leaq 0x5595(%rip), %rbx      # 0x82cb
pushq $0x2
popq %rbp
movq -0x8(%r15), %rdx
cmpb $0xa, (%rdx)
je 0x2d62
movq (%r15), %rax
cmpb $0xa, (%rax)
movq %r12, %rcx
je 0x2d50
movq %r13, %rcx
movl %ebp, %edi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x63c8
addq $0x8, %r15
jmp 0x2d39
leaq 0x55d8(%rip), %rsi      # 0x8341
leaq 0x5563(%rip), %rdx      # 0x82d3
pushq $0x2
popq %rdi
xorl %eax, %eax
callq 0x63c8
movq 0xbd0f(%rip), %rax      # 0xea90
movl 0x9471(%rip), %edi      # 0xc1f8
cmpl $-0x1, %edi
je 0x2e32
movl 0x94a6(%rip), %ecx      # 0xc23c
andl $0x1f, %ecx
cmpl $0x4, %ecx
jne 0x2e32
subq %r14, %rax
cmpq $0x9, %rax
jl 0x2e32
pushq $0x4
popq %rsi
callq 0x2ab0
testb %al, %al
je 0x2e04
leaq 0x9cd6(%rip), %r15      # 0xca98
leaq 0x550a(%rip), %r12      # 0x82d3
leaq 0x547f(%rip), %r13      # 0x824f
leaq 0x54f4(%rip), %rbx      # 0x82cb
movq -0x8(%r15), %rdx
cmpb $0xa, (%rdx)
movl 0x9414(%rip), %edi      # 0xc1f8
je 0x2e1d
movq (%r15), %rax
cmpb $0xa, (%rax)
movq %r12, %rcx
je 0x2df4
movq %r13, %rcx
movq %rbx, %rsi
xorl %eax, %eax
callq 0x63c8
addq $0x8, %r15
jmp 0x2dd7
movl 0x93ee(%rip), %edi      # 0xc1f8
callq 0x21d0
cmpl $-0x1, %eax
je 0x2e32
orl $-0x1, 0x93dd(%rip)     # 0xc1f8
jmp 0x2e32
leaq 0x551d(%rip), %rsi      # 0x8341
leaq 0x54a8(%rip), %rdx      # 0x82d3
xorl %eax, %eax
callq 0x63c8
cmpb $0x1, 0xbc67(%rip)      # 0xeaa0
jne 0x2e63
callq 0x6455
movq 0xbc61(%rip), %rcx      # 0xeaa8
leaq 0x54ef(%rip), %rsi      # 0x833d
pushq $-0x1
popq %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x6218
pushq $0x1
popq %rbx
jmp 0x2f22
movq 0xbc26(%rip), %rax      # 0xea90
subq %r14, %rax
pushq $0x1
popq %rbx
cmpq $0x9, %rax
jl 0x2f22
leaq 0x88(%rsp), %r14
movq %r14, %rdi
callq 0x2290
pushq $0x2
popq %rbp
leaq 0x8(%rsp), %r15
movl %ebp, %edi
movq %r14, %rsi
movq %r15, %rdx
callq 0x2040
movq 0xbc12(%rip), %r14      # 0xeab8
andq $0x0, 0xbc0a(%rip)      # 0xeab8
movq 0xbbdb(%rip), %rsi      # 0xea90
leaq 0x9bd4(%rip), %rdi      # 0xca90
callq 0x350a
movq %rax, 0xbbf0(%rip)      # 0xeab8
movl %ebp, %edi
movq %r15, %rsi
xorl %edx, %edx
callq 0x2040
cmpb $0x1, 0xbbc5(%rip)      # 0xeaa0
jne 0x2eff
callq 0x6455
movq 0xbbbf(%rip), %rcx      # 0xeaa8
leaq 0x544d(%rip), %rsi      # 0x833d
pushq $-0x1
popq %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x6218
jmp 0x2f0f
movq 0xbbb2(%rip), %rdi      # 0xeab8
xorl %esi, %esi
xorl %edx, %edx
callq 0x3551
movq 0xbba2(%rip), %rdi      # 0xeab8
callq 0x49ce
movq %r14, 0xbb96(%rip)      # 0xeab8
movl %ebx, %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq