	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perf_evsel__check_stype
_perf_evsel__check_stype:               ## @perf_evsel__check_stype
	.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
	xorl	%ebx, %ebx
	testl	%esi, 4(%rdi)
	jne	LBB0_4
## %bb.1:
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movslq	(%rdi), %rax
	movq	_output@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rax
	cmpq	$0, 8(%rcx,%rax)
	je	LBB0_3
## %bb.2:
	callq	_perf_evsel__name
	movq	%rax, %rbx
	movl	%r15d, %edi
	callq	_output_field2str
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_pr_err
	movl	$-1, %ebx
	jmp	LBB0_4
LBB0_3:
	movl	%r15d, %edx
	notl	%edx
	andl	%edx, (%rcx,%rax)
	callq	_perf_evsel__name
	movq	%rax, %r12
	movl	%r15d, %edi
	callq	_output_field2str
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_pr_debug
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_output,8,3                     ## @output
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Samples for '%s' event do not have %s attribute set. Cannot print '%s' field.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Samples for '%s' event do not have %s attribute set. Skipping '%s' field.\n"

	.no_dead_strip	_perf_evsel__check_stype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perf_evsel__check_stype
_perf_evsel__check_stype:               ; @perf_evsel__check_stype
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w8, [x0, #4]
	tst	w8, w1
	b.eq	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_4
LBB0_2:
	mov	x20, x3
	mov	x19, x2
	ldrsw	x9, [x0]
Lloh0:
	adrp	x8, _output@GOTPAGE
Lloh1:
	ldr	x8, [x8, _output@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x10, x8, x9, lsl #4
	ldr	x10, [x10, #8]
	cbz	x10, LBB0_5
; %bb.3:
	bl	_perf_evsel__name
	mov	x21, x0
	mov	x0, x20
	bl	_output_field2str
	mov	x3, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x19
	bl	_pr_err
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	lsl	x9, x9, #4
	ldr	w10, [x8, x9]
	bic	w10, w10, w20
	str	w10, [x8, x9]
	bl	_perf_evsel__name
	mov	x21, x0
	mov	x0, x20
	bl	_output_field2str
	mov	x3, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	mov	x2, x19
	bl	_pr_debug
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_output,8,3                     ; @output
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Samples for '%s' event do not have %s attribute set. Cannot print '%s' field.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Samples for '%s' event do not have %s attribute set. Skipping '%s' field.\n"

	.no_dead_strip	_perf_evsel__check_stype
.subsections_via_symbols
