	.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_getDefaultFilter
LCPI0_0:
	.quad	0x4008000000000000              ## double 3
LCPI0_2:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_3:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_sws_getDefaultFilter
	.p2align	4, 0x90
_sws_getDefaultFilter:                  ## @sws_getDefaultFilter
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movss	%xmm5, -40(%rbp)                ## 4-byte Spill
	movss	%xmm4, -36(%rbp)                ## 4-byte Spill
	movaps	%xmm3, -80(%rbp)                ## 16-byte Spill
	movaps	%xmm2, -64(%rbp)                ## 16-byte Spill
	movss	%xmm1, -32(%rbp)                ## 4-byte Spill
	movss	%xmm0, -28(%rbp)                ## 4-byte Spill
	movl	$32, %edi
	callq	_av_malloc
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_28
## %bb.1:
	movq	%rax, %rbx
	xorps	%xmm0, %xmm0
	movss	-28(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jne	LBB0_2
	jnp	LBB0_3
LBB0_2:
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	movss	-28(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_sws_getGaussianVec
	movq	%rax, 24(%rbx)
	movss	-28(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_sws_getGaussianVec
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	callq	_sws_getIdentityVec
	movq	%rax, 24(%rbx)
	xorl	%eax, %eax
	callq	_sws_getIdentityVec
LBB0_4:
	movq	%rax, 16(%rbx)
	xorps	%xmm1, %xmm1
	movss	-32(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	jne	LBB0_5
	jnp	LBB0_6
LBB0_5:
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_sws_getGaussianVec
	movq	%rax, 8(%rbx)
	movss	-32(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_sws_getGaussianVec
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
	callq	_sws_getIdentityVec
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
	callq	_sws_getIdentityVec
LBB0_7:
	movq	%rax, (%rbx)
	movq	-48(%rbp), %rbx
	cmpq	$0, 24(%rbx)
	je	LBB0_27
## %bb.8:
	cmpq	$0, 16(%rbx)
	je	LBB0_27
## %bb.9:
	cmpq	$0, 8(%rbx)
	je	LBB0_27
## %bb.10:
	cmpq	$0, (%rbx)
	je	LBB0_27
## %bb.11:
	xorps	%xmm1, %xmm1
	movaps	-80(%rbp), %xmm0                ## 16-byte Reload
	ucomiss	%xmm1, %xmm0
	jne	LBB0_12
	jnp	LBB0_14
LBB0_12:
	xorl	%eax, %eax
	callq	_sws_getIdentityVec
	testq	%rax, %rax
	je	LBB0_27
## %bb.13:
	movq	%rax, %r15
	movq	8(%rbx), %rdi
	movaps	-80(%rbp), %xmm0                ## 16-byte Reload
	xorps	LCPI0_1(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)                ## 16-byte Spill
	callq	_sws_scaleVec
	movq	(%rbx), %rdi
	movaps	-80(%rbp), %xmm0                ## 16-byte Reload
	callq	_sws_scaleVec
	movq	8(%rbx), %rdi
	movq	%r15, %rsi
	callq	_sws_addVec
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	callq	_sws_addVec
	movq	%r15, %rdi
	callq	_sws_freeVec
	xorps	%xmm1, %xmm1
LBB0_14:
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	ucomiss	%xmm1, %xmm0
	jne	LBB0_15
	jnp	LBB0_17
LBB0_15:
	xorl	%eax, %eax
	callq	_sws_getIdentityVec
	testq	%rax, %rax
	je	LBB0_27
## %bb.16:
	movq	%rax, %r15
	movq	24(%rbx), %rdi
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	xorps	LCPI0_1(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	callq	_sws_scaleVec
	movq	16(%rbx), %rdi
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	callq	_sws_scaleVec
	movq	24(%rbx), %rdi
	movq	%r15, %rsi
	callq	_sws_addVec
	movq	16(%rbx), %rdi
	movq	%r15, %rsi
	callq	_sws_addVec
	movq	%r15, %rdi
	callq	_sws_freeVec
LBB0_17:
	xorps	%xmm1, %xmm1
	movss	-36(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	jne	LBB0_18
	jnp	LBB0_19
LBB0_18:
	cvtss2sd	%xmm0, %xmm0
	movq	8(%rbx), %rdi
	addsd	LCPI0_2(%rip), %xmm0
	cvttsd2si	%xmm0, %esi
	callq	_sws_shiftVec
	xorps	%xmm1, %xmm1
LBB0_19:
	movss	-40(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	jne	LBB0_20
	jnp	LBB0_21
LBB0_20:
	cvtss2sd	%xmm0, %xmm0
	movq	(%rbx), %rdi
	addsd	LCPI0_2(%rip), %xmm0
	cvttsd2si	%xmm0, %esi
	callq	_sws_shiftVec
LBB0_21:
	movq	8(%rbx), %rdi
	movsd	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_sws_normalizeVec
	movq	(%rbx), %rdi
	movsd	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_sws_normalizeVec
	movq	24(%rbx), %rdi
	movsd	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_sws_normalizeVec
	movq	16(%rbx), %rdi
	movsd	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_sws_normalizeVec
	movq	8(%rbx), %rdi
	callq	_isnan_vec
	testq	%rax, %rax
	jne	LBB0_27
## %bb.22:
	movq	(%rbx), %rdi
	callq	_isnan_vec
	testq	%rax, %rax
	jne	LBB0_27
## %bb.23:
	movq	24(%rbx), %rdi
	callq	_isnan_vec
	testq	%rax, %rax
	jne	LBB0_27
## %bb.24:
	movq	16(%rbx), %rdi
	callq	_isnan_vec
	testq	%rax, %rax
	je	LBB0_25
LBB0_27:
	movq	24(%rbx), %rdi
	callq	_sws_freeVec
	movq	16(%rbx), %rdi
	callq	_sws_freeVec
	movq	8(%rbx), %rdi
	callq	_sws_freeVec
	movq	(%rbx), %rdi
	callq	_sws_freeVec
	leaq	-48(%rbp), %rdi
	callq	_av_freep
LBB0_28:
	xorl	%ebx, %ebx
LBB0_29:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	testl	%r14d, %r14d
	je	LBB0_29
## %bb.26:
	movq	8(%rbx), %rdi
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	xorl	%esi, %esi
	callq	_sws_printVec2
	movq	24(%rbx), %rdi
	movl	(%r14), %edx
	xorl	%esi, %esi
	callq	_sws_printVec2
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sws_getDefaultFilter           ; -- Begin function sws_getDefaultFilter
	.p2align	2
_sws_getDefaultFilter:                  ; @sws_getDefaultFilter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d13, d12, [sp, #16]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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 b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	.cfi_offset b12, -88
	.cfi_offset b13, -96
	mov	x19, x0
	fmov	s8, s5
	fmov	s9, s4
	fmov	s11, s3
	fmov	s10, s2
	fmov	s12, s1
	fmov	s13, s0
	mov	w0, #32
	bl	_av_malloc
	mov	x20, x0
	str	x0, [sp, #8]
	cbz	x0, LBB0_26
; %bb.1:
	fcmp	s13, #0.0
	b.eq	LBB0_3
; %bb.2:
	fmov	d1, #3.00000000
	fmov	s0, s13
	bl	_sws_getGaussianVec
	str	x0, [x20, #24]
	fmov	d1, #3.00000000
	fmov	s0, s13
	bl	_sws_getGaussianVec
	b	LBB0_4
LBB0_3:
	bl	_sws_getIdentityVec
	str	x0, [x20, #24]
	bl	_sws_getIdentityVec
LBB0_4:
	str	x0, [x20, #16]
	fcmp	s12, #0.0
	b.eq	LBB0_6
; %bb.5:
	fmov	d1, #3.00000000
	fmov	s0, s12
	bl	_sws_getGaussianVec
	str	x0, [x20, #8]
	fmov	d1, #3.00000000
	fmov	s0, s12
	bl	_sws_getGaussianVec
	b	LBB0_7
LBB0_6:
	bl	_sws_getIdentityVec
	str	x0, [x20, #8]
	bl	_sws_getIdentityVec
LBB0_7:
	str	x0, [x20]
	ldr	x20, [sp, #8]
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_25
; %bb.8:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_25
; %bb.9:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_25
; %bb.10:
	ldr	x8, [x20]
	cbz	x8, LBB0_25
; %bb.11:
	fcmp	s11, #0.0
	b.eq	LBB0_14
; %bb.12:
	bl	_sws_getIdentityVec
	cbz	x0, LBB0_25
; %bb.13:
	mov	x21, x0
	ldr	x0, [x20, #8]
	fneg	s11, s11
	fmov	s0, s11
	bl	_sws_scaleVec
	ldr	x0, [x20]
	fmov	s0, s11
	bl	_sws_scaleVec
	ldr	x0, [x20, #8]
	mov	x1, x21
	bl	_sws_addVec
	ldr	x0, [x20]
	mov	x1, x21
	bl	_sws_addVec
	mov	x0, x21
	bl	_sws_freeVec
LBB0_14:
	fcmp	s10, #0.0
	b.eq	LBB0_17
; %bb.15:
	bl	_sws_getIdentityVec
	cbz	x0, LBB0_25
; %bb.16:
	mov	x21, x0
	ldr	x0, [x20, #24]
	fneg	s10, s10
	fmov	s0, s10
	bl	_sws_scaleVec
	ldr	x0, [x20, #16]
	fmov	s0, s10
	bl	_sws_scaleVec
	ldr	x0, [x20, #24]
	mov	x1, x21
	bl	_sws_addVec
	ldr	x0, [x20, #16]
	mov	x1, x21
	bl	_sws_addVec
	mov	x0, x21
	bl	_sws_freeVec
LBB0_17:
	fcmp	s9, #0.0
	b.eq	LBB0_19
; %bb.18:
	fcvt	d0, s9
	ldr	x0, [x20, #8]
	fmov	d1, #0.50000000
	fadd	d0, d0, d1
	fcvtzs	w1, d0
	bl	_sws_shiftVec
LBB0_19:
	fcmp	s8, #0.0
	b.eq	LBB0_21
; %bb.20:
	fcvt	d0, s8
	ldr	x0, [x20]
	fmov	d1, #0.50000000
	fadd	d0, d0, d1
	fcvtzs	w1, d0
	bl	_sws_shiftVec
LBB0_21:
	ldr	x0, [x20, #8]
	fmov	d0, #1.00000000
	bl	_sws_normalizeVec
	ldr	x0, [x20]
	fmov	d0, #1.00000000
	bl	_sws_normalizeVec
	ldr	x0, [x20, #24]
	fmov	d0, #1.00000000
	bl	_sws_normalizeVec
	ldr	x0, [x20, #16]
	fmov	d0, #1.00000000
	bl	_sws_normalizeVec
	ldr	x0, [x20, #8]
	bl	_isnan_vec
	cbnz	x0, LBB0_25
; %bb.22:
	ldr	x0, [x20]
	bl	_isnan_vec
	cbnz	x0, LBB0_25
; %bb.23:
	ldr	x0, [x20, #24]
	bl	_isnan_vec
	cbnz	x0, LBB0_25
; %bb.24:
	ldr	x0, [x20, #16]
	bl	_isnan_vec
	cbz	x0, LBB0_27
LBB0_25:
	ldr	x0, [x20, #24]
	bl	_sws_freeVec
	ldr	x0, [x20, #16]
	bl	_sws_freeVec
	ldr	x0, [x20, #8]
	bl	_sws_freeVec
	ldr	x0, [x20]
	bl	_sws_freeVec
	add	x0, sp, #8
	bl	_av_freep
	mov	x20, #0
LBB0_26:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_27:
	cbz	w19, LBB0_26
; %bb.28:
	ldr	x0, [x20, #8]
Lloh0:
	adrp	x19, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x19, [x19, _AV_LOG_DEBUG@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	x1, #0
	bl	_sws_printVec2
	ldr	x0, [x20, #24]
	ldr	w2, [x19]
	mov	x1, #0
	bl	_sws_printVec2
	b	LBB0_26
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
.subsections_via_symbols
