	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_vaapi_format
_get_vaapi_format:                      ## @get_vaapi_format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movl	(%rsi), %edx
	cmpl	%ecx, %edx
	je	LBB0_4
## %bb.1:
	movq	_AV_PIX_FMT_VAAPI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$4, %rsi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, %edx
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rsi), %edx
	addq	$4, %rsi
	cmpl	%ecx, %edx
	jne	LBB0_3
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	(%rbx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_NONE,4,2            ## @AV_PIX_FMT_NONE
	.comm	_AV_PIX_FMT_VAAPI,4,2           ## @AV_PIX_FMT_VAAPI
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to decode this file using VA-API.\n"

	.no_dead_strip	_get_vaapi_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_vaapi_format
_get_vaapi_format:                      ; @get_vaapi_format
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _AV_PIX_FMT_NONE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _AV_PIX_FMT_NONE@GOTPAGEOFF]
	ldr	w8, [x19]
	ldr	w9, [x1]
	cmp	w9, w8
	b.eq	LBB0_4
; %bb.1:
Lloh2:
	adrp	x10, _AV_PIX_FMT_VAAPI@GOTPAGE
Lloh3:
	ldr	x10, [x10, _AV_PIX_FMT_VAAPI@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x10]
	add	x10, x1, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, w0
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x10], #4
	cmp	w9, w8
	b.ne	LBB0_2
LBB0_4:
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_NONE,4,2            ; @AV_PIX_FMT_NONE
	.comm	_AV_PIX_FMT_VAAPI,4,2           ; @AV_PIX_FMT_VAAPI
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to decode this file using VA-API.\n"

	.no_dead_strip	_get_vaapi_format
.subsections_via_symbols
