// File: /workspace/github_c_makefile_star2_O0/nurse[P]nkf/nkf.c
// Function: w_oconv16
void
w_oconv16(nkf_char c2, nkf_char c1)
{
    if (output_bom_f) {
	output_bom_f = FALSE;
	OUTPUT_UTF16_BYTES(0xFF, 0xFE);
    }

    if (c2 == EOF) {
	(*o_putc)(EOF);
	return;
    }

    if (c2 == 0 && nkf_char_unicode_p(c1)) {
	OUTPUT_UTF16(c1);
    } else if (c2) {
	nkf_char val, val2;
	val = e2w_conv(c2, c1);
	if (!val) return;
	val2 = e2w_combining(val, c2, c1);
	if (val2)
	    OUTPUT_UTF16(val2);
	OUTPUT_UTF16(val);
    } else {
	OUTPUT_UTF16_BYTES(c1, c2);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
cmpl $0x0, 0x4cfdb(%rip)     # 0x5a590
je 0xd5fc
movl $0x0, 0x4cfcf(%rip)     # 0x5a590
cmpl $0x2, 0x44cf8(%rip)     # 0x522c0
jne 0xd5e2
movl $0xff, %edi
callq *0x44cd3(%rip)          # 0x522a8
movl $0xfe, %edi
callq *0x44cc8(%rip)          # 0x522a8
jmp 0xd5f8
movl $0xfe, %edi
callq *0x44cbb(%rip)          # 0x522a8
movl $0xff, %edi
callq *0x44cb0(%rip)          # 0x522a8
jmp 0xd5fa
jmp 0xd5fc
cmpl $-0x1, -0x4(%rbp)
jne 0xd612
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq *0x44c9b(%rip)          # 0x522a8
jmp 0xdad9
cmpl $0x0, -0x4(%rbp)
jne 0xd794
movl -0x8(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x1000000, %eax        # imm = 0x1000000
jne 0xd794
jmp 0xd631
movl -0x8(%rbp), %eax
andl $0xffffff, %eax         # imm = 0xFFFFFF
cmpl $0xffff, %eax           # imm = 0xFFFF
jg 0xd69b
movl -0x8(%rbp), %eax
sarl $0x8, %eax
andl $0xff, %eax
movl %eax, -0x4(%rbp)
movl -0x8(%rbp), %eax
andl $0xff, %eax
movl %eax, -0x8(%rbp)
cmpl $0x2, 0x44c60(%rip)     # 0x522c0
jne 0xd67c
movq 0x44c3f(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
callq *%rax
movq 0x44c33(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
callq *%rax
jmp 0xd694
movq 0x44c25(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
callq *%rax
movq 0x44c19(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
callq *%rax
jmp 0xd696
jmp 0xd78d
movl -0x8(%rbp), %eax
andl $0xffffff, %eax         # imm = 0xFFFFFF
movl %eax, -0x8(%rbp)
cmpl $0x10ffff, -0x8(%rbp)   # imm = 0x10FFFF
jg 0xd78b
movl -0x8(%rbp), %eax
sarl $0xa, %eax
addl $0xd7c0, %eax           # imm = 0xD7C0
movl %eax, -0x4(%rbp)
movl -0x8(%rbp), %eax
andl $0x3ff, %eax            # imm = 0x3FF
addl $0xdc00, %eax           # imm = 0xDC00
movl %eax, -0x8(%rbp)
cmpl $0x2, 0x44be8(%rip)     # 0x522c0
jne 0xd703
movq 0x44bc7(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
andl $0xff, %edi
callq *%rax
movq 0x44bb5(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
sarl $0x8, %edi
andl $0xff, %edi
callq *%rax
jmp 0xd72a
movq 0x44b9e(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
sarl $0x8, %edi
andl $0xff, %edi
callq *%rax
movq 0x44b89(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
andl $0xff, %edi
callq *%rax
jmp 0xd72c
jmp 0xd72e
cmpl $0x2, 0x44b8b(%rip)     # 0x522c0
jne 0xd760
movq 0x44b6a(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
andl $0xff, %edi
callq *%rax
movq 0x44b58(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
sarl $0x8, %edi
andl $0xff, %edi
callq *%rax
jmp 0xd787
movq 0x44b41(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
sarl $0x8, %edi
andl $0xff, %edi
callq *%rax
movq 0x44b2c(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
andl $0xff, %edi
callq *%rax
jmp 0xd789
jmp 0xd78b
jmp 0xd78d
jmp 0xd78f
jmp 0xdad9
cmpl $0x0, -0x4(%rbp)
je 0xda96
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
callq 0x13770
movl %eax, -0xc(%rbp)
cmpl $0x0, -0xc(%rbp)
jne 0xd7b7
jmp 0xdad9
movl -0xc(%rbp), %edi
movl -0x4(%rbp), %esi
movl -0x8(%rbp), %edx
callq 0x13ab0
movl %eax, -0x10(%rbp)
cmpl $0x0, -0x10(%rbp)
je 0xd934
jmp 0xd7d4
movl -0x10(%rbp), %eax
andl $0xffffff, %eax         # imm = 0xFFFFFF
cmpl $0xffff, %eax           # imm = 0xFFFF
jg 0xd83e
movl -0x10(%rbp), %eax
sarl $0x8, %eax
andl $0xff, %eax
movl %eax, -0x4(%rbp)
movl -0x10(%rbp), %eax
andl $0xff, %eax
movl %eax, -0x8(%rbp)
cmpl $0x2, 0x44abd(%rip)     # 0x522c0
jne 0xd81f
movq 0x44a9c(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
callq *%rax
movq 0x44a90(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
callq *%rax
jmp 0xd837
movq 0x44a82(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
callq *%rax
movq 0x44a76(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
callq *%rax
jmp 0xd839
jmp 0xd930
movl -0x10(%rbp), %eax
andl $0xffffff, %eax         # imm = 0xFFFFFF
movl %eax, -0x10(%rbp)
cmpl $0x10ffff, -0x10(%rbp)  # imm = 0x10FFFF
jg 0xd92e
movl -0x10(%rbp), %eax
sarl $0xa, %eax
addl $0xd7c0, %eax           # imm = 0xD7C0
movl %eax, -0x4(%rbp)
movl -0x10(%rbp), %eax
andl $0x3ff, %eax            # imm = 0x3FF
addl $0xdc00, %eax           # imm = 0xDC00
movl %eax, -0x8(%rbp)
cmpl $0x2, 0x44a45(%rip)     # 0x522c0
jne 0xd8a6
movq 0x44a24(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
andl $0xff, %edi
callq *%rax
movq 0x44a12(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
sarl $0x8, %edi
andl $0xff, %edi
callq *%rax
jmp 0xd8cd
movq 0x449fb(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
sarl $0x8, %edi
andl $0xff, %edi
callq *%rax
movq 0x449e6(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
andl $0xff, %edi
callq *%rax
jmp 0xd8cf
jmp 0xd8d1
cmpl $0x2, 0x449e8(%rip)     # 0x522c0
jne 0xd903
movq 0x449c7(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
andl $0xff, %edi
callq *%rax
movq 0x449b5(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
sarl $0x8, %edi
andl $0xff, %edi
callq *%rax
jmp 0xd92a
movq 0x4499e(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
sarl $0x8, %edi
andl $0xff, %edi
callq *%rax
movq 0x44989(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
andl $0xff, %edi
callq *%rax
jmp 0xd92c
jmp 0xd92e
jmp 0xd930
jmp 0xd932
jmp 0xd934
jmp 0xd936
movl -0xc(%rbp), %eax
andl $0xffffff, %eax         # imm = 0xFFFFFF
cmpl $0xffff, %eax           # imm = 0xFFFF
jg 0xd9a0
movl -0xc(%rbp), %eax
sarl $0x8, %eax
andl $0xff, %eax
movl %eax, -0x4(%rbp)
movl -0xc(%rbp), %eax
andl $0xff, %eax
movl %eax, -0x8(%rbp)
cmpl $0x2, 0x4495b(%rip)     # 0x522c0
jne 0xd981
movq 0x4493a(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
callq *%rax
movq 0x4492e(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
callq *%rax
jmp 0xd999
movq 0x44920(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
callq *%rax
movq 0x44914(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
callq *%rax
jmp 0xd99b
jmp 0xda92
movl -0xc(%rbp), %eax
andl $0xffffff, %eax         # imm = 0xFFFFFF
movl %eax, -0xc(%rbp)
cmpl $0x10ffff, -0xc(%rbp)   # imm = 0x10FFFF
jg 0xda90
movl -0xc(%rbp), %eax
sarl $0xa, %eax
addl $0xd7c0, %eax           # imm = 0xD7C0
movl %eax, -0x4(%rbp)
movl -0xc(%rbp), %eax
andl $0x3ff, %eax            # imm = 0x3FF
addl $0xdc00, %eax           # imm = 0xDC00
movl %eax, -0x8(%rbp)
cmpl $0x2, 0x448e3(%rip)     # 0x522c0
jne 0xda08
movq 0x448c2(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
andl $0xff, %edi
callq *%rax
movq 0x448b0(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
sarl $0x8, %edi
andl $0xff, %edi
callq *%rax
jmp 0xda2f
movq 0x44899(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
sarl $0x8, %edi
andl $0xff, %edi
callq *%rax
movq 0x44884(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
andl $0xff, %edi
callq *%rax
jmp 0xda31
jmp 0xda33
cmpl $0x2, 0x44886(%rip)     # 0x522c0
jne 0xda65
movq 0x44865(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
andl $0xff, %edi
callq *%rax
movq 0x44853(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
sarl $0x8, %edi
andl $0xff, %edi
callq *%rax
jmp 0xda8c
movq 0x4483c(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
sarl $0x8, %edi
andl $0xff, %edi
callq *%rax
movq 0x44827(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
andl $0xff, %edi
callq *%rax
jmp 0xda8e
jmp 0xda90
jmp 0xda92
jmp 0xda94
jmp 0xdad7
jmp 0xda98
cmpl $0x2, 0x44821(%rip)     # 0x522c0
jne 0xdabb
movq 0x44800(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
callq *%rax
movq 0x447f4(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
callq *%rax
jmp 0xdad3
movq 0x447e6(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
callq *%rax
movq 0x447da(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
callq *%rax
jmp 0xdad5
jmp 0xdad7
jmp 0xdad9
addq $0x10, %rsp
popq %rbp
retq
nop