	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpegts_check_bitstream
_mpegts_check_bitstream:                ## @mpegts_check_bitstream
	.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, %rbx
	movq	(%rdi), %rax
	movq	(%rsi), %rcx
	movq	(%rax,%rcx,8), %r14
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_AV_CODEC_ID_H264@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	cmpl	$5, 8(%rbx)
	jl	LBB0_12
## %bb.2:
	movl	12(%rbx), %edi
	callq	_AV_RB32
	cmpl	$1, %eax
	je	LBB0_12
## %bb.3:
	movl	12(%rbx), %edi
	callq	_AV_RB24
	leaq	L_.str(%rip), %rsi
	cmpl	$1, %eax
	je	LBB0_10
	jmp	LBB0_5
LBB0_6:
	movq	_AV_CODEC_ID_HEVC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.7:
	cmpl	$5, 8(%rbx)
	jl	LBB0_12
## %bb.8:
	movl	12(%rbx), %edi
	callq	_AV_RB32
	cmpl	$1, %eax
	je	LBB0_12
## %bb.9:
	movl	12(%rbx), %edi
	callq	_AV_RB24
	leaq	L_.str.1(%rip), %rsi
	cmpl	$1, %eax
	jne	LBB0_5
LBB0_10:
	movq	(%r14), %rax
	cmpq	$0, 8(%rax)
	jle	LBB0_12
## %bb.11:
	movq	16(%rax), %rax
	cmpl	$1, (%rax)
	jne	LBB0_12
LBB0_5:
	movq	%r14, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ff_stream_add_bitstream_filter ## TAILCALL
LBB0_12:
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CODEC_ID_H264,8,3           ## @AV_CODEC_ID_H264
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"h264_mp4toannexb"

	.comm	_AV_CODEC_ID_HEVC,8,3           ## @AV_CODEC_ID_HEVC
L_.str.1:                               ## @.str.1
	.asciz	"hevc_mp4toannexb"

	.no_dead_strip	_mpegts_check_bitstream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpegts_check_bitstream
_mpegts_check_bitstream:                ; @mpegts_check_bitstream
	.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	x20, x1
	ldr	x8, [x0]
	ldr	x9, [x1]
	ldr	x19, [x8, x9, lsl #3]
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _AV_CODEC_ID_H264@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_CODEC_ID_H264@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	ldr	w8, [x20, #8]
	cmp	w8, #5
	b.lt	LBB0_10
; %bb.2:
	ldr	w0, [x20, #12]
	bl	_AV_RB32
	cmp	w0, #1
	b.eq	LBB0_10
; %bb.3:
	ldr	w0, [x20, #12]
	bl	_AV_RB24
	cmp	w0, #1
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	cmp	x9, #1
	b.lt	LBB0_10
; %bb.5:
	ldr	x8, [x8, #16]
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_10
LBB0_6:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_15
LBB0_7:
Lloh5:
	adrp	x9, _AV_CODEC_ID_HEVC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AV_CODEC_ID_HEVC@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	ldr	w8, [x20, #8]
	cmp	w8, #5
	b.lt	LBB0_10
; %bb.9:
	ldr	w0, [x20, #12]
	bl	_AV_RB32
	cmp	w0, #1
	b.ne	LBB0_11
LBB0_10:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	w0, [x20, #12]
	bl	_AV_RB24
	cmp	w0, #1
	b.ne	LBB0_14
; %bb.12:
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	cmp	x9, #1
	b.lt	LBB0_10
; %bb.13:
	ldr	x8, [x8, #16]
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_10
LBB0_14:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_15:
	mov	x0, x19
	mov	x2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ff_stream_add_bitstream_filter
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CODEC_ID_H264,8,3           ; @AV_CODEC_ID_H264
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"h264_mp4toannexb"

	.comm	_AV_CODEC_ID_HEVC,8,3           ; @AV_CODEC_ID_HEVC
l_.str.1:                               ; @.str.1
	.asciz	"hevc_mp4toannexb"

	.no_dead_strip	_mpegts_check_bitstream
.subsections_via_symbols
