	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dxva_check_codec_compatibility
_dxva_check_codec_compatibility:        ## @dxva_check_codec_compatibility
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rcx
	xorl	%eax, %eax
	cmpq	(%rdi), %rcx
	jne	LBB0_8
## %bb.1:
	movq	8(%rsi), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.2:
	movq	_AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, 8(%rdi)
	je	LBB0_3
LBB0_7:
	movl	$1, %eax
LBB0_8:
	popq	%rbp
	retq
LBB0_3:
	movq	_FF_PROFILE_UNKNOWN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx), %rsi
	cmpq	%rdx, %rsi
	je	LBB0_8
## %bb.4:
	movq	16(%rdi), %rdi
	addq	$8, %rcx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, %rdi
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rcx), %rsi
	addq	$8, %rcx
	cmpq	%rdx, %rsi
	jne	LBB0_6
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH,4,2 ## @AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH
	.comm	_FF_PROFILE_UNKNOWN,8,3         ## @FF_PROFILE_UNKNOWN
	.no_dead_strip	_dxva_check_codec_compatibility
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dxva_check_codec_compatibility
_dxva_check_codec_compatibility:        ; @dxva_check_codec_compatibility
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	ldr	x9, [x0]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	ldr	x11, [x1, #8]
	cbz	x11, LBB0_3
; %bb.2:
	ldr	w8, [x0, #8]
Lloh0:
	adrp	x9, _AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_3:
	mov	w0, #1
LBB0_4:
	ret
LBB0_5:
Lloh3:
	adrp	x8, _FF_PROFILE_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FF_PROFILE_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x11]
	cmp	x9, x8
	b.ne	LBB0_7
LBB0_6:
	mov	w0, #0
	ret
LBB0_7:
	ldr	x10, [x0, #16]
	add	x11, x11, #8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x10, x9
	b.eq	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #0
	ldr	x9, [x11], #8
	cmp	x9, x8
	b.ne	LBB0_8
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH,4,2 ; @AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH
	.comm	_FF_PROFILE_UNKNOWN,8,3         ; @FF_PROFILE_UNKNOWN
	.no_dead_strip	_dxva_check_codec_compatibility
.subsections_via_symbols
