	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_gradfun_blur_line_c         ## -- Begin function ff_gradfun_blur_line_c
	.p2align	4, 0x90
_ff_gradfun_blur_line_c:                ## @ff_gradfun_blur_line_c
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%r9d, %r9d
	jle	LBB0_15
## %bb.1:
	movl	%r9d, %eax
	movslq	%r8d, %r14
	movl	%r9d, %r9d
	cmpl	$4, %eax
	jae	LBB0_3
## %bb.2:
	xorl	%r12d, %r12d
	jmp	LBB0_13
LBB0_3:
	leaq	(%rsi,%r9,4), %rax
	leaq	(%rdi,%r9,4), %rbx
	leaq	(%rdx,%r9,4), %r8
	leaq	(%rcx,%r14,4), %r10
	cmpq	%rsi, %rbx
	seta	-48(%rbp)                       ## 1-byte Folded Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r9,2), %r11
	cmpq	%rdi, %rax
	seta	-47(%rbp)                       ## 1-byte Folded Spill
	leaq	(%rcx,%r11,4), %r13
	cmpq	%rsi, %r8
	seta	%r11b
	leaq	(%rcx,%r9,8), %r12
	cmpq	%rdx, %rax
	seta	-46(%rbp)                       ## 1-byte Folded Spill
	cmpq	%rsi, %r13
	seta	%r14b
	cmpq	%rax, %r10
	setb	-45(%rbp)                       ## 1-byte Folded Spill
	cmpq	%rsi, %r12
	seta	%r15b
	cmpq	%rcx, %rax
	seta	-44(%rbp)                       ## 1-byte Folded Spill
	cmpq	%rdi, %r8
	seta	%r8b
	cmpq	%rdx, %rbx
	seta	-43(%rbp)                       ## 1-byte Folded Spill
	cmpq	%rdi, %r13
	seta	%r13b
	cmpq	%rbx, %r10
	setb	-42(%rbp)                       ## 1-byte Folded Spill
	cmpq	%rdi, %r12
	seta	%al
	cmpq	%rcx, %rbx
	seta	-41(%rbp)                       ## 1-byte Folded Spill
	xorl	%r12d, %r12d
	movb	-47(%rbp), %bl                  ## 1-byte Reload
	testb	%bl, -48(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_17
## %bb.4:
	andb	-46(%rbp), %r11b                ## 1-byte Folded Reload
	jne	LBB0_17
## %bb.5:
	andb	-45(%rbp), %r14b                ## 1-byte Folded Reload
	jne	LBB0_17
## %bb.6:
	andb	-44(%rbp), %r15b                ## 1-byte Folded Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_13
## %bb.7:
	andb	-43(%rbp), %r8b                 ## 1-byte Folded Reload
	jne	LBB0_13
## %bb.8:
	andb	-42(%rbp), %r13b                ## 1-byte Folded Reload
	jne	LBB0_13
## %bb.9:
	andb	-41(%rbp), %al                  ## 1-byte Folded Reload
	jne	LBB0_13
## %bb.10:
	movl	%r9d, %r12d
	andl	$-4, %r12d
	leaq	(,%r9,4), %r11
	andq	$-16, %r11
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdx,%rbx), %xmm0
	movups	(%rcx,%rbx,2), %xmm1
	movups	16(%rcx,%rbx,2), %xmm2
	movaps	%xmm1, %xmm3
	shufps	$136, %xmm2, %xmm3              ## xmm3 = xmm3[0,2],xmm2[0,2]
	paddd	%xmm0, %xmm3
	shufps	$221, %xmm2, %xmm1              ## xmm1 = xmm1[1,3],xmm2[1,3]
	movups	(%r10,%rbx,2), %xmm0
	movups	16(%r10,%rbx,2), %xmm2
	movaps	%xmm0, %xmm4
	shufps	$136, %xmm2, %xmm4              ## xmm4 = xmm4[0,2],xmm2[0,2]
	paddd	%xmm1, %xmm4
	paddd	%xmm3, %xmm4
	shufps	$221, %xmm2, %xmm0              ## xmm0 = xmm0[1,3],xmm2[1,3]
	paddd	%xmm4, %xmm0
	movdqu	(%rsi,%rbx), %xmm1
	movdqu	%xmm0, (%rsi,%rbx)
	psubd	%xmm1, %xmm0
	movdqu	%xmm0, (%rdi,%rbx)
	addq	$16, %rbx
	cmpq	%rbx, %r11
	jne	LBB0_11
## %bb.12:
	cmpq	%r9, %r12
	je	LBB0_15
LBB0_13:
	leaq	(%rdi,%r12,4), %r8
	leaq	(%rsi,%r12,4), %rsi
	leaq	(%rdx,%r12,4), %r10
	leaq	(%rcx,%r12,8), %rbx
	addq	$4, %rbx
	leaq	(%r14,%r12,2), %rax
	leaq	(%rcx,%rax,4), %rcx
	addq	$4, %rcx
	subq	%r12, %r9
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbx,%rax,8), %edi
	addl	(%r10,%rax,4), %edi
	addl	(%rbx,%rax,8), %edi
	addl	-4(%rcx,%rax,8), %edi
	addl	(%rcx,%rax,8), %edi
	movl	%edi, %edx
	subl	(%rsi,%rax,4), %edx
	movl	%edi, (%rsi,%rax,4)
	movl	%edx, (%r8,%rax,4)
	incq	%rax
	cmpq	%rax, %r9
	jne	LBB0_14
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_gradfun_blur_line_c         ; -- Begin function ff_gradfun_blur_line_c
	.p2align	2
_ff_gradfun_blur_line_c:                ; @ff_gradfun_blur_line_c
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w4 killed $w4 def $x4
	cmp	w5, #1
	b.lt	LBB0_15
; %bb.1:
	sxtw	x11, w4
	mov	w9, w5
	lsl	x8, x11, #2
	cmp	w5, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	b	LBB0_13
LBB0_3:
	mov	x10, #0
	lsl	x12, x9, #2
	add	x17, x0, x12
	add	x15, x3, x11, lsl #2
	add	x11, x11, x9, lsl #1
	add	x16, x3, x11, lsl #2
	add	x4, x3, x9, lsl #3
	add	x14, x2, x12
	cmp	x14, x1
	add	x5, x1, x12
	ccmp	x5, x2, #0, hi
	cset	w11, hi
	cmp	x16, x1
	ccmp	x15, x5, #2, hi
	cset	w12, lo
	cmp	x4, x1
	ccmp	x5, x3, #0, hi
	cset	w13, hi
	cmp	x14, x0
	ccmp	x17, x2, #0, hi
	cset	w14, hi
	cmp	x16, x0
	ccmp	x15, x17, #2, hi
	cset	w15, lo
	cmp	x4, x0
	ccmp	x17, x3, #0, hi
	cset	w16, hi
	cmp	x5, x0
	ccmp	x17, x1, #0, hi
	b.hi	LBB0_13
; %bb.4:
	tbnz	w11, #0, LBB0_13
; %bb.5:
	tbnz	w12, #0, LBB0_13
; %bb.6:
	tbnz	w13, #0, LBB0_13
; %bb.7:
	tbnz	w14, #0, LBB0_13
; %bb.8:
	tbnz	w15, #0, LBB0_13
; %bb.9:
	tbnz	w16, #0, LBB0_13
; %bb.10:
	and	x10, x9, #0xfffffff8
	add	x11, x0, #16
	add	x12, x1, #16
	add	x13, x2, #16
	add	x14, x3, #32
	mov	x15, x10
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x13, #-16]
	sub	x16, x14, #32
	ld2.4s	{ v2, v3 }, [x16]
	mov	x16, x14
	ld2.4s	{ v4, v5 }, [x16], x8
	add.4s	v0, v2, v0
	sub	x17, x16, #32
	ld2.4s	{ v6, v7 }, [x17]
	add.4s	v1, v4, v1
	add.4s	v0, v0, v3
	ld2.4s	{ v2, v3 }, [x16]
	add.4s	v1, v1, v5
	add.4s	v0, v0, v6
	add.4s	v1, v1, v2
	add.4s	v0, v0, v7
	add.4s	v1, v1, v3
	ldp	q2, q3, [x12, #-16]
	sub.4s	v2, v0, v2
	sub.4s	v3, v1, v3
	stp	q2, q3, [x11, #-16]
	add	x11, x11, #32
	stp	q0, q1, [x12, #-16]
	add	x12, x12, #32
	add	x13, x13, #32
	add	x14, x14, #64
	subs	x15, x15, #8
	b.ne	LBB0_11
; %bb.12:
	cmp	x10, x9
	b.eq	LBB0_15
LBB0_13:
	lsl	x13, x10, #2
	add	x11, x0, x13
	add	x12, x1, x13
	add	x13, x2, x13
	sub	x9, x9, x10
	add	x10, x3, x10, lsl #3
	add	x10, x10, #4
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x13], #4
	ldp	w15, w16, [x10, #-4]
	add	w14, w15, w14
	add	w14, w14, w16
	add	x15, x10, x8
	ldp	w16, w15, [x15, #-4]
	add	w14, w14, w16
	add	w14, w14, w15
	ldr	w15, [x12]
	str	w14, [x12], #4
	sub	w14, w14, w15
	str	w14, [x11], #4
	add	x10, x10, #8
	subs	x9, x9, #1
	b.ne	LBB0_14
LBB0_15:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
