	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cstatus_set                    ## -- Begin function cstatus_set
	.p2align	4, 0x90
_cstatus_set:                           ## @cstatus_set
	.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
	movq	_MyCData@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_1
## %bb.2:
	movl	%esi, %ebx
	movq	_CDataUserInfo@GOTPCREL(%rip), %r15
	notl	%ebx
	andl	(%r15), %ebx
	orl	%edi, %ebx
	movl	%ebx, (%r15)
	movl	$1000000, %edi                  ## imm = 0xF4240
	callq	_get_precise_time
	movl	%eax, 4(%r15)
	movq	(%r12), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_begin_update_copy
	movl	4(%r15), %eax
	movl	%eax, 4(%r14)
	movl	%ebx, (%r14)
	movq	%r14, %rdi
	callq	_end_update_copy
	movq	(%r12), %rax
	movq	(%rax), %r12
	leaq	8(%r12), %r14
	movq	%r14, %rdi
	callq	_begin_update_copy
	movl	4(%r15), %eax
	movl	%eax, 12(%r12)
	movl	%ebx, 8(%r12)
	movq	%r14, %rdi
	callq	_end_update_copy
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %ebx
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MyCData,8,3                    ## @MyCData
	.comm	_CDataUserInfo,8,2              ## @CDataUserInfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cstatus_set                    ; -- Begin function cstatus_set
	.p2align	2
_cstatus_set:                           ; @cstatus_set
	.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
Lloh0:
	adrp	x21, _MyCData@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MyCData@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x22, _CDataUserInfo@GOTPAGE
Lloh3:
	ldr	x22, [x22, _CDataUserInfo@GOTPAGEOFF]
	ldr	w8, [x22]
	bic	w8, w8, w1
	orr	w19, w8, w0
	str	w19, [x22]
	mov	w0, #16960
	movk	w0, #15, lsl #16
	bl	_get_precise_time
	str	w0, [x22, #4]
	ldr	x8, [x21]
	ldr	x20, [x8]
	mov	x0, x20
	bl	_begin_update_copy
	ldr	w8, [x22, #4]
	stp	w19, w8, [x20]
	mov	x0, x20
	bl	_end_update_copy
	ldr	x8, [x21]
	ldr	x21, [x8]
	add	x20, x21, #8
	mov	x0, x20
	bl	_begin_update_copy
	ldr	w8, [x22, #4]
	stp	w19, w8, [x21, #8]
	mov	x0, x20
	bl	_end_update_copy
	b	LBB0_3
LBB0_2:
	mov	w19, #-1
LBB0_3:
	mov	x0, x19
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MyCData,8,3                    ; @MyCData
	.comm	_CDataUserInfo,8,2              ; @CDataUserInfo
.subsections_via_symbols
