	.file	"extr_vfs_utfconv.c_ucs_to_sfm.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ucs_to_sfm, @function
ucs_to_sfm:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	ebx, edi
	test	esi, esi
	je	.L2
	cmp	edi, 32
	je	.L5
	cmp	edi, 46
	je	.L6
.L2:
	cmp	ebx, 31
	jg	.L4
	mov	eax, ebx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	or	ah, -16
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	lea	eax, -31[rbx]
	xor	edi, edi
	cmp	eax, DWORD PTR MAC2SFM_LEN[rip]
	setle	dil
	call	assert@PLT
	mov	rax, QWORD PTR mac2sfm[rip]
	movsx	rdx, ebx
	mov	eax, DWORD PTR -128[rax+rdx*4]
	mov	edx, eax
	or	dh, -16
	cmp	ebx, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	cmovne	eax, edx
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	eax, 61480
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, 61481
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ucs_to_sfm, .-ucs_to_sfm
	.comm	mac2sfm,8,8
	.comm	MAC2SFM_LEN,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_vfs_utfconv.c_ucs_to_sfm.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ucs_to_sfm, %function
ucs_to_sfm:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	push	{r4, lr}
	mov	r4, r0
	beq	.L2
	cmp	r0, #32
	beq	.L5
	cmp	r0, #46
	beq	.L6
.L2:
	cmp	r4, #31
	bgt	.L4
	orr	r0, r4, #61440
	pop	{r4, pc}
.L4:
	ldr	r3, .L12
	sub	r0, r4, #31
	ldr	r3, [r3]
	cmp	r0, r3
	movgt	r0, #0
	movle	r0, #1
	bl	assert
	ldr	r3, .L12+4
	sub	r2, r4, #-1073741792
	ldr	r3, [r3]
	ldr	r0, [r3, r2, lsl #2]
	cmp	r4, r0
	orrne	r0, r0, #61440
	pop	{r4, pc}
.L5:
	ldr	r0, .L12+8
	pop	{r4, pc}
.L6:
	ldr	r0, .L12+12
	pop	{r4, pc}
.L13:
	.align	2
.L12:
	.word	MAC2SFM_LEN
	.word	mac2sfm
	.word	61480
	.word	61481
	.size	ucs_to_sfm, .-ucs_to_sfm
	.comm	mac2sfm,4,4
	.comm	MAC2SFM_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
