	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spatial_compose97i_dy
_spatial_compose97i_dy:                 ## @spatial_compose97i_dy
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %r13d
	movq	32(%rdi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	24(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leal	3(%r13), %edi
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	leal	-1(%r8), %r12d
	movl	%r12d, %esi
	callq	_avpriv_mirror
	imull	%r14d, %eax
	cltq
	leaq	(%r15,%rax,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leal	4(%r13), %edi
	movl	%r12d, %esi
	callq	_avpriv_mirror
	imull	%r14d, %eax
	cltq
	leaq	(%r15,%rax,4), %r12
	movq	-104(%rbp), %r15                ## 8-byte Reload
	cmpl	%r15d, -56(%rbp)                ## 4-byte Folded Reload
	movl	-76(%rbp), %r14d                ## 4-byte Reload
	jae	LBB0_2
## %bb.1:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movl	%r14d, %ecx
	callq	_vertical_compose97iL1
LBB0_2:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	leal	2(%r13), %eax
	cmpl	%r15d, %eax
	movq	-112(%rbp), %r12                ## 8-byte Reload
	jae	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %ecx
	callq	_vertical_compose97iH1
LBB0_4:
	leal	1(%r13), %eax
	cmpl	%r15d, %eax
	jae	LBB0_6
## %bb.5:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %ecx
	callq	_vertical_compose97iL0
LBB0_6:
	cmpl	%r15d, %r13d
	jae	LBB0_8
## %bb.7:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movl	%r14d, %ecx
	callq	_vertical_compose97iH0
LBB0_8:
	leal	-1(%r13), %eax
	cmpl	%r15d, %eax
	jae	LBB0_10
## %bb.9:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_ff_snow_horizontal_compose97i
LBB0_10:
	cmpl	%r15d, %r13d
	jae	LBB0_12
## %bb.11:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_ff_snow_horizontal_compose97i
LBB0_12:
	movq	%r12, 32(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 24(%rbx)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	addl	$2, (%rbx)
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_spatial_compose97i_dy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spatial_compose97i_dy
_spatial_compose97i_dy:                 ; @spatial_compose97i_dy
	.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
	mov	x28, x5
	mov	x24, x4
	mov	x20, x3
	mov	x21, x1
	mov	x19, x0
	ldr	w26, [x0]
	ldr	x8, [x0, #32]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldp	x22, x8, [x0, #16]
	stp	x8, x2, [sp, #16]               ; 16-byte Folded Spill
	ldr	x23, [x0, #8]
	add	w27, w26, #3
	sub	w25, w4, #1
	mov	x0, x27
	mov	x1, x25
	bl	_avpriv_mirror
	mul	w8, w0, w28
	add	x8, x21, w8, sxtw #2
	add	w0, w26, #4
	mov	x1, x25
	mov	x25, x8
	bl	_avpriv_mirror
	mul	w8, w0, w28
	add	x28, x21, w8, sxtw #2
	cmp	w27, w24
	b.hs	LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x25
	mov	x2, x28
	mov	x3, x20
	bl	_vertical_compose97iL1
LBB0_2:
	add	w8, w26, #2
	cmp	w8, w24
	b.hs	LBB0_4
; %bb.3:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x25
	mov	x3, x20
	bl	_vertical_compose97iH1
LBB0_4:
	add	w8, w26, #1
	cmp	w8, w24
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
	b.hs	LBB0_6
; %bb.5:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, x20
	bl	_vertical_compose97iL0
LBB0_6:
	cmp	w26, w24
	b.hs	LBB0_8
; %bb.7:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	_vertical_compose97iH0
LBB0_8:
	sub	w8, w26, #1
	cmp	w8, w24
	b.hs	LBB0_10
; %bb.9:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	mov	x2, x20
	bl	_ff_snow_horizontal_compose97i
LBB0_10:
	cmp	w26, w24
	b.hs	LBB0_12
; %bb.11:
	mov	x0, x21
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	mov	x2, x20
	bl	_ff_snow_horizontal_compose97i
LBB0_12:
	stp	x23, x22, [x19, #24]
	stp	x28, x25, [x19, #8]
	ldr	w8, [x19]
	add	w8, w8, #2
	str	w8, [x19]
	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	_spatial_compose97i_dy
.subsections_via_symbols
