	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function sws_getGaussianVec
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_2:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_sws_getGaussianVec
	.p2align	4, 0x90
_sws_getGaussianVec:                    ## @sws_getGaussianVec
	.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
	xorl	%r15d, %r15d
	xorpd	%xmm2, %xmm2
	ucomisd	%xmm0, %xmm2
	ja	LBB0_8
## %bb.1:
	ucomisd	%xmm1, %xmm2
	ja	LBB0_8
## %bb.2:
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	mulsd	%xmm0, %xmm1
	addsd	LCPI0_0(%rip), %xmm1
	cvttsd2si	%xmm1, %ebx
	movl	%ebx, %r14d
	orl	$1, %r14d
	movl	%r14d, %edi
	callq	_sws_allocVec
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	testl	%r14d, %r14d
	movsd	-48(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	jle	LBB0_7
## %bb.5:
	andl	$-2, %ebx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	movapd	%xmm2, %xmm0
	addsd	%xmm2, %xmm0
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	mulsd	%xmm0, %xmm2
	movl	%r14d, %r14d
	xorl	%ebx, %ebx
	movq	_M_PI@GOTPCREL(%rip), %r13
	movsd	%xmm2, -48(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ebx, %xmm1
	subsd	-64(%rbp), %xmm1                ## 8-byte Folded Reload
	movapd	%xmm1, %xmm0
	xorpd	LCPI0_1(%rip), %xmm0
	mulsd	%xmm1, %xmm0
	divsd	%xmm2, %xmm0
	callq	_exp
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%r13), %xmm0
	movl	%eax, %r12d
	mulsd	-56(%rbp), %xmm0                ## 8-byte Folded Reload
	cvttsd2si	%xmm0, %edi
	callq	_sqrt
	movsd	-48(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	movl	%eax, %ecx
	movl	%r12d, %eax
	cltd
	idivl	%ecx
	movq	(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_6
LBB0_7:
	movsd	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero
	movq	%r15, %rdi
	callq	_sws_normalizeVec
	jmp	LBB0_8
LBB0_3:
	xorl	%r15d, %r15d
LBB0_8:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,4,2                       ## @M_PI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sws_getGaussianVec             ; -- Begin function sws_getGaussianVec
	.p2align	2
_sws_getGaussianVec:                    ; @sws_getGaussianVec
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d9, d8, [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 b8, -72
	.cfi_offset b9, -80
	.cfi_offset b10, -88
	.cfi_offset b11, -96
	mov	x19, #0
	fcmp	d0, #0.0
	b.mi	LBB0_7
; %bb.1:
	fcmp	d1, #0.0
	b.mi	LBB0_7
; %bb.2:
	fmov	d8, d0
	fmov	d9, #0.50000000
	fmadd	d0, d0, d1, d9
	fcvtzs	w21, d0
	orr	w20, w21, #0x1
	mov	x0, x20
	bl	_sws_allocVec
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.3:
	cmp	w20, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x22, #0
	and	w8, w21, #0xfffffffe
	scvtf	d0, w8
	fmul	d9, d0, d9
	fadd	d10, d8, d8
	fmul	d8, d10, d8
Lloh0:
	adrp	x23, _M_PI@GOTPAGE
Lloh1:
	ldr	x23, [x23, _M_PI@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	scvtf	d0, w22
	fsub	d0, d0, d9
	fneg	d1, d0
	fmul	d0, d0, d1
	fdiv	d0, d0, d8
	bl	_exp
	mov	x21, x0
	ldr	s0, [x23]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fmul	d0, d10, d0
	fcvtzs	w0, d0
	bl	_sqrt
	sdiv	w8, w21, w0
	ldr	x9, [x19]
	str	w8, [x9, x22, lsl #2]
	add	x22, x22, #1
	cmp	x20, x22
	b.ne	LBB0_5
LBB0_6:
	fmov	d0, #1.00000000
	mov	x0, x19
	bl	_sws_normalizeVec
LBB0_7:
	mov	x0, x19
	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	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,4,2                       ; @M_PI
.subsections_via_symbols
