	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qsv_load_plugins
_qsv_load_plugins:                      ## @qsv_load_plugins
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, -200(%rbp)
	testq	%rsi, %rsi
	je	LBB0_24
## %bb.1:
	cmpb	$0, (%rsi)
	je	LBB0_24
## %bb.2:
	movq	%rdx, %r14
	movl	%edi, -204(%rbp)                ## 4-byte Spill
	leaq	L_.str(%rip), %r15
	leaq	-200(%rbp), %r12
	leaq	L_.str.2(%rip), %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_av_get_token
	movq	%rax, -184(%rbp)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rdi
	callq	_strlen
	cmpl	$16, %eax
	jne	LBB0_17
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-184(%rbp), %rdi
	movq	-192(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_19
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-184(%rbp), %rdi
	addq	$2, %rdi
	movq	-192(%rbp), %rdx
	incq	%rdx
	movq	%rbx, %rsi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_19
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-184(%rbp), %rdi
	addq	$4, %rdi
	movq	-192(%rbp), %rdx
	addq	$2, %rdx
	movq	%rbx, %rsi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_19
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-184(%rbp), %rdi
	addq	$6, %rdi
	movq	-192(%rbp), %rdx
	addq	$3, %rdx
	movq	%rbx, %rsi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-184(%rbp), %rdi
	addq	$8, %rdi
	movq	-192(%rbp), %rdx
	addq	$4, %rdx
	movq	%rbx, %rsi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-184(%rbp), %rdi
	addq	$10, %rdi
	movq	-192(%rbp), %rdx
	addq	$5, %rdx
	movq	%rbx, %rsi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_19
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-184(%rbp), %rdi
	addq	$12, %rdi
	movq	-192(%rbp), %rdx
	addq	$6, %rdx
	movq	%rbx, %rsi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-184(%rbp), %rdi
	addq	$14, %rdi
	movq	-192(%rbp), %rdx
	addq	$7, %rdx
	movq	%rbx, %rsi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-204(%rbp), %edi                ## 4-byte Reload
	leaq	-192(%rbp), %rsi
	movl	$1, %edx
	callq	_MFXVideoUSER_Load
	testq	%rax, %rax
	js	LBB0_15
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-200(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	movq	%rax, -200(%rbp)
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	-184(%rbp), %rdi
	callq	_av_freep
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	leaq	L_.str.3(%rip), %rdx
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r13d
	leaq	-184(%rbp), %rdi
	callq	_av_freep
	testl	%r13d, %r13d
	js	LBB0_25
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-200(%rbp), %rax
	cmpb	$0, (%rax)
	leaq	L_.str.2(%rip), %rbx
	jne	LBB0_3
	jmp	LBB0_24
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r13
	movq	-184(%rbp), %rcx
	leaq	-176(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$128, %esi
	leaq	L_.str.4(%rip), %rdx
	callq	_snprintf
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_ff_qsv_print_error
	jmp	LBB0_16
LBB0_24:
	xorl	%r13d, %r13d
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	movl	%r13d, %eax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %r13d
	jmp	LBB0_25
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	":"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"Invalid plugin UID length\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"%2hhx"

L_.str.3:                               ## @.str.3
	.asciz	"Invalid plugin UID\n"

L_.str.4:                               ## @.str.4
	.asciz	"Could not load the requested plugin '%s'"

	.no_dead_strip	_qsv_load_plugins
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qsv_load_plugins
_qsv_load_plugins:                      ; @qsv_load_plugins
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	str	x1, [sp, #24]
	cbz	x1, LBB0_23
; %bb.1:
	ldrb	w8, [x1]
	cbz	w8, LBB0_23
; %bb.2:
	mov	x19, x2
	mov	x20, x0
Lloh3:
	adrp	x21, l_.str@PAGE
Lloh4:
	add	x21, x21, l_.str@PAGEOFF
Lloh5:
	adrp	x22, l_.str.2@PAGE
Lloh6:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh7:
	adrp	x23, l_.str.4@PAGE
Lloh8:
	add	x23, x23, l_.str.4@PAGEOFF
Lloh9:
	adrp	x27, _AV_LOG_ERROR@GOTPAGE
Lloh10:
	ldr	x27, [x27, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh11:
	adrp	x24, l_.str.3@PAGE
Lloh12:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh13:
	adrp	x28, _EINVAL@GOTPAGE
Lloh14:
	ldr	x28, [x28, _EINVAL@GOTPAGEOFF]
Lloh15:
	adrp	x25, l_.str.1@PAGE
Lloh16:
	add	x25, x25, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #24
	mov	x1, x21
	bl	_av_get_token
	str	x0, [sp, #8]
	cbz	x0, LBB0_26
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_strlen
	cmp	w0, #16
	b.ne	LBB0_17
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x0, x2, [sp, #8]
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_18
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]
	add	x0, x8, #2
	ldr	x8, [sp, #16]
	add	x2, x8, #1
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_18
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]
	add	x0, x8, #4
	ldr	x8, [sp, #16]
	add	x2, x8, #2
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]
	add	x0, x8, #6
	ldr	x8, [sp, #16]
	add	x2, x8, #3
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]
	add	x0, x8, #8
	ldr	x8, [sp, #16]
	add	x2, x8, #4
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]
	add	x0, x8, #10
	ldr	x8, [sp, #16]
	add	x2, x8, #5
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]
	add	x0, x8, #12
	ldr	x8, [sp, #16]
	add	x2, x8, #6
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]
	add	x0, x8, #14
	ldr	x8, [sp, #16]
	add	x2, x8, #7
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #16
	mov	x0, x20
	mov	w2, #1
	bl	_MFXVideoUSER_Load
	tbnz	x0, #63, LBB0_22
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #24]
	ldrb	w9, [x8]
	cbz	w9, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	str	x8, [sp, #24]
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	bl	_av_freep
	b	LBB0_21
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, x25
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, x24
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_av_log
	ldr	w0, [x28]
	bl	_AVERROR
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, x0
	add	x0, sp, #8
	bl	_av_freep
	tbnz	w26, #31, LBB0_24
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #24]
	ldrb	w8, [x8]
	cbnz	w8, LBB0_3
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, x0
	ldr	x3, [sp, #8]
	add	x0, sp, #32
	mov	w1, #128
	mov	x2, x23
	bl	_snprintf
	add	x2, sp, #32
	mov	x0, x19
	mov	x1, x26
	bl	_ff_qsv_print_error
	b	LBB0_20
LBB0_23:
	mov	w26, #0
LBB0_24:
	ldur	x8, [x29, #-96]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.25:
	mov	x0, x26
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_26:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x26, x0
	b	LBB0_24
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	":"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"Invalid plugin UID length\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"%2hhx"

l_.str.3:                               ; @.str.3
	.asciz	"Invalid plugin UID\n"

l_.str.4:                               ; @.str.4
	.asciz	"Could not load the requested plugin '%s'"

	.no_dead_strip	_qsv_load_plugins
.subsections_via_symbols
