	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmc_name_of_mode               ## -- Begin function pmc_name_of_mode
	.p2align	4, 0x90
_pmc_name_of_mode:                      ## @pmc_name_of_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PMC_MODE_FIRST@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jg	LBB0_3
## %bb.1:
	movq	_PMC_MODE_LAST@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jb	LBB0_3
## %bb.2:
	movq	_pmc_mode_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %ecx
	movq	(%rax,%rcx,8), %rax
	popq	%rbp
	retq
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PMC_MODE_FIRST,4,2             ## @PMC_MODE_FIRST
	.comm	_PMC_MODE_LAST,4,2              ## @PMC_MODE_LAST
	.comm	_pmc_mode_names,8,3             ## @pmc_mode_names
	.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_name_of_mode               ; -- Begin function pmc_name_of_mode
	.p2align	2
_pmc_name_of_mode:                      ; @pmc_name_of_mode
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PMC_MODE_FIRST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PMC_MODE_FIRST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PMC_MODE_LAST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PMC_MODE_LAST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #0, le
	b.hs	LBB0_2
; %bb.1:
	mov	x0, #0
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _errno@GOTPAGE
Lloh10:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	ret
LBB0_2:
Lloh12:
	adrp	x8, _pmc_mode_names@GOTPAGE
Lloh13:
	ldr	x8, [x8, _pmc_mode_names@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x0, [x8, w0, uxtw #3]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PMC_MODE_FIRST,4,2             ; @PMC_MODE_FIRST
	.comm	_PMC_MODE_LAST,4,2              ; @PMC_MODE_LAST
	.comm	_pmc_mode_names,8,3             ; @pmc_mode_names
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
