// File: /workspace/github_c_makefile_star2_O0/nurse[P]nkf/nkf.c
// Function: j_oconv
static void
j_oconv(nkf_char c2, nkf_char c1)
{
#ifdef NUMCHAR_OPTION
    if (c2 == 0 && nkf_char_unicode_p(c1)){
	w16e_conv(c1, &c2, &c1);
	if (c2 == 0 && nkf_char_unicode_p(c1)){
	    c2 = c1 & VALUE_MASK;
	    if (ms_ucs_map_f && 0xE000 <= c2 && c2 <= 0xE757) {
		/* CP5022x UDC */
		c1 &= 0xFFF;
		c2 = 0x7F + c1 / 94;
		c1 = 0x21 + c1 % 94;
	    } else {
		if (encode_fallback) (*encode_fallback)(c1);
		return;
	    }
	}
    }
#endif
    if (c2 == 0) {
	output_ascii_escape_sequence(ASCII);
	(*o_putc)(c1);
    }
    else if (c2 == EOF) {
	output_ascii_escape_sequence(ASCII);
	(*o_putc)(EOF);
    }
    else if (c2 == ISO_8859_1) {
	output_ascii_escape_sequence(ISO_8859_1);
	(*o_putc)(c1|0x80);
    }
    else if (c2 == JIS_X_0201_1976_K) {
	output_escape_sequence(JIS_X_0201_1976_K);
	(*o_putc)(c1);
#ifdef X0212_ENABLE
    } else if (is_eucg3(c2)){
	output_escape_sequence(x0213_f ? JIS_X_0213_2 : JIS_X_0212);
	(*o_putc)(c2 & 0x7f);
	(*o_putc)(c1);
#endif
    } else {
	if(ms_ucs_map_f
	   ? c2<0x20 || 0x92<c2 || c1<0x20 || 0x7e<c1
	   : c2<0x20 || 0x7e<c2 || c1<0x20 || 0x7e<c1) return;
	output_escape_sequence(x0213_f ? JIS_X_0213_1 : JIS_X_0208);
	(*o_putc)(c2);
	(*o_putc)(c1);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
cmpl $0x0, -0x4(%rbp)
jne 0xc9c9
movl -0x8(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x1000000, %eax        # imm = 0x1000000
jne 0xc9c9
movl -0x8(%rbp), %edi
leaq -0x4(%rbp), %rsi
leaq -0x8(%rbp), %rdx
callq 0x13020
cmpl $0x0, -0x4(%rbp)
jne 0xc9c7
movl -0x8(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x1000000, %eax        # imm = 0x1000000
jne 0xc9c7
movl -0x8(%rbp), %eax
andl $0xffffff, %eax         # imm = 0xFFFFFF
movl %eax, -0x4(%rbp)
cmpl $0x0, 0x4db02(%rip)     # 0x5a468
je 0xc9aa
movl $0xe000, %eax           # imm = 0xE000
cmpl -0x4(%rbp), %eax
jg 0xc9aa
cmpl $0xe757, -0x4(%rbp)     # imm = 0xE757
jg 0xc9aa
movl -0x8(%rbp), %eax
andl $0xfff, %eax            # imm = 0xFFF
movl %eax, -0x8(%rbp)
movl -0x8(%rbp), %eax
movl $0x5e, %ecx
cltd
idivl %ecx
addl $0x7f, %eax
movl %eax, -0x4(%rbp)
movl -0x8(%rbp), %eax
movl $0x5e, %ecx
cltd
idivl %ecx
addl $0x21, %edx
movl %edx, -0x8(%rbp)
jmp 0xc9c5
cmpq $0x0, 0x4dabe(%rip)     # 0x5a470
je 0xc9c0
movq 0x4dab5(%rip), %rax     # 0x5a470
movl -0x8(%rbp), %edi
callq *%rax
jmp 0xcbdc
jmp 0xc9c7
jmp 0xc9c9
cmpl $0x0, -0x4(%rbp)
jne 0xca26
jmp 0xc9d1
cmpl $0x0, 0x4daa4(%rip)     # 0x5a47c
je 0xca13
cmpl $0x1, 0x4da9b(%rip)     # 0x5a47c
je 0xca13
movl $0x1b, %edi
callq *0x458ba(%rip)          # 0x522a8
movl $0x28, %edi
callq *0x458af(%rip)          # 0x522a8
movq 0x458a8(%rip), %rax     # 0x522a8
movzbl 0x458a9(%rip), %edi     # 0x522b0
callq *%rax
movl $0x0, 0x4da69(%rip)     # 0x5a47c
jmp 0xca15
movq 0x4588c(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
callq *%rax
jmp 0xcbdc
cmpl $-0x1, -0x4(%rbp)
jne 0xca82
jmp 0xca2e
cmpl $0x0, 0x4da47(%rip)     # 0x5a47c
je 0xca70
cmpl $0x1, 0x4da3e(%rip)     # 0x5a47c
je 0xca70
movl $0x1b, %edi
callq *0x4585d(%rip)          # 0x522a8
movl $0x28, %edi
callq *0x45852(%rip)          # 0x522a8
movq 0x4584b(%rip), %rax     # 0x522a8
movzbl 0x4584c(%rip), %edi     # 0x522b0
callq *%rax
movl $0x0, 0x4da0c(%rip)     # 0x5a47c
jmp 0xca72
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq *0x4582b(%rip)          # 0x522a8
jmp 0xcbda
cmpl $0x1, -0x4(%rbp)
jne 0xcae5
jmp 0xca8a
cmpl $0x0, 0x4d9eb(%rip)     # 0x5a47c
je 0xcacc
cmpl $0x1, 0x4d9e2(%rip)     # 0x5a47c
je 0xcacc
movl $0x1b, %edi
callq *0x45801(%rip)          # 0x522a8
movl $0x28, %edi
callq *0x457f6(%rip)          # 0x522a8
movq 0x457ef(%rip), %rax     # 0x522a8
movzbl 0x457f0(%rip), %edi     # 0x522b0
callq *%rax
movl $0x1, 0x4d9b0(%rip)     # 0x5a47c
jmp 0xcace
movq 0x457d3(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
orl $0x80, %edi
callq *%rax
jmp 0xcbd8
cmpl $0x1013, -0x4(%rbp)     # imm = 0x1013
jne 0xcb09
movl $0x1013, %edi           # imm = 0x1013
callq 0x13260
movq 0x457a9(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
callq *%rax
jmp 0xcbd6
movl -0x4(%rbp), %eax
movzwl %ax, %eax
sarl $0x8, %eax
cmpl $0x8f, %eax
jne 0xcb54
movl 0x458fd(%rip), %ecx     # 0x5241c
movl $0x1159, %edi           # imm = 0x1159
movl $0x1229, %eax           # imm = 0x1229
cmpl $0x0, %ecx
cmovnel %eax, %edi
callq 0x13260
movq 0x4576d(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
andl $0x7f, %edi
callq *%rax
movq 0x4575e(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
callq *%rax
jmp 0xcbd4
cmpl $0x0, 0x4d90d(%rip)     # 0x5a468
je 0xcb7f
cmpl $0x20, -0x4(%rbp)
jl 0xcb9f
movl $0x92, %eax
cmpl -0x4(%rbp), %eax
jl 0xcb9f
cmpl $0x20, -0x8(%rbp)
jl 0xcb9f
movl $0x7e, %eax
cmpl -0x8(%rbp), %eax
jl 0xcb9f
jmp 0xcba1
cmpl $0x20, -0x4(%rbp)
jl 0xcb9f
movl $0x7e, %eax
cmpl -0x4(%rbp), %eax
jl 0xcb9f
cmpl $0x20, -0x8(%rbp)
jl 0xcb9f
movl $0x7e, %eax
cmpl -0x8(%rbp), %eax
jge 0xcba1
jmp 0xcbdc
movl 0x45875(%rip), %ecx     # 0x5241c
movl $0x1168, %edi           # imm = 0x1168
movl $0x1233, %eax           # imm = 0x1233
cmpl $0x0, %ecx
cmovnel %eax, %edi
callq 0x13260
movq 0x456e5(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
callq *%rax
movq 0x456d9(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
callq *%rax
jmp 0xcbd6
jmp 0xcbd8
jmp 0xcbda
jmp 0xcbdc
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)