	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spatial_compose97i_dy_buffered
_spatial_compose97i_dy_buffered:        ## @spatial_compose97i_dy_buffered
	.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	$104, %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
	movq	%r9, -128(%rbp)                 ## 8-byte Spill
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movl	16(%rbp), %r14d
	movl	(%rsi), %r13d
	movq	32(%rsi), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	24(%rsi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leal	3(%r13), %edi
	leal	-1(%r9), %r12d
	movl	%edi, -100(%rbp)                ## 4-byte Spill
	movl	%r12d, %esi
	callq	_avpriv_mirror
	imull	%r14d, %eax
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_slice_buffer_get_line
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leal	4(%r13), %r15d
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_avpriv_mirror
	imull	%eax, %r14d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_slice_buffer_get_line
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, %r12
	testl	%r13d, %r13d
	movq	%rcx, %r14
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	jle	LBB0_3
## %bb.1:
	cmpl	%ecx, %r15d
	jge	LBB0_3
## %bb.2:
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, (%rsp)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	%r12, %r9
	movq	-120(%rbp), %r12                ## 8-byte Reload
	callq	*8(%r12)
	jmp	LBB0_11
LBB0_3:
	cmpl	%ecx, -100(%rbp)                ## 4-byte Folded Reload
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	jae	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_vertical_compose97iL1
	movq	%r14, %rcx
LBB0_5:
	leal	2(%r13), %eax
	cmpl	%ecx, %eax
	movq	-120(%rbp), %r12                ## 8-byte Reload
	jae	LBB0_7
## %bb.6:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %ecx
	callq	_vertical_compose97iH1
	movq	%r14, %rcx
LBB0_7:
	leal	1(%r13), %eax
	cmpl	%ecx, %eax
	jae	LBB0_9
## %bb.8:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %ecx
	callq	_vertical_compose97iL0
	movq	%r14, %rcx
LBB0_9:
	cmpl	%ecx, %r13d
	jae	LBB0_12
## %bb.10:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %ecx
	callq	_vertical_compose97iH0
LBB0_11:
	movq	%r14, %rcx
LBB0_12:
	leal	-1(%r13), %eax
	cmpl	%ecx, %eax
	jae	LBB0_14
## %bb.13:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	%r15d, %edx
	callq	*(%r12)
	movq	%r14, %rcx
LBB0_14:
	cmpl	%ecx, %r13d
	jae	LBB0_16
## %bb.15:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	%r15d, %edx
	callq	*(%r12)
LBB0_16:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 32(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 24(%rbx)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%rbx)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	addl	$2, (%rbx)
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_spatial_compose97i_dy_buffered
.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_buffered
_spatial_compose97i_dy_buffered:        ; @spatial_compose97i_dy_buffered
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x21, x6
	mov	x24, x5
	str	w4, [sp, #44]                   ; 4-byte Folded Spill
	str	x3, [sp, #48]                   ; 8-byte Folded Spill
	mov	x25, x2
	mov	x19, x1
	str	x0, [sp, #72]                   ; 8-byte Folded Spill
	ldr	w23, [x1]
	ldp	x28, x9, [x1, #24]
	ldr	x8, [x1, #16]
	stp	x8, x9, [sp, #24]               ; 16-byte Folded Spill
	ldr	x8, [x1, #8]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	add	w27, w23, #3
	sub	w26, w5, #1
	mov	x0, x27
	mov	x1, x26
	bl	_avpriv_mirror
	mul	w1, w0, w21
	mov	x0, x25
	bl	_slice_buffer_get_line
	mov	x20, x0
	add	w22, w23, #4
	mov	x0, x22
	mov	x1, x26
	bl	_avpriv_mirror
	mul	w1, w0, w21
	mov	x0, x25
	bl	_slice_buffer_get_line
	subs	w8, w23, #1
	ccmp	w22, w24, #0, ge
	str	x0, [sp, #64]                   ; 8-byte Folded Spill
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
	b.lt	LBB0_9
; %bb.1:
	ldp	x22, x21, [sp, #24]             ; 16-byte Folded Reload
	str	x28, [sp, #8]                   ; 8-byte Folded Spill
	cmp	w27, w24
	ldr	x26, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w27, [sp, #44]                  ; 4-byte Folded Reload
	b.hs	LBB0_3
; %bb.2:
	mov	x0, x26
	mov	x1, x20
	ldr	x2, [sp, #64]                   ; 8-byte Folded Reload
	mov	x3, x27
	bl	_vertical_compose97iL1
LBB0_3:
	add	w8, w23, #2
	cmp	w8, w24
	mov	x28, x21
	b.hs	LBB0_5
; %bb.4:
	mov	x0, x22
	mov	x1, x26
	mov	x2, x20
	mov	x3, x27
	bl	_vertical_compose97iH1
LBB0_5:
	add	w8, w23, #1
	cmp	w8, w24
	ldr	x25, [sp, #8]                   ; 8-byte Folded Reload
	b.hs	LBB0_7
; %bb.6:
	mov	x0, x25
	mov	x1, x22
	mov	x2, x26
	mov	x3, x27
	bl	_vertical_compose97iL0
LBB0_7:
	cmp	w23, w24
	b.hs	LBB0_10
; %bb.8:
	mov	x0, x28
	mov	x1, x25
	mov	x2, x22
	mov	x3, x27
	bl	_vertical_compose97iH0
	b	LBB0_10
LBB0_9:
	mov	x5, x0
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	mov	x25, x28
	ldp	x22, x28, [sp, #24]             ; 16-byte Folded Reload
	mov	x0, x28
	mov	x1, x25
	mov	x2, x22
	ldr	x26, [sp, #16]                  ; 8-byte Folded Reload
	mov	x3, x26
	mov	x4, x20
	ldr	w27, [sp, #44]                  ; 4-byte Folded Reload
	mov	x6, x27
	blr	x8
LBB0_10:
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	cmp	w8, w24
	b.hs	LBB0_12
; %bb.11:
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	mov	x0, x28
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	mov	x2, x27
	blr	x8
LBB0_12:
	cmp	w23, w24
	b.hs	LBB0_14
; %bb.13:
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	mov	x0, x25
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	mov	x2, x27
	blr	x8
LBB0_14:
	stp	x26, x22, [x19, #24]
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	stp	x8, x20, [x19, #8]
	ldr	w8, [x19]
	add	w8, w8, #2
	str	w8, [x19]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_spatial_compose97i_dy_buffered
.subsections_via_symbols
