	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_TransformPlane             ## -- Begin function AAS_TransformPlane
	.p2align	4, 0x90
_AAS_TransformPlane:                    ## @AAS_TransformPlane
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movl	%esi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_mapplanes@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movslq	%edi, %rbx
	movl	4(%rax,%rbx,8), %edi
	callq	_VectorCopy
	leaq	-96(%rbp), %r15
	movl	%r13d, %edi
	movq	%r15, %rsi
	callq	_CreateRotationMatrix
	movq	%r15, %rsi
	callq	_RotatePoint
	movq	(%r12), %rax
	movss	(%rax,%rbx,8), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -100(%rbp)               ## 4-byte Spill
	movl	%r14d, %esi
	callq	_DotProduct
	addss	-100(%rbp), %xmm0               ## 4-byte Folded Reload
	callq	_FindFloatPlane
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_mapplanes,8,3                  ## @mapplanes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_TransformPlane             ; -- Begin function AAS_TransformPlane
	.p2align	2
_AAS_TransformPlane:                    ; @AAS_TransformPlane
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	mov	x19, x2
	mov	x20, x1
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x21, _mapplanes@GOTPAGE
Lloh4:
	ldr	x21, [x21, _mapplanes@GOTPAGEOFF]
	ldr	x8, [x21]
	sbfiz	x22, x0, #3, #32
	add	x8, x8, x22
	ldr	w0, [x8, #4]
	bl	_VectorCopy
	add	x1, sp, #4
	mov	x0, x19
	bl	_CreateRotationMatrix
	add	x1, sp, #4
	bl	_RotatePoint
	ldr	x8, [x21]
	ldr	s8, [x8, x22]
	mov	x1, x20
	bl	_DotProduct
	fadd	s0, s8, s0
	bl	_FindFloatPlane
	ldr	x8, [sp, #40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mapplanes,8,3                  ; @mapplanes
.subsections_via_symbols
