	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_counter_versions           ## -- Begin function get_counter_versions
	.p2align	4, 0x90
_get_counter_versions:                  ## @get_counter_versions
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_Q_raw@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.17:
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_get_counter_versions_raw       ## TAILCALL
LBB0_1:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_get_counter_f
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %rbx
	xorl	%ecx, %ecx
	leaq	L_.str(%rip), %r12
	movq	%r15, %rax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rcx, %rcx
	jle	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	movb	$44, (%rax)
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rcx, %r13
	leaq	(%r15,%rcx), %rdi
	movl	(%rbx), %edx
	movq	%r12, %rsi
	callq	_sprintf
	movslq	%eax, %rcx
	addq	%r13, %rcx
	movq	8(%rbx), %rbx
	leaq	(%r15,%rcx), %rax
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$100000, %rcx                   ## imm = 0x186A0
	jl	LBB0_3
LBB0_7:
	cmpq	$99999, %rcx                    ## imm = 0x1869F
	jg	LBB0_15
LBB0_8:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_load_counter
	movl	%eax, %ecx
	movl	$-2, %eax
	cmpl	$-2, %ecx
	je	LBB0_16
## %bb.9:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_get_counter_f
	movq	%rax, %rbx
	movq	%r15, %rax
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.10:
	xorl	%ecx, %ecx
	leaq	L_.str(%rip), %r14
	movq	%r15, %rax
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	testq	%rcx, %rcx
	jle	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	incq	%rcx
	movb	$44, (%rax)
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rcx, %r12
	leaq	(%r15,%rcx), %rdi
	movl	(%rbx), %edx
	movq	%r14, %rsi
	callq	_sprintf
	movslq	%eax, %rcx
	addq	%r12, %rcx
	movq	8(%rbx), %rbx
	leaq	(%r15,%rcx), %rax
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	$100000, %rcx                   ## imm = 0x186A0
	jl	LBB0_11
LBB0_15:
	subl	%r15d, %eax
LBB0_16:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Q_raw,8,3                      ## @Q_raw
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_counter_versions           ; -- Begin function get_counter_versions
	.p2align	2
_get_counter_versions:                  ; @get_counter_versions
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _Q_raw@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Q_raw@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_get_counter_versions_raw
LBB0_2:
	mov	x0, x20
	mov	w1, #0
	bl	_get_counter_f
	cbz	x0, LBB0_8
; %bb.3:
	mov	x21, x0
	mov	x23, #0
	mov	w24, #34464
	movk	w24, #1, lsl #16
	mov	w25, #44
	mov	x8, x19
Lloh3:
	adrp	x22, l_.str@PAGE
Lloh4:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x19, x23
	ldr	w2, [x21]
	mov	x1, x22
	bl	_sprintf
	add	x23, x23, w0, sxtw
	ldr	x21, [x21, #8]
	add	x8, x19, x23
	cmp	x21, #0
	ccmp	x23, x24, #0, ne
	b.ge	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x23, #1
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	strb	w25, [x8]
	b	LBB0_4
LBB0_7:
	cmp	x23, x24
	b.ge	LBB0_14
LBB0_8:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #1
	bl	_load_counter
	cmn	w0, #2
	b.eq	LBB0_15
; %bb.9:
	mov	x0, x20
	mov	w1, #0
	bl	_get_counter_f
	mov	x8, x19
	cbz	x0, LBB0_14
; %bb.10:
	mov	x20, x0
	mov	x22, #0
	mov	w23, #34464
	movk	w23, #1, lsl #16
	mov	w24, #44
	mov	x8, x19
Lloh5:
	adrp	x21, l_.str@PAGE
Lloh6:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x0, x19, x22
	ldr	w2, [x20]
	mov	x1, x21
	bl	_sprintf
	add	x22, x22, w0, sxtw
	ldr	x20, [x20, #8]
	add	x8, x19, x22
	cmp	x20, #0
	ccmp	x22, x23, #0, ne
	b.ge	LBB0_14
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	cmp	x22, #1
	b.lt	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x22, x22, #1
	strb	w24, [x8]
	b	LBB0_11
LBB0_14:
	sub	w0, w8, w19
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_Q_raw,8,3                      ; @Q_raw
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

.subsections_via_symbols
