	.file	"extr_brsfolder.c_BrsFolder_OnSetSelectionA.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	BrsFolder_OnSetSelectionA, @function
BrsFolder_OnSetSelectionA:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	test	edx, edx
	je	.L14
	mov	edi, DWORD PTR CP_ACP[rip]
	mov	r12d, edx
	xor	r9d, r9d
	mov	rdx, rsi
	xor	r8d, r8d
	mov	ecx, -1
	xor	esi, esi
	xor	r15d, r15d
	mov	r14d, DWORD PTR FALSE[rip]
	call	MultiByteToWideChar@PLT
	mov	ebx, eax
	test	eax, eax
	jne	.L15
.L3:
	xor	eax, eax
	call	GetProcessHeap@PLT
	mov	rdx, r15
	xor	esi, esi
	mov	edi, eax
	call	HeapFree@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	xor	eax, eax
	call	GetProcessHeap@PLT
	lea	edx, 0[0+rbx*4]
	xor	esi, esi
	mov	edi, eax
	call	HeapAlloc@PLT
	mov	r15, rax
	test	rax, rax
	je	.L3
	mov	edi, DWORD PTR CP_ACP[rip]
	xor	esi, esi
	mov	r9d, ebx
	mov	r8, rax
	mov	ecx, -1
	mov	rdx, rbp
	call	MultiByteToWideChar@PLT
	test	eax, eax
	je	.L3
	mov	edx, r12d
	mov	rsi, r15
	mov	rdi, r13
	call	BrsFolder_OnSetSelectionW@PLT
	mov	r14d, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L14:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	xor	edx, edx
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	BrsFolder_OnSetSelectionW@PLT
	.cfi_endproc
.LFE0:
	.size	BrsFolder_OnSetSelectionA, .-BrsFolder_OnSetSelectionA
	.comm	FALSE,4,4
	.comm	CP_ACP,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_brsfolder.c_BrsFolder_OnSetSelectionA.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	BrsFolder_OnSetSelectionA, %function
BrsFolder_OnSetSelectionA:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r6, r2, #0
	sub	sp, sp, #12
	beq	.L13
	mov	r8, #0
	mov	r7, r1
	ldr	r9, .L15
	ldr	ip, .L15+4
	mov	r5, r0
	mov	r1, r8
	mvn	r3, #0
	mov	r2, r7
	ldr	r0, [r9]
	str	r8, [sp, #4]
	str	r8, [sp]
	ldr	r10, [ip]
	bl	MultiByteToWideChar
	subs	r4, r0, #0
	moveq	fp, r4
	bne	.L14
.L3:
	bl	GetProcessHeap
	mov	r2, fp
	mov	r1, #0
	bl	HeapFree
	mov	r0, r10
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	bl	GetProcessHeap
	mov	r1, r8
	lsl	r2, r4, #2
	bl	HeapAlloc
	subs	fp, r0, #0
	beq	.L3
	mov	r2, r7
	mov	r1, r8
	mvn	r3, #0
	ldr	r0, [r9]
	str	r4, [sp, #4]
	str	fp, [sp]
	bl	MultiByteToWideChar
	cmp	r0, r8
	beq	.L3
	mov	r2, r6
	mov	r0, r5
	mov	r1, fp
	bl	BrsFolder_OnSetSelectionW
	mov	r10, r0
	b	.L3
.L13:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	BrsFolder_OnSetSelectionW
.L16:
	.align	2
.L15:
	.word	CP_ACP
	.word	FALSE
	.size	BrsFolder_OnSetSelectionA, .-BrsFolder_OnSetSelectionA
	.comm	FALSE,4,4
	.comm	CP_ACP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
