	.file	"1064750.c"
	.intel_syntax noprefix
	.text
	.globl	xf_matrixrotate2_l
	.type	xf_matrixrotate2_l, @function
xf_matrixrotate2_l:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	QWORD PTR -136[rbp], rdx
	mov	DWORD PTR -140[rbp], ecx
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -56[rbp], rax
	mov	QWORD PTR -48[rbp], 0
	cmp	QWORD PTR -64[rbp], 0
	jle	.L2
	cmp	QWORD PTR -64[rbp], 0
	jg	.L3
.L2:
	mov	eax, -1
	jmp	.L4
.L3:
	cmp	DWORD PTR -140[rbp], 90
	je	.L5
	cmp	DWORD PTR -140[rbp], 270
	je	.L5
	cmp	DWORD PTR -140[rbp], -90
	je	.L5
	cmp	DWORD PTR -140[rbp], -270
	jne	.L6
.L5:
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -72[rbp], rax
	jmp	.L7
.L6:
	cmp	DWORD PTR -140[rbp], 180
	je	.L8
	cmp	DWORD PTR -140[rbp], -180
	jne	.L9
.L8:
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -72[rbp], rax
	jmp	.L7
.L9:
	mov	eax, -2
	jmp	.L4
.L7:
	mov	rax, QWORD PTR -80[rbp]
	imul	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L10
	mov	eax, -3
	jmp	.L4
.L10:
	mov	rax, QWORD PTR -64[rbp]
	sub	rax, 1
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, 1
	mov	QWORD PTR -24[rbp], rax
	cmp	DWORD PTR -140[rbp], 90
	je	.L11
	cmp	DWORD PTR -140[rbp], -270
	jne	.L12
.L11:
	mov	QWORD PTR -96[rbp], 0
	jmp	.L13
.L16:
	mov	rax, QWORD PTR -96[rbp]
	imul	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR -104[rbp], 0
	jmp	.L14
.L15:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -104[rbp]
	imul	rax, QWORD PTR -80[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR [rcx]
	mov	QWORD PTR [rdx], rax
	add	QWORD PTR -104[rbp], 1
.L14:
	mov	rax, QWORD PTR -104[rbp]
	cmp	rax, QWORD PTR -64[rbp]
	jl	.L15
	add	QWORD PTR -96[rbp], 1
.L13:
	mov	rax, QWORD PTR -96[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jl	.L16
.L12:
	cmp	DWORD PTR -140[rbp], 180
	je	.L17
	cmp	DWORD PTR -140[rbp], -180
	jne	.L18
.L17:
	mov	QWORD PTR -96[rbp], 0
	jmp	.L19
.L22:
	mov	rax, QWORD PTR -96[rbp]
	imul	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR -104[rbp], 0
	jmp	.L20
.L21:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	imul	rax, QWORD PTR -80[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR [rcx]
	mov	QWORD PTR [rdx], rax
	add	QWORD PTR -104[rbp], 1
.L20:
	mov	rax, QWORD PTR -104[rbp]
	cmp	rax, QWORD PTR -64[rbp]
	jl	.L21
	add	QWORD PTR -96[rbp], 1
.L19:
	mov	rax, QWORD PTR -96[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jl	.L22
.L18:
	cmp	DWORD PTR -140[rbp], -90
	je	.L23
	cmp	DWORD PTR -140[rbp], 270
	jne	.L24
.L23:
	mov	QWORD PTR -96[rbp], 0
	jmp	.L25
.L28:
	mov	rax, QWORD PTR -96[rbp]
	imul	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -104[rbp], 0
	jmp	.L26
.L27:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, QWORD PTR -104[rbp]
	imul	rax, QWORD PTR -80[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR [rcx]
	mov	QWORD PTR [rdx], rax
	add	QWORD PTR -104[rbp], 1
.L26:
	mov	rax, QWORD PTR -104[rbp]
	cmp	rax, QWORD PTR -64[rbp]
	jl	.L27
	add	QWORD PTR -96[rbp], 1
.L25:
	mov	rax, QWORD PTR -96[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jl	.L28
.L24:
	mov	QWORD PTR -88[rbp], 0
	jmp	.L29
.L30:
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -88[rbp]
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -120[rbp]
	add	rdx, rcx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rax
	add	QWORD PTR -88[rbp], 1
.L29:
	mov	rax, QWORD PTR -88[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jl	.L30
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	xf_matrixrotate2_l, .-xf_matrixrotate2_l
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"1064750.c"
	.text
	.align	2
	.global	xf_matrixrotate2_l
	.syntax unified
	.arm
	.fpu softvfp
	.type	xf_matrixrotate2_l, %function
xf_matrixrotate2_l:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-72]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	ble	.L2
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bgt	.L3
.L2:
	mvn	r3, #0
	b	.L4
.L3:
	ldr	r3, [fp, #-76]
	cmp	r3, #90
	beq	.L5
	ldr	r3, [fp, #-76]
	ldr	r2, .L31
	cmp	r3, r2
	beq	.L5
	ldr	r3, [fp, #-76]
	cmn	r3, #90
	beq	.L5
	ldr	r3, [fp, #-76]
	ldr	r2, .L31+4
	cmp	r3, r2
	bne	.L6
.L5:
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-40]
	b	.L7
.L6:
	ldr	r3, [fp, #-76]
	cmp	r3, #180
	beq	.L8
	ldr	r3, [fp, #-76]
	cmn	r3, #180
	bne	.L9
.L8:
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-40]
	b	.L7
.L9:
	mvn	r3, #1
	b	.L4
.L7:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	realloc
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L10
	mvn	r3, #2
	b	.L4
.L10:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-76]
	cmp	r3, #90
	beq	.L11
	ldr	r3, [fp, #-76]
	ldr	r2, .L31+4
	cmp	r3, r2
	bne	.L12
.L11:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L13
.L16:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-36]
	mul	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L14
.L15:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	ldr	r1, [fp, #-44]
	mul	r1, r3, r1
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L14:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L13:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L16
.L12:
	ldr	r3, [fp, #-76]
	cmp	r3, #180
	beq	.L17
	ldr	r3, [fp, #-76]
	cmn	r3, #180
	bne	.L18
.L17:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L19
.L22:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-36]
	mul	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L20
.L21:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-44]
	mul	r1, r3, r1
	ldr	r0, [fp, #-20]
	ldr	r3, [fp, #-56]
	sub	r3, r0, r3
	add	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L20:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L21
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L19:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L22
.L18:
	ldr	r3, [fp, #-76]
	cmn	r3, #90
	beq	.L23
	ldr	r3, [fp, #-76]
	ldr	r2, .L31
	cmp	r3, r2
	bne	.L24
.L23:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L25
.L28:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-36]
	mul	r3, r2, r3
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L26
.L27:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r2, r2, r3
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-56]
	sub	r3, r1, r3
	ldr	r1, [fp, #-44]
	mul	r1, r3, r1
	ldr	r3, [fp, #-52]
	add	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L26:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L27
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L25:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L28
.L24:
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L29
.L30:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-64]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L29:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L30
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-44]
	str	r2, [r3]
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-40]
	str	r2, [r3]
	ldr	r0, [fp, #-28]
	bl	free
	mov	r3, #0
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	270
	.word	-270
	.size	xf_matrixrotate2_l, .-xf_matrixrotate2_l
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
