	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmc_width                      ## -- Begin function pmc_width
	.p2align	4, 0x90
_pmc_width:                             ## @pmc_width
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_PMC_ID_TO_CLASS
	movl	%eax, %ecx
	movq	_cpu_info@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	movl	$-1, %eax
	movq	_errno@GOTPCREL(%rip), %r8
	movq	_EINVAL@GOTPCREL(%rip), %rsi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	8(%rdx), %rdx
	addq	$4, %rdx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ecx, -4(%rdx)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rdx
	decq	%rdi
	jne	LBB0_2
LBB0_5:
	movq	%r8, %rbx
	jmp	LBB0_6
LBB0_3:
	xorl	%eax, %eax
	movq	%rdx, %rsi
LBB0_6:
	movl	(%rsi), %ecx
	movl	%ecx, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cpu_info,16,3                  ## @cpu_info
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmc_width                      ; -- Begin function pmc_width
	.p2align	2
_pmc_width:                             ; @pmc_width
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_PMC_ID_TO_CLASS
Lloh0:
	adrp	x8, _cpu_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpu_info@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_5
; %bb.1:
	ldr	x8, [x8, #8]
	add	x8, x8, #4
Lloh2:
	adrp	x10, _errno@GOTPAGE
Lloh3:
	ldr	x10, [x10, _errno@GOTPAGEOFF]
Lloh4:
	adrp	x11, _EINVAL@GOTPAGE
Lloh5:
	ldr	x11, [x11, _EINVAL@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w12, [x8, #-4]
	cmp	w12, w0
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #8
	subs	x9, x9, #1
	b.ne	LBB0_2
; %bb.4:
	mov	w0, #-1
	mov	x8, x11
	mov	x19, x10
	b	LBB0_7
LBB0_5:
	mov	w0, #-1
Lloh6:
	adrp	x19, _errno@GOTPAGE
Lloh7:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldr	w8, [x8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_cpu_info,16,3                  ; @cpu_info
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
