	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipath_snap_cntr                ## -- Begin function ipath_snap_cntr
	.p2align	4, 0x90
_ipath_snap_cntr:                       ## @ipath_snap_cntr
	.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, %r12
	movq	%rdi, %r15
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movq	_IPATH_32BITCOUNTERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
LBB0_6:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rcx, %r14
	callq	_ipath_read_creg32
	movq	%r14, %rcx
	movl	%eax, %r13d
	cltq
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movb	$1, %r14b
	jmp	LBB0_7
LBB0_1:
	movq	96(%r15), %rax
	cmpq	%r12, (%rax)
	je	LBB0_5
## %bb.2:
	cmpq	%r12, 8(%rax)
	je	LBB0_5
## %bb.3:
	cmpq	%r12, 16(%rax)
	je	LBB0_5
## %bb.4:
	cmpq	%r12, 24(%rax)
	jne	LBB0_6
LBB0_5:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rcx, %r14
	callq	_ipath_read_creg
	movq	%r14, %rcx
	xorl	%r13d, %r13d
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	$-1, %rax
	sete	%r13b
	negl	%r13d
	xorl	%r14d, %r14d
LBB0_7:
	movq	(%rcx), %rsi
	movq	_HZ@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	cmpl	$-1, %r13d
	jne	LBB0_10
## %bb.9:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_ipath_dev_err
	xorl	%eax, %eax
	jmp	LBB0_37
LBB0_10:
	testb	%r14b, %r14b
	je	LBB0_11
## %bb.12:
	movq	96(%r15), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_16
## %bb.13:
	movl	%r13d, %eax
	subl	4(%r15), %eax
	jne	LBB0_15
## %bb.14:
	movq	8(%r15), %rax
	jmp	LBB0_37
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_37
LBB0_16:
	cmpq	%r12, 8(%rax)
	jne	LBB0_20
## %bb.17:
	movl	%r13d, %eax
	subl	16(%r15), %eax
	jne	LBB0_19
## %bb.18:
	movq	24(%r15), %rax
	jmp	LBB0_37
LBB0_15:
	cltq
	addq	8(%r15), %rax
	movq	%rax, 8(%r15)
	movl	%r13d, 4(%r15)
	jmp	LBB0_37
LBB0_20:
	cmpq	%r12, 16(%rax)
	jne	LBB0_24
## %bb.21:
	movl	%r13d, %eax
	subl	32(%r15), %eax
	jne	LBB0_23
## %bb.22:
	movq	40(%r15), %rax
	jmp	LBB0_37
LBB0_19:
	cltq
	addq	24(%r15), %rax
	movq	%rax, 24(%r15)
	movl	%r13d, 16(%r15)
	jmp	LBB0_37
LBB0_24:
	cmpq	%r12, 24(%rax)
	jne	LBB0_28
## %bb.25:
	movl	%r13d, %eax
	subl	48(%r15), %eax
	jne	LBB0_27
## %bb.26:
	movq	56(%r15), %rax
	jmp	LBB0_37
LBB0_23:
	cltq
	addq	40(%r15), %rax
	movq	%rax, 40(%r15)
	movl	%r13d, 32(%r15)
	jmp	LBB0_37
LBB0_28:
	cmpq	%r12, 32(%rax)
	jne	LBB0_32
## %bb.29:
	cmpq	$0, 88(%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_31
## %bb.30:
	movq	64(%r15), %rax
LBB0_31:
	subq	104(%r15), %rax
	jmp	LBB0_37
LBB0_27:
	cltq
	addq	56(%r15), %rax
	movq	%rax, 56(%r15)
	movl	%r13d, 48(%r15)
	jmp	LBB0_37
LBB0_32:
	cmpq	%r12, 40(%rax)
	jne	LBB0_36
## %bb.33:
	cmpq	$0, 88(%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_35
## %bb.34:
	movq	72(%r15), %rax
LBB0_35:
	subq	80(%r15), %rax
	jmp	LBB0_37
LBB0_36:
	movslq	%r13d, %rax
LBB0_37:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_IPATH_32BITCOUNTERS,4,2        ## @IPATH_32BITCOUNTERS
	.comm	_HZ,8,3                         ## @HZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error!  Read counter 0x%x timed out\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipath_snap_cntr                ; -- Begin function ipath_snap_cntr
	.p2align	2
_ipath_snap_cntr:                       ; @ipath_snap_cntr
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _jiffies@GOTPAGE
Lloh1:
	ldr	x24, [x24, _jiffies@GOTPAGEOFF]
	ldr	x23, [x24]
	ldr	w8, [x0]
Lloh2:
	adrp	x9, _IPATH_32BITCOUNTERS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IPATH_32BITCOUNTERS@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
LBB0_1:
	mov	x0, x19
	mov	x1, x21
	bl	_ipath_read_creg32
	mov	x22, x0
	sxtw	x20, w22
	mov	w25, #1
	b	LBB0_7
LBB0_2:
	ldr	x8, [x19, #96]
	ldr	x9, [x8]
	cmp	x9, x21
	b.eq	LBB0_6
; %bb.3:
	ldr	x9, [x8, #8]
	cmp	x9, x21
	b.eq	LBB0_6
; %bb.4:
	ldr	x9, [x8, #16]
	cmp	x9, x21
	b.eq	LBB0_6
; %bb.5:
	ldr	x8, [x8, #24]
	cmp	x8, x21
	b.ne	LBB0_1
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	bl	_ipath_read_creg
	mov	x20, x0
	mov	w25, #0
	cmn	x0, #1
	csetm	w22, eq
LBB0_7:
	ldr	x1, [x24]
Lloh5:
	adrp	x8, _HZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	add	x0, x8, x23
	bl	_time_before
	cmp	x0, #0
	ccmn	w22, #1, #0, ne
	b.eq	LBB0_12
; %bb.8:
	cbz	w25, LBB0_13
; %bb.9:
	ldr	x8, [x19, #96]
	ldr	x9, [x8]
	cmp	x9, x21
	b.ne	LBB0_14
; %bb.10:
	ldr	w8, [x19, #4]
	subs	w8, w22, w8
	b.ne	LBB0_17
; %bb.11:
	ldr	x20, [x19, #8]
	b	LBB0_13
LBB0_12:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_ipath_dev_err
	mov	x20, #0
LBB0_13:
	mov	x0, 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
	ret
LBB0_14:
	ldr	x9, [x8, #8]
	cmp	x9, x21
	b.ne	LBB0_18
; %bb.15:
	ldr	w8, [x19, #16]
	subs	w8, w22, w8
	b.ne	LBB0_21
; %bb.16:
	ldr	x20, [x19, #24]
	b	LBB0_13
LBB0_17:
	ldr	x9, [x19, #8]
	add	x20, x9, w8, sxtw
	str	x20, [x19, #8]
	str	w22, [x19, #4]
	b	LBB0_13
LBB0_18:
	ldr	x9, [x8, #16]
	cmp	x9, x21
	b.ne	LBB0_22
; %bb.19:
	ldr	w8, [x19, #32]
	subs	w8, w22, w8
	b.ne	LBB0_25
; %bb.20:
	ldr	x20, [x19, #40]
	b	LBB0_13
LBB0_21:
	ldr	x9, [x19, #24]
	add	x20, x9, w8, sxtw
	str	x20, [x19, #24]
	str	w22, [x19, #16]
	b	LBB0_13
LBB0_22:
	ldr	x9, [x8, #24]
	cmp	x9, x21
	b.ne	LBB0_26
; %bb.23:
	ldr	w8, [x19, #48]
	subs	w8, w22, w8
	b.ne	LBB0_30
; %bb.24:
	ldr	x20, [x19, #56]
	b	LBB0_13
LBB0_25:
	ldr	x9, [x19, #40]
	add	x20, x9, w8, sxtw
	str	x20, [x19, #40]
	str	w22, [x19, #32]
	b	LBB0_13
LBB0_26:
	ldr	x9, [x8, #32]
	cmp	x9, x21
	b.ne	LBB0_31
; %bb.27:
	ldr	x8, [x19, #88]
	cbz	x8, LBB0_29
; %bb.28:
	ldr	x20, [x19, #64]
LBB0_29:
	ldr	x8, [x19, #104]
	sub	x20, x20, x8
	b	LBB0_13
LBB0_30:
	ldr	x9, [x19, #56]
	add	x20, x9, w8, sxtw
	str	x20, [x19, #56]
	str	w22, [x19, #48]
	b	LBB0_13
LBB0_31:
	ldr	x8, [x8, #40]
	cmp	x8, x21
	b.ne	LBB0_35
; %bb.32:
	ldr	x8, [x19, #88]
	cbz	x8, LBB0_34
; %bb.33:
	ldr	x20, [x19, #72]
LBB0_34:
	ldr	x8, [x19, #80]
	sub	x20, x20, x8
	b	LBB0_13
LBB0_35:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	sxtw	x20, w22
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_IPATH_32BITCOUNTERS,4,2        ; @IPATH_32BITCOUNTERS
	.comm	_HZ,8,3                         ; @HZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error!  Read counter 0x%x timed out\n"

.subsections_via_symbols
