	.file	"extr_shape.c_ContextualShape_Kannada.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Number of Glyphs and Chars need to match at the beginning\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"New composed string %s (%i)\n"
.LC2:
	.string	"reordered string %s\n"
	.text
	.p2align 4
	.type	ContextualShape_Kannada, @function
ContextualShape_Kannada:
.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
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edi
	mov	rdi, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r8d
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR 144[rsp]
	mov	QWORD PTR 24[rsp], rcx
	mov	QWORD PTR 8[rsp], r9
	mov	r15, QWORD PTR 128[rsp]
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 40[rsp], r8d
	mov	QWORD PTR 48[rsp], 0
	mov	DWORD PTR 44[rsp], 0
	call	get_GSUB_Indic2@PLT
	mov	DWORD PTR 4[rsp], eax
	cmp	DWORD PTR [r15], ebx
	je	.L2
	lea	rdi, .LC0[rip]
	call	ERR@PLT
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L2:
	.cfi_restore_state
	lea	edi, [rbx+rbx*2]
	sal	edi, 2
	call	heap_alloc@PLT
	mov	rsi, QWORD PTR 24[rsp]
	lea	edx, 0[0+rbx*4]
	mov	rdi, rax
	mov	rbp, rax
	call	memcpy@PLT
	mov	r8, QWORD PTR 16[rsp]
	mov	r9d, ebx
	mov	rsi, rbp
	mov	ecx, DWORD PTR Kannada_vowels[rip]
	lea	rdx, 40[rsp]
	mov	edi, r12d
	call	DecomposeVowels@PLT
	mov	edx, DWORD PTR 40[rsp]
	mov	rdi, rbp
	mov	esi, edx
	mov	DWORD PTR 24[rsp], edx
	call	debugstr_wn@PLT
	mov	edx, DWORD PTR 24[rsp]
	lea	rdi, .LC1[rip]
	mov	esi, eax
	xor	eax, eax
	call	TRACE@PLT
	mov	eax, DWORD PTR 4[rsp]
	mov	rcx, rbp
	mov	rdx, r13
	mov	rsi, r14
	mov	edi, r12d
	push	rax
	.cfi_def_cfa_offset 136
	mov	eax, DWORD PTR Reorder_Like_Kannada[rip]
	push	rax
	.cfi_def_cfa_offset 144
	mov	eax, DWORD PTR kannada_lex[rip]
	push	rax
	.cfi_def_cfa_offset 152
	lea	rax, 68[rsp]
	push	rax
	.cfi_def_cfa_offset 160
	mov	r8d, DWORD PTR 72[rsp]
	lea	r9, 80[rsp]
	call	Indic_ReorderCharacters@PLT
	mov	esi, DWORD PTR 72[rsp]
	add	rsp, 32
	.cfi_def_cfa_offset 128
	mov	rdi, rbp
	call	debugstr_wn@PLT
	lea	rdi, .LC2[rip]
	mov	esi, eax
	xor	eax, eax
	call	TRACE@PLT
	mov	rcx, QWORD PTR 8[rsp]
	xor	r8d, r8d
	mov	rsi, rbp
	mov	edx, DWORD PTR 40[rsp]
	mov	edi, r12d
	call	GetGlyphIndicesW@PLT
	mov	eax, DWORD PTR 40[rsp]
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	mov	r8d, ebx
	mov	rcx, rbp
	mov	rdx, r14
	mov	rsi, r13
	mov	edi, r12d
	mov	DWORD PTR [r15], eax
	mov	eax, DWORD PTR 12[rsp]
	push	rax
	.cfi_def_cfa_offset 144
	mov	eax, DWORD PTR SecondReorder_Like_Telugu[rip]
	push	rax
	.cfi_def_cfa_offset 152
	mov	eax, DWORD PTR kannada_lex[rip]
	push	rax
	.cfi_def_cfa_offset 160
	push	QWORD PTR 48[rsp]
	.cfi_def_cfa_offset 168
	push	r15
	.cfi_def_cfa_offset 176
	push	QWORD PTR 56[rsp]
	.cfi_def_cfa_offset 184
	mov	eax, DWORD PTR 100[rsp]
	push	rax
	.cfi_def_cfa_offset 192
	mov	r9, QWORD PTR 112[rsp]
	call	ShapeIndicSyllables@PLT
	add	rsp, 64
	.cfi_def_cfa_offset 128
	mov	rdi, rbp
	call	heap_free@PLT
	mov	rdi, QWORD PTR 48[rsp]
	call	heap_free@PLT
	jmp	.L1
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ContextualShape_Kannada, .-ContextualShape_Kannada
	.comm	kannada_lex,4,4
	.comm	SecondReorder_Like_Telugu,4,4
	.comm	Reorder_Like_Kannada,4,4
	.comm	Kannada_vowels,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_shape.c_ContextualShape_Kannada.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Number of Glyphs and Chars need to match at the beg"
	.ascii	"inning\012\000"
	.align	2
.LC1:
	.ascii	"New composed string %s (%i)\012\000"
	.align	2
.LC2:
	.ascii	"reordered string %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ContextualShape_Kannada, %function
ContextualShape_Kannada:
	@ args = 20, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, #0
	mov	r10, r3
	ldr	r3, .L8
	sub	sp, sp, #76
	ldr	r3, [r3]
	str	r3, [sp, #68]
	mov	r3,#0
	ldr	r3, [sp, #116]
	ldr	r4, [sp, #112]
	str	r3, [sp, #48]
	ldr	r3, [sp, #128]
	mov	r5, r0
	mov	r0, r2
	ldr	fp, [sp, #120]
	mov	r6, r2
	mov	r8, r1
	str	r9, [sp, #60]
	str	r9, [sp, #64]
	str	r4, [sp, #56]
	str	r3, [sp, #52]
	bl	get_GSUB_Indic2
	ldr	r7, [fp]
	str	r0, [sp, #44]
	cmp	r7, r4
	beq	.L2
	ldr	r0, .L8+4
	bl	ERR
.L1:
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #68]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #76
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	add	r0, r7, r7, lsl #1
	lsl	r0, r0, #2
	bl	heap_alloc
	mov	r4, r0
	mov	r1, r10
	lsl	r2, r7, #2
	bl	memcpy
	ldr	r2, [sp, #52]
	ldr	r3, .L8+8
	str	r2, [sp]
	str	r7, [sp, #4]
	ldr	r3, [r3]
	add	r2, sp, #56
	mov	r1, r4
	mov	r0, r5
	bl	DecomposeVowels
	ldr	r1, [sp, #56]
	mov	r0, r4
	bl	debugstr_wn
	ldr	r2, [sp, #56]
	mov	r1, r0
	ldr	r0, .L8+12
	bl	TRACE
	ldr	r3, .L8+16
	ldr	r10, .L8+20
	ldr	r2, [r3]
	ldr	ip, [r10]
	ldr	r0, [sp, #56]
	ldr	r3, [sp, #44]
	add	r1, sp, #64
	str	r2, [sp, #16]
	add	r2, sp, #60
	str	ip, [sp, #12]
	str	r3, [sp, #20]
	str	r0, [sp]
	mov	r3, r4
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	mov	r1, r6
	mov	r2, r8
	mov	r0, r5
	bl	Indic_ReorderCharacters
	ldr	r1, [sp, #56]
	mov	r0, r4
	bl	debugstr_wn
	mov	r1, r0
	ldr	r0, .L8+24
	bl	TRACE
	mov	r1, r4
	ldr	r3, [sp, #48]
	ldr	r2, [sp, #56]
	str	r9, [sp]
	mov	r0, r5
	bl	GetGlyphIndicesW
	ldr	r2, [sp, #56]
	ldr	r3, .L8+28
	str	r2, [fp]
	ldr	r2, [sp, #52]
	ldr	lr, [r10]
	ldr	r3, [r3]
	ldr	ip, [sp, #64]
	ldr	r1, [sp, #44]
	ldr	r9, [sp, #60]
	str	r2, [sp, #20]
	ldr	r2, [sp, #48]
	stmib	sp, {r9, ip}
	str	r1, [sp, #32]
	str	r2, [sp, #12]
	mov	r1, r8
	mov	r2, r6
	str	lr, [sp, #24]
	str	r3, [sp, #28]
	mov	r0, r5
	mov	r3, r4
	str	fp, [sp, #16]
	str	r7, [sp]
	bl	ShapeIndicSyllables
	mov	r0, r4
	bl	heap_free
	ldr	r0, [sp, #60]
	bl	heap_free
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC3
	.word	.LC0
	.word	Kannada_vowels
	.word	.LC1
	.word	Reorder_Like_Kannada
	.word	kannada_lex
	.word	.LC2
	.word	SecondReorder_Like_Telugu
	.size	ContextualShape_Kannada, .-ContextualShape_Kannada
	.comm	kannada_lex,4,4
	.comm	SecondReorder_Like_Telugu,4,4
	.comm	Reorder_Like_Kannada,4,4
	.comm	Kannada_vowels,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
