	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function gl_xform_normals_3fv
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gl_xform_normals_3fv
	.p2align	4, 0x90
_gl_xform_normals_3fv:                  ## @gl_xform_normals_3fv
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	4(%rdx), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	16(%rdx), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	32(%rdx), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	20(%rdx), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	36(%rdx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	8(%rdx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	24(%rdx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	40(%rdx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testq	%r8, %r8
	je	LBB0_6
## %bb.1:
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.2:
	movl	$8, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	cvttsd2si	%xmm0, %eax
	imull	%eax, %r15d
	movq	%rbx, %rsi
	movl	%r15d, -8(%rbx,%r13)
	imull	%eax, %r12d
	movl	%r12d, -4(%rbx,%r13)
	imull	%eax, %r14d
	movl	%r14d, (%rbx,%r13)
	addq	$12, %r13
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	decq	%rdi
	je	LBB0_23
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	-8(%rdx,%r13), %ecx
	movl	-4(%rdx,%r13), %eax
	movl	(%rdx,%r13), %r14d
	movl	%ecx, %edx
	imull	-76(%rbp), %edx                 ## 4-byte Folded Reload
	movl	%eax, %esi
	imull	-72(%rbp), %esi                 ## 4-byte Folded Reload
	addl	%edx, %esi
	movl	%r14d, %r15d
	imull	-52(%rbp), %r15d                ## 4-byte Folded Reload
	addl	%esi, %r15d
	movl	%ecx, %edx
	imull	-68(%rbp), %edx                 ## 4-byte Folded Reload
	movl	%eax, %esi
	imull	-60(%rbp), %esi                 ## 4-byte Folded Reload
	addl	%edx, %esi
	movl	%r14d, %r12d
	imull	-48(%rbp), %r12d                ## 4-byte Folded Reload
	addl	%esi, %r12d
	imull	-64(%rbp), %ecx                 ## 4-byte Folded Reload
	imull	-56(%rbp), %eax                 ## 4-byte Folded Reload
	addl	%ecx, %eax
	imull	-44(%rbp), %r14d                ## 4-byte Folded Reload
	addl	%eax, %r14d
	movl	%r15d, %eax
	imull	%r15d, %eax
	movl	%r12d, %ecx
	imull	%r12d, %ecx
	addl	%eax, %ecx
	movl	%r14d, %edi
	imull	%r14d, %edi
	addl	%ecx, %edi
	callq	_GL_SQRT
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	movapd	%xmm2, %xmm0
	testl	%eax, %eax
	jle	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	movapd	%xmm2, %xmm0
	divsd	%xmm1, %xmm0
	jmp	LBB0_3
LBB0_6:
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.7:
	cmpq	$4, %rdi
	jae	LBB0_9
LBB0_8:
	xorl	%r8d, %r8d
LBB0_21:
	subq	%r8, %rdi
	leaq	(%r8,%r8,2), %rax
	leaq	8(,%rax,4), %rax
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	-8(%rcx,%rax), %r9d
	movl	-4(%rcx,%rax), %ebx
	movl	(%rcx,%rax), %r10d
	movl	%r9d, %r8d
	imull	-76(%rbp), %r8d                 ## 4-byte Folded Reload
	movl	%ebx, %ecx
	imull	-72(%rbp), %ecx                 ## 4-byte Folded Reload
	addl	%r8d, %ecx
	movl	%r10d, %edx
	imull	-52(%rbp), %edx                 ## 4-byte Folded Reload
	addl	%ecx, %edx
	movl	%edx, -8(%rsi,%rax)
	movl	%r9d, %ecx
	imull	-68(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	%ebx, %edx
	imull	-60(%rbp), %edx                 ## 4-byte Folded Reload
	addl	%ecx, %edx
	movl	%r10d, %ecx
	imull	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	addl	%edx, %ecx
	movl	%ecx, -4(%rsi,%rax)
	imull	-64(%rbp), %r9d                 ## 4-byte Folded Reload
	imull	-56(%rbp), %ebx                 ## 4-byte Folded Reload
	addl	%r9d, %ebx
	imull	-44(%rbp), %r10d                ## 4-byte Folded Reload
	addl	%ebx, %r10d
	movl	%r10d, (%rsi,%rax)
	addq	$12, %rax
	decq	%rdi
	jne	LBB0_22
LBB0_23:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	-1(%rdi), %rax
	leaq	4(%rsi), %rbx
	movl	$12, %ecx
	mulq	%rcx
	seto	%dl
	leaq	(%rsi,%rax), %rcx
	addq	$4, %rcx
	xorl	%r8d, %r8d
	cmpq	%rbx, %rcx
	jb	LBB0_21
## %bb.10:
	testb	%dl, %dl
	jne	LBB0_21
## %bb.11:
	leaq	8(%rsi), %rbx
	leaq	(%rsi,%rax), %rcx
	addq	$8, %rcx
	cmpq	%rbx, %rcx
	jb	LBB0_21
## %bb.12:
	testb	%dl, %dl
	jne	LBB0_21
## %bb.13:
	addq	%rsi, %rax
	cmpq	%rsi, %rax
	jb	LBB0_21
## %bb.14:
	testb	%dl, %dl
	jne	LBB0_21
## %bb.15:
	leaq	(,%rdi,4), %rax
	leaq	(%rax,%rax,2), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	addq	%rax, %rcx
	cmpq	%rsi, %rcx
	jbe	LBB0_18
## %bb.16:
	addq	%rsi, %rax
	cmpq	-88(%rbp), %rax                 ## 8-byte Folded Reload
	ja	LBB0_8
LBB0_18:
	movq	%rdi, %r8
	andq	$-4, %r8
	movd	-76(%rbp), %xmm0                ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm8                ## xmm8 = xmm0[0,0,0,0]
	movd	-72(%rbp), %xmm0                ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm9                ## xmm9 = xmm0[0,0,0,0]
	movd	-52(%rbp), %xmm0                ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm10               ## xmm10 = xmm0[0,0,0,0]
	movd	-68(%rbp), %xmm0                ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm11               ## xmm11 = xmm0[0,0,0,0]
	movd	-60(%rbp), %xmm0                ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm12               ## xmm12 = xmm0[0,0,0,0]
	movd	-48(%rbp), %xmm0                ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm13               ## xmm13 = xmm0[0,0,0,0]
	movd	-64(%rbp), %xmm0                ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm14               ## xmm14 = xmm0[0,0,0,0]
	movd	-56(%rbp), %xmm0                ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm7                ## xmm7 = xmm0[0,0,0,0]
	movd	-44(%rbp), %xmm0                ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	xorl	%eax, %eax
	movq	%r8, %rdx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movd	(%rcx,%rax), %xmm2              ## xmm2 = mem[0],zero,zero,zero
	pinsrd	$1, 12(%rcx,%rax), %xmm2
	pinsrd	$2, 24(%rcx,%rax), %xmm2
	pinsrd	$3, 36(%rcx,%rax), %xmm2
	movd	4(%rcx,%rax), %xmm3             ## xmm3 = mem[0],zero,zero,zero
	pinsrd	$1, 16(%rcx,%rax), %xmm3
	pinsrd	$2, 28(%rcx,%rax), %xmm3
	pinsrd	$3, 40(%rcx,%rax), %xmm3
	movd	8(%rcx,%rax), %xmm1             ## xmm1 = mem[0],zero,zero,zero
	pinsrd	$1, 20(%rcx,%rax), %xmm1
	pinsrd	$2, 32(%rcx,%rax), %xmm1
	pinsrd	$3, 44(%rcx,%rax), %xmm1
	movdqa	%xmm2, %xmm4
	pmulld	%xmm8, %xmm4
	movdqa	%xmm3, %xmm5
	pmulld	%xmm9, %xmm5
	paddd	%xmm4, %xmm5
	movdqa	%xmm1, %xmm4
	pmulld	%xmm10, %xmm4
	paddd	%xmm5, %xmm4
	movdqa	%xmm2, %xmm5
	pmulld	%xmm11, %xmm5
	movdqa	%xmm3, %xmm6
	pmulld	%xmm12, %xmm6
	paddd	%xmm5, %xmm6
	movdqa	%xmm1, %xmm5
	pmulld	%xmm13, %xmm5
	paddd	%xmm6, %xmm5
	pmulld	%xmm14, %xmm2
	pmulld	%xmm7, %xmm3
	paddd	%xmm2, %xmm3
	pmulld	%xmm0, %xmm1
	paddd	%xmm3, %xmm1
	pshufd	$80, %xmm5, %xmm2               ## xmm2 = xmm5[0,0,1,1]
	pshufd	$68, %xmm4, %xmm3               ## xmm3 = xmm4[0,1,0,1]
	pblendw	$12, %xmm2, %xmm3               ## xmm3 = xmm3[0,1],xmm2[2,3],xmm3[4,5,6,7]
	pshufd	$68, %xmm1, %xmm2               ## xmm2 = xmm1[0,1,0,1]
	pblendw	$207, %xmm3, %xmm2              ## xmm2 = xmm3[0,1,2,3],xmm2[4,5],xmm3[6,7]
	pshufd	$165, %xmm5, %xmm3              ## xmm3 = xmm5[1,1,2,2]
	pblendw	$48, %xmm4, %xmm3               ## xmm3 = xmm3[0,1,2,3],xmm4[4,5],xmm3[6,7]
	pblendw	$12, %xmm1, %xmm3               ## xmm3 = xmm3[0,1],xmm1[2,3],xmm3[4,5,6,7]
	shufps	$255, %xmm5, %xmm4              ## xmm4 = xmm4[3,3],xmm5[3,3]
	pshufd	$238, %xmm1, %xmm1              ## xmm1 = xmm1[2,3,2,3]
	pblendw	$60, %xmm4, %xmm1               ## xmm1 = xmm1[0,1],xmm4[2,3,4,5],xmm1[6,7]
	movdqu	%xmm1, 32(%rsi,%rax)
	movdqu	%xmm3, 16(%rsi,%rax)
	movdqu	%xmm2, (%rsi,%rax)
	addq	$48, %rax
	addq	$-4, %rdx
	jne	LBB0_19
## %bb.20:
	cmpq	%rdi, %r8
	je	LBB0_23
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_xform_normals_3fv           ; -- Begin function gl_xform_normals_3fv
	.p2align	2
_gl_xform_normals_3fv:                  ; @gl_xform_normals_3fv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x0
	ldr	w9, [x2]
	ldp	w8, w26, [x2, #4]
	stp	w8, w9, [sp, #24]               ; 8-byte Folded Spill
	ldr	w9, [x2, #16]
	ldp	w8, w27, [x2, #20]
	stp	w8, w9, [sp, #16]               ; 8-byte Folded Spill
	ldp	w8, w25, [x2, #32]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w28, [x2, #40]
	cbz	x4, LBB0_6
; %bb.1:
	cbz	x19, LBB0_11
; %bb.2:
	add	x20, x3, #4
	add	x21, x1, #4
	fmov	d8, #1.00000000
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	fcvtzs	w8, d0
	mul	w10, w22, w8
	mul	w9, w23, w8
	mul	w8, w24, w8
	stp	w10, w9, [x21, #-4]
	str	w8, [x21, #4]
	add	x20, x20, #12
	add	x21, x21, #12
	subs	x19, x19, #1
	b.eq	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w8, w9, [x20, #-4]
	ldr	w10, [x20, #4]
	ldp	w12, w11, [sp, #24]             ; 8-byte Folded Reload
	mul	w11, w8, w11
	madd	w11, w9, w12, w11
	madd	w22, w10, w26, w11
	ldp	w12, w11, [sp, #16]             ; 8-byte Folded Reload
	mul	w11, w8, w11
	madd	w11, w9, w12, w11
	madd	w23, w10, w27, w11
	ldr	w11, [sp, #12]                  ; 4-byte Folded Reload
	mul	w8, w8, w11
	madd	w8, w9, w25, w8
	madd	w24, w10, w28, w8
	mul	w8, w23, w23
	madd	w8, w22, w22, w8
	madd	w0, w24, w24, w8
	bl	_GL_SQRT
	fmov	d0, #1.00000000
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	scvtf	d0, w0
	fdiv	d0, d8, d0
	b	LBB0_3
LBB0_6:
	cbz	x19, LBB0_11
; %bb.7:
	cmp	x19, #4
	b.hs	LBB0_12
LBB0_8:
	mov	x8, #0
LBB0_9:
	sub	x9, x19, x8
	add	x8, x8, x8, lsl #1
	lsl	x10, x8, #2
	add	x8, x1, x10
	add	x8, x8, #4
	add	x10, x3, x10
	add	x10, x10, #8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldp	w11, w12, [x10, #-8]
	ldr	w13, [x10], #12
	ldp	w15, w14, [sp, #24]             ; 8-byte Folded Reload
	mul	w14, w11, w14
	madd	w14, w12, w15, w14
	madd	w14, w13, w26, w14
	stur	w14, [x8, #-4]
	ldp	w15, w14, [sp, #16]             ; 8-byte Folded Reload
	mul	w14, w11, w14
	madd	w14, w12, w15, w14
	madd	w14, w13, w27, w14
	ldr	w15, [sp, #12]                  ; 4-byte Folded Reload
	mul	w11, w11, w15
	madd	w11, w12, w25, w11
	madd	w11, w13, w28, w11
	stp	w14, w11, [x8], #12
	subs	x9, x9, #1
	b.ne	LBB0_10
LBB0_11:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_12:
	mov	x8, #0
	sub	x10, x19, #1
	add	x11, x1, #4
	mov	w9, #12
	umulh	x9, x10, x9
	cmp	xzr, x9
	cset	w9, ne
	add	x10, x10, x10, lsl #1
	lsl	x10, x10, #2
	add	x12, x11, x10
	cmp	x12, x11
	b.lo	LBB0_9
; %bb.13:
	tbnz	w9, #0, LBB0_9
; %bb.14:
	add	x11, x1, #8
	add	x12, x11, x10
	cmp	x12, x11
	b.lo	LBB0_9
; %bb.15:
	tbnz	w9, #0, LBB0_9
; %bb.16:
	add	x10, x1, x10
	cmp	x10, x1
	b.lo	LBB0_9
; %bb.17:
	tbnz	w9, #0, LBB0_9
; %bb.18:
	add	x8, x19, x19, lsl #1
	lsl	x8, x8, #2
	add	x9, x3, x8
	cmp	x9, x1
	b.ls	LBB0_20
; %bb.19:
	add	x8, x1, x8
	cmp	x8, x3
	b.hi	LBB0_8
LBB0_20:
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	dup.4s	v0, w8
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	dup.4s	v1, w8
	dup.4s	v2, w26
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	dup.4s	v3, w8
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	dup.4s	v4, w8
	dup.4s	v5, w27
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	dup.4s	v6, w8
	dup.4s	v7, w25
	and	x8, x19, #0xfffffffffffffffc
	mov	x9, x8
	mov	x10, x3
	mov	x11, x1
	dup.4s	v16, w28
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ld3.4s	{ v17, v18, v19 }, [x10], #48
	mul.4s	v20, v17, v0
	mla.4s	v20, v18, v1
	mla.4s	v20, v19, v2
	mul.4s	v21, v17, v3
	mla.4s	v21, v18, v4
	mla.4s	v21, v19, v5
	mul.4s	v22, v17, v6
	mla.4s	v22, v18, v7
	mla.4s	v22, v19, v16
	st3.4s	{ v20, v21, v22 }, [x11], #48
	subs	x9, x9, #4
	b.ne	LBB0_21
; %bb.22:
	cmp	x8, x19
	b.eq	LBB0_11
	b	LBB0_9
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
