// File: /workspace/github_c_makefile_star2_O0/nurse[P]nkf/nkf.c
// Function: w_oconv32
static void
w_oconv32(nkf_char c2, nkf_char c1)
{
    if (output_bom_f) {
	output_bom_f = FALSE;
	if (output_endian == ENDIAN_LITTLE){
	    (*o_putc)(0xFF);
	    (*o_putc)(0xFE);
	    (*o_putc)(0);
	    (*o_putc)(0);
	}else{
	    (*o_putc)(0);
	    (*o_putc)(0);
	    (*o_putc)(0xFE);
	    (*o_putc)(0xFF);
	}
    }

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

    if (c2 == ISO_8859_1) {
	c1 |= 0x80;
    } else if (c2 == 0 && nkf_char_unicode_p(c1)) {
	c1 &= VALUE_MASK;
    } else if (c2) {
	nkf_char val, val2;
	val = e2w_conv(c2, c1);
	if (!val) return;
	val2 = e2w_combining(val, c2, c1);
	if (val2)
	    OUTPUT_UTF32(val2);
	c1 = val;
    }
    OUTPUT_UTF32(c1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
cmpl $0x0, 0x4ca6b(%rip)     # 0x5a590
je 0xdb8a
movl $0x0, 0x4ca5f(%rip)     # 0x5a590
cmpl $0x2, 0x44788(%rip)     # 0x522c0
jne 0xdb62
movl $0xff, %edi
callq *0x44763(%rip)          # 0x522a8
movl $0xfe, %edi
callq *0x44758(%rip)          # 0x522a8
xorl %edi, %edi
callq *0x44750(%rip)          # 0x522a8
xorl %edi, %edi
callq *0x44748(%rip)          # 0x522a8
jmp 0xdb88
xorl %edi, %edi
callq *0x4473e(%rip)          # 0x522a8
xorl %edi, %edi
callq *0x44736(%rip)          # 0x522a8
movl $0xfe, %edi
callq *0x4472b(%rip)          # 0x522a8
movl $0xff, %edi
callq *0x44720(%rip)          # 0x522a8
jmp 0xdb8a
cmpl $-0x1, -0x4(%rbp)
jne 0xdba0
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq *0x4470d(%rip)          # 0x522a8
jmp 0xdd53
cmpl $0x1, -0x4(%rbp)
jne 0xdbb6
movl -0x8(%rbp), %eax
orl $0x80, %eax
movl %eax, -0x8(%rbp)
jmp 0xdcbc
cmpl $0x0, -0x4(%rbp)
jne 0xdbdb
movl -0x8(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x1000000, %eax        # imm = 0x1000000
jne 0xdbdb
movl -0x8(%rbp), %eax
andl $0xffffff, %eax         # imm = 0xFFFFFF
movl %eax, -0x8(%rbp)
jmp 0xdcba
cmpl $0x0, -0x4(%rbp)
je 0xdcb8
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
callq 0x13770
movl %eax, -0xc(%rbp)
cmpl $0x0, -0xc(%rbp)
jne 0xdbfe
jmp 0xdd53
movl -0xc(%rbp), %edi
movl -0x4(%rbp), %esi
movl -0x8(%rbp), %edx
callq 0x13ab0
movl %eax, -0x10(%rbp)
cmpl $0x0, -0x10(%rbp)
je 0xdcb2
jmp 0xdc1b
cmpl $0x2, 0x4469e(%rip)     # 0x522c0
jne 0xdc6a
movq 0x4467d(%rip), %rax     # 0x522a8
movl -0x10(%rbp), %edi
andl $0xff, %edi
callq *%rax
movq 0x4466b(%rip), %rax     # 0x522a8
movl -0x10(%rbp), %edi
sarl $0x8, %edi
andl $0xff, %edi
callq *%rax
movq 0x44656(%rip), %rax     # 0x522a8
movl -0x10(%rbp), %edi
sarl $0x10, %edi
andl $0xff, %edi
callq *%rax
xorl %edi, %edi
callq *0x44640(%rip)          # 0x522a8
jmp 0xdcae
xorl %edi, %edi
callq *0x44636(%rip)          # 0x522a8
movq 0x4462f(%rip), %rax     # 0x522a8
movl -0x10(%rbp), %edi
sarl $0x10, %edi
andl $0xff, %edi
callq *%rax
movq 0x4461a(%rip), %rax     # 0x522a8
movl -0x10(%rbp), %edi
sarl $0x8, %edi
andl $0xff, %edi
callq *%rax
movq 0x44605(%rip), %rax     # 0x522a8
movl -0x10(%rbp), %edi
andl $0xff, %edi
callq *%rax
jmp 0xdcb0
jmp 0xdcb2
movl -0xc(%rbp), %eax
movl %eax, -0x8(%rbp)
jmp 0xdcba
jmp 0xdcbc
jmp 0xdcbe
cmpl $0x2, 0x445fb(%rip)     # 0x522c0
jne 0xdd0d
movq 0x445da(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
andl $0xff, %edi
callq *%rax
movq 0x445c8(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
sarl $0x8, %edi
andl $0xff, %edi
callq *%rax
movq 0x445b3(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
sarl $0x10, %edi
andl $0xff, %edi
callq *%rax
xorl %edi, %edi
callq *0x4459d(%rip)          # 0x522a8
jmp 0xdd51
xorl %edi, %edi
callq *0x44593(%rip)          # 0x522a8
movq 0x4458c(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
sarl $0x10, %edi
andl $0xff, %edi
callq *%rax
movq 0x44577(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
sarl $0x8, %edi
andl $0xff, %edi
callq *%rax
movq 0x44562(%rip), %rax     # 0x522a8
movl -0x8(%rbp), %edi
andl $0xff, %edi
callq *%rax
jmp 0xdd53
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)