	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function invert_step
_invert_step:                           ## @invert_step
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %rdx
	leal	1(%r15), %eax
	sarl	%eax
	sarl	%ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	_NPAD@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(%r14,%rcx,4), %rdi
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rdx,%rcx,4), %rsi
	movslq	%eax, %r12
	leal	(,%r12,4), %edx
	callq	_memcpy
	movl	%r15d, %r13d
	andl	$1, %r13d
	movl	$2, %ecx
	subl	%r13d, %ecx
	movq	%r14, %rdi
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_symmetric_extension
	movq	_NPAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%r15,%rax,2), %edx
	shll	$2, %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_memset
	leal	2(%r15), %r12d
	sarl	%r12d
	addl	$11, %r12d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	cmpl	$-4, %r15d
	jl	LBB0_3
## %bb.1:
	movq	_synthesis_low@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$11, %r12d
	movl	$10, %ecx
	cmovgel	%r12d, %ecx
	addq	$-9, %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rax), %xmm0
	movss	36(%r14,%rdx,4), %xmm1          ## xmm1 = mem[0],zero,zero,zero
	shufps	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	mulps	%xmm0, %xmm1
	movups	20(%rbx,%rdx,8), %xmm0
	addps	%xmm1, %xmm0
	movups	%xmm0, 20(%rbx,%rdx,8)
	movaps	%xmm1, %xmm0
	unpckhpd	%xmm1, %xmm0                    ## xmm0 = xmm0[1],xmm1[1]
	addss	36(%rbx,%rdx,8), %xmm0
	movss	%xmm0, 36(%rbx,%rdx,8)
	movshdup	%xmm1, %xmm0                    ## xmm0 = xmm1[1,1,3,3]
	addss	40(%rbx,%rdx,8), %xmm0
	movss	%xmm0, 40(%rbx,%rdx,8)
	addss	44(%rbx,%rdx,8), %xmm1
	movss	%xmm1, 44(%rbx,%rdx,8)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_2
LBB0_3:
	movq	_NPAD@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%r14,%rax,4), %rdi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,4), %rsi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	leal	(,%r15,4), %edx
	callq	_memcpy
	incl	%r13d
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$2, %edx
	movl	%r13d, %ecx
	callq	_symmetric_extension
	cmpl	$-6, -64(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_6
## %bb.4:
	movq	_synthesis_high@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$10, %r12d
	movl	$9, %ecx
	cmovgel	%r12d, %ecx
	addq	$-8, %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movss	32(%r14,%rdx,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	movss	16(%rax), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movups	(%rax), %xmm2
	shufps	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	mulps	%xmm2, %xmm0
	movups	12(%rbx,%rdx,8), %xmm2
	movups	28(%rbx,%rdx,8), %xmm3
	addps	%xmm0, %xmm2
	movups	%xmm2, 12(%rbx,%rdx,8)
	blendps	$14, %xmm0, %xmm1               ## xmm1 = xmm1[0],xmm0[1,2,3]
	shufps	$108, %xmm1, %xmm1              ## xmm1 = xmm1[0,3,2,1]
	addps	%xmm3, %xmm1
	movups	%xmm1, 28(%rbx,%rdx,8)
	addss	44(%rbx,%rdx,8), %xmm0
	movss	%xmm0, 44(%rbx,%rdx,8)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_5
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NPAD,4,2                       ## @NPAD
	.comm	_synthesis_low,8,3              ## @synthesis_low
	.comm	_synthesis_high,8,3             ## @synthesis_high
	.no_dead_strip	_invert_step
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function invert_step
_invert_step:                           ; @invert_step
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x23, x0
	add	w8, w3, #1
	asr	w24, w8, #1
	asr	w22, w3, #1
Lloh0:
	adrp	x25, _NPAD@GOTPAGE
Lloh1:
	ldr	x25, [x25, _NPAD@GOTPAGEOFF]
	ldrsw	x9, [x25]
	lsl	x9, x9, #2
	add	x0, x2, x9
	add	x1, x23, x9
	sbfx	x26, x8, #1, #31
	lsl	w2, w24, #2
	bl	_memcpy
	tst	w21, #0x1
	mov	w27, #1
	cinc	w3, w27, eq
	mov	x0, x20
	mov	x1, x24
	mov	w2, #1
	bl	_symmetric_extension
	ldr	w8, [x25]
	add	w8, w21, w8, lsl #1
	lsl	w2, w8, #2
	mov	x0, x19
	mov	w1, #0
	bl	_memset
	add	w8, w21, #2
	asr	w8, w8, #1
	add	w24, w8, #11
	cmn	w21, #4
	b.lt	LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _synthesis_low@GOTPAGE
Lloh3:
	ldr	x8, [x8, _synthesis_low@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	mov	w9, #10
	cmp	w24, #10
	csel	w11, w24, w9, gt
	add	x9, x20, #36
	add	x10, x19, #44
	sub	x11, x11, #9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	q0, [x8]
	ld1r.4s	{ v1 }, [x9], #4
	fmul.4s	v0, v1, v0
	ldur	q1, [x10, #-24]
	fadd.4s	v1, v0, v1
	stur	q1, [x10, #-24]
	ext.16b	v1, v0, v0, #8
	ldr	s2, [x10]
	fadd	s2, s0, s2
	mov.s	v0[0], v1[0]
	ldur	d1, [x10, #-8]
	fadd.2s	v0, v0, v1
	stur	d0, [x10, #-8]
	str	s2, [x10], #8
	subs	x11, x11, #1
	b.ne	LBB0_2
LBB0_3:
	ldrsw	x8, [x25]
	lsl	x8, x8, #2
	add	x0, x20, x8
	add	x8, x23, x8
	add	x1, x8, x26, lsl #2
	lsl	w2, w22, #2
	bl	_memcpy
	tst	w21, #0x1
	cinc	w3, w27, ne
	mov	x0, x20
	mov	x1, x22
	mov	w2, #2
	bl	_symmetric_extension
	cmn	w21, #6
	b.lt	LBB0_6
; %bb.4:
Lloh5:
	adrp	x8, _synthesis_high@GOTPAGE
Lloh6:
	ldr	x8, [x8, _synthesis_high@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	mov	w9, #9
	cmp	w24, #9
	csel	w11, w24, w9, gt
	add	x9, x20, #32
	add	x10, x19, #44
	sub	x11, x11, #8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x9], #4
	ldr	s1, [x8, #16]
	fmul	s1, s0, s1
	ldr	q2, [x8]
	fmul.4s	v0, v2, v0[0]
	ldp	q2, q3, [x10, #-32]
	ext.16b	v1, v0, v1, #4
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	fadd.4s	v1, v1, v3
	fadd.4s	v2, v0, v2
	stp	q2, q1, [x10, #-32]
	ldr	s1, [x10]
	fadd	s0, s0, s1
	str	s0, [x10], #8
	subs	x11, x11, #1
	b.ne	LBB0_5
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NPAD,4,2                       ; @NPAD
	.comm	_synthesis_low,8,3              ; @synthesis_low
	.comm	_synthesis_high,8,3             ; @synthesis_high
	.no_dead_strip	_invert_step
.subsections_via_symbols
