	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cs2MpegSetStream               ## -- Begin function Cs2MpegSetStream
	.p2align	4, 0x90
_Cs2MpegSetStream:                      ## @Cs2MpegSetStream
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_Cs2Area@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movzbl	4(%rax), %esi
	movq	24(%rax), %rcx
	cmpl	$255, %edx
	ja	LBB0_2
## %bb.1:
	movl	%esi, (%rcx)
	movl	8(%rax), %esi
	movzbl	%sil, %edi
	sarl	$8, %esi
	movl	%esi, 4(%rcx)
	movl	%edi, 8(%rcx)
	xorl	%esi, %esi
	jmp	LBB0_3
LBB0_2:
	movl	%esi, 24(%rcx)
	movl	8(%rax), %esi
	movzbl	%sil, %edi
	sarl	$8, %esi
	movl	%esi, 28(%rcx)
	movl	%edi, 32(%rcx)
	movzbl	%dl, %edx
	movl	$1, %esi
LBB0_3:
	leaq	(%rsi,%rsi,2), %rsi
	movl	%edx, 12(%rcx,%rsi,8)
	movl	12(%rax), %edx
	movzbl	%dl, %edi
	sarl	$8, %edx
	movl	%edx, 16(%rcx,%rsi,8)
	movl	%edi, 20(%rcx,%rsi,8)
	movl	20(%rax), %edi
	callq	_doMPEGReport
	movq	_CDB_HIRQ_CMOK@GOTPCREL(%rip), %rax
	movq	_CDB_HIRQ_MPCM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	(%rbx), %rax
	orl	%ecx, 16(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Cs2Area,8,3                    ## @Cs2Area
	.comm	_CDB_HIRQ_CMOK,4,2              ## @CDB_HIRQ_CMOK
	.comm	_CDB_HIRQ_MPCM,4,2              ## @CDB_HIRQ_MPCM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cs2MpegSetStream               ; -- Begin function Cs2MpegSetStream
	.p2align	2
_Cs2MpegSetStream:                      ; @Cs2MpegSetStream
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _Cs2Area@GOTPAGE
Lloh1:
	ldr	x19, [x19, _Cs2Area@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w9, [x8]
	ldrb	w12, [x8, #4]
	ldr	x10, [x8, #24]
	cmp	w9, #255
	b.hi	LBB0_2
; %bb.1:
	mov	x11, #0
	ldr	w13, [x8, #8]
	asr	w14, w13, #8
	stp	w12, w14, [x10]
	and	w12, w13, #0xff
	str	w12, [x10, #8]
	b	LBB0_3
LBB0_2:
	ldr	w11, [x8, #8]
	asr	w13, w11, #8
	stp	w12, w13, [x10, #24]
	and	w11, w11, #0xff
	str	w11, [x10, #32]
	and	w9, w9, #0xff
	mov	w11, #1
LBB0_3:
	mov	w12, #24
	madd	x10, x11, x12, x10
	ldr	w11, [x8, #12]
	asr	w12, w11, #8
	stp	w9, w12, [x10, #12]
	and	w9, w11, #0xff
	str	w9, [x10, #20]
	ldr	w0, [x8, #20]
	bl	_doMPEGReport
Lloh2:
	adrp	x8, _CDB_HIRQ_CMOK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CDB_HIRQ_CMOK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _CDB_HIRQ_MPCM@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CDB_HIRQ_MPCM@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x19]
	ldr	w10, [x9, #16]
	orr	w8, w8, w10
	str	w8, [x9, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_Cs2Area,8,3                    ; @Cs2Area
	.comm	_CDB_HIRQ_CMOK,4,2              ; @CDB_HIRQ_CMOK
	.comm	_CDB_HIRQ_MPCM,4,2              ; @CDB_HIRQ_MPCM
.subsections_via_symbols
