	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isIframe
_isIframe:                              ## @isIframe
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_pes_index_of_video
	movq	(%rbx), %rcx
	movslq	%eax, %rsi
	shlq	$4, %rsi
	movl	(%rcx,%rsi), %edx
	xorl	%eax, %eax
	cmpl	$3, %edx
	jl	LBB0_29
## %bb.1:
	movq	8(%rcx,%rsi), %rcx
	movq	_AV_CODEC_ID_MPEG1VIDEO@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	je	LBB0_29
## %bb.2:
	movq	_AV_CODEC_ID_MPEG2VIDEO@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	je	LBB0_29
## %bb.3:
	cmpl	$27, %edx
	je	LBB0_14
## %bb.4:
	movq	_AV_CODEC_ID_H264@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	je	LBB0_14
## %bb.5:
	cmpl	$234, %edx
	je	LBB0_23
## %bb.6:
	movq	_AV_CODEC_ID_VC1@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	je	LBB0_23
## %bb.7:
	cmpl	$16, %edx
	je	LBB0_9
## %bb.8:
	movq	_AV_CODEC_ID_MPEG4@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_22
LBB0_9:
	cmpl	$2, %r14d
	jl	LBB0_29
## %bb.10:
	decl	%r14d
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	xorl	%eax, %eax
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rcx
	cmpq	%rcx, %r14
	je	LBB0_29
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	shll	$8, %edx
	orl	(%r15,%rcx,4), %edx
	cmpl	$438, %edx                      ## imm = 0x1B6
	jne	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	testb	$-64, 4(%r15,%rcx,4)
	jne	LBB0_11
	jmp	LBB0_22
LBB0_14:
	testl	%r14d, %r14d
	jle	LBB0_29
## %bb.15:
	movl	%r14d, %ebx
	addq	$4, %r15
	xorl	%r14d, %r14d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_18 Depth=1
	leal	-1(%rbx), %esi
	movq	%r15, %rdi
	callq	_isRecoveryPoint
	testl	%eax, %eax
	jne	LBB0_29
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	addq	$4, %r15
	decq	%rbx
	je	LBB0_28
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	shll	$8, %r14d
	movl	-4(%r15), %eax
	orl	%eax, %r14d
	movl	%r14d, %ecx
	andl	$-256, %ecx
	cmpl	$256, %ecx                      ## imm = 0x100
	jne	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	andl	$31, %eax
	cmpl	$6, %eax
	je	LBB0_16
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	cmpl	$1, %eax
	je	LBB0_28
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	cmpl	$5, %eax
	jne	LBB0_17
LBB0_22:
	movl	$1, %eax
	jmp	LBB0_29
LBB0_23:
	testl	%r14d, %r14d
	jle	LBB0_29
## %bb.24:
	movl	%r14d, %ecx
	xorl	%edx, %edx
	xorl	%esi, %esi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	shll	$8, %esi
	orl	(%r15,%rdx,4), %esi
	cmpl	$271, %esi                      ## imm = 0x10F
	je	LBB0_22
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_25
	jmp	LBB0_29
LBB0_28:
	xorl	%eax, %eax
LBB0_29:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CODEC_ID_MPEG1VIDEO,8,3     ## @AV_CODEC_ID_MPEG1VIDEO
	.comm	_AV_CODEC_ID_MPEG2VIDEO,8,3     ## @AV_CODEC_ID_MPEG2VIDEO
	.comm	_AV_CODEC_ID_H264,8,3           ## @AV_CODEC_ID_H264
	.comm	_AV_CODEC_ID_VC1,8,3            ## @AV_CODEC_ID_VC1
	.comm	_AV_CODEC_ID_MPEG4,8,3          ## @AV_CODEC_ID_MPEG4
	.no_dead_strip	_isIframe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isIframe
_isIframe:                              ; @isIframe
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	bl	_pes_index_of_video
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x9, [x21]
	sbfiz	x8, x0, #4, #32
	ldr	w8, [x9, x8]
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.1:
	sxtw	x10, w0
	add	x9, x9, x10, lsl #4
	ldr	x9, [x9, #8]
Lloh0:
	adrp	x10, _AV_CODEC_ID_MPEG1VIDEO@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AV_CODEC_ID_MPEG1VIDEO@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _AV_CODEC_ID_MPEG2VIDEO@GOTPAGE
Lloh4:
	ldr	x11, [x11, _AV_CODEC_ID_MPEG2VIDEO@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	b.ne	LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	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
LBB0_4:
Lloh6:
	adrp	x10, _AV_CODEC_ID_H264@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AV_CODEC_ID_H264@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	w8, #27
	ccmp	x9, x10, #4, ne
	b.ne	LBB0_13
; %bb.5:
	cmp	w20, #1
	b.lt	LBB0_2
; %bb.6:
	mov	w21, #0
	mov	w20, w20
	add	x19, x19, #4
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	sub	w1, w20, #1
	mov	x0, x19
	bl	_isRecoveryPoint
	cbnz	w0, LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x19, x19, #4
	subs	x20, x20, #1
	b.eq	LBB0_2
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x19, #-4]
	orr	w21, w8, w21, lsl #8
	and	w9, w21, #0xffffff00
	cmp	w9, #256
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	and	w8, w8, #0x1f
	cmp	w8, #6
	b.eq	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w8, #1
	b.eq	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w8, #5
	b.ne	LBB0_8
	b	LBB0_24
LBB0_13:
Lloh9:
	adrp	x10, _AV_CODEC_ID_VC1@GOTPAGE
Lloh10:
	ldr	x10, [x10, _AV_CODEC_ID_VC1@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	w8, #234
	ccmp	x9, x10, #4, ne
	b.ne	LBB0_18
; %bb.14:
	cmp	w20, #1
	b.lt	LBB0_2
; %bb.15:
	mov	w8, #0
	mov	w9, w20
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x19]
	orr	w8, w10, w8, lsl #8
	cmp	w8, #271
	b.eq	LBB0_24
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	w0, #0
	add	x19, x19, #4
	subs	x9, x9, #1
	b.ne	LBB0_16
	b	LBB0_3
LBB0_18:
Lloh12:
	adrp	x10, _AV_CODEC_ID_MPEG4@GOTPAGE
Lloh13:
	ldr	x10, [x10, _AV_CODEC_ID_MPEG4@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	w8, #16
	ccmp	x9, x10, #4, ne
	b.ne	LBB0_24
; %bb.19:
	cmp	w20, #2
	b.lt	LBB0_2
; %bb.20:
	mov	w8, #0
	sub	w9, w20, #1
	add	x10, x19, #4
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	w0, #0
	add	x10, x10, #4
	subs	x9, x9, #1
	b.eq	LBB0_3
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldur	w11, [x10, #-4]
	orr	w8, w11, w8, lsl #8
	cmp	w8, #438
	b.ne	LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldrb	w11, [x10]
	tst	w11, #0xc0
	b.ne	LBB0_21
LBB0_24:
	mov	w0, #1
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CODEC_ID_MPEG1VIDEO,8,3     ; @AV_CODEC_ID_MPEG1VIDEO
	.comm	_AV_CODEC_ID_MPEG2VIDEO,8,3     ; @AV_CODEC_ID_MPEG2VIDEO
	.comm	_AV_CODEC_ID_H264,8,3           ; @AV_CODEC_ID_H264
	.comm	_AV_CODEC_ID_VC1,8,3            ; @AV_CODEC_ID_VC1
	.comm	_AV_CODEC_ID_MPEG4,8,3          ; @AV_CODEC_ID_MPEG4
	.no_dead_strip	_isIframe
.subsections_via_symbols
