	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_CreateNewCommands           ## -- Begin function CL_CreateNewCommands
	.p2align	4, 0x90
_CL_CreateNewCommands:                  ## @CL_CreateNewCommands
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_clc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CA_PRIMED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_2
## %bb.1:
	movq	_com_frameTime@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_old_com_frameTime@GOTPCREL(%rip), %rcx
	movl	%eax, %edx
	subl	(%rcx), %edx
	cmpl	$2, %edx
	movl	$1, %esi
	cmovgel	%edx, %esi
	cmpl	$200, %esi
	movl	$200, %edx
	cmovbl	%esi, %edx
	movq	_frame_msec@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	movl	%eax, (%rcx)
	movq	_cl@GOTPCREL(%rip), %r14
	movslq	(%r14), %rax
	incq	%rax
	movl	%eax, (%r14)
	movq	_CMD_MASK@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rbx
	andq	%rax, %rbx
	xorl	%eax, %eax
	callq	_CL_CreateCmd
	movq	8(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_clc,8,3                        ## @clc
	.comm	_CA_PRIMED,8,3                  ## @CA_PRIMED
	.comm	_com_frameTime,4,2              ## @com_frameTime
	.comm	_old_com_frameTime,4,2          ## @old_com_frameTime
	.comm	_frame_msec,4,2                 ## @frame_msec
	.comm	_cl,16,3                        ## @cl
	.comm	_CMD_MASK,4,2                   ## @CMD_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_CreateNewCommands           ; -- Begin function CL_CreateNewCommands
	.p2align	2
_CL_CreateNewCommands:                  ; @CL_CreateNewCommands
	.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	x8, _clc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _clc@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CA_PRIMED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CA_PRIMED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _com_frameTime@GOTPAGE
Lloh7:
	ldr	x8, [x8, _com_frameTime@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _old_com_frameTime@GOTPAGE
Lloh10:
	ldr	x9, [x9, _old_com_frameTime@GOTPAGEOFF]
	ldr	w10, [x9]
	sub	w10, w8, w10
	cmp	w10, #1
	csinc	w10, w10, wzr, gt
	mov	w11, #200
Lloh11:
	adrp	x12, _frame_msec@GOTPAGE
Lloh12:
	ldr	x12, [x12, _frame_msec@GOTPAGEOFF]
	cmp	w10, #200
	csel	w10, w10, w11, lo
Lloh13:
	str	w10, [x12]
	str	w8, [x9]
Lloh14:
	adrp	x19, _cl@GOTPAGE
Lloh15:
	ldr	x19, [x19, _cl@GOTPAGEOFF]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
Lloh16:
	adrp	x9, _CMD_MASK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _CMD_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	and	w20, w9, w8
	bl	_CL_CreateCmd
	ldr	x8, [x19, #8]
	str	w0, [x8, w20, sxtw #2]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_clc,8,3                        ; @clc
	.comm	_CA_PRIMED,8,3                  ; @CA_PRIMED
	.comm	_com_frameTime,4,2              ; @com_frameTime
	.comm	_old_com_frameTime,4,2          ; @old_com_frameTime
	.comm	_frame_msec,4,2                 ; @frame_msec
	.comm	_cl,16,3                        ; @cl
	.comm	_CMD_MASK,4,2                   ; @CMD_MASK
.subsections_via_symbols
