	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_mpeg_scr
_check_mpeg_scr:                        ## @check_mpeg_scr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	(%rdi), %rax
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	cmpq	%rax, %r8
	jne	LBB0_1
LBB0_3:
	incl	16(%rdi)
	movq	%r8, 8(%rdi)
	movl	$1, %eax
	jmp	LBB0_4
LBB0_1:
	movl	%esi, %ecx
	subl	%eax, %ecx
	imull	$90, %edx, %eax
	cmpl	%eax, %ecx
	jg	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	cmpl	$-901, %ecx                     ## imm = 0xFC7B
	jle	LBB0_3
LBB0_4:
	movl	%esi, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.no_dead_strip	_check_mpeg_scr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_mpeg_scr
_check_mpeg_scr:                        ; @check_mpeg_scr
	.cfi_startproc
; %bb.0:
	ldrsw	x9, [x0]
Lloh0:
	adrp	x8, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.1:
	mov	w10, #90
	mul	w10, w2, w10
	sub	w9, w1, w9
	cmp	w9, w10
	b.gt	LBB0_4
; %bb.2:
	cmn	w9, #901
	b.le	LBB0_4
; %bb.3:
	mov	w8, #0
	b	LBB0_5
LBB0_4:
	ldr	w9, [x0, #16]
	add	w9, w9, #1
	str	w9, [x0, #16]
	str	x8, [x0, #8]
	mov	w8, #1
LBB0_5:
	str	w1, [x0]
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.no_dead_strip	_check_mpeg_scr
.subsections_via_symbols
