	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_3x3
_setup_3x3:                             ## @setup_3x3
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movl	%r8d, %ebx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	24(%rbp), %eax
	movl	16(%rbp), %ecx
	decl	%ebx
	decl	%ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	leal	(%r9,%r9), %r14d
	leal	(%rax,%rax), %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %eax
	movl	$2863311531, %ecx               ## imm = 0xAAAAAAAB
	imulq	%rcx, %rax
	shrq	$33, %rax
	leal	(%rax,%rax,2), %eax
	movl	%ebx, %edi
	subl	%eax, %edi
	callq	_FFABS
	movl	%eax, %r15d
	movzbl	%r12b, %eax
	imull	$171, %eax, %edi
	shrl	$9, %edi
	addl	-44(%rbp), %edi                 ## 4-byte Folded Reload
	callq	_FFABS
	movl	%r15d, %ecx
	notl	%ecx
	addl	%r14d, %ecx
	cmpl	-72(%rbp), %r15d                ## 4-byte Folded Reload
	cmovll	%r15d, %ecx
	movl	%eax, %edx
	notl	%edx
	addl	%r13d, %edx
	movl	24(%rbp), %esi
	cmpl	%esi, %eax
	cmovll	%eax, %edx
	imull	32(%rbp), %ecx
	movslq	%ecx, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	imull	-48(%rbp), %edx                 ## 4-byte Folded Reload
	movslq	%edx, %rcx
	leaq	(%rax,%rcx,4), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r12,8)
	incq	%r12
	incl	%ebx
	cmpq	$9, %r12
	jne	LBB0_1
## %bb.2:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_setup_3x3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_3x3
_setup_3x3:                             ; @setup_3x3
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	w3, [sp, #28]                   ; 4-byte Folded Spill
	stp	x1, x2, [sp, #8]                ; 16-byte Folded Spill
	mov	x25, #0
	ldr	w26, [x29, #16]
	sub	w27, w4, #1
	sub	w28, w6, #1
	mov	x23, x5
	lsl	w19, w5, #1
	mov	x22, x7
	lsl	w21, w7, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	and	w8, w25, #0xff
	mov	w9, #171
	mul	w8, w8, w9
	lsr	w20, w8, #9
	add	w8, w20, w20, lsl #1
	sub	w8, w25, w8
	add	w0, w27, w8, uxtb
	bl	_FFABS
	mov	x24, x0
	add	w0, w28, w20
	bl	_FFABS
	mvn	w8, w24
	add	w8, w19, w8
	cmp	w24, w23
	csel	w8, w24, w8, lt
	mvn	w9, w0
	add	w9, w21, w9
	cmp	w0, w22
	csel	w9, w0, w9, lt
	mul	w8, w8, w26
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	add	x8, x10, w8, sxtw #2
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	mul	w9, w9, w10
	add	x8, x8, w9, sxtw #2
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	str	x8, [x9, x25, lsl #3]
	add	x25, x25, #1
	cmp	x25, #9
	b.ne	LBB0_1
; %bb.2:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_setup_3x3
.subsections_via_symbols
