	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmc_name_set
_pmc_name_set:                          ## @pmc_name_set
	.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
	movq	%rdi, %r15
	movq	(%rdi), %rsi
	cmpb	$37, (%rsi)
	jne	LBB0_1
## %bb.3:
	incq	%rsi
	movq	%rsi, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtol
	movq	_valid_pmc_cnt@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	(%r15), %rcx
	cmpl	%edx, %eax
	jge	LBB0_8
## %bb.4:
	movq	_valid_pmcs@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cltq
	movl	(%rdx,%rax,4), %esi
	movq	%rcx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strcpy                         ## TAILCALL
LBB0_1:
	movq	_valid_pmc_cnt@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_9
## %bb.2:
	xorl	%ebx, %ebx
	movq	_valid_pmcs@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	(%r14), %rax
	movq	(%r15), %rsi
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	$-1, %edi
	callq	_exit
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str(%rip), %rdi
	movq	%rcx, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	$-1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_valid_pmc_cnt,4,2              ## @valid_pmc_cnt
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown PMC %s -- largest we have is $%d -- can't run your expression\n"

	.comm	_valid_pmcs,8,3                 ## @valid_pmcs
L_.str.1:                               ## @.str.1
	.asciz	"PMC %s does not exist on this machine -- can't run your expression\n"

	.no_dead_strip	_pmc_name_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmc_name_set
_pmc_name_set:                          ; @pmc_name_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	ldr	x1, [x0]
	ldrb	w8, [x1]
	cmp	w8, #37
	b.ne	LBB0_3
; %bb.1:
	add	x0, x1, #1
	mov	x1, #0
	mov	w2, #0
	bl	_strtol
Lloh0:
	adrp	x8, _valid_pmc_cnt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _valid_pmc_cnt@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	ldr	x8, [x19]
	cmp	w0, w9
	b.ge	LBB0_10
; %bb.2:
Lloh3:
	adrp	x9, _valid_pmcs@GOTPAGE
Lloh4:
	ldr	x9, [x9, _valid_pmcs@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w1, [x9, w0, sxtw #2]
	mov	x0, x8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_strcpy
LBB0_3:
Lloh6:
	adrp	x20, _valid_pmc_cnt@GOTPAGE
Lloh7:
	ldr	x20, [x20, _valid_pmc_cnt@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.4:
	mov	x21, #0
Lloh8:
	adrp	x22, _valid_pmcs@GOTPAGE
Lloh9:
	ldr	x22, [x22, _valid_pmcs@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w0, [x8, x21, lsl #2]
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	ldr	x1, [x19]
	cmp	x21, x8
	b.lt	LBB0_5
LBB0_7:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_8:
	bl	_printf
	mov	w0, #-1
	bl	_exit
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_10:
	str	x9, [sp]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x8
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_valid_pmc_cnt,4,2              ; @valid_pmc_cnt
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown PMC %s -- largest we have is $%d -- can't run your expression\n"

	.comm	_valid_pmcs,8,3                 ; @valid_pmcs
l_.str.1:                               ; @.str.1
	.asciz	"PMC %s does not exist on this machine -- can't run your expression\n"

	.no_dead_strip	_pmc_name_set
.subsections_via_symbols
