	.file	"extr_telx.c_to_utf8.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	to_utf8, @function
to_utf8:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	esi, 127
	jle	.L2
	mov	edx, esi
	mov	eax, esi
	and	edx, 63
	sar	eax, 6
	or	edx, -128
	cmp	esi, 2047
	jle	.L3
	sar	esi, 12
	and	eax, 63
	mov	BYTE PTR 2[rdi], dl
	or	esi, -32
	or	eax, -128
	mov	BYTE PTR 3[rdi], 0
	mov	BYTE PTR [rdi], sil
	mov	BYTE PTR 1[rdi], al
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	BYTE PTR [rdi], sil
	mov	BYTE PTR 1[rdi], 0
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	or	eax, -64
	mov	BYTE PTR 1[rdi], dl
	mov	BYTE PTR [rdi], al
	mov	BYTE PTR 2[rdi], 0
	ret
	.cfi_endproc
.LFE0:
	.size	to_utf8, .-to_utf8
	.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_telx.c_to_utf8.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	to_utf8, %function
to_utf8:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #127
	ble	.L2
	asr	r3, r1, #6
	lsl	r3, r3, #24
	and	r2, r1, #63
	cmp	r1, #2048
	mvn	ip, #127
	asr	r3, r3, #24
	orr	r2, r2, #128
	blt	.L3
	push	{r4, lr}
	mvn	lr, #31
	mov	r4, #0
	and	r3, r3, #63
	orr	r3, ip, r3
	orr	r1, lr, r1, asr #12
	strb	r3, [r0, #1]
	strb	r2, [r0, #2]
	strb	r1, [r0]
	strb	r4, [r0, #3]
	pop	{r4, pc}
.L2:
	mov	r3, #0
	strb	r1, [r0]
	strb	r3, [r0, #1]
	bx	lr
.L3:
	mvn	r3, r3, lsl #26
	mov	r1, #0
	mvn	r3, r3, lsr #26
	strb	r2, [r0, #1]
	strb	r3, [r0]
	strb	r1, [r0, #2]
	bx	lr
	.size	to_utf8, .-to_utf8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
