	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spatial_decompose97i
_spatial_decompose97i:                  ## @spatial_decompose97i
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	leal	-1(%r13), %r15d
	movl	$-5, %edi
	movl	%r15d, %esi
	callq	_avpriv_mirror
	movl	%eax, %r14d
	movl	$-4, %edi
	movl	%r15d, %esi
	callq	_avpriv_mirror
	movl	%eax, %r12d
	movl	$-3, %edi
	movl	%r15d, %esi
	callq	_avpriv_mirror
	movl	%eax, %ebx
	movl	$-2, %edi
	movl	%r15d, -100(%rbp)               ## 4-byte Spill
	movl	%r15d, %esi
	movl	$-4, %r15d
	callq	_avpriv_mirror
	cmpl	$-3, %r13d
	jl	LBB0_15
## %bb.1:
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	imull	%ecx, %eax
	cltq
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %esi
	leaq	(%rdx,%rax,4), %r14
	imull	%ecx, %ebx
	movslq	%ebx, %rax
	leaq	(%rdx,%rax,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	imull	%ecx, %r12d
	movslq	%r12d, %rax
	leaq	(%rdx,%rax,4), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	imull	%ecx, %esi
	movslq	%esi, %rax
	leaq	(%rdx,%rax,4), %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %r15d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	cmpl	%r13d, %r12d
	jge	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	leal	3(%r15), %r14d
	movl	%r14d, %edi
	movl	-100(%rbp), %r12d               ## 4-byte Reload
	movl	%r12d, %esi
	callq	_avpriv_mirror
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	imull	%ebx, %eax
	cltq
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	addl	$4, %r15d
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_avpriv_mirror
	movl	%eax, %r12d
	imull	%ebx, %r12d
	movl	%r14d, %ebx
	cmpl	%r13d, %r14d
	jae	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_horizontal_decompose97i
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r12d, %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	cmpl	%r13d, %r15d
	movq	%rax, %r15
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	%r14d, %edx
	callq	_horizontal_decompose97i
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r13d, %ebx
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_vertical_decompose97iH0
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	2(%rbx), %r12d
	cmpl	%r13d, %r12d
	jae	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %ecx
	callq	_vertical_decompose97iL0
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rbx), %eax
	cmpl	%r13d, %eax
	jae	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %ecx
	callq	_vertical_decompose97iH1
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %r14
	cmpl	%r13d, %ebx
	jae	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_vertical_decompose97iL1
	jmp	LBB0_14
LBB0_15:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_spatial_decompose97i
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spatial_decompose97i
_spatial_decompose97i:                  ; @spatial_decompose97i
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	w4, [sp, #36]                   ; 4-byte Folded Spill
	mov	x20, x3
	mov	x28, x2
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	sub	w21, w3, #1
	mov	w0, #-5
	mov	x1, x21
	bl	_avpriv_mirror
	mov	x19, x0
	mov	w0, #-4
	mov	x1, x21
	bl	_avpriv_mirror
	mov	x23, x0
	mov	w0, #-3
	mov	x1, x21
	bl	_avpriv_mirror
	mov	x24, x0
	mov	w0, #-2
	str	w21, [sp, #20]                  ; 4-byte Folded Spill
	mov	x1, x21
	bl	_avpriv_mirror
	cmn	w20, #3
	b.lt	LBB0_15
; %bb.1:
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	mul	w8, w0, w9
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	add	x22, x10, w8, sxtw #2
	mul	w8, w24, w9
	add	x25, x10, w8, sxtw #2
	mul	w8, w23, w9
	add	x26, x10, w8, sxtw #2
	mul	w8, w19, w9
	add	x8, x10, w8, sxtw #2
	mov	w21, #-4
	ldr	w27, [sp, #36]                  ; 4-byte Folded Reload
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x23
	mov	x8, x25
	mov	x25, x19
	cmp	w23, w20
	b.ge	LBB0_15
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	stp	x8, x22, [sp, #40]              ; 16-byte Folded Spill
	str	x26, [sp, #56]                  ; 8-byte Folded Spill
	add	w23, w21, #3
	mov	x0, x23
	ldr	w22, [sp, #20]                  ; 4-byte Folded Reload
	mov	x1, x22
	bl	_avpriv_mirror
	mul	w8, w0, w27
	ldr	x26, [sp, #24]                  ; 8-byte Folded Reload
	add	x19, x26, w8, sxtw #2
	add	w24, w21, #4
	mov	x0, x24
	mov	x1, x22
	bl	_avpriv_mirror
	mov	x22, x0
	cmp	w23, w20
	b.hs	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x28
	bl	_horizontal_decompose97i
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mul	w8, w22, w27
	add	x22, x26, w8, sxtw #2
	cmp	w24, w20
	b.hs	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x28
	bl	_horizontal_decompose97i
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, w20
	ldp	x26, x24, [sp, #48]             ; 16-byte Folded Reload
	b.hs	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x26
	mov	x1, x19
	mov	x2, x22
	mov	x3, x28
	bl	_vertical_decompose97iH0
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w21, #2
	cmp	w23, w20
	b.hs	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	mov	x1, x26
	mov	x2, x19
	mov	x3, x28
	bl	_vertical_decompose97iL0
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w21, #1
	cmp	w8, w20
	b.hs	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	mov	x3, x28
	bl	_vertical_decompose97iH1
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w21, w20
	b.hs	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x1, x24
	mov	x2, x25
	mov	x3, x28
	bl	_vertical_decompose97iL1
	b	LBB0_2
LBB0_15:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_spatial_decompose97i
.subsections_via_symbols
