	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scte_data_cb
_scte_data_cb:                          ## @scte_data_cb
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	8(%rdi), %r12
	movl	24(%r12), %eax
	movl	4(%rdi), %esi
	movl	%eax, %edi
	callq	_ff_find_stream_index
	testl	%eax, %eax
	js	LBB0_9
## %bb.1:
	movq	8(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.2:
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_new_data_packet
	movq	8(%r12), %rax
	movl	%ebx, (%rax)
	movl	24(%r12), %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_av_find_program_from_stream
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movslq	(%rax), %rcx
	cmpq	$-1, %rcx
	je	LBB0_8
## %bb.4:
	movq	8(%rax), %rax
	movq	_AVDISCARD_ALL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_8
## %bb.5:
	movq	16(%r12), %rax
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movl	(%rax), %eax
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.7:
	cltq
	imulq	$458129845, %rax, %rax          ## imm = 0x1B4E81B5
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	movq	8(%r12), %rcx
	movl	%eax, 8(%rcx)
	movl	%eax, 4(%rcx)
LBB0_8:
	movl	$1, (%r12)
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVDISCARD_ALL,8,3              ## @AVDISCARD_ALL
	.no_dead_strip	_scte_data_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scte_data_cb
_scte_data_cb:                          ; @scte_data_cb
	.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	x21, x1
	ldr	x22, [x0, #8]
	ldr	w8, [x22, #24]
	ldr	w1, [x0, #4]
	mov	x0, x8
	bl	_ff_find_stream_index
	tbnz	w0, #31, LBB0_9
; %bb.1:
	ldr	x2, [x22, #8]
	cbz	x2, LBB0_9
; %bb.2:
	mov	x19, x0
	mov	x0, x21
	mov	x1, x20
	bl	_new_data_packet
	ldr	x8, [x22, #8]
	str	w19, [x8]
	ldr	w0, [x22, #24]
	mov	x1, #0
	mov	x2, x19
	bl	_av_find_program_from_stream
	cbz	x0, LBB0_8
; %bb.3:
	ldrsw	x8, [x0]
	cmn	w8, #1
	b.eq	LBB0_8
; %bb.4:
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x10, _AVDISCARD_ALL@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AVDISCARD_ALL@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_8
; %bb.5:
	ldr	x9, [x22, #16]
	ldr	x8, [x9, x8, lsl #3]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_8
; %bb.7:
	mov	w9, #33205
	movk	w9, #6990, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	ldr	x10, [x22, #8]
	add	w8, w8, w9
	stp	w8, w8, [x10, #4]
LBB0_8:
	mov	w8, #1
	str	w8, [x22]
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AVDISCARD_ALL,8,3              ; @AVDISCARD_ALL
	.no_dead_strip	_scte_data_cb
.subsections_via_symbols
