	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpegts_find_stream_type
_mpegts_find_stream_type:               ## @mpegts_find_stream_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	addq	$24, %rdx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, %rax
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdx), %rax
	addq	$24, %rdx
	testq	%rax, %rax
	jne	LBB0_2
LBB0_9:
	popq	%rbp
	retq
LBB0_3:
	movq	16(%rdi), %rax
	movq	-16(%rdx), %rcx
	cmpq	%rcx, (%rax)
	jne	LBB0_4
## %bb.5:
	movq	-8(%rdx), %rdx
	cmpq	%rdx, 8(%rax)
	jne	LBB0_6
	jmp	LBB0_7
LBB0_4:
	movq	-8(%rdx), %rdx
LBB0_6:
	movq	%rcx, (%rax)
	movq	%rdx, 8(%rax)
	movq	8(%rdi), %rax
	movl	$1, (%rax)
LBB0_7:
	movq	$0, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mpegts_find_stream_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpegts_find_stream_type
_mpegts_find_stream_type:               ; @mpegts_find_stream_type
	.cfi_startproc
; %bb.0:
	ldr	x9, [x2]
	cbz	x9, LBB0_4
; %bb.1:
	add	x8, x2, #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x9, x1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x8, #8]
	add	x8, x8, #24
	cbnz	x9, LBB0_2
LBB0_4:
	ret
LBB0_5:
	ldr	x9, [x0, #16]
	ldr	x11, [x9]
	ldur	x10, [x8, #-8]
	cmp	x11, x10
	b.ne	LBB0_8
; %bb.6:
	ldr	x11, [x9, #8]
	ldr	x8, [x8]
	cmp	x11, x8
	b.ne	LBB0_9
; %bb.7:
	str	xzr, [x0]
	ret
LBB0_8:
	ldr	x8, [x8]
LBB0_9:
	stp	x10, x8, [x9]
	ldr	x8, [x0, #8]
	mov	w9, #1
	str	w9, [x8]
	str	xzr, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mpegts_find_stream_type
.subsections_via_symbols
