	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cem_priv_state
_cem_priv_state:                        ## @cem_priv_state
	.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	8(%rdi), %rax
	movq	_SMT_DAS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
## %bb.1:
	movq	%rdi, %rbx
	movq	_CF_JOIN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movslq	%esi, %rcx
	subq	%rax, %rcx
	movq	_PA@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_3
## %bb.2:
	movq	_PB@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_26
LBB0_3:
	movq	(%rbx), %rax
	leaq	(%rcx,%rcx,2), %rcx
	cmpq	$0, 16(%rax,%rcx,8)
	je	LBB0_5
## %bb.4:
	movq	_CEM_PST_UP@GOTPCREL(%rip), %rdx
LBB0_7:
	movq	(%rdx), %rdx
	movq	%rdx, (%rax,%rcx,8)
	jmp	LBB0_8
LBB0_5:
	cmpq	$0, 8(%rax,%rcx,8)
	je	LBB0_6
LBB0_8:
	movq	(%rax), %rcx
	movq	_CEM_PST_HOLD@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rcx
	jne	LBB0_11
## %bb.9:
	cmpq	$0, 8(%rax)
	jne	LBB0_11
## %bb.10:
	movq	_CEM_PST_DOWN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	_EVENT_PCM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PC_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_queue_event
	movq	(%rbx), %rax
	movq	(%rax), %rcx
LBB0_11:
	movq	_CEM_PST_UP@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rcx
	jne	LBB0_14
## %bb.12:
	cmpq	$0, 8(%rax)
	je	LBB0_14
## %bb.13:
	movq	(%r14), %rcx
	movq	%rcx, (%rax)
	movq	_EVENT_PCM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PC_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_queue_event
	movq	(%rbx), %rax
	movq	(%rax), %rcx
LBB0_14:
	movq	_CEM_PST_DOWN@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rcx
	jne	LBB0_17
## %bb.15:
	cmpq	$0, 8(%rax)
	je	LBB0_17
## %bb.16:
	movq	(%r14), %rcx
	movq	%rcx, (%rax)
LBB0_17:
	movq	24(%rax), %rcx
	cmpq	(%r14), %rcx
	jne	LBB0_20
## %bb.18:
	cmpq	$0, 32(%rax)
	jne	LBB0_20
## %bb.19:
	movq	(%r15), %rcx
	movq	%rcx, 24(%rax)
	movq	_EVENT_PCM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incl	%esi
	movq	_PC_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_queue_event
	movq	(%rbx), %rax
	movq	24(%rax), %rcx
LBB0_20:
	cmpq	(%r12), %rcx
	jne	LBB0_23
## %bb.21:
	cmpq	$0, 32(%rax)
	je	LBB0_23
## %bb.22:
	movq	(%r14), %rcx
	movq	%rcx, 24(%rax)
	movq	_EVENT_PCM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incl	%esi
	movq	_PC_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_queue_event
	movq	(%rbx), %rax
	movq	24(%rax), %rcx
LBB0_23:
	cmpq	(%r15), %rcx
	jne	LBB0_26
## %bb.24:
	cmpq	$0, 32(%rax)
	je	LBB0_26
## %bb.25:
	movq	(%r14), %rcx
	movq	%rcx, 24(%rax)
LBB0_26:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_CEM_PST_DOWN@GOTPCREL(%rip), %rdx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_SMT_DAS,8,3                    ## @SMT_DAS
	.comm	_CF_JOIN,4,2                    ## @CF_JOIN
	.comm	_PA,4,2                         ## @PA
	.comm	_PB,4,2                         ## @PB
	.comm	_CEM_PST_UP,8,3                 ## @CEM_PST_UP
	.comm	_CEM_PST_DOWN,8,3               ## @CEM_PST_DOWN
	.comm	_CEM_PST_HOLD,8,3               ## @CEM_PST_HOLD
	.comm	_EVENT_PCM,8,3                  ## @EVENT_PCM
	.comm	_PC_START,4,2                   ## @PC_START
	.no_dead_strip	_cem_priv_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cem_priv_state
_cem_priv_state:                        ; @cem_priv_state
	.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
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _SMT_DAS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SMT_DAS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.1:
Lloh3:
	adrp	x8, _CF_JOIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CF_JOIN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _PA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _PB@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PB@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x10]
	sub	w10, w1, w8
	cmp	w10, w9
	ccmp	w10, w11, #4, ne
	b.ne	LBB0_23
; %bb.2:
	mov	x19, x0
	ldr	x8, [x0]
	sxtw	x9, w10
	mov	w11, #24
	smaddl	x10, w10, w11, x8
	ldr	x11, [x10, #16]
Lloh12:
	adrp	x22, _CEM_PST_UP@GOTPAGE
Lloh13:
	ldr	x22, [x22, _CEM_PST_UP@GOTPAGEOFF]
	mov	x10, x22
	cbz	x11, LBB0_4
LBB0_3:
	ldr	x10, [x10]
	mov	w11, #24
	mul	x9, x9, x11
	str	x10, [x8, x9]
	b	LBB0_5
LBB0_4:
	mov	w10, #24
	madd	x10, x9, x10, x8
	ldr	x10, [x10, #8]
	cbz	x10, LBB0_24
LBB0_5:
	ldr	x9, [x8]
Lloh14:
	adrp	x20, _CEM_PST_HOLD@GOTPAGE
Lloh15:
	ldr	x20, [x20, _CEM_PST_HOLD@GOTPAGEOFF]
	ldr	x10, [x20]
Lloh16:
	adrp	x21, _CEM_PST_DOWN@GOTPAGE
Lloh17:
	ldr	x21, [x21, _CEM_PST_DOWN@GOTPAGEOFF]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.6:
	ldr	x10, [x8, #8]
	cbnz	x10, LBB0_8
; %bb.7:
	ldr	x9, [x21]
	str	x9, [x8]
Lloh18:
	adrp	x8, _EVENT_PCM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EVENT_PCM@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _PC_START@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PC_START@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_queue_event
	ldr	x8, [x19]
	ldr	x9, [x8]
LBB0_8:
	ldr	x10, [x22]
	cmp	x9, x10
	b.ne	LBB0_11
; %bb.9:
	ldr	x10, [x8, #8]
	cbz	x10, LBB0_11
; %bb.10:
	ldr	x9, [x20]
	str	x9, [x8]
Lloh24:
	adrp	x8, _EVENT_PCM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EVENT_PCM@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _PC_START@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PC_START@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_queue_event
	ldr	x8, [x19]
	ldr	x9, [x8]
LBB0_11:
	ldr	x10, [x21]
	cmp	x9, x10
	b.ne	LBB0_14
; %bb.12:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_14
; %bb.13:
	ldr	x9, [x20]
	str	x9, [x8]
LBB0_14:
	ldr	x9, [x8, #24]
	ldr	x10, [x20]
	cmp	x9, x10
	b.ne	LBB0_17
; %bb.15:
	ldr	x10, [x8, #32]
	cbnz	x10, LBB0_17
; %bb.16:
	ldr	x9, [x21]
Lloh30:
	adrp	x10, _EVENT_PCM@GOTPAGE
Lloh31:
	ldr	x10, [x10, _EVENT_PCM@GOTPAGEOFF]
	str	x9, [x8, #24]
Lloh32:
	ldr	w8, [x10]
	add	w1, w8, #1
Lloh33:
	adrp	x8, _PC_START@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PC_START@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_queue_event
	ldr	x8, [x19]
	ldr	x9, [x8, #24]
LBB0_17:
	ldr	x10, [x22]
	cmp	x9, x10
	b.ne	LBB0_20
; %bb.18:
	ldr	x10, [x8, #32]
	cbz	x10, LBB0_20
; %bb.19:
	ldr	x9, [x20]
Lloh36:
	adrp	x10, _EVENT_PCM@GOTPAGE
Lloh37:
	ldr	x10, [x10, _EVENT_PCM@GOTPAGEOFF]
	str	x9, [x8, #24]
Lloh38:
	ldr	w8, [x10]
	add	w1, w8, #1
Lloh39:
	adrp	x8, _PC_START@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PC_START@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_queue_event
	ldr	x8, [x19]
	ldr	x9, [x8, #24]
LBB0_20:
	ldr	x10, [x21]
	cmp	x9, x10
	b.ne	LBB0_23
; %bb.21:
	ldr	x9, [x8, #32]
	cbz	x9, LBB0_23
; %bb.22:
	ldr	x9, [x20]
	str	x9, [x8, #24]
LBB0_23:
	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
LBB0_24:
Lloh42:
	adrp	x10, _CEM_PST_DOWN@GOTPAGE
Lloh43:
	ldr	x10, [x10, _CEM_PST_DOWN@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_SMT_DAS,8,3                    ; @SMT_DAS
	.comm	_CF_JOIN,4,2                    ; @CF_JOIN
	.comm	_PA,4,2                         ; @PA
	.comm	_PB,4,2                         ; @PB
	.comm	_CEM_PST_UP,8,3                 ; @CEM_PST_UP
	.comm	_CEM_PST_DOWN,8,3               ; @CEM_PST_DOWN
	.comm	_CEM_PST_HOLD,8,3               ; @CEM_PST_HOLD
	.comm	_EVENT_PCM,8,3                  ; @EVENT_PCM
	.comm	_PC_START,4,2                   ; @PC_START
	.no_dead_strip	_cem_priv_state
.subsections_via_symbols
