	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_codec_tag
_validate_codec_tag:                    ## @validate_codec_tag
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_AV_CODEC_ID_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	(%rax), %rdx
	movq	(%rdx), %r13
	testq	%r13, %r13
	je	LBB0_17
## %bb.1:
	movq	%rsi, %r15
	movq	$-1, -56(%rbp)                  ## 8-byte Folded Spill
	xorl	%r14d, %r14d
	movl	%ecx, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rdx
	movq	8(%rdx,%r14,8), %r13
	incq	%r14
	testq	%r13, %r13
	je	LBB0_12
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	cmpq	%rcx, (%r13)
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	(%r13), %rcx
	addq	$16, %r13
	movq	_AV_CODEC_ID_NONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_10
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-8(%r13), %rdi
	callq	_avpriv_toupper4
	movq	%rax, %rbx
	movq	(%r15), %rax
	movq	(%rax), %rdi
	callq	_avpriv_toupper4
	movq	-16(%r13), %rcx
	cmpq	%rax, %rbx
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	(%r15), %rax
	movl	8(%rax), %eax
	movl	%ecx, %r12d
	cmpl	%ecx, %eax
	jne	LBB0_7
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	(%r15), %rax
	movl	8(%rax), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	cltq
	cmpq	%rax, %rcx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	-8(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
LBB0_17:
	xorl	%eax, %eax
	shrq	$32, %rcx
	jne	LBB0_16
LBB0_15:
	movl	$1, %eax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	%r12d, %edx
	xorl	%eax, %eax
	cmpq	%rdx, %rcx
	jne	LBB0_16
## %bb.13:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	js	LBB0_15
## %bb.14:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	_FF_COMPLIANCE_NORMAL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jl	LBB0_15
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CODEC_ID_NONE,8,3           ## @AV_CODEC_ID_NONE
	.comm	_FF_COMPLIANCE_NORMAL,8,3       ## @FF_COMPLIANCE_NORMAL
	.no_dead_strip	_validate_codec_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_codec_tag
_validate_codec_tag:                    ; @validate_codec_tag
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x22, _AV_CODEC_ID_NONE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AV_CODEC_ID_NONE@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x0, #8]
	ldr	x10, [x9]
	ldr	x10, [x10]
	cbz	x10, LBB0_12
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x23, #0
	mov	x24, #-1
	mov	x25, x8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x19, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldr	x10, [x9]
	ldr	x10, [x10, x23, lsl #3]
	cbz	x10, LBB0_14
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x11, [x10]
	cmp	x11, x8
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x10, #8
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x26, #8]
	ldr	x9, [x22]
	add	x26, x26, #16
	cmp	x8, x9
	b.eq	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x26]
	bl	_avpriv_toupper4
	mov	x21, x0
	ldr	x8, [x20]
	ldr	x0, [x8]
	bl	_avpriv_toupper4
	ldur	x8, [x26, #-8]
	cmp	x21, x0
	b.ne	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x9, [x20]
	ldr	w9, [x9, #8]
	mov	x25, x8
	cmp	w9, w8
	b.eq	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	x8, w9, sxtw
	b.ne	LBB0_6
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x9, [x20]
	ldr	w9, [x9, #8]
	cmp	x8, w9, sxtw
	b.ne	LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x24, [x26]
	b	LBB0_6
LBB0_12:
	lsr	x8, x8, #32
	cbnz	x8, LBB0_17
LBB0_13:
	mov	w0, #1
	b	LBB0_18
LBB0_14:
	cmp	x8, w25, uxtw
	b.ne	LBB0_17
; %bb.15:
	tbnz	x24, #63, LBB0_13
; %bb.16:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _FF_COMPLIANCE_NORMAL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FF_COMPLIANCE_NORMAL@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_13
LBB0_17:
	mov	w0, #0
LBB0_18:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CODEC_ID_NONE,8,3           ; @AV_CODEC_ID_NONE
	.comm	_FF_COMPLIANCE_NORMAL,8,3       ; @FF_COMPLIANCE_NORMAL
	.no_dead_strip	_validate_codec_tag
.subsections_via_symbols
