	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function avoid_clipping
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_avoid_clipping:                        ## @avoid_clipping
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	ucomiss	8(%rsi), %xmm0
	jbe	LBB0_26
## %bb.1:
	movl	12(%rsi), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_26
## %bb.2:
	leaq	8(%rsi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	16(%rsi), %r10d
	leaq	12(%rsi), %r11
	xorl	%r15d, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r11, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	subl	$-128, %r15d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_26
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_15 Depth 3
                                        ##       Child Loop BB0_21 Depth 3
                                        ##       Child Loop BB0_24 Depth 3
	testl	%r10d, %r10d
	jle	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rsi), %r13
	movq	24(%rsi), %r12
	movl	-44(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	shll	$7, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	48(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	12(%r13), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=2
	addl	%r14d, %r8d
	incq	%rbx
	movl	%r8d, %r14d
	cmpq	%r10, %rbx
	je	LBB0_3
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_15 Depth 3
                                        ##       Child Loop BB0_21 Depth 3
                                        ##       Child Loop BB0_24 Depth 3
	movl	(%r12,%rbx,4), %r8d
	testl	%r8d, %r8d
	jle	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpl	$8, %r8d
	jb	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addl	%r14d, %eax
	cltq
	leaq	(,%rax,4), %r9
	addq	%r13, %r9
	cmpq	%r11, %r9
	jae	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=2
	addq	%r8, %rax
	leaq	(,%rax,4), %rax
	addq	%r13, %rax
	cmpq	%rax, -80(%rbp)                 ## 8-byte Folded Reload
	jae	LBB0_13
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	xorl	%eax, %eax
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	%rax, %rdx
	notq	%rdx
	addq	%r8, %rdx
	movq	%r8, %rdi
	andq	$3, %rdi
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_7 Depth=2
	leal	(%r15,%r14), %ecx
	movslq	%ecx, %rcx
	leaq	(,%rcx,4), %rcx
	addq	%r13, %rcx
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movss	8(%rsi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	mulss	(%rcx,%rax,4), %xmm0
	movss	%xmm0, (%rcx,%rax,4)
	incq	%rax
	decq	%rdi
	jne	LBB0_21
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=2
	cmpq	$3, %rdx
	jb	LBB0_6
## %bb.23:                              ##   in Loop: Header=BB0_7 Depth=2
	leal	(%r15,%r14), %ecx
	movslq	%ecx, %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rdx
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movss	8(%rsi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	mulss	-12(%rdx,%rax,4), %xmm0
	movss	%xmm0, -12(%rdx,%rax,4)
	movss	8(%rsi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	mulss	-8(%rdx,%rax,4), %xmm0
	movss	%xmm0, -8(%rdx,%rax,4)
	movss	8(%rsi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	mulss	-4(%rdx,%rax,4), %xmm0
	movss	%xmm0, -4(%rdx,%rax,4)
	movss	8(%rsi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	mulss	(%rdx,%rax,4), %xmm0
	movss	%xmm0, (%rdx,%rax,4)
	addq	$4, %rax
	cmpq	%rax, %r8
	jne	LBB0_24
	jmp	LBB0_6
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	%r10, %rdi
	movl	%r8d, %eax
	andl	$-8, %eax
	leaq	-8(%rax), %rcx
	movq	%rcx, %r11
	shrq	$3, %r11
	incq	%r11
	testq	%rcx, %rcx
	je	LBB0_25
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	%r11, %r10
	andq	$-2, %r10
	movss	8(%rsi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	shufps	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leal	(%r15,%r14), %ecx
	movslq	%ecx, %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rdx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movups	-48(%rdx,%r15,4), %xmm1
	movups	-32(%rdx,%r15,4), %xmm2
	movups	-16(%rdx,%r15,4), %xmm3
	movups	(%rdx,%r15,4), %xmm4
	mulps	%xmm0, %xmm1
	mulps	%xmm0, %xmm2
	movups	%xmm1, -48(%rdx,%r15,4)
	movups	%xmm2, -32(%rdx,%r15,4)
	mulps	%xmm0, %xmm3
	mulps	%xmm0, %xmm4
	movups	%xmm3, -16(%rdx,%r15,4)
	movups	%xmm4, (%rdx,%r15,4)
	addq	$16, %r15
	addq	$-2, %r10
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=2
	testb	$1, %r11b
	je	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=2
	movss	8(%rsi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	shufps	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movups	(%r9,%r15,4), %xmm1
	movups	16(%r9,%r15,4), %xmm2
	mulps	%xmm0, %xmm1
	mulps	%xmm0, %xmm2
	movups	%xmm1, (%r9,%r15,4)
	movups	%xmm2, 16(%r9,%r15,4)
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=2
	cmpq	%r8, %rax
	movq	%rdi, %r10
	movq	-64(%rbp), %r11                 ## 8-byte Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_6
	jmp	LBB0_19
LBB0_25:                                ##   in Loop: Header=BB0_7 Depth=2
	xorl	%r15d, %r15d
	testb	$1, %r11b
	jne	LBB0_17
	jmp	LBB0_18
LBB0_26:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_avoid_clipping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function avoid_clipping
_avoid_clipping:                        ; @avoid_clipping
	.cfi_startproc
; %bb.0:
	ldr	s0, [x1, #8]
	fmov	s1, #1.00000000
	fcmp	s0, s1
	b.pl	LBB0_17
; %bb.1:
	ldr	w8, [x1, #12]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.2:
	mov	w9, #0
	mov	w10, #0
	add	x11, x1, #8
	ldr	w12, [x1, #16]
	add	x13, x1, #12
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w10, w10, #1
	add	w9, w9, #128
	cmp	w10, w8
	b.eq	LBB0_17
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_15 Depth 3
                                        ;       Child Loop BB0_13 Depth 3
	cmp	w12, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x14, #0
	mov	w15, #0
	ldr	x16, [x1]
	lsl	w17, w10, #7
	ldr	x0, [x1, #24]
	add	x2, x16, #32
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	w15, w3, w15
	add	x14, x14, #1
	cmp	x14, x12
	b.eq	LBB0_3
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_15 Depth 3
                                        ;       Child Loop BB0_13 Depth 3
	ldr	w3, [x0, x14, lsl #2]
	cmp	w3, #1
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	w3, #16
	b.lo	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	add	w4, w15, w17
	add	x5, x16, w4, sxtw #2
	cmp	x5, x13
	b.hs	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	sxtw	x4, w4
	add	x4, x4, x3
	add	x4, x16, x4, lsl #2
	cmp	x11, x4
	b.hs	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x4, #0
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=2
	add	w5, w9, w15
	add	x5, x4, w5, sxtw
	add	x5, x16, x5, lsl #2
	sub	x4, x3, x4
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	s0, [x1, #8]
	ldr	s1, [x5]
	fmul	s0, s0, s1
	str	s0, [x5], #4
	subs	x4, x4, #1
	b.ne	LBB0_13
	b	LBB0_6
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=2
	and	x4, x3, #0xfffffff0
	add	x5, x1, #8
	ld1r.4s	{ v0 }, [x5]
	add	w5, w9, w15
	add	x5, x2, w5, sxtw #2
	mov	x6, x4
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldp	q1, q2, [x5, #-32]
	ldp	q3, q4, [x5]
	fmul.4s	v1, v0, v1
	fmul.4s	v2, v0, v2
	fmul.4s	v3, v0, v3
	fmul.4s	v4, v0, v4
	stp	q1, q2, [x5, #-32]
	stp	q3, q4, [x5], #64
	subs	x6, x6, #16
	b.ne	LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=2
	cmp	x4, x3
	b.eq	LBB0_6
	b	LBB0_12
LBB0_17:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_avoid_clipping
.subsections_via_symbols
