	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function has_codec_parameters
_has_codec_parameters:                  ## @has_codec_parameters
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	40(%rdi), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rax
	movq	_AV_CODEC_ID_NONE@GOTPCREL(%rip), %rdx
	movl	8(%rbx), %ecx
	cmpq	(%rdx), %rax
	jne	LBB0_4
## %bb.1:
	movl	$1, %r15d
	cmpl	$130, %ecx
	je	LBB0_44
## %bb.2:
	testq	%r14, %r14
	je	LBB0_43
## %bb.3:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_42
LBB0_4:
	movq	%rdi, %r12
	movl	$1, %r15d
	cmpl	$128, %ecx
	je	LBB0_26
## %bb.5:
	cmpl	$129, %ecx
	je	LBB0_38
## %bb.6:
	cmpl	$131, %ecx
	jne	LBB0_44
## %bb.7:
	cmpl	$0, 32(%rbx)
	je	LBB0_8
LBB0_11:
	movq	24(%r12), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	js	LBB0_15
## %bb.12:
	movl	28(%rbx), %ecx
	movq	_AV_SAMPLE_FMT_NONE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_15
## %bb.13:
	testq	%r14, %r14
	je	LBB0_43
## %bb.14:
	leaq	L_.str.2(%rip), %rax
	jmp	LBB0_42
LBB0_26:
	cmpl	$0, 12(%rbx)
	je	LBB0_40
## %bb.27:
	movq	24(%r12), %rax
	cmpl	$0, (%rax)
	js	LBB0_31
## %bb.28:
	movl	16(%rbx), %eax
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_31
## %bb.29:
	testq	%r14, %r14
	je	LBB0_43
## %bb.30:
	leaq	L_.str.7(%rip), %rax
	jmp	LBB0_42
LBB0_38:
	movq	_AV_CODEC_ID_HDMV_PGS_SUBTITLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_44
## %bb.39:
	cmpl	$0, 12(%rbx)
	jne	LBB0_44
LBB0_40:
	testq	%r14, %r14
	je	LBB0_43
## %bb.41:
	leaq	L_.str.6(%rip), %rax
	jmp	LBB0_42
LBB0_15:
	cmpl	$0, 24(%rbx)
	je	LBB0_16
## %bb.18:
	cmpl	$0, 20(%rbx)
	je	LBB0_19
## %bb.21:
	testl	%eax, %eax
	js	LBB0_44
## %bb.22:
	cmpl	$0, 32(%r12)
	jne	LBB0_44
## %bb.23:
	movq	(%rbx), %rax
	movq	_AV_CODEC_ID_DTS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_44
## %bb.24:
	testq	%r14, %r14
	je	LBB0_43
## %bb.25:
	leaq	L_.str.5(%rip), %rax
	jmp	LBB0_42
LBB0_31:
	movq	8(%r12), %rax
	movl	4(%rax), %ecx
	movq	_AV_CODEC_ID_RV30@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_33
## %bb.32:
	movq	_AV_CODEC_ID_RV40@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_44
LBB0_33:
	cmpl	$0, 16(%r12)
	jne	LBB0_44
## %bb.34:
	cmpl	$0, (%rax)
	jne	LBB0_44
## %bb.35:
	cmpl	$0, (%r12)
	jne	LBB0_44
## %bb.36:
	testq	%r14, %r14
	je	LBB0_43
## %bb.37:
	leaq	L_.str.8(%rip), %rax
	jmp	LBB0_42
LBB0_8:
	movq	%rbx, %rdi
	callq	_determinable_frame_size
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	testq	%r14, %r14
	je	LBB0_43
## %bb.10:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_42
LBB0_16:
	testq	%r14, %r14
	je	LBB0_43
## %bb.17:
	leaq	L_.str.3(%rip), %rax
	jmp	LBB0_42
LBB0_19:
	testq	%r14, %r14
	je	LBB0_43
## %bb.20:
	leaq	L_.str.4(%rip), %rax
LBB0_42:
	movq	%rax, (%r14)
LBB0_43:
	xorl	%r15d, %r15d
LBB0_44:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CODEC_ID_NONE,8,3           ## @AV_CODEC_ID_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown codec"

L_.str.1:                               ## @.str.1
	.asciz	"unspecified frame size"

	.comm	_AV_SAMPLE_FMT_NONE,4,2         ## @AV_SAMPLE_FMT_NONE
L_.str.2:                               ## @.str.2
	.asciz	"unspecified sample format"

L_.str.3:                               ## @.str.3
	.asciz	"unspecified sample rate"

L_.str.4:                               ## @.str.4
	.asciz	"unspecified number of channels"

	.comm	_AV_CODEC_ID_DTS,8,3            ## @AV_CODEC_ID_DTS
L_.str.5:                               ## @.str.5
	.asciz	"no decodable DTS frames"

L_.str.6:                               ## @.str.6
	.asciz	"unspecified size"

	.comm	_AV_PIX_FMT_NONE,4,2            ## @AV_PIX_FMT_NONE
L_.str.7:                               ## @.str.7
	.asciz	"unspecified pixel format"

	.comm	_AV_CODEC_ID_RV30,4,2           ## @AV_CODEC_ID_RV30
	.comm	_AV_CODEC_ID_RV40,4,2           ## @AV_CODEC_ID_RV40
L_.str.8:                               ## @.str.8
	.asciz	"no frame in rv30/40 and no sar"

	.comm	_AV_CODEC_ID_HDMV_PGS_SUBTITLE,8,3 ## @AV_CODEC_ID_HDMV_PGS_SUBTITLE
	.no_dead_strip	_has_codec_parameters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function has_codec_parameters
_has_codec_parameters:                  ; @has_codec_parameters
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldr	x8, [x0, #40]
	ldr	x21, [x8]
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _AV_CODEC_ID_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_CODEC_ID_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x9]
	ldr	w9, [x21, #8]
	cmp	x8, x10
	b.ne	LBB0_4
; %bb.1:
	cmp	w9, #130
	b.eq	LBB0_32
; %bb.2:
	cbz	x19, LBB0_43
; %bb.3:
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	b	LBB0_40
LBB0_4:
	mov	x20, x0
	cmp	w9, #128
	b.eq	LBB0_12
; %bb.5:
	cmp	w9, #129
	b.eq	LBB0_17
; %bb.6:
	cmp	w9, #131
	b.ne	LBB0_32
; %bb.7:
	ldr	w8, [x21, #32]
	cbz	w8, LBB0_33
LBB0_8:
	ldr	x8, [x20, #24]
	ldr	w8, [x8]
	tbnz	w8, #31, LBB0_21
; %bb.9:
	ldr	w9, [x21, #28]
Lloh5:
	adrp	x10, _AV_SAMPLE_FMT_NONE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _AV_SAMPLE_FMT_NONE@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_21
; %bb.10:
	cbz	x19, LBB0_43
; %bb.11:
Lloh8:
	adrp	x8, l_.str.2@PAGE
Lloh9:
	add	x8, x8, l_.str.2@PAGEOFF
	b	LBB0_40
LBB0_12:
	ldr	w8, [x21, #12]
	cbz	w8, LBB0_19
; %bb.13:
	ldr	x8, [x20, #24]
	ldr	w8, [x8]
	tbnz	w8, #31, LBB0_28
; %bb.14:
	ldr	w8, [x21, #16]
Lloh10:
	adrp	x9, _AV_PIX_FMT_NONE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _AV_PIX_FMT_NONE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_28
; %bb.15:
	cbz	x19, LBB0_43
; %bb.16:
Lloh13:
	adrp	x8, l_.str.7@PAGE
Lloh14:
	add	x8, x8, l_.str.7@PAGEOFF
	b	LBB0_40
LBB0_17:
Lloh15:
	adrp	x9, _AV_CODEC_ID_HDMV_PGS_SUBTITLE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AV_CODEC_ID_HDMV_PGS_SUBTITLE@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.18:
	ldr	w8, [x21, #12]
	cbnz	w8, LBB0_32
LBB0_19:
	cbz	x19, LBB0_43
; %bb.20:
Lloh18:
	adrp	x8, l_.str.6@PAGE
Lloh19:
	add	x8, x8, l_.str.6@PAGEOFF
	b	LBB0_40
LBB0_21:
	ldr	w9, [x21, #24]
	cbz	w9, LBB0_36
; %bb.22:
	ldr	w9, [x21, #20]
	cbz	w9, LBB0_38
; %bb.23:
	tbnz	w8, #31, LBB0_32
; %bb.24:
	ldr	w8, [x20, #32]
	cbnz	w8, LBB0_32
; %bb.25:
	ldr	x8, [x21]
Lloh20:
	adrp	x9, _AV_CODEC_ID_DTS@GOTPAGE
Lloh21:
	ldr	x9, [x9, _AV_CODEC_ID_DTS@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.26:
	cbz	x19, LBB0_43
; %bb.27:
Lloh23:
	adrp	x8, l_.str.5@PAGE
Lloh24:
	add	x8, x8, l_.str.5@PAGEOFF
	b	LBB0_40
LBB0_28:
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #4]
Lloh25:
	adrp	x10, _AV_CODEC_ID_RV30@GOTPAGE
Lloh26:
	ldr	x10, [x10, _AV_CODEC_ID_RV30@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
Lloh28:
	adrp	x11, _AV_CODEC_ID_RV40@GOTPAGE
Lloh29:
	ldr	x11, [x11, _AV_CODEC_ID_RV40@GOTPAGEOFF]
Lloh30:
	ldr	w11, [x11]
	cmp	w9, w10
	ccmp	w9, w11, #4, ne
	b.ne	LBB0_32
; %bb.29:
	ldr	w9, [x20, #16]
	cbnz	w9, LBB0_32
; %bb.30:
	ldr	w8, [x8]
	cbnz	w8, LBB0_32
; %bb.31:
	ldr	w8, [x20]
	cbz	w8, LBB0_41
LBB0_32:
	mov	w0, #1
	b	LBB0_44
LBB0_33:
	mov	x0, x21
	bl	_determinable_frame_size
	cbz	w0, LBB0_8
; %bb.34:
	cbz	x19, LBB0_43
; %bb.35:
Lloh31:
	adrp	x8, l_.str.1@PAGE
Lloh32:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_40
LBB0_36:
	cbz	x19, LBB0_43
; %bb.37:
Lloh33:
	adrp	x8, l_.str.3@PAGE
Lloh34:
	add	x8, x8, l_.str.3@PAGEOFF
	b	LBB0_40
LBB0_38:
	cbz	x19, LBB0_43
; %bb.39:
Lloh35:
	adrp	x8, l_.str.4@PAGE
Lloh36:
	add	x8, x8, l_.str.4@PAGEOFF
LBB0_40:
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_44
LBB0_41:
	cbz	x19, LBB0_43
; %bb.42:
Lloh37:
	adrp	x8, l_.str.8@PAGE
Lloh38:
	add	x8, x8, l_.str.8@PAGEOFF
	b	LBB0_40
LBB0_43:
	mov	w0, #0
LBB0_44:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CODEC_ID_NONE,8,3           ; @AV_CODEC_ID_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown codec"

l_.str.1:                               ; @.str.1
	.asciz	"unspecified frame size"

	.comm	_AV_SAMPLE_FMT_NONE,4,2         ; @AV_SAMPLE_FMT_NONE
l_.str.2:                               ; @.str.2
	.asciz	"unspecified sample format"

l_.str.3:                               ; @.str.3
	.asciz	"unspecified sample rate"

l_.str.4:                               ; @.str.4
	.asciz	"unspecified number of channels"

	.comm	_AV_CODEC_ID_DTS,8,3            ; @AV_CODEC_ID_DTS
l_.str.5:                               ; @.str.5
	.asciz	"no decodable DTS frames"

l_.str.6:                               ; @.str.6
	.asciz	"unspecified size"

	.comm	_AV_PIX_FMT_NONE,4,2            ; @AV_PIX_FMT_NONE
l_.str.7:                               ; @.str.7
	.asciz	"unspecified pixel format"

	.comm	_AV_CODEC_ID_RV30,4,2           ; @AV_CODEC_ID_RV30
	.comm	_AV_CODEC_ID_RV40,4,2           ; @AV_CODEC_ID_RV40
l_.str.8:                               ; @.str.8
	.asciz	"no frame in rv30/40 and no sar"

	.comm	_AV_CODEC_ID_HDMV_PGS_SUBTITLE,8,3 ; @AV_CODEC_ID_HDMV_PGS_SUBTITLE
	.no_dead_strip	_has_codec_parameters
.subsections_via_symbols
