	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smt_emulate_token_ct           ## -- Begin function smt_emulate_token_ct
	.p2align	4, 0x90
_smt_emulate_token_ct:                  ## @smt_emulate_token_ct
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_smt_get_time
	movl	%eax, %ecx
	movslq	%r14d, %rsi
	cmpq	$0, 16(%rbx)
	movq	(%rbx), %rdi
	je	LBB0_2
## %bb.1:
	movl	%ecx, %eax
	subl	(%rdi,%rsi,4), %eax
	imull	$100, %eax, %eax
	movq	_TICKS_PER_SECOND@GOTPCREL(%rip), %r8
	cltd
	idivl	(%r8)
	movq	8(%rbx), %rdx
	addl	%eax, (%rdx,%rsi,4)
LBB0_2:
	movl	%ecx, (%rdi,%rsi,4)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TICKS_PER_SECOND,4,2           ## @TICKS_PER_SECOND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smt_emulate_token_ct           ; -- Begin function smt_emulate_token_ct
	.p2align	2
_smt_emulate_token_ct:                  ; @smt_emulate_token_ct
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_smt_get_time
	sxtw	x8, w20
	ldr	x10, [x19, #16]
	ldr	x9, [x19]
	cbz	x10, LBB0_2
; %bb.1:
	lsl	x10, x8, #2
	ldr	w11, [x9, x10]
	sub	w11, w0, w11
	mov	w12, #100
	mul	w11, w11, w12
Lloh0:
	adrp	x12, _TICKS_PER_SECOND@GOTPAGE
Lloh1:
	ldr	x12, [x12, _TICKS_PER_SECOND@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x12]
	sdiv	w11, w11, w12
	ldr	x12, [x19, #8]
	ldr	w13, [x12, x10]
	add	w11, w13, w11
	str	w11, [x12, x10]
LBB0_2:
	str	w0, [x9, x8, lsl #2]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TICKS_PER_SECOND,4,2           ; @TICKS_PER_SECOND
.subsections_via_symbols
