	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cs2MpegInit                    ## -- Begin function Cs2MpegInit
	.p2align	4, 0x90
_Cs2MpegInit:                           ## @Cs2MpegInit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_Cs2Area@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, 40(%rax)
	je	LBB0_1
## %bb.2:
	movl	(%rax), %ecx
	shll	$8, %ecx
	jmp	LBB0_3
LBB0_1:
	movl	$65280, %ecx                    ## imm = 0xFF00
LBB0_3:
	movl	%ecx, 8(%rax)
	xorl	%ecx, %ecx
	cmpl	$1, 12(%rax)
	movq	_CDB_HIRQ_CMOK@GOTPCREL(%rip), %rsi
	movq	_CDB_HIRQ_MPED@GOTPCREL(%rip), %rdx
	jne	LBB0_5
## %bb.4:
	movq	_CDB_HIRQ_MPCM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_5:
	orl	(%rsi), %ecx
	orl	(%rdx), %ecx
	movq	_CDB_HIRQ_MPST@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	orl	%ecx, 16(%rax)
	movl	$0, 12(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rax)
	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
	.comm	_CDB_HIRQ_MPED,4,2              ## @CDB_HIRQ_MPED
	.comm	_CDB_HIRQ_MPST,4,2              ## @CDB_HIRQ_MPST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cs2MpegInit                    ; -- Begin function Cs2MpegInit
	.p2align	2
_Cs2MpegInit:                           ; @Cs2MpegInit
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _Cs2Area@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Cs2Area@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x8, #40]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	w9, [x8]
	lsl	w9, w9, #8
	b	LBB0_3
LBB0_2:
	mov	w9, #65280
LBB0_3:
Lloh3:
	adrp	x10, _CDB_HIRQ_CMOK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CDB_HIRQ_CMOK@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _CDB_HIRQ_MPCM@GOTPAGE
Lloh7:
	ldr	x11, [x11, _CDB_HIRQ_MPCM@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	ldp	w12, w13, [x8, #12]
	cmp	w12, #1
	csel	w11, w11, wzr, eq
	orr	w10, w10, w11
Lloh9:
	adrp	x11, _CDB_HIRQ_MPED@GOTPAGE
Lloh10:
	ldr	x11, [x11, _CDB_HIRQ_MPED@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	orr	w10, w11, w10
Lloh12:
	adrp	x11, _CDB_HIRQ_MPST@GOTPAGE
Lloh13:
	ldr	x11, [x11, _CDB_HIRQ_MPST@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	orr	w10, w10, w11
	orr	w10, w10, w13
	stp	wzr, w10, [x8, #12]
	str	w9, [x8, #8]
	stp	xzr, xzr, [x8, #24]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.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
	.comm	_CDB_HIRQ_MPED,4,2              ; @CDB_HIRQ_MPED
	.comm	_CDB_HIRQ_MPST,4,2              ; @CDB_HIRQ_MPST
.subsections_via_symbols
