	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_counter_old
_get_counter_old:                       ## @get_counter_old
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_verbosity@GOTPCREL(%rip), %rbx
	cmpl	$3, (%rbx)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	movl	%r14d, %r8d
	callq	_fprintf
LBB0_2:
	testl	%r14d, %r14d
	jle	LBB0_11
## %bb.3:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_check_version
	testl	%eax, %eax
	je	LBB0_23
## %bb.4:
	cmpl	$3, (%rbx)
	jl	LBB0_6
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	movl	$-1, %r8d
	callq	_fprintf
LBB0_6:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_get_counter_f
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	%rax, %rbx
	testl	%r12d, %r12d
	je	LBB0_20
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r12d, (%rbx)
	jl	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	je	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_8
LBB0_11:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_get_counter_f
	testq	%rax, %rax
	je	LBB0_23
## %bb.12:
	movq	%rax, %rbx
	testl	%r14d, %r14d
	js	LBB0_15
## %bb.13:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_load_counter
	cmpl	$-2, %eax
	jne	LBB0_15
## %bb.14:
	movq	_counter_wait@GOTPCREL(%rip), %rbx
	jmp	LBB0_24
LBB0_15:
	testl	%r12d, %r12d
	je	LBB0_20
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%r12d, (%rbx)
	jl	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_16
LBB0_23:
	xorl	%ebx, %ebx
	jmp	LBB0_24
LBB0_20:
	movq	%rbx, %rdi
	callq	_do_use
LBB0_24:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get_counter_old (%lld, %d, %d)\n"

	.comm	_counter_wait,16,3              ## @counter_wait
	.no_dead_strip	_get_counter_old
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_counter_old
_get_counter_old:                       ; @get_counter_old
	.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, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _verbosity@GOTPAGE
Lloh1:
	ldr	x22, [x22, _verbosity@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x19
	mov	x4, x20
	bl	_fprintf
LBB0_2:
	cmp	w20, #1
	b.lt	LBB0_11
; %bb.3:
	mov	x0, x21
	mov	x1, x19
	bl	_check_version
	cbz	w0, LBB0_20
; %bb.4:
	ldr	w8, [x22]
	cmp	w8, #3
	b.lt	LBB0_6
; %bb.5:
Lloh7:
	adrp	x8, _stderr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x19
	mov	w4, #-1
	bl	_fprintf
LBB0_6:
	mov	x0, x21
	mov	w1, #0
	bl	_get_counter_f
	cbz	x0, LBB0_11
; %bb.7:
	mov	x22, x0
	cbz	w19, LBB0_19
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cmp	w8, w19
	b.lt	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	b.eq	LBB0_19
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x22, [x22, #8]
	cbnz	x22, LBB0_8
LBB0_11:
	mov	x0, x21
	mov	w1, #0
	bl	_get_counter_f
	mov	x22, x0
	cbz	x0, LBB0_21
; %bb.12:
	tbnz	w20, #31, LBB0_15
; %bb.13:
	mov	x0, x21
	mov	w1, #0
	mov	x2, x20
	bl	_load_counter
	cmn	w0, #2
	b.ne	LBB0_15
; %bb.14:
Lloh12:
	adrp	x22, _counter_wait@GOTPAGE
Lloh13:
	ldr	x22, [x22, _counter_wait@GOTPAGEOFF]
	b	LBB0_21
LBB0_15:
	cbz	w19, LBB0_19
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cmp	w8, w19
	b.lt	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	b.eq	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x22, [x22, #8]
	cbnz	x22, LBB0_16
	b	LBB0_21
LBB0_19:
	mov	x0, x22
	bl	_do_use
	b	LBB0_21
LBB0_20:
	mov	x22, #0
LBB0_21:
	mov	x0, x22
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get_counter_old (%lld, %d, %d)\n"

	.comm	_counter_wait,16,3              ; @counter_wait
	.no_dead_strip	_get_counter_old
.subsections_via_symbols
