	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_evsel__intval             ## -- Begin function perf_evsel__intval
	.p2align	4, 0x90
_perf_evsel__intval:                    ## @perf_evsel__intval
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdx, %rsi
	callq	_perf_evsel__field
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.1:
	movl	4(%rcx), %edx
	leal	-1(%rdx), %edi
	cmpl	$7, %edi
	ja	LBB0_12
## %bb.2:
	movq	(%r14), %r8
	movslq	(%rcx), %rcx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdi,4), %rdi
	addq	%rsi, %rdi
	jmpq	*%rdi
LBB0_3:
	movl	(%r8,%rcx), %edi
	cmpl	$0, (%rbx)
	je	LBB0_4
## %bb.5:
	cmpl	$8, %edx
	je	LBB0_10
## %bb.6:
	cmpl	$4, %edx
	je	LBB0_9
## %bb.7:
	cmpl	$2, %edx
	jne	LBB0_12
## %bb.8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bswap_16                       ## TAILCALL
LBB0_4:
	movl	%edi, %eax
	jmp	LBB0_12
LBB0_11:
	movl	(%r8,%rcx), %eax
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bswap_64                       ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bswap_32                       ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_3
	.long	L0_0_set_12
	.long	L0_0_set_3
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_evsel__intval             ; -- Begin function perf_evsel__intval
	.p2align	2
_perf_evsel__intval:                    ; @perf_evsel__intval
	.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	x20, x1
	mov	x19, x0
	mov	x1, x2
	bl	_perf_evsel__field
	cbz	x0, LBB0_12
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [x8, #4]
	sub	w11, w9, #1
	cmp	w11, #7
	b.hi	LBB0_12
; %bb.2:
	ldr	x10, [x20]
	ldrsw	x8, [x8]
Lloh0:
	adrp	x12, lJTI0_0@PAGE
Lloh1:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x13, LBB0_3
	ldrb	w14, [x12, x11]
	add	x13, x13, x14, lsl #2
	br	x13
LBB0_3:
	ldr	w0, [x10, x8]
	ldr	w8, [x19]
	cbz	w8, LBB0_12
; %bb.4:
	cmp	w9, #8
	b.eq	LBB0_9
; %bb.5:
	cmp	w9, #4
	b.eq	LBB0_10
; %bb.6:
	cmp	w9, #2
	b.ne	LBB0_11
; %bb.7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bswap_16
LBB0_8:
	ldr	w0, [x10, x8]
	b	LBB0_12
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bswap_64
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bswap_32
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
                                        ; -- End function
.subsections_via_symbols
