	.file	"extr_dec_kanji.h_dec_kanji_wctomb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dec_kanji_wctomb, @function
dec_kanji_wctomb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, ecx
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	ascii_wctomb@PLT
	cmp	DWORD PTR RET_ILUNI[rip], eax
	je	.L11
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rsi, 6[rsp]
	mov	ecx, 2
	mov	edx, r13d
	mov	edi, ebp
	call	jisx0208_wctomb@PLT
	cmp	DWORD PTR RET_ILUNI[rip], eax
	je	.L1
	cmp	eax, 2
	jne	.L13
	mov	eax, DWORD PTR RET_TOOSMALL[rip]
	cmp	ebx, 1
	jle	.L1
.L14:
	movzx	eax, BYTE PTR 6[rsp]
	add	eax, -128
	mov	BYTE PTR [r12], al
	movzx	eax, BYTE PTR 7[rsp]
	add	eax, -128
	mov	BYTE PTR 1[r12], al
	mov	eax, 2
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	xor	eax, eax
	call	abort@PLT
	mov	eax, DWORD PTR RET_TOOSMALL[rip]
	cmp	ebx, 1
	jle	.L1
	jmp	.L14
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dec_kanji_wctomb, .-dec_kanji_wctomb
	.comm	RET_TOOSMALL,4,4
	.comm	RET_ILUNI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_dec_kanji.h_dec_kanji_wctomb.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dec_kanji_wctomb, %function
dec_kanji_wctomb:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	ip, .L14
	sub	sp, sp, #8
	mov	r6, r3
	ldr	ip, [ip]
	str	ip, [sp, #4]
	mov	ip,#0
	mov	r4, r0
	mov	r7, r1
	mov	r5, r2
	bl	ascii_wctomb
	ldr	r8, .L14+4
	ldr	r3, [r8]
	cmp	r3, r0
	beq	.L11
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r3, #2
	mov	r2, r5
	mov	r0, r4
	mov	r1, sp
	bl	jisx0208_wctomb
	ldr	r3, [r8]
	cmp	r3, r0
	beq	.L1
	cmp	r0, #2
	bne	.L13
.L3:
	cmp	r6, #1
	ldrbgt	r2, [sp]	@ zero_extendqisi2
	ldrbgt	r3, [sp, #1]	@ zero_extendqisi2
	ldrle	r3, .L14+8
	subgt	r2, r2, #128
	subgt	r3, r3, #128
	movgt	r0, #2
	ldrle	r0, [r3]
	strbgt	r2, [r7]
	strbgt	r3, [r7, #1]
	b	.L1
.L13:
	bl	abort
	b	.L3
.L12:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	RET_ILUNI
	.word	RET_TOOSMALL
	.size	dec_kanji_wctomb, .-dec_kanji_wctomb
	.comm	RET_TOOSMALL,4,4
	.comm	RET_ILUNI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
