	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function AAS_PlaneTypeForNormal
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_1:
	.quad	0xbff0000000000000              ## double -1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_AAS_PlaneTypeForNormal
	.p2align	4, 0x90
_AAS_PlaneTypeForNormal:                ## @AAS_PlaneTypeForNormal
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movsd	(%rdi), %xmm0                   ## xmm0 = mem[0],zero
	movq	_NORMAL_EPSILON@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	subsd	%xmm1, %xmm2
	movq	_PLANE_X@GOTPCREL(%rip), %rcx
	ucomisd	%xmm2, %xmm0
	jae	LBB0_12
## %bb.1:
	addsd	LCPI0_1(%rip), %xmm1
	ucomisd	%xmm0, %xmm1
	jae	LBB0_12
## %bb.2:
	movq	%rdi, %rbx
	movsd	8(%rdi), %xmm3                  ## xmm3 = mem[0],zero
	ucomisd	%xmm2, %xmm3
	movq	_PLANE_Y@GOTPCREL(%rip), %rcx
	jae	LBB0_12
## %bb.3:
	ucomisd	%xmm3, %xmm1
	jae	LBB0_12
## %bb.4:
	movsd	16(%rbx), %xmm3                 ## xmm3 = mem[0],zero
	ucomisd	%xmm2, %xmm3
	movq	_PLANE_Z@GOTPCREL(%rip), %rcx
	jae	LBB0_12
## %bb.5:
	ucomisd	%xmm3, %xmm1
	jae	LBB0_12
## %bb.6:
	callq	_fabs
	movq	%rax, %r14
	movsd	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero
	callq	_fabs
	movq	%rax, %r15
	movsd	16(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	callq	_fabs
	cmpq	%r15, %r14
	jl	LBB0_9
## %bb.7:
	cmpq	%rax, %r14
	jl	LBB0_9
## %bb.8:
	movq	_PLANE_ANYX@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_9:
	movq	_PLANE_ANYZ@GOTPCREL(%rip), %rdx
	movq	%rdx, %rcx
	cmpq	%rax, %r15
	jl	LBB0_11
## %bb.10:
	movq	_PLANE_ANYY@GOTPCREL(%rip), %rcx
LBB0_11:
	cmpq	%r14, %r15
	cmovlq	%rdx, %rcx
LBB0_12:
	movl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NORMAL_EPSILON,8,3             ## @NORMAL_EPSILON
	.comm	_PLANE_X,4,2                    ## @PLANE_X
	.comm	_PLANE_Y,4,2                    ## @PLANE_Y
	.comm	_PLANE_Z,4,2                    ## @PLANE_Z
	.comm	_PLANE_ANYX,4,2                 ## @PLANE_ANYX
	.comm	_PLANE_ANYY,4,2                 ## @PLANE_ANYY
	.comm	_PLANE_ANYZ,4,2                 ## @PLANE_ANYZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_PlaneTypeForNormal         ; -- Begin function AAS_PlaneTypeForNormal
	.p2align	2
_AAS_PlaneTypeForNormal:                ; @AAS_PlaneTypeForNormal
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	d0, [x0]
Lloh0:
	adrp	x8, _NORMAL_EPSILON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NORMAL_EPSILON@GOTPAGEOFF]
Lloh2:
	ldr	d2, [x8]
	fmov	d1, #1.00000000
	fsub	d1, d1, d2
	fcmp	d0, d1
	b.ge	LBB0_4
; %bb.1:
	fmov	d3, #-1.00000000
	fadd	d2, d2, d3
	fcmp	d0, d2
	b.ls	LBB0_4
; %bb.2:
	mov	x19, x0
	ldr	d3, [x0, #8]
	fcmp	d3, d1
	fccmp	d3, d2, #0, lt
	b.hi	LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _PLANE_Y@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PLANE_Y@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _PLANE_X@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PLANE_X@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	d3, [x19, #16]
	fcmp	d3, d1
	fccmp	d3, d2, #0, lt
	b.hi	LBB0_8
; %bb.7:
Lloh7:
	adrp	x8, _PLANE_Z@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PLANE_Z@GOTPAGEOFF]
	b	LBB0_5
LBB0_8:
	bl	_fabs
	mov	x20, x0
	ldr	d0, [x19, #8]
	bl	_fabs
	mov	x21, x0
	ldr	d0, [x19, #16]
	bl	_fabs
	cmp	x20, x21
	b.lt	LBB0_11
; %bb.9:
	cmp	x20, x0
	b.lt	LBB0_11
; %bb.10:
Lloh9:
	adrp	x8, _PLANE_ANYX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PLANE_ANYX@GOTPAGEOFF]
	b	LBB0_5
LBB0_11:
	cmp	x21, x0
	ccmp	x21, x20, #8, ge
Lloh11:
	adrp	x8, _PLANE_ANYY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PLANE_ANYY@GOTPAGEOFF]
Lloh13:
	adrp	x9, _PLANE_ANYZ@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PLANE_ANYZ@GOTPAGEOFF]
	csel	x8, x9, x8, lt
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_NORMAL_EPSILON,8,3             ; @NORMAL_EPSILON
	.comm	_PLANE_X,4,2                    ; @PLANE_X
	.comm	_PLANE_Y,4,2                    ; @PLANE_Y
	.comm	_PLANE_Z,4,2                    ; @PLANE_Z
	.comm	_PLANE_ANYX,4,2                 ; @PLANE_ANYX
	.comm	_PLANE_ANYY,4,2                 ; @PLANE_ANYY
	.comm	_PLANE_ANYZ,4,2                 ; @PLANE_ANYZ
.subsections_via_symbols
