	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_dev_cntr                  ## -- Begin function read_dev_cntr
	.p2align	4, 0x90
_read_dev_cntr:                         ## @read_dev_cntr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %r8d
	movq	_dev_cntrs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	leaq	(%rax,%rcx,4), %rsi
	movslq	(%rax,%rcx,4), %rax
	shlq	$2, %rax
	addq	(%rdi), %rax
	movq	_CNTR_INVALID_VL@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	%r8d, (%rcx)
	cmovnel	%r8d, %edx
	movslq	%edx, %rcx
	leaq	(%rax,%rcx,4), %rdx
	movq	%rdi, %rcx
	popq	%rbp
	jmp	_read_dev_port_cntr             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_cntrs,8,3                  ## @dev_cntrs
	.comm	_CNTR_INVALID_VL,4,2            ## @CNTR_INVALID_VL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_dev_cntr                  ; -- Begin function read_dev_cntr
	.p2align	2
_read_dev_cntr:                         ; @read_dev_cntr
	.cfi_startproc
; %bb.0:
	mov	x4, x2
Lloh0:
	adrp	x8, _dev_cntrs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dev_cntrs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x1, x8, w1, sxtw #2
	ldr	x8, [x0]
	ldrsw	x9, [x1]
	add	x8, x8, x9, lsl #2
Lloh3:
	adrp	x9, _CNTR_INVALID_VL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CNTR_INVALID_VL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w2
	csel	w9, wzr, w2, eq
	add	x2, x8, w9, sxtw #2
	mov	x3, x0
	b	_read_dev_port_cntr
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_cntrs,8,3                  ; @dev_cntrs
	.comm	_CNTR_INVALID_VL,4,2            ; @CNTR_INVALID_VL
.subsections_via_symbols
