	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function eac_to_xyz
LCPI0_0:
	.long	0x40000000                      ## float 2
LCPI0_1:
	.long	0x3f000000                      ## float 0.5
LCPI0_3:
	.long	0x40400000                      ## float 3
LCPI0_4:
	.long	0x3f800000                      ## float 1
LCPI0_5:
	.long	0xc0200000                      ## float -2.5
LCPI0_6:
	.long	0xbf000000                      ## float -0.5
LCPI0_8:
	.long	0xbf800000                      ## float -1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_2:
	.space	4
	.long	0x40000000                      ## float 2
	.space	4
	.space	4
LCPI0_7:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_eac_to_xyz:                            ## @eac_to_xyz
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cvtsi2ss	%ecx, %xmm2
	cvtsi2ss	%r8d, %xmm1
	movq	%r9, %r15
	cvtsi2ss	%esi, %xmm0
	movss	LCPI0_0(%rip), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	divss	%xmm1, %xmm3
	movss	%xmm3, -52(%rbp)                ## 4-byte Spill
	movss	LCPI0_1(%rip), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	addss	%xmm3, %xmm0
	blendps	$14, LCPI0_2(%rip), %xmm0       ## xmm0 = xmm0[0],mem[1,2,3]
	movsldup	%xmm2, %xmm2                    ## xmm2 = xmm2[0,0,2,2]
	divps	%xmm2, %xmm0
	cvtsi2ss	%edx, %xmm4
	addss	%xmm3, %xmm4
	movshdup	%xmm0, %xmm2                    ## xmm2 = xmm0[1,1,3,3]
	subss	%xmm2, %xmm0
	mulss	LCPI0_3(%rip), %xmm0
	divss	%xmm1, %xmm4
	addss	%xmm2, %xmm2
	movss	LCPI0_4(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm2, %xmm1
	divss	%xmm1, %xmm0
	xorps	%xmm1, %xmm1
	ucomiss	%xmm0, %xmm1
	movss	%xmm4, -28(%rbp)                ## 4-byte Spill
	jbe	LBB0_2
## %bb.1:
	addss	LCPI0_6(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)                ## 16-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_5
LBB0_2:
	ucomiss	LCPI0_3(%rip), %xmm0
	jae	LBB0_3
## %bb.4:
	movaps	%xmm0, -48(%rbp)                ## 16-byte Spill
	callq	_floorf
	movl	%eax, %r14d
	movss	LCPI0_4(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movaps	-48(%rbp), %xmm0                ## 16-byte Reload
	callq	_fmodf
	movss	-28(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	addss	LCPI0_6(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)                ## 16-byte Spill
	jmp	LBB0_5
LBB0_3:
	addss	LCPI0_5(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)                ## 16-byte Spill
	movl	$2, %r14d
LBB0_5:
	movaps	%xmm4, %xmm0
	addss	%xmm4, %xmm0
	callq	_floorf
	movl	%eax, %ebx
	movss	-52(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movss	-28(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm2, %xmm1
	xorps	%xmm3, %xmm3
	cvtsi2ss	%eax, %xmm3
	movss	LCPI0_6(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm3
	addss	%xmm1, %xmm3
	addss	%xmm2, %xmm2
	movss	LCPI0_1(%rip), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	movaps	%xmm4, %xmm1
	subss	%xmm2, %xmm1
	divss	%xmm1, %xmm3
	addss	%xmm0, %xmm3
	movaps	-48(%rbp), %xmm2                ## 16-byte Reload
	ucomiss	%xmm0, %xmm2
	jb	LBB0_8
## %bb.6:
	ucomiss	%xmm2, %xmm4
	jbe	LBB0_8
## %bb.7:
	movq	_M_PI_2@GOTPCREL(%rip), %rax
	mulss	(%rax), %xmm2
	movaps	%xmm2, %xmm0
	movaps	%xmm3, -48(%rbp)                ## 16-byte Spill
	callq	_tanf
	movss	LCPI0_1(%rip), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	movaps	-48(%rbp), %xmm3                ## 16-byte Reload
	movaps	%xmm0, %xmm2
	ucomiss	LCPI0_6(%rip), %xmm3
	jae	LBB0_10
	jmp	LBB0_12
LBB0_8:
	addss	%xmm2, %xmm2
	ucomiss	LCPI0_6(%rip), %xmm3
	jb	LBB0_12
LBB0_10:
	ucomiss	%xmm3, %xmm4
	jbe	LBB0_12
## %bb.11:
	movq	_M_PI_2@GOTPCREL(%rip), %rax
	mulss	(%rax), %xmm3
	movaps	%xmm3, %xmm0
	movaps	%xmm2, -48(%rbp)                ## 16-byte Spill
	callq	_tanf
	movaps	-48(%rbp), %xmm2                ## 16-byte Reload
	movaps	%xmm0, %xmm3
	jmp	LBB0_13
LBB0_12:
	addss	%xmm3, %xmm3
LBB0_13:
	leal	(%rbx,%rbx,2), %eax
	addl	%r14d, %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_21
## %bb.14:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_17:
	xorps	LCPI0_7(%rip), %xmm3
	movss	LCPI0_4(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_22
LBB0_21:
	xorl	%edi, %edi
	callq	_av_assert0
                                        ## implicit-def: $xmm0
                                        ## implicit-def: $xmm3
                                        ## implicit-def: $xmm2
	jmp	LBB0_22
LBB0_16:
	xorps	LCPI0_7(%rip), %xmm3
	movaps	%xmm2, %xmm0
	movss	LCPI0_8(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	jmp	LBB0_22
LBB0_15:
	movaps	LCPI0_7(%rip), %xmm0            ## xmm0 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	xorps	%xmm0, %xmm3
	xorps	%xmm0, %xmm2
	movss	LCPI0_8(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_22
LBB0_20:
	movaps	LCPI0_7(%rip), %xmm0            ## xmm0 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	xorps	%xmm0, %xmm3
	xorps	%xmm0, %xmm2
	movaps	%xmm3, %xmm0
	movss	LCPI0_4(%rip), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	jmp	LBB0_22
LBB0_19:
	xorps	LCPI0_7(%rip), %xmm3
	movaps	%xmm3, %xmm0
	movaps	%xmm2, %xmm3
	movss	LCPI0_4(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	jmp	LBB0_22
LBB0_18:
	xorps	LCPI0_7(%rip), %xmm3
	movaps	%xmm3, %xmm0
	movss	LCPI0_8(%rip), %xmm3            ## xmm3 = mem[0],zero,zero,zero
LBB0_22:
	movss	%xmm0, (%r15)
	movss	%xmm3, 4(%r15)
	movss	%xmm2, 8(%r15)
	movq	%r15, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_normalize_vector               ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_16
	.long	L0_0_set_15
	.long	L0_0_set_20
	.long	L0_0_set_19
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_M_PI_2,4,2                     ## @M_PI_2
	.no_dead_strip	_eac_to_xyz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eac_to_xyz
_eac_to_xyz:                            ; @eac_to_xyz
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	mov	x19, x5
	fmov	s0, #2.00000000
	scvtf	s1, w3
	fdiv	s2, s0, s1
	scvtf	s3, w4
	fdiv	s9, s0, s3
	scvtf	s0, w1
	fmov	s4, #0.50000000
	fadd	s0, s0, s4
	fdiv	s0, s0, s1
	scvtf	s1, w2
	fadd	s1, s1, s4
	fdiv	s10, s1, s3
	fsub	s1, s0, s2
	fmov	s0, #3.00000000
	fmul	s1, s1, s0
	fmov	s3, #1.00000000
	fmov	s4, #-2.00000000
	fmadd	s2, s2, s4, s3
	fdiv	s8, s1, s2
	fcmp	s8, #0.0
	b.pl	LBB0_2
; %bb.1:
	mov	w20, #0
	fmov	s0, #-0.50000000
	fadd	s8, s8, s0
	b	LBB0_5
LBB0_2:
	fcmp	s8, s0
	b.ge	LBB0_4
; %bb.3:
	fmov	s0, s8
	bl	_floorf
	mov	x20, x0
	fmov	s1, #1.00000000
	fmov	s0, s8
	bl	_fmodf
	fmov	s1, #-0.50000000
	fadd	s8, s0, s1
	b	LBB0_5
LBB0_4:
	fmov	s0, #-2.50000000
	fadd	s8, s8, s0
	mov	w20, #2
LBB0_5:
	fadd	s0, s10, s10
	bl	_floorf
	mov	x21, x0
	scvtf	s0, w0
	fsub	s1, s10, s9
	fmov	s2, #-0.50000000
	fmadd	s0, s0, s2, s1
	fmov	s1, #0.50000000
	fmov	s3, #-2.00000000
	fmadd	s3, s9, s3, s1
	fdiv	s0, s0, s3
	fadd	s9, s0, s2
	fcmp	s8, s2
	fccmp	s8, s1, #0, ge
Lloh0:
	adrp	x22, _M_PI_2@GOTPAGE
Lloh1:
	ldr	x22, [x22, _M_PI_2@GOTPAGEOFF]
	b.mi	LBB0_7
; %bb.6:
	fadd	s8, s8, s8
	b	LBB0_8
LBB0_7:
	ldr	s0, [x22]
	fmul	s0, s8, s0
	bl	_tanf
	fmov	s8, s0
LBB0_8:
	fmov	s0, #-0.50000000
	fcmp	s9, s0
	fmov	s0, #0.50000000
	fccmp	s9, s0, #0, ge
	b.mi	LBB0_10
; %bb.9:
	fadd	s0, s9, s9
	b	LBB0_11
LBB0_10:
	ldr	s0, [x22]
	fmul	s0, s9, s0
	bl	_tanf
LBB0_11:
	add	w8, w21, w21, lsl #1
	add	w8, w8, w20
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_14
; %bb.12:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_13
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_13:
	fneg	s1, s0
	fmov	s0, #1.00000000
	b	LBB0_20
LBB0_14:
	mov	w0, #0
	bl	_av_assert0
                                        ; implicit-def: $s0
                                        ; implicit-def: $s1
                                        ; implicit-def: $s8
	b	LBB0_20
LBB0_15:
	fneg	s1, s0
	fmov	s0, s8
	fmov	s8, #-1.00000000
	b	LBB0_20
LBB0_16:
	fneg	s1, s0
	fneg	s8, s8
	fmov	s0, #-1.00000000
	b	LBB0_20
LBB0_17:
	fneg	s0, s0
	fneg	s8, s8
	fmov	s1, #1.00000000
	b	LBB0_20
LBB0_18:
	fneg	s0, s0
	fmov	s1, s8
	fmov	s8, #1.00000000
	b	LBB0_20
LBB0_19:
	fneg	s0, s0
	fmov	s1, #-1.00000000
LBB0_20:
	stp	s0, s1, [x19]
	str	s8, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #80             ; 16-byte Folded Reload
	b	_normalize_vector
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_15-LBB0_13)>>2
	.byte	(LBB0_16-LBB0_13)>>2
	.byte	(LBB0_17-LBB0_13)>>2
	.byte	(LBB0_18-LBB0_13)>>2
	.byte	(LBB0_19-LBB0_13)>>2
                                        ; -- End function
	.comm	_M_PI_2,4,2                     ; @M_PI_2
	.no_dead_strip	_eac_to_xyz
.subsections_via_symbols
