	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_out_pool
_init_out_pool:                         ## @init_out_pool
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	8(%rbx), %rcx
	movq	(%rcx), %r12
	movq	16(%rbx), %rcx
	movq	(%rax), %rax
	movq	(%rcx), %r13
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r13
	jne	LBB0_5
## %bb.4:
	movl	(%rax), %r13d
LBB0_5:
	movq	32(%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	40(%rax), %edi
	callq	_av_hwframe_ctx_alloc
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	%r15d, %edi
	movl	%r14d, %r15d
	movq	(%rax), %r14
	movq	32(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_AV_PIX_FMT_QSV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	$16, %esi
	callq	_FFALIGN
	movq	%rax, 16(%r14)
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movl	%r15d, %edi
	movl	$16, %esi
	callq	_FFALIGN
	movq	%rax, 8(%r14)
	movl	%r13d, (%r14)
	movl	$4, 4(%r14)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %eax
	movl	%eax, 16(%r14)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$32, %edx
	callq	_ff_filter_init_hw_frames
	testl	%eax, %eax
	js	LBB0_21
## %bb.8:
	movq	(%r12), %rdi
	callq	_av_hwframe_ctx_init
	testl	%eax, %eax
	js	LBB0_21
## %bb.9:
	movl	(%r14), %r8d
	testl	%r8d, %r8d
	jle	LBB0_20
## %bb.10:
	movq	8(%r14), %rdx
	cmpl	$4, %r8d
	jae	LBB0_12
## %bb.11:
	xorl	%esi, %esi
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	jmp	LBB0_19
LBB0_1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_12:
	movl	%r8d, %esi
	andl	$-4, %esi
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	movd	%r9d, %xmm0
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movd	%ecx, %xmm1
	pshufd	$80, %xmm1, %xmm1               ## xmm1 = xmm1[0,0,1,1]
	punpckldq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
	leaq	-4(%rsi), %rdi
	movq	%rdi, %rax
	shrq	$2, %rax
	incq	%rax
	movl	%eax, %ebx
	andl	$3, %ebx
	cmpq	$12, %rdi
	jae	LBB0_14
## %bb.13:
	xorl	%edi, %edi
	jmp	LBB0_16
LBB0_14:
	andq	$-4, %rax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rdx,%rdi,8)
	movdqu	%xmm0, 16(%rdx,%rdi,8)
	movdqu	%xmm0, 32(%rdx,%rdi,8)
	movdqu	%xmm0, 48(%rdx,%rdi,8)
	movdqu	%xmm0, 64(%rdx,%rdi,8)
	movdqu	%xmm0, 80(%rdx,%rdi,8)
	movdqu	%xmm0, 96(%rdx,%rdi,8)
	movdqu	%xmm0, 112(%rdx,%rdi,8)
	addq	$16, %rdi
	addq	$-4, %rax
	jne	LBB0_15
LBB0_16:
	testq	%rbx, %rbx
	je	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	leaq	(,%rdi,8), %rax
	orq	$16, %rax
	movdqu	%xmm0, (%rdx,%rdi,8)
	movdqu	%xmm0, (%rdx,%rax)
	addq	$4, %rdi
	decq	%rbx
	jne	LBB0_17
LBB0_18:
	xorl	%eax, %eax
	cmpq	%r8, %rsi
	je	LBB0_21
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	%r9d, (%rdx,%rsi,8)
	movl	%ecx, 4(%rdx,%rsi,8)
	incq	%rsi
	cmpq	%rsi, %r8
	jne	LBB0_19
LBB0_20:
	xorl	%eax, %eax
LBB0_21:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No hw context provided on input\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AV_PIX_FMT_NONE,8,3            ## @AV_PIX_FMT_NONE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_PIX_FMT_QSV,4,2             ## @AV_PIX_FMT_QSV
	.no_dead_strip	_init_out_pool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_out_pool
_init_out_pool:                         ; @init_out_pool
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	ldp	x9, x10, [x21, #8]
	ldr	x22, [x9]
	ldr	x8, [x8]
	ldr	x24, [x10]
Lloh0:
	adrp	x9, _AV_PIX_FMT_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_PIX_FMT_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x24, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w24, [x8]
LBB0_3:
	ldr	x25, [x8, #32]
	ldr	w0, [x8, #40]
	bl	_av_hwframe_ctx_alloc
	str	x0, [x22]
	cbz	x0, LBB0_10
; %bb.4:
	ldr	x26, [x0]
	ldr	x23, [x26, #32]
Lloh3:
	adrp	x8, _AV_PIX_FMT_QSV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_PIX_FMT_QSV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x26, #24]
	mov	x0, x20
	mov	w1, #16
	bl	_FFALIGN
	str	x0, [x26, #16]
	mov	x0, x19
	mov	w1, #16
	bl	_FFALIGN
	str	x0, [x26, #8]
	mov	w8, #4
	stp	w24, w8, [x26]
	ldr	w8, [x25, #16]
	str	w8, [x23, #16]
	mov	x0, x21
	mov	x1, x22
	mov	w2, #32
	bl	_ff_filter_init_hw_frames
	tbnz	w0, #31, LBB0_18
; %bb.5:
	ldr	x0, [x22]
	bl	_av_hwframe_ctx_init
	tbnz	w0, #31, LBB0_18
; %bb.6:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.7:
	ldr	x9, [x23, #8]
	cmp	w8, #16
	b.hs	LBB0_12
; %bb.8:
	mov	x10, #0
	b	LBB0_15
LBB0_9:
Lloh6:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_av_log
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_12:
	and	x10, x8, #0xfffffff0
	dup.4s	v0, w20
	dup.4s	v1, w19
	add	x12, x9, #64
	mov	x11, x10
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	sub	x13, x12, #64
	st2.4s	{ v0, v1 }, [x13]
	sub	x13, x12, #32
	st2.4s	{ v0, v1 }, [x13]
	add	x13, x12, #128
	st2.4s	{ v0, v1 }, [x12], #32
	st2.4s	{ v0, v1 }, [x12]
	mov	x12, x13
	subs	x11, x11, #16
	b.ne	LBB0_13
; %bb.14:
	cmp	x10, x8
	b.eq	LBB0_17
LBB0_15:
	add	x9, x9, x10, lsl #3
	add	x9, x9, #4
	sub	x8, x8, x10
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	stp	w20, w19, [x9, #-4]
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_16
LBB0_17:
	mov	w0, #0
LBB0_18:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No hw context provided on input\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AV_PIX_FMT_NONE,8,3            ; @AV_PIX_FMT_NONE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_PIX_FMT_QSV,4,2             ; @AV_PIX_FMT_QSV
	.no_dead_strip	_init_out_pool
.subsections_via_symbols
