	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stream_type_name2
_stream_type_name2:                     ## @stream_type_name2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rdi
	callq	_STR4_TO_UINT32
	movslq	(%r14), %rcx
	cmpq	%rax, %rbx
	jne	LBB0_2
## %bb.1:
	leal	-128(%rcx), %eax
	cmpl	$7, %eax
	jae	LBB0_2
## %bb.9:
	movl	$121, %edx
	btl	%eax, %edx
	jb	LBB0_10
LBB0_2:
	movq	_st2codec@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	jne	LBB0_11
## %bb.3:
	movq	8(%r14), %rbx
	cmpq	$0, (%rbx)
	jne	LBB0_11
## %bb.4:
	movq	_HB_ACODEC_FF_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	L_.str.6(%rip), %rbx
	testl	%eax, 16(%r14)
	je	LBB0_11
## %bb.5:
	movl	20(%r14), %edi
	callq	_avcodec_find_decoder
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.7:
	cmpq	$0, (%rsi)
	je	LBB0_11
## %bb.8:
	leaq	_stream_type_name2.codec_name_caps(%rip), %rbx
	movq	%rbx, %rdi
	movl	$80, %edx
	callq	_strncpyupper
	jmp	LBB0_11
LBB0_10:
	cltq
	leaq	l_reltable.stream_type_name2(%rip), %rcx
	movslq	(%rcx,%rax,4), %rbx
	addq	%rcx, %rbx
LBB0_11:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_stream_type_name2.codec_name_caps,80,4 ## @stream_type_name2.codec_name_caps
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HDMV"

L_.str.1:                               ## @.str.1
	.asciz	"BD LPCM"

L_.str.2:                               ## @.str.2
	.asciz	"TrueHD"

L_.str.3:                               ## @.str.3
	.asciz	"E-AC3"

L_.str.4:                               ## @.str.4
	.asciz	"DTS-HD HRA"

L_.str.5:                               ## @.str.5
	.asciz	"DTS-HD MA"

	.comm	_st2codec,8,3                   ## @st2codec
	.comm	_HB_ACODEC_FF_MASK,4,2          ## @HB_ACODEC_FF_MASK
L_.str.6:                               ## @.str.6
	.asciz	"Unknown"

	.no_dead_strip	_stream_type_name2
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.stream_type_name2
l_reltable.stream_type_name2:
	.long	L_.str.1-l_reltable.stream_type_name2
	.long	L_.str.1-l_reltable.stream_type_name2
	.long	L_.str.1-l_reltable.stream_type_name2
	.long	L_.str.2-l_reltable.stream_type_name2
	.long	L_.str.3-l_reltable.stream_type_name2
	.long	L_.str.4-l_reltable.stream_type_name2
	.long	L_.str.5-l_reltable.stream_type_name2

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stream_type_name2
_stream_type_name2:                     ; @stream_type_name2
	.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
	mov	x19, x1
	ldr	x20, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_STR4_TO_UINT32
	ldrsw	x8, [x19]
	cmp	x20, x0
	b.ne	LBB0_3
; %bb.1:
	sub	w9, w8, #128
	cmp	w9, #7
	b.hs	LBB0_3
; %bb.2:
	mov	w10, #121
	lsr	w10, w10, w9
	tbnz	w10, #0, LBB0_10
LBB0_3:
Lloh2:
	adrp	x9, _st2codec@GOTPAGE
Lloh3:
	ldr	x9, [x9, _st2codec@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	x20, [x9, x8, lsl #3]
	cbnz	x20, LBB0_12
; %bb.4:
	ldr	x20, [x19, #8]
	ldr	x8, [x20]
	cbnz	x8, LBB0_12
; %bb.5:
	ldr	w8, [x19, #16]
Lloh5:
	adrp	x9, _HB_ACODEC_FF_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HB_ACODEC_FF_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.6:
	ldr	w0, [x19, #20]
	bl	_avcodec_find_decoder
	cbz	x0, LBB0_11
; %bb.7:
	ldr	x1, [x0]
	cbz	x1, LBB0_11
; %bb.8:
	ldr	x8, [x1]
	cbz	x8, LBB0_11
; %bb.9:
Lloh8:
	adrp	x20, _stream_type_name2.codec_name_caps@PAGE
Lloh9:
	add	x20, x20, _stream_type_name2.codec_name_caps@PAGEOFF
	mov	x0, x20
	mov	w2, #80
	bl	_strncpyupper
	b	LBB0_12
LBB0_10:
Lloh10:
	adrp	x8, l_switch.table.stream_type_name2@PAGE
Lloh11:
	add	x8, x8, l_switch.table.stream_type_name2@PAGEOFF
	ldr	x20, [x8, w9, sxtw #3]
	b	LBB0_12
LBB0_11:
Lloh12:
	adrp	x20, l_.str.6@PAGE
Lloh13:
	add	x20, x20, l_.str.6@PAGEOFF
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_stream_type_name2.codec_name_caps,80,0 ; @stream_type_name2.codec_name_caps
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HDMV"

l_.str.1:                               ; @.str.1
	.asciz	"BD LPCM"

l_.str.2:                               ; @.str.2
	.asciz	"TrueHD"

l_.str.3:                               ; @.str.3
	.asciz	"E-AC3"

l_.str.4:                               ; @.str.4
	.asciz	"DTS-HD HRA"

l_.str.5:                               ; @.str.5
	.asciz	"DTS-HD MA"

	.comm	_st2codec,8,3                   ; @st2codec
	.comm	_HB_ACODEC_FF_MASK,4,2          ; @HB_ACODEC_FF_MASK
l_.str.6:                               ; @.str.6
	.asciz	"Unknown"

	.no_dead_strip	_stream_type_name2
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.stream_type_name2
l_switch.table.stream_type_name2:
	.quad	l_.str.1
	.quad	l_.str.1
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5

.subsections_via_symbols
