	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cs2GetSessionInfo              ## -- Begin function Cs2GetSessionInfo
	.p2align	4, 0x90
_Cs2GetSessionInfo:                     ## @Cs2GetSessionInfo
	.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
	movb	16(%rax), %cl
	cmpb	$1, %cl
	je	LBB0_3
## %bb.1:
	testb	%cl, %cl
	jne	LBB0_4
## %bb.2:
	movq	(%rax), %rcx
	movzbl	406(%rcx), %edx
	orl	$256, %edx                      ## imm = 0x100
	movl	%edx, 20(%rax)
	movl	404(%rcx), %ecx
	jmp	LBB0_5
LBB0_3:
	movl	$256, 20(%rax)                  ## imm = 0x100
	xorl	%ecx, %ecx
	jmp	LBB0_5
LBB0_4:
	movl	$65535, 20(%rax)                ## imm = 0xFFFF
	movl	$65535, %ecx                    ## imm = 0xFFFF
LBB0_5:
	movl	%ecx, 24(%rax)
	movq	_CDB_STAT_PAUSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	shll	$8, %ecx
	movl	%ecx, 16(%rax)
	movq	$0, 32(%rax)
	movq	_CDB_HIRQ_CMOK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 28(%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Cs2Area,8,3                    ## @Cs2Area
	.comm	_CDB_STAT_PAUSE,4,2             ## @CDB_STAT_PAUSE
	.comm	_CDB_HIRQ_CMOK,4,2              ## @CDB_HIRQ_CMOK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cs2GetSessionInfo              ; -- Begin function Cs2GetSessionInfo
	.p2align	2
_Cs2GetSessionInfo:                     ; @Cs2GetSessionInfo
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _Cs2Area@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Cs2Area@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldrb	w9, [x8, #16]
	cmp	w9, #1
	b.eq	LBB0_3
; %bb.1:
	cbnz	w9, LBB0_4
; %bb.2:
	ldr	x9, [x8]
	add	x10, x9, #404
	ldrb	w10, [x10, #2]
	orr	w10, w10, #0x100
	str	w10, [x8, #20]
	ldr	w9, [x9, #404]
	b	LBB0_5
LBB0_3:
	mov	w9, #0
	mov	w10, #256
	str	w10, [x8, #20]
	b	LBB0_5
LBB0_4:
	mov	w9, #65535
	str	w9, [x8, #20]
LBB0_5:
Lloh3:
	adrp	x10, _CDB_STAT_PAUSE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CDB_STAT_PAUSE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	str	w10, [x8, #8]
	lsl	w10, w10, #8
	str	w10, [x8, #16]
Lloh6:
	adrp	x10, _CDB_HIRQ_CMOK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _CDB_HIRQ_CMOK@GOTPAGEOFF]
	str	xzr, [x8, #32]
Lloh8:
	ldr	w10, [x10]
	ldr	w11, [x8, #28]
	orr	w10, w11, w10
	stp	w9, w10, [x8, #24]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_Cs2Area,8,3                    ; @Cs2Area
	.comm	_CDB_STAT_PAUSE,4,2             ; @CDB_STAT_PAUSE
	.comm	_CDB_HIRQ_CMOK,4,2              ; @CDB_HIRQ_CMOK
.subsections_via_symbols
