	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_qsv_level_to_mfx            ## -- Begin function ff_qsv_level_to_mfx
	.p2align	4, 0x90
_ff_qsv_level_to_mfx:                   ## @ff_qsv_level_to_mfx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_FF_LEVEL_UNKNOWN@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_MFX_LEVEL_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_2:
	movl	%esi, %eax
	cmpl	$128, %edi
	jne	LBB0_4
## %bb.3:
	cltq
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_LEVEL_UNKNOWN,4,2           ## @FF_LEVEL_UNKNOWN
	.comm	_MFX_LEVEL_UNKNOWN,4,2          ## @MFX_LEVEL_UNKNOWN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_qsv_level_to_mfx            ; -- Begin function ff_qsv_level_to_mfx
	.p2align	2
_ff_qsv_level_to_mfx:                   ; @ff_qsv_level_to_mfx
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _FF_LEVEL_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FF_LEVEL_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MFX_LEVEL_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MFX_LEVEL_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_2:
	mov	w8, #21846
	movk	w8, #21845, lsl #16
	smull	x8, w1, w8
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	cmp	w0, #128
	csel	w0, w1, w8, ne
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_LEVEL_UNKNOWN,4,2           ; @FF_LEVEL_UNKNOWN
	.comm	_MFX_LEVEL_UNKNOWN,4,2          ; @MFX_LEVEL_UNKNOWN
.subsections_via_symbols
