	.file	"extr_shape.c_Reorder_Ra_follows_syllable.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Doing reorder of Ra to %i\n"
	.text
	.p2align 4
	.type	Reorder_Ra_follows_syllable, @function
Reorder_Ra_follows_syllable:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR [rsi], 0
	jns	.L14
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 8[rsi]
	mov	r13d, DWORD PTR [rdi+rax*4]
	mov	r12d, DWORD PTR 4[rdi+rax*4]
	lea	rdi, .LC0[rip]
	mov	eax, DWORD PTR 16[rsi]
	lea	esi, -1[rax]
	call	TRACE@PLT
	movsx	rdx, DWORD PTR 16[rbx]
	mov	rax, QWORD PTR 8[rbx]
	lea	ecx, -1[rdx]
	cmp	eax, ecx
	jge	.L4
	cdqe
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, DWORD PTR 8[rbp+rax*4]
	mov	DWORD PTR 0[rbp+rax*4], edx
	movsx	rdx, DWORD PTR 16[rbx]
	add	rax, 1
	lea	ecx, -1[rdx]
	cmp	ecx, eax
	jg	.L5
.L4:
	mov	DWORD PTR -4[rbp+rdx*4], r13d
	movsx	rax, DWORD PTR 16[rbx]
	mov	DWORD PTR 0[rbp+rax*4], r12d
	mov	eax, DWORD PTR 16[rbx]
	sub	DWORD PTR 20[rbx], 2
	sub	eax, 1
	cdqe
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR 24[rbx]
	test	rax, rax
	js	.L6
	sub	rax, 2
	mov	QWORD PTR 24[rbx], rax
.L6:
	mov	rax, QWORD PTR 32[rbx]
	test	rax, rax
	js	.L1
	sub	rax, 2
	mov	QWORD PTR 32[rbx], rax
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	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
	.cfi_endproc
.LFE0:
	.size	Reorder_Ra_follows_syllable, .-Reorder_Ra_follows_syllable
	.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_Reorder_Ra_follows_syllable.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Doing reorder of Ra to %i\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Reorder_Ra_follows_syllable, %function
Reorder_Ra_follows_syllable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	cmp	r3, #0
	bxlt	lr
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r5, r0
	ldr	r3, [r1, #4]
	ldr	r1, [r1, #8]
	add	r2, r0, r3, lsl #2
	sub	r1, r1, #1
	ldr	r0, .L14
	ldr	r6, [r2, #4]
	ldr	r7, [r5, r3, lsl #2]
	bl	TRACE
	ldr	r1, [r4, #8]
	ldr	r3, [r4, #4]
	sub	r2, r1, #1
	cmp	r3, r2
	bge	.L4
	sub	r2, r3, #-1073741823
	add	r2, r5, r2, lsl #2
.L5:
	ldr	r1, [r2, #12]
	add	r3, r3, #1
	str	r1, [r2, #4]!
	ldr	r1, [r4, #8]
	sub	ip, r1, #1
	cmp	ip, r3
	bgt	.L5
.L4:
	sub	r1, r1, #-1073741823
	str	r7, [r5, r1, lsl #2]
	ldr	r3, [r4, #8]
	ldr	r1, [r4, #16]
	str	r6, [r5, r3, lsl #2]
	ldr	r3, [r4, #12]
	cmp	r1, #0
	sub	r3, r3, #2
	str	r3, [r4, #12]
	ldr	r3, [r4, #20]
	subge	r1, r1, #2
	ldr	r2, [r4, #8]
	strge	r1, [r4, #16]
	cmp	r3, #0
	sub	r2, r2, #1
	subge	r3, r3, #2
	str	r2, [r4]
	strge	r3, [r4, #20]
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	.align	2
.L14:
	.word	.LC0
	.size	Reorder_Ra_follows_syllable, .-Reorder_Ra_follows_syllable
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
