	.file	"extr_ff.c_tchar2uni.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tchar2uni, @function
tchar2uni:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR [rdi]
	mov	r12d, DWORD PTR 0[rbp]
	lea	r13, 4[rbp]
	mov	edi, r12d
	call	dbc_1st@PLT
	test	rax, rax
	jne	.L16
	test	r12d, r12d
	jne	.L17
.L6:
	mov	QWORD PTR [rbx], r13
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L16:
	.cfi_restore_state
	lea	r13, 8[rbp]
	mov	ebp, DWORD PTR 4[rbp]
	mov	edi, ebp
	call	dbc_2nd@PLT
	test	eax, eax
	je	.L7
	sal	r12d, 8
	add	r12d, ebp
	test	r12d, r12d
	je	.L6
.L17:
	mov	esi, DWORD PTR CODEPAGE[rip]
	mov	edi, r12d
	call	ff_oem2uni@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L6
.L7:
	mov	r12d, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	tchar2uni, .-tchar2uni
	.comm	CODEPAGE,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_ff.c_tchar2uni.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tchar2uni, %function
tchar2uni:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r0]
	mov	r6, r0
	ldr	r4, [r5]
	mov	r0, r4
	bl	dbc_1st
	cmp	r0, #0
	addeq	r5, r5, #4
	bne	.L16
.L3:
	cmp	r4, #0
	bne	.L17
.L6:
	str	r5, [r6]
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	ldr	r7, [r5, #4]
	add	r5, r5, #8
	mov	r0, r7
	bl	dbc_2nd
	cmp	r0, #0
	addne	r4, r7, r4, lsl #8
	bne	.L3
.L7:
	mvn	r4, #0
	b	.L1
.L17:
	ldr	r3, .L18
	mov	r0, r4
	ldr	r1, [r3]
	bl	ff_oem2uni
	subs	r4, r0, #0
	bne	.L6
	b	.L7
.L19:
	.align	2
.L18:
	.word	CODEPAGE
	.size	tchar2uni, .-tchar2uni
	.comm	CODEPAGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
