	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_frameinfo_by_link
_fill_frameinfo_by_link:                ## @fill_frameinfo_by_link
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rsi), %r12
	movq	_AV_PIX_FMT_QSV@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_3
## %bb.1:
	movq	32(%r14), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movups	64(%rax), %xmm0
	movups	%xmm0, 64(%rbx)
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movups	48(%rax), %xmm3
	movups	%xmm3, 48(%rbx)
	movups	%xmm2, 32(%rbx)
	movups	%xmm1, 16(%rbx)
	movups	%xmm0, (%rbx)
	jmp	LBB0_11
LBB0_3:
	movl	%r12d, %edi
	callq	_av_pix_fmt_desc_get
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%rbx)
	movl	28(%r14), %edi
	movl	$32, %esi
	callq	_FFALIGN
	movq	%rax, 56(%rbx)
	movl	24(%r14), %edi
	movl	$32, %esi
	callq	_FFALIGN
	movq	%rax, 48(%rbx)
	movq	_MFX_PICSTRUCT_PROGRESSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movl	%r12d, %edi
	callq	_pix_fmt_to_mfx_fourcc
	movl	%eax, 40(%rbx)
	movq	16(%r15), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	%eax, 4(%rbx)
	xorl	%ecx, %ecx
	cmpl	$9, %eax
	setge	%cl
	movl	%ecx, 8(%rbx)
	cmpq	$0, (%r15)
	je	LBB0_9
## %bb.6:
	cmpq	$0, 8(%r15)
	je	LBB0_8
## %bb.7:
	movq	_MFX_CHROMAFORMAT_YUV420@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_4:
	movq	_AVERROR_BUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_12
LBB0_9:
	movq	_MFX_CHROMAFORMAT_YUV444@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_MFX_CHROMAFORMAT_YUV422@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
LBB0_11:
	movups	16(%r14), %xmm0
	movups	%xmm0, 20(%rbx)
	movl	8(%r14), %eax
	testl	%eax, %eax
	movl	$1, %ecx
	cmovel	%ecx, %eax
	movl	%eax, 12(%rbx)
	movl	12(%r14), %eax
	testl	%eax, %eax
	cmovel	%ecx, %eax
	movl	%eax, 16(%rbx)
	xorl	%eax, %eax
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_QSV,8,3             ## @AV_PIX_FMT_QSV
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AVERROR_BUG,4,2                ## @AVERROR_BUG
	.comm	_MFX_PICSTRUCT_PROGRESSIVE,4,2  ## @MFX_PICSTRUCT_PROGRESSIVE
	.comm	_MFX_CHROMAFORMAT_YUV420,4,2    ## @MFX_CHROMAFORMAT_YUV420
	.comm	_MFX_CHROMAFORMAT_YUV422,4,2    ## @MFX_CHROMAFORMAT_YUV422
	.comm	_MFX_CHROMAFORMAT_YUV444,4,2    ## @MFX_CHROMAFORMAT_YUV444
	.no_dead_strip	_fill_frameinfo_by_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_frameinfo_by_link
_fill_frameinfo_by_link:                ; @fill_frameinfo_by_link
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x22, [x1]
Lloh0:
	adrp	x8, _AV_PIX_FMT_QSV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_PIX_FMT_QSV@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldp	q0, q1, [x8, #48]
	ldp	q3, q2, [x8, #16]
	stp	q0, q1, [x19, #48]
	stp	q3, q2, [x19, #16]
	ldr	q0, [x8]
	str	q0, [x19]
	b	LBB0_12
LBB0_3:
	mov	x0, x22
	bl	_av_pix_fmt_desc_get
	cbz	x0, LBB0_8
; %bb.4:
	mov	x21, x0
	stp	xzr, xzr, [x19, #64]
	ldr	w0, [x20, #28]
	mov	w1, #32
	bl	_FFALIGN
	str	x0, [x19, #56]
	ldr	w0, [x20, #24]
	mov	w1, #32
	bl	_FFALIGN
	str	x0, [x19, #48]
Lloh3:
	adrp	x8, _MFX_PICSTRUCT_PROGRESSIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MFX_PICSTRUCT_PROGRESSIVE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #44]
	mov	x0, x22
	bl	_pix_fmt_to_mfx_fourcc
	str	w0, [x19, #40]
	ldr	x8, [x21, #16]
	ldr	w8, [x8]
	stp	w8, w8, [x19]
	cmp	w8, #8
	cset	w8, gt
	str	w8, [x19, #8]
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.5:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_10
; %bb.6:
Lloh6:
	adrp	x8, _MFX_CHROMAFORMAT_YUV420@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MFX_CHROMAFORMAT_YUV420@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_8:
Lloh11:
	adrp	x8, _AVERROR_BUG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AVERROR_BUG@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	b	LBB0_13
LBB0_9:
Lloh14:
	adrp	x8, _MFX_CHROMAFORMAT_YUV444@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MFX_CHROMAFORMAT_YUV444@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh16:
	adrp	x8, _MFX_CHROMAFORMAT_YUV422@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MFX_CHROMAFORMAT_YUV422@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	str	w8, [x19, #36]
LBB0_12:
	mov	w0, #0
	ldr	q0, [x20, #16]
	stur	q0, [x19, #20]
	ldr	d0, [x20, #8]
	cmeq.2s	v1, v0, #0
	movi.2s	v2, #1
	bit.8b	v0, v2, v1
	stur	d0, [x19, #12]
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_QSV,8,3             ; @AV_PIX_FMT_QSV
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AVERROR_BUG,4,2                ; @AVERROR_BUG
	.comm	_MFX_PICSTRUCT_PROGRESSIVE,4,2  ; @MFX_PICSTRUCT_PROGRESSIVE
	.comm	_MFX_CHROMAFORMAT_YUV420,4,2    ; @MFX_CHROMAFORMAT_YUV420
	.comm	_MFX_CHROMAFORMAT_YUV422,4,2    ; @MFX_CHROMAFORMAT_YUV422
	.comm	_MFX_CHROMAFORMAT_YUV444,4,2    ; @MFX_CHROMAFORMAT_YUV444
	.no_dead_strip	_fill_frameinfo_by_link
.subsections_via_symbols
