	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lsp2poly
_lsp2poly:                              ## @lsp2poly
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movl	$4194304, (%rdi)                ## imm = 0x400000
	movl	(%rsi), %eax
	shll	$8, %eax
	negl	%eax
	movl	%eax, 4(%rdi)
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	cmpl	$2, %edx
	jl	LBB0_5
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$2, %ecx
	xorl	%r12d, %r12d
	movq	_FRAC_BITS@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movl	-8(%rbx,%rcx,4), %eax
	movl	%eax, (%rbx,%rcx,4)
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rcx), %r13
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	1(%r12), %eax
	movl	(%rbx,%rax,4), %edi
	movl	-8(%r15,%r13,4), %esi
	movl	(%r14), %edx
	callq	_MULL
	movl	%r12d, %ecx
	movl	(%rbx,%rcx,4), %ecx
	subl	%eax, %ecx
	addl	%ecx, 8(%rbx,%r12,4)
	leaq	-1(%r12), %rax
	addq	$2, %r12
	cmpq	$2, %r12
	movq	%rax, %r12
	jg	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-8(%r15,%r13,4), %eax
	shll	$8, %eax
	subl	%eax, 4(%rbx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	incq	%r12
	cmpq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	jne	LBB0_2
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FRAC_BITS,4,2                  ## @FRAC_BITS
	.no_dead_strip	_lsp2poly
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lsp2poly
_lsp2poly:                              ; @lsp2poly
	.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	w8, #4194304
	str	w8, [x0]
	ldr	w8, [x1]
	neg	w8, w8, lsl #8
	str	w8, [x0, #4]
	cmp	w2, #2
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x21, #0
	add	w22, w2, #1
	add	x23, x0, #8
	mov	w24, #2
Lloh0:
	adrp	x25, _FRAC_BITS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _FRAC_BITS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	add	x8, x20, x24, lsl #2
	ldur	w9, [x8, #-8]
	str	w9, [x8]
	lsl	x8, x24, #1
	sub	x26, x8, #2
	mov	x27, x21
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w8, w27, #1
	ldr	w0, [x20, w8, uxtw #2]
	ldr	w1, [x19, x26, lsl #2]
	ldr	w2, [x25]
	bl	_MULL
	ldr	w8, [x20, w27, uxtw #2]
	lsl	x9, x27, #2
	ldr	w10, [x23, x9]
	sub	w8, w8, w0
	add	w8, w8, w10
	str	w8, [x23, x9]
	add	x8, x27, #2
	sub	x27, x27, #1
	cmp	x8, #2
	b.gt	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x19, x26, lsl #2]
	ldr	w9, [x20, #4]
	sub	w8, w9, w8, lsl #8
	str	w8, [x20, #4]
	add	x24, x24, #1
	add	x21, x21, #1
	cmp	x24, x22
	b.ne	LBB0_2
LBB0_5:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_FRAC_BITS,4,2                  ; @FRAC_BITS
	.no_dead_strip	_lsp2poly
.subsections_via_symbols
