	.file	"extr_q_math.c_PerpendicularVector.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	PerpendicularVector
	.type	PerpendicularVector, @function
PerpendicularVector:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, 12[rsi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	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, 24
	.cfi_def_cfa_offset 64
	movss	xmm2, DWORD PTR .LC0[rip]
	movss	DWORD PTR 12[rsp], xmm2
.L4:
	movss	xmm0, DWORD PTR [rbx]
	call	fabs@PLT
	movss	xmm1, DWORD PTR 12[rsp]
	comiss	xmm1, xmm0
	ja	.L9
.L2:
	add	rbx, 4
	cmp	r13, rbx
	jne	.L4
	xor	esi, esi
	mov	rdi, rbp
	mov	rdx, r12
	mov	QWORD PTR [rsi], 0
	mov	DWORD PTR 8[rsi], 0x00000000
	call	ProjectPointOnPlane@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	VectorNormalize@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	movss	xmm0, DWORD PTR [rbx]
	call	fabs@PLT
	movss	DWORD PTR 12[rsp], xmm0
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	PerpendicularVector, .-PerpendicularVector
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1065353216
	.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_q_math.c_PerpendicularVector.c"
	.text
	.global	__aeabi_fcmplt
	.align	2
	.global	PerpendicularVector
	.syntax unified
	.arm
	.fpu softvfp
	.type	PerpendicularVector, %function
PerpendicularVector:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r7, r0
	mov	r5, #1065353216
	sub	r4, r1, #4
	add	r8, r1, #8
.L4:
	ldr	r0, [r4, #4]!	@ float
	bl	fabs
	mov	r1, r5
	bl	__aeabi_fcmplt
	cmp	r0, #0
	bne	.L9
.L2:
	cmp	r4, r8
	bne	.L4
	mov	r1, #0
	mov	r3, #0
	mov	r2, r6
	mov	r0, r7
	str	r3, [r1, #8]	@ float
	str	r3, [r1, #4]	@ float
	str	r3, [r1]	@ float
	bl	ProjectPointOnPlane
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	VectorNormalize
.L9:
	ldr	r0, [r4]	@ float
	bl	fabs
	mov	r5, r0
	b	.L2
	.size	PerpendicularVector, .-PerpendicularVector
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
