	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpegvideo_split
_mpegvideo_split:                       ## @mpegvideo_split
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	jle	LBB0_10
## %bb.1:
	movl	%edx, %r8d
	movl	$-1, %edx
	xorl	%eax, %eax
	xorl	%edi, %edi
	jmp	LBB0_4
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%edi, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rax
	movl	%ecx, %edi
	cmpq	%rax, %r8
	je	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	shll	$8, %edx
	orl	(%rsi,%rax,4), %edx
	movl	$1, %ecx
	cmpl	$435, %edx                      ## imm = 0x1B3
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%edi, %edi
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$437, %edx                      ## imm = 0x1B5
	je	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%edi, %ecx
	cmpl	$511, %edx                      ## imm = 0x1FF
	jg	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$256, %edx                      ## imm = 0x100
	jl	LBB0_3
## %bb.9:
	addl	$-3, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_10:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mpegvideo_split
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpegvideo_split
_mpegvideo_split:                       ; @mpegvideo_split
	.cfi_startproc
; %bb.0:
	cmp	w2, #1
	b.lt	LBB0_10
; %bb.1:
	mov	w8, #0
	mov	w9, #-1
	mov	w0, #-3
	mov	w10, w2
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w0, w0, #1
	add	x1, x1, #4
	subs	x10, x10, #1
	b.eq	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x1]
	orr	w9, w11, w9, lsl #8
	cmp	w9, #435
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #437
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #511
	b.gt	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #255
	b.le	LBB0_3
; %bb.9:
	ret
LBB0_10:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mpegvideo_split
.subsections_via_symbols
