// File: /workspace/github_c_makefile_star2_O0/nurse[P]nkf/nkf.c
// Function: w_oconv
static void
w_oconv(nkf_char c2, nkf_char c1)
{
    nkf_char c3, c4;
    nkf_char val, val2;

    if (output_bom_f) {
	output_bom_f = FALSE;
	(*o_putc)('\357');
	(*o_putc)('\273');
	(*o_putc)('\277');
    }

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

    if (c2 == 0 && nkf_char_unicode_p(c1)){
	val = c1 & VALUE_MASK;
	OUTPUT_UTF8(val);
	return;
    }

    if (c2 == 0) {
	(*o_putc)(c1);
    } else {
	val = e2w_conv(c2, c1);
	if (val){
	    val2 = e2w_combining(val, c2, c1);
	    if (val2)
		OUTPUT_UTF8(val2);
	    OUTPUT_UTF8(val);
	}
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
cmpl $0x0, 0x4d1fb(%rip)     # 0x5a590
je 0xd3c2
movl $0x0, 0x4d1ef(%rip)     # 0x5a590
movl $0xffffffef, %edi       # imm = 0xFFFFFFEF
callq *0x44efc(%rip)          # 0x522a8
movl $0xffffffbb, %edi       # imm = 0xFFFFFFBB
callq *0x44ef1(%rip)          # 0x522a8
movl $0xffffffbf, %edi       # imm = 0xFFFFFFBF
callq *0x44ee6(%rip)          # 0x522a8
cmpl $-0x1, -0x4(%rbp)
jne 0xd3d8
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq *0x44ed5(%rip)          # 0x522a8
jmp 0xd561
cmpl $0x0, -0x4(%rbp)
jne 0xd459
movl -0x8(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x1000000, %eax        # imm = 0x1000000
jne 0xd459
movl -0x8(%rbp), %eax
andl $0xffffff, %eax         # imm = 0xFFFFFF
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %edi
leaq -0x8(%rbp), %rsi
leaq -0x4(%rbp), %rdx
leaq -0xc(%rbp), %rcx
leaq -0x10(%rbp), %r8
callq 0x133f0
movq 0x44e91(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
callq *%rax
cmpl $0x0, -0x4(%rbp)
je 0xd42e
movq 0x44e7f(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
callq *%rax
cmpl $0x0, -0xc(%rbp)
je 0xd440
movq 0x44e6d(%rip), %rax     # 0x522a8
movl -0xc(%rbp), %edi
callq *%rax
cmpl $0x0, -0x10(%rbp)
je 0xd452
movq 0x44e5b(%rip), %rax     # 0x522a8
movl -0x10(%rbp), %edi
callq *%rax
jmp 0xd454
jmp 0xd561
cmpl $0x0, -0x4(%rbp)
jne 0xd470
movq 0x44e42(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
callq *%rax
jmp 0xd561
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
callq 0x13770
movl %eax, -0x14(%rbp)
cmpl $0x0, -0x14(%rbp)
je 0xd55f
movl -0x14(%rbp), %edi
movl -0x4(%rbp), %esi
movl -0x8(%rbp), %edx
callq 0x13ab0
movl %eax, -0x18(%rbp)
cmpl $0x0, -0x18(%rbp)
je 0xd4ff
jmp 0xd4a1
movl -0x18(%rbp), %edi
leaq -0x8(%rbp), %rsi
leaq -0x4(%rbp), %rdx
leaq -0xc(%rbp), %rcx
leaq -0x10(%rbp), %r8
callq 0x133f0
movq 0x44de8(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
callq *%rax
cmpl $0x0, -0x4(%rbp)
je 0xd4d7
movq 0x44dd6(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
callq *%rax
cmpl $0x0, -0xc(%rbp)
je 0xd4e9
movq 0x44dc4(%rip), %rax     # 0x522a8
movl -0xc(%rbp), %edi
callq *%rax
cmpl $0x0, -0x10(%rbp)
je 0xd4fb
movq 0x44db2(%rip), %rax     # 0x522a8
movl -0x10(%rbp), %edi
callq *%rax
jmp 0xd4fd
jmp 0xd4ff
jmp 0xd501
movl -0x14(%rbp), %edi
leaq -0x8(%rbp), %rsi
leaq -0x4(%rbp), %rdx
leaq -0xc(%rbp), %rcx
leaq -0x10(%rbp), %r8
callq 0x133f0
movq 0x44d88(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
callq *%rax
cmpl $0x0, -0x4(%rbp)
je 0xd537
movq 0x44d76(%rip), %rax     # 0x522a8
movl -0x4(%rbp), %edi
callq *%rax
cmpl $0x0, -0xc(%rbp)
je 0xd549
movq 0x44d64(%rip), %rax     # 0x522a8
movl -0xc(%rbp), %edi
callq *%rax
cmpl $0x0, -0x10(%rbp)
je 0xd55b
movq 0x44d52(%rip), %rax     # 0x522a8
movl -0x10(%rbp), %edi
callq *%rax
jmp 0xd55d
jmp 0xd55f
jmp 0xd561
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)