	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blend_frame
_blend_frame:                           ## @blend_frame
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rsi, -104(%rbp)
	movq	24(%rdi), %rbx
	movq	8(%rdi), %rax
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rdi
	movl	(%rdi), %edx
	movl	4(%rdi), %esi
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	callq	_av_frame_copy_props
	cmpl	$0, (%rbx)
	jle	LBB0_7
## %bb.3:
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	4(%r14), %edi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	(%r14), %edi
	movl	%r13d, %esi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	addq	%r12, %rax
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, -160(%rbp)
	movl	%ebx, -156(%rbp)
	movl	%r15d, -152(%rbp)
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, -144(%rbp)
	movq	%rax, -136(%rbp)
	movq	%r14, -128(%rbp)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -120(%rbp)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -112(%rbp)
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_filter_slice@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r13, %rdi
	callq	_ff_filter_get_nb_threads
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_FFMIN
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	leaq	-160(%rbp), %rdx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-56(%rbp)                      ## 8-byte Folded Reload
	incq	%r15
	movslq	(%rbx), %rax
	addq	$4, %r12
	cmpq	%rax, %r15
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%r15), %eax
	movl	$0, %esi
	movl	$0, %r13d
	cmpl	$1, %eax
	ja	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%rbx), %esi
	movl	8(%rbx), %r13d
	jmp	LBB0_6
LBB0_7:
	cmpl	$0, 12(%rbx)
	jne	LBB0_9
## %bb.8:
	leaq	-104(%rbp), %rdi
	callq	_av_frame_free
LBB0_9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_1:
	movq	%r14, %rax
LBB0_10:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_filter_slice,4,2               ## @filter_slice
	.no_dead_strip	_blend_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blend_frame
_blend_frame:                           ; @blend_frame
	.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
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	x19, x1
	mov	x22, x0
	str	x1, [sp, #72]
	ldp	x8, x25, [x0, #16]
	ldr	x9, [x0, #8]
	ldr	x26, [x8]
	ldr	x0, [x9]
	ldp	w2, w1, [x0]
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_9
; %bb.1:
	mov	x21, x0
	mov	x1, x19
	bl	_av_frame_copy_props
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x27, #0
	mov	x28, #0
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	w1, w23, [x25, #4]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21, #4]
	bl	_AV_CEIL_RSHIFT
	mov	x24, x0
	ldr	w0, [x21]
	mov	x1, x23
	bl	_AV_CEIL_RSHIFT
	mov	x23, x0
	ldr	x8, [x25, #16]
	add	x8, x8, x27
	stp	w24, w0, [sp, #16]
	str	w28, [sp, #24]
	stp	x26, x8, [sp, #32]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	stp	x21, x8, [sp, #48]
	str	x19, [sp, #64]
	ldr	x8, [x22]
	ldr	x20, [x8]
Lloh0:
	adrp	x8, _filter_slice@GOTPAGE
Lloh1:
	ldr	x8, [x8, _filter_slice@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	mov	x0, x22
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x23
	bl	_FFMIN
	mov	x4, x0
	add	x2, sp, #16
	mov	x0, x22
	mov	x1, x24
	mov	x3, #0
	blr	x20
	add	x28, x28, #1
	ldrsw	x8, [x25]
	add	x27, x27, #4
	cmp	x28, x8
	b.ge	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w28, #1
	cmp	w8, #1
	b.ls	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w1, #0
	mov	w23, #0
	b	LBB0_4
LBB0_7:
	ldr	w8, [x25, #12]
	cbnz	w8, LBB0_10
; %bb.8:
	add	x0, sp, #72
	bl	_av_frame_free
	b	LBB0_10
LBB0_9:
	mov	x21, x19
LBB0_10:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_filter_slice,4,2               ; @filter_slice
	.no_dead_strip	_blend_frame
.subsections_via_symbols
