	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_avformat_query_codec           ## -- Begin function avformat_query_codec
	.p2align	4, 0x90
_avformat_query_codec:                  ## @avformat_query_codec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%esi, %edi
	movl	%edx, %esi
	callq	*%rax
	jmp	LBB0_10
LBB0_3:
	movq	24(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	-4(%rbp), %rdx
	movq	%rax, %rdi
	callq	_av_codec_get_tag2
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	jmp	LBB0_10
LBB0_5:
	movl	$1, %eax
	cmpl	%esi, 8(%rdi)
	je	LBB0_10
## %bb.6:
	cmpl	%esi, 12(%rdi)
	je	LBB0_10
## %bb.7:
	cmpl	%esi, 16(%rdi)
	je	LBB0_10
## %bb.8:
	movl	$1, %eax
	cmpl	%esi, 20(%rdi)
	je	LBB0_10
LBB0_9:
	movq	_AVERROR_PATCHWELCOME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_PATCHWELCOME,4,2       ## @AVERROR_PATCHWELCOME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_avformat_query_codec           ; -- Begin function avformat_query_codec
	.p2align	2
_avformat_query_codec:                  ; @avformat_query_codec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	cbz	x0, LBB0_10
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x1
	mov	x1, x2
	blr	x8
	b	LBB0_11
LBB0_3:
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_5
; %bb.4:
	sub	x2, x29, #4
	mov	x0, x8
	bl	_av_codec_get_tag2
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_11
LBB0_5:
	ldr	w8, [x0, #8]
	cmp	w8, w1
	b.eq	LBB0_9
; %bb.6:
	ldr	w8, [x0, #12]
	cmp	w8, w1
	b.eq	LBB0_9
; %bb.7:
	ldr	w8, [x0, #16]
	cmp	w8, w1
	b.eq	LBB0_9
; %bb.8:
	ldr	w8, [x0, #20]
	cmp	w8, w1
	b.ne	LBB0_10
LBB0_9:
	mov	w0, #1
	b	LBB0_11
LBB0_10:
Lloh0:
	adrp	x8, _AVERROR_PATCHWELCOME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_PATCHWELCOME@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_PATCHWELCOME,4,2       ; @AVERROR_PATCHWELCOME
.subsections_via_symbols
