	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetMsecSincePerfCounter        ## -- Begin function GetMsecSincePerfCounter
	.p2align	4, 0x90
_GetMsecSincePerfCounter:               ## @GetMsecSincePerfCounter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	leaq	-32(%rbp), %rdi
	callq	_QueryPerformanceCounter
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	-32(%rbp), %esi
	leaq	-16(%rbp), %rdi
	movl	%ebx, %edx
	callq	_MyDoMinus64
	leaq	-24(%rbp), %rdi
	callq	_QueryPerformanceFrequency
	movq	-16(%rbp), %rdi
	movl	$16, %esi
	callq	_Int64ShrlMod32
	movq	%rax, %rbx
	movq	-24(%rbp), %rdi
	movl	$16, %esi
	callq	_Int64ShrlMod32
	movq	%rax, %rcx
	imull	$1000, %ebx, %eax               ## imm = 0x3E8
	cltd
	idivl	%ecx
	jmp	LBB0_4
LBB0_2:
	xorl	%eax, %eax
	callq	_GetTickCount
	subl	%ebx, %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetMsecSincePerfCounter        ; -- Begin function GetMsecSincePerfCounter
	.p2align	2
_GetMsecSincePerfCounter:               ; @GetMsecSincePerfCounter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cbz	w1, LBB0_3
; %bb.1:
	add	x0, sp, #24
	bl	_QueryPerformanceCounter
	cbz	w0, LBB0_3
; %bb.2:
	ldr	w1, [sp, #24]
	and	x2, x19, #0xffffffff
	add	x0, sp, #8
	bl	_MyDoMinus64
	add	x0, sp, #16
	bl	_QueryPerformanceFrequency
	ldr	x0, [sp, #8]
	mov	w1, #16
	bl	_Int64ShrlMod32
	mov	x19, x0
	ldr	x0, [sp, #16]
	mov	w1, #16
	bl	_Int64ShrlMod32
	mov	w8, #1000
	mul	w8, w19, w8
	sdiv	w0, w8, w0
	b	LBB0_4
LBB0_3:
	bl	_GetTickCount
	sub	w0, w0, w19
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
