	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_counter_versions_raw       ## -- Begin function get_counter_versions_raw
	.p2align	4, 0x90
_get_counter_versions_raw:              ## @get_counter_versions_raw
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_get_counter_f
	leaq	100000(%r14), %rbx
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rcx
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rcx), %edx
	movl	%edx, (%rax)
	addq	$4, %rax
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rbx, %rax
	jb	LBB0_2
LBB0_4:
	cmpq	%rbx, %rax
	jae	LBB0_11
LBB0_5:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_load_counter
	movl	%eax, %ecx
	movl	$-2, %eax
	cmpl	$-2, %ecx
	je	LBB0_12
## %bb.6:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_get_counter_f
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %rcx
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rcx), %edx
	movl	%edx, (%rax)
	addq	$4, %rax
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%rbx, %rax
	jb	LBB0_9
	jmp	LBB0_11
LBB0_7:
	movq	%r14, %rax
LBB0_11:
	subl	%r14d, %eax
LBB0_12:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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	_get_counter_versions_raw       ; -- Begin function get_counter_versions_raw
	.p2align	2
_get_counter_versions_raw:              ; @get_counter_versions_raw
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	mov	w1, #0
	bl	_get_counter_f
	add	x8, x19, #24, lsl #12           ; =98304
	add	x21, x8, #1696
	cbz	x0, LBB0_4
; %bb.1:
	mov	x8, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x0, #8]
	str	w9, [x8], #4
	ldr	x0, [x0]
	cmp	x0, #0
	ccmp	x8, x21, #2, ne
	b.lo	LBB0_2
; %bb.3:
	cmp	x8, x21
	b.hs	LBB0_7
LBB0_4:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #1
	bl	_load_counter
	cmn	w0, #2
	b.eq	LBB0_8
; %bb.5:
	mov	x0, x20
	mov	w1, #0
	bl	_get_counter_f
	mov	x8, x19
	cbz	x0, LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x0, #8]
	str	w9, [x8], #4
	ldr	x0, [x0]
	cmp	x0, #0
	ccmp	x8, x21, #2, ne
	b.lo	LBB0_6
LBB0_7:
	sub	w0, w8, w19
LBB0_8:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
