	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __perf_evsel__hw_name
___perf_evsel__hw_name:                 ## @__perf_evsel__hw_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PERF_COUNT_HW_MAX@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jbe	LBB0_2
## %bb.1:
	movq	_perf_evsel__hw_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rdi,8), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PERF_COUNT_HW_MAX,8,3          ## @PERF_COUNT_HW_MAX
	.comm	_perf_evsel__hw_names,8,3       ## @perf_evsel__hw_names
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown-hardware"

	.no_dead_strip	___perf_evsel__hw_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __perf_evsel__hw_name
___perf_evsel__hw_name:                 ; @__perf_evsel__hw_name
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PERF_COUNT_HW_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PERF_COUNT_HW_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ls	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _perf_evsel__hw_names@GOTPAGE
Lloh4:
	ldr	x8, [x8, _perf_evsel__hw_names@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x0, [x8, x0, lsl #3]
	cbz	x0, LBB0_3
; %bb.2:
	ret
LBB0_3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PERF_COUNT_HW_MAX,8,3          ; @PERF_COUNT_HW_MAX
	.comm	_perf_evsel__hw_names,8,3       ; @perf_evsel__hw_names
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown-hardware"

	.no_dead_strip	___perf_evsel__hw_name
.subsections_via_symbols
