	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MPEGSplitter_head_check
_MPEGSplitter_head_check:               ## @MPEGSplitter_head_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$255, %eax
	je	LBB0_9
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_14
## %bb.2:
	cmpl	$0, 4(%rdi)
	jne	LBB0_14
## %bb.3:
	cmpl	$1, 8(%rdi)
	jne	LBB0_14
## %bb.4:
	movl	12(%rdi), %ecx
	movq	_PACK_START_CODE@GOTPCREL(%rip), %rdx
	movq	_MPEG_SYSTEM_HEADER@GOTPCREL(%rip), %rax
	cmpl	(%rdx), %ecx
	je	LBB0_15
## %bb.5:
	movq	_VIDEO_ELEMENTARY_STREAM@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_15
## %bb.6:
	movq	_AUDIO_ELEMENTARY_STREAM@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_15
## %bb.7:
	movq	_SEQUENCE_HEADER_CODE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_14
## %bb.8:
	movq	_MPEG_VIDEO_HEADER@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_9:
	movl	4(%rdi), %eax
	movl	%eax, %ecx
	notl	%ecx
	testb	$-32, %cl
	jne	LBB0_14
## %bb.10:
	andl	$6, %eax
	je	LBB0_14
## %bb.11:
	movl	8(%rdi), %eax
	movl	%eax, %ecx
	notl	%ecx
	testb	$-16, %cl
	je	LBB0_14
## %bb.12:
	andl	$12, %eax
	cmpl	$12, %eax
	je	LBB0_14
## %bb.13:
	movq	_MPEG_AUDIO_HEADER@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_14:
	movq	_MPEG_NO_HEADER@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PACK_START_CODE,4,2            ## @PACK_START_CODE
	.comm	_VIDEO_ELEMENTARY_STREAM,4,2    ## @VIDEO_ELEMENTARY_STREAM
	.comm	_AUDIO_ELEMENTARY_STREAM,4,2    ## @AUDIO_ELEMENTARY_STREAM
	.comm	_MPEG_SYSTEM_HEADER,4,2         ## @MPEG_SYSTEM_HEADER
	.comm	_SEQUENCE_HEADER_CODE,4,2       ## @SEQUENCE_HEADER_CODE
	.comm	_MPEG_VIDEO_HEADER,4,2          ## @MPEG_VIDEO_HEADER
	.comm	_MPEG_AUDIO_HEADER,4,2          ## @MPEG_AUDIO_HEADER
	.comm	_MPEG_NO_HEADER,4,2             ## @MPEG_NO_HEADER
	.no_dead_strip	_MPEGSplitter_head_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MPEGSplitter_head_check
_MPEGSplitter_head_check:               ; @MPEGSplitter_head_check
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #255
	b.eq	LBB0_6
; %bb.1:
	cbnz	w8, LBB0_8
; %bb.2:
	ldr	w8, [x0, #4]
	cbnz	w8, LBB0_8
; %bb.3:
	ldr	w8, [x0, #8]
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.4:
	ldr	w8, [x0, #12]
Lloh0:
	adrp	x9, _PACK_START_CODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PACK_START_CODE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _VIDEO_ELEMENTARY_STREAM@GOTPAGE
Lloh4:
	ldr	x10, [x10, _VIDEO_ELEMENTARY_STREAM@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _AUDIO_ELEMENTARY_STREAM@GOTPAGE
Lloh7:
	ldr	x11, [x11, _AUDIO_ELEMENTARY_STREAM@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	ccmp	w8, w11, #4, ne
	b.ne	LBB0_10
; %bb.5:
Lloh9:
	adrp	x8, _MPEG_SYSTEM_HEADER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MPEG_SYSTEM_HEADER@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
LBB0_6:
	ldr	w8, [x0, #4]
	mvn	w9, w8
	and	w9, w9, #0xe0
	and	w8, w8, #0x6
	cmp	w9, #0
	ccmp	w8, #0, #4, eq
	b.eq	LBB0_8
; %bb.7:
	ldr	w8, [x0, #8]
	mvn	w9, w8
	and	w9, w9, #0xf0
	and	w8, w8, #0xc
	cmp	w9, #0
	ccmp	w8, #12, #4, ne
	b.ne	LBB0_9
LBB0_8:
Lloh12:
	adrp	x8, _MPEG_NO_HEADER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MPEG_NO_HEADER@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ret
LBB0_9:
Lloh15:
	adrp	x8, _MPEG_AUDIO_HEADER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MPEG_AUDIO_HEADER@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ret
LBB0_10:
Lloh18:
	adrp	x9, _SEQUENCE_HEADER_CODE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SEQUENCE_HEADER_CODE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.11:
Lloh21:
	adrp	x8, _MPEG_VIDEO_HEADER@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MPEG_VIDEO_HEADER@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_PACK_START_CODE,4,2            ; @PACK_START_CODE
	.comm	_VIDEO_ELEMENTARY_STREAM,4,2    ; @VIDEO_ELEMENTARY_STREAM
	.comm	_AUDIO_ELEMENTARY_STREAM,4,2    ; @AUDIO_ELEMENTARY_STREAM
	.comm	_MPEG_SYSTEM_HEADER,4,2         ; @MPEG_SYSTEM_HEADER
	.comm	_SEQUENCE_HEADER_CODE,4,2       ; @SEQUENCE_HEADER_CODE
	.comm	_MPEG_VIDEO_HEADER,4,2          ; @MPEG_VIDEO_HEADER
	.comm	_MPEG_AUDIO_HEADER,4,2          ; @MPEG_AUDIO_HEADER
	.comm	_MPEG_NO_HEADER,4,2             ; @MPEG_NO_HEADER
	.no_dead_strip	_MPEGSplitter_head_check
.subsections_via_symbols
