	.file	"extr_aas_map.c_AAS_TransformPlane.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	AAS_TransformPlane
	.type	AAS_TransformPlane, @function
AAS_TransformPlane:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movsx	rbx, edi
	mov	esi, ebp
	sub	rsp, 64
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR mapplanes[rip]
	lea	r14, 16[rsp]
	mov	edi, DWORD PTR 4[rax+rbx*8]
	call	VectorCopy@PLT
	mov	rsi, r14
	mov	edi, r13d
	call	CreateRotationMatrix@PLT
	mov	rsi, r14
	mov	edi, ebp
	call	RotatePoint@PLT
	mov	rax, QWORD PTR mapplanes[rip]
	mov	esi, r12d
	mov	edi, ebp
	movss	xmm1, DWORD PTR [rax+rbx*8]
	movss	DWORD PTR 12[rsp], xmm1
	call	DotProduct@PLT
	addss	xmm0, DWORD PTR 12[rsp]
	mov	edi, ebp
	call	FindFloatPlane@PLT
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L5
	add	rsp, 64
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	AAS_TransformPlane, .-AAS_TransformPlane
	.comm	mapplanes,8,8
	.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_aas_map.c_AAS_TransformPlane.c"
	.text
	.global	__aeabi_fadd
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	AAS_TransformPlane
	.syntax unified
	.arm
	.fpu softvfp
	.type	AAS_TransformPlane, %function
AAS_TransformPlane:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, #0
	mov	r7, r2
	mov	r6, r1
	mov	r5, r0
	ldr	r8, .L6
	ldr	r2, .L6+4
	ldr	r3, [r8]
	sub	sp, sp, #40
	add	r3, r3, r0, lsl #3
	ldr	r0, [r3, #4]
	mov	r1, r4
	ldr	r2, [r2]
	str	r2, [sp, #36]
	mov	r2,#0
	bl	VectorCopy
	mov	r1, sp
	mov	r0, r7
	bl	CreateRotationMatrix
	mov	r1, sp
	mov	r0, r4
	bl	RotatePoint
	ldr	r3, [r8]
	mov	r1, r6
	mov	r0, r4
	ldr	r5, [r3, r5, lsl #3]	@ float
	bl	DotProduct
	mov	r1, r0
	mov	r0, r5
	bl	__aeabi_fadd
	mov	r1, r0
	mov	r0, r4
	bl	FindFloatPlane
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	mapplanes
	.word	.LC0
	.size	AAS_TransformPlane, .-AAS_TransformPlane
	.comm	mapplanes,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
