	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sws_getShiftedVec
_sws_getShiftedVec:                     ## @sws_getShiftedVec
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movl	(%rdi), %ebx
	movl	%esi, %edi
	callq	_FFABS
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rbx,%rax,2), %r15d
	xorps	%xmm0, %xmm0
	movl	%r15d, %edi
	callq	_sws_getConstVec
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	(%r12), %edx
	testl	%edx, %edx
	jle	LBB0_4
## %bb.2:
	movq	8(%r12), %r8
	movq	8(%rax), %r9
	movl	%r15d, %edi
	decl	%edi
	shrl	$31, %edi
	addl	%r15d, %edi
	decl	%edi
	sarl	%edi
	subl	%r14d, %edi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r8,%rbx,4), %ecx
	movl	%edx, %esi
	decl	%esi
	shrl	$31, %esi
	addl	%esi, %edx
	decl	%edx
	sarl	%edx
	leal	(%rdi,%rbx), %esi
	subl	%edx, %esi
	movslq	%esi, %rdx
	movl	%ecx, (%r9,%rdx,4)
	incq	%rbx
	movslq	(%r12), %rdx
	cmpq	%rdx, %rbx
	jl	LBB0_3
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sws_getShiftedVec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sws_getShiftedVec
_sws_getShiftedVec:                     ; @sws_getShiftedVec
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w21, [x0]
	mov	x0, x1
	bl	_FFABS
	add	w21, w21, w0, lsl #1
	movi	d0, #0000000000000000
	mov	x0, x21
	bl	_sws_getConstVec
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w10, [x19]
	cmp	w10, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x8, #0
	ldr	x9, [x19, #8]
	ldr	x11, [x0, #8]
	sub	w12, w21, #1
	cmp	w12, #0
	csel	w12, w21, w12, lt
	asr	w12, w12, #1
	sub	w12, w12, w20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x9, x8, lsl #2]
	sub	w14, w10, #1
	cmp	w14, #0
	csel	w10, w10, w14, lt
	add	w14, w12, w8
	sub	w10, w14, w10, asr #1
	str	w13, [x11, w10, sxtw #2]
	add	x8, x8, #1
	ldrsw	x10, [x19]
	cmp	x8, x10
	b.lt	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sws_getShiftedVec
.subsections_via_symbols
