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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spatial_compose53i_dy
_spatial_compose53i_dy:                 ; @spatial_compose53i_dy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x26, x5
	mov	x22, x4
	mov	x20, x3
	mov	x27, x1
	mov	x19, x0
	ldr	w25, [x0]
	ldp	x23, x8, [x0, #8]
	stp	x8, x2, [sp]                    ; 16-byte Folded Spill
	add	w28, w25, #1
	sub	w21, w4, #1
	mov	x0, x28
	mov	x1, x21
	bl	_avpriv_mirror
	mul	w8, w0, w26
	add	x24, x27, w8, sxtw #2
	add	w0, w25, #2
	mov	x1, x21
	bl	_avpriv_mirror
	mul	w8, w0, w26
	add	x26, x27, w8, sxtw #2
	cmp	w28, w22
	b.hs	LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x24
	mov	x2, x26
	mov	x3, x20
	bl	_vertical_compose53iL0
LBB0_2:
	cmp	w25, w22
	b.hs	LBB0_4
; %bb.3:
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x1, x23
	mov	x2, x24
	mov	x3, x20
	bl	_vertical_compose53iH0
LBB0_4:
	sub	w8, w25, #1
	cmp	w8, w22
	b.hs	LBB0_6
; %bb.5:
	ldp	x0, x1, [sp]                    ; 16-byte Folded Reload
	mov	x2, x20
	bl	_horizontal_compose53i
LBB0_6:
	cmp	w25, w22
	b.hs	LBB0_8
; %bb.7:
	mov	x0, x23
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x20
	bl	_horizontal_compose53i
LBB0_8:
	stp	x26, x24, [x19, #8]
	ldr	w8, [x19]
	add	w8, w8, #2
	str	w8, [x19]
	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	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_spatial_compose53i_dy
.subsections_via_symbols
