	.file	"extr_tr_model_iqm.c_R_IQMLerpTag.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	R_IQMLerpTag
	.type	R_IQMLerpTag, @function
R_IQMLerpTag:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	mov	r14, rdi
	push	r13
	push	r12
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	r12, r8
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -56
	mov	DWORD PTR -76[rbp], edx
	mov	DWORD PTR -80[rbp], ecx
	mov	rcx, rsp
	mov	QWORD PTR -72[rbp], rsi
	movss	DWORD PTR -84[rbp], xmm0
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR IQM_MAX_JOINTS[rip]
	lea	eax, [rax+rax*2]
	sal	eax, 2
	cdqe
	sal	rax, 2
	mov	rdx, rax
	and	rdx, -4096
	sub	rcx, rdx
	mov	rdx, rcx
	cmp	rsp, rdx
	je	.L3
.L16:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rdx
	jne	.L16
.L3:
	and	eax, 4095
	sub	rsp, rax
	test	rax, rax
	jne	.L17
.L4:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -96[rbp], rsp
	mov	r13d, DWORD PTR 8[rax]
	mov	r15, QWORD PTR [rax]
	test	r13d, r13d
	jle	.L5
	xor	ebx, ebx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, r15
	add	ebx, 1
	call	strlen@PLT
	lea	r15, 1[r15+rax]
	cmp	ebx, r13d
	je	.L5
.L7:
	mov	rsi, r15
	mov	rdi, r12
	call	strcmp@PLT
	test	eax, eax
	jne	.L18
	mov	r15, QWORD PTR -96[rbp]
	movss	xmm0, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -80[rbp]
	mov	esi, DWORD PTR -76[rbp]
	mov	rdi, QWORD PTR -72[rbp]
	mov	rcx, r15
	call	ComputeJointMats@PLT
	lea	eax, [rbx+rbx*2]
	mov	rdx, QWORD PTR [r14]
	sal	eax, 2
	cdqe
	mov	rdi, QWORD PTR [rdx]
	mov	rsi, QWORD PTR 8[rdx]
	lea	rax, [r15+rax*4]
	mov	rcx, QWORD PTR 16[rdx]
	mov	rdx, QWORD PTR 8[r14]
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR [rdi], xmm0
	movss	xmm0, DWORD PTR 4[rax]
	movss	DWORD PTR [rsi], xmm0
	movss	xmm0, DWORD PTR 8[rax]
	movss	DWORD PTR [rcx], xmm0
	movss	xmm0, DWORD PTR 12[rax]
	movss	DWORD PTR [rdx], xmm0
	movss	xmm0, DWORD PTR 16[rax]
	movss	DWORD PTR 4[rdi], xmm0
	movss	xmm0, DWORD PTR 20[rax]
	movss	DWORD PTR 4[rsi], xmm0
	movss	xmm0, DWORD PTR 24[rax]
	movss	DWORD PTR 4[rcx], xmm0
	movss	xmm0, DWORD PTR 28[rax]
	movss	DWORD PTR 4[rdx], xmm0
	movss	xmm0, DWORD PTR 32[rax]
	movss	DWORD PTR 8[rdi], xmm0
	movss	xmm0, DWORD PTR 36[rax]
	movss	DWORD PTR 8[rsi], xmm0
	movss	xmm0, DWORD PTR 40[rax]
	movss	DWORD PTR 8[rcx], xmm0
	movss	xmm0, DWORD PTR 44[rax]
	mov	eax, DWORD PTR qtrue[rip]
	movss	DWORD PTR 8[rdx], xmm0
.L1:
	mov	rcx, QWORD PTR -56[rbp]
	xor	rcx, QWORD PTR fs:40
	jne	.L19
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, QWORD PTR [r14]
	call	AxisClear@PLT
	mov	rdi, QWORD PTR 8[r14]
	call	VectorClear@PLT
	mov	eax, DWORD PTR qfalse[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	or	QWORD PTR -8[rsp+rax], 0
	jmp	.L4
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	R_IQMLerpTag, .-R_IQMLerpTag
	.comm	qtrue,4,4
	.comm	qfalse,4,4
	.comm	IQM_MAX_JOINTS,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_tr_model_iqm.c_R_IQMLerpTag.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	R_IQMLerpTag
	.syntax unified
	.arm
	.fpu softvfp
	.type	R_IQMLerpTag, %function
R_IQMLerpTag:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #28
	mov	r7, r1
	mov	ip, sp
	ldr	r1, .L12
	ldr	r5, [r7, #4]
	ldr	r1, [r1]
	str	r3, [fp, #-52]
	add	r1, r1, r1, lsl #1
	ldr	r3, .L12+4
	sub	r1, ip, r1, lsl #4
	str	r2, [fp, #-48]
	cmp	r5, #0
	mov	sp, r1
	mov	r8, r0
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	ldr	r9, [r7]
	ldr	r6, [fp, #8]
	ble	.L2
	mov	r4, #0
	add	r10, sp, #8
	b	.L4
.L10:
	mov	r0, r9
	bl	strlen
	add	r4, r4, #1
	add	r0, r0, #1
	cmp	r4, r5
	add	r9, r9, r0
	beq	.L2
.L4:
	mov	r1, r9
	mov	r0, r6
	bl	strcmp
	cmp	r0, #0
	bne	.L10
	str	r10, [sp]
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-48]
	ldr	r3, [fp, #4]	@ float
	mov	r0, r7
	bl	ComputeJointMats
	ldr	r3, [r8]
	add	r4, r4, r4, lsl #1
	ldr	r2, [r10, r4, lsl #4]	@ float
	ldr	ip, [r3]
	add	r10, r10, r4, lsl #4
	str	r2, [ip]	@ float
	ldr	r0, [r10, #4]	@ float
	ldmib	r3, {r1, r2}
	str	r0, [r1]	@ float
	ldr	r0, [r10, #8]	@ float
	ldr	r3, [r8, #4]
	str	r0, [r2]	@ float
	ldr	lr, [r10, #12]	@ float
	ldr	r0, .L12+8
	str	lr, [r3]	@ float
	ldr	lr, [r10, #16]	@ float
	ldr	r0, [r0]
	str	lr, [ip, #4]	@ float
	ldr	lr, [r10, #20]	@ float
	str	lr, [r1, #4]	@ float
	ldr	lr, [r10, #24]	@ float
	str	lr, [r2, #4]	@ float
	ldr	lr, [r10, #28]	@ float
	str	lr, [r3, #4]	@ float
	ldr	lr, [r10, #32]	@ float
	str	lr, [ip, #8]	@ float
	ldr	ip, [r10, #36]	@ float
	str	ip, [r1, #8]	@ float
	ldr	r1, [r10, #40]	@ float
	str	r1, [r2, #8]	@ float
	ldr	r2, [r10, #44]	@ float
	str	r2, [r3, #8]	@ float
.L1:
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r0, [r8]
	bl	AxisClear
	ldr	r0, [r8, #4]
	bl	VectorClear
	ldr	r3, .L12+12
	ldr	r0, [r3]
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	IQM_MAX_JOINTS
	.word	.LC0
	.word	qtrue
	.word	qfalse
	.size	R_IQMLerpTag, .-R_IQMLerpTag
	.comm	qtrue,4,4
	.comm	qfalse,4,4
	.comm	IQM_MAX_JOINTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
