	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test__checkevent_pmu
_test__checkevent_pmu:                  ## @test__checkevent_pmu
	.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	%rdi, %rbx
	callq	_perf_evlist__first
	movq	%rax, %r14
	xorl	%esi, %esi
	cmpl	$1, (%rbx)
	sete	%sil
	leaq	L_.str(%rip), %rdi
	callq	_TEST_ASSERT_VAL
	movq	_PERF_TYPE_RAW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%esi, %esi
	cmpq	(%r14), %rax
	sete	%sil
	leaq	L_.str.1(%rip), %rdi
	callq	_TEST_ASSERT_VAL
	xorl	%esi, %esi
	cmpl	$10, 8(%r14)
	sete	%sil
	leaq	L_.str.2(%rip), %rdi
	callq	_TEST_ASSERT_VAL
	xorl	%esi, %esi
	cmpl	$1, 12(%r14)
	sete	%sil
	leaq	L_.str.3(%rip), %rdi
	callq	_TEST_ASSERT_VAL
	xorl	%esi, %esi
	cmpl	$3, 16(%r14)
	sete	%sil
	leaq	L_.str.4(%rip), %rdi
	callq	_TEST_ASSERT_VAL
	xorl	%esi, %esi
	cmpl	$1000, 20(%r14)                 ## imm = 0x3E8
	sete	%sil
	leaq	L_.str.5(%rip), %rdi
	callq	_TEST_ASSERT_VAL
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wrong number of entries"

L_.str.1:                               ## @.str.1
	.asciz	"wrong type"

	.comm	_PERF_TYPE_RAW,8,3              ## @PERF_TYPE_RAW
L_.str.2:                               ## @.str.2
	.asciz	"wrong config"

L_.str.3:                               ## @.str.3
	.asciz	"wrong config1"

L_.str.4:                               ## @.str.4
	.asciz	"wrong config2"

L_.str.5:                               ## @.str.5
	.asciz	"wrong period"

	.no_dead_strip	_test__checkevent_pmu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test__checkevent_pmu
_test__checkevent_pmu:                  ; @test__checkevent_pmu
	.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	x19, x0
	bl	_perf_evlist__first
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w8, #1
	cset	w1, eq
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TEST_ASSERT_VAL
Lloh2:
	adrp	x8, _PERF_TYPE_RAW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PERF_TYPE_RAW@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w1, eq
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TEST_ASSERT_VAL
	ldr	w8, [x20, #8]
	cmp	w8, #10
	cset	w1, eq
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TEST_ASSERT_VAL
	ldr	w8, [x20, #12]
	cmp	w8, #1
	cset	w1, eq
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_TEST_ASSERT_VAL
	ldr	w8, [x20, #16]
	cmp	w8, #3
	cset	w1, eq
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_TEST_ASSERT_VAL
	ldr	w8, [x20, #20]
	cmp	w8, #1000
	cset	w1, eq
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_TEST_ASSERT_VAL
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wrong number of entries"

l_.str.1:                               ; @.str.1
	.asciz	"wrong type"

	.comm	_PERF_TYPE_RAW,8,3              ; @PERF_TYPE_RAW
l_.str.2:                               ; @.str.2
	.asciz	"wrong config"

l_.str.3:                               ; @.str.3
	.asciz	"wrong config1"

l_.str.4:                               ; @.str.4
	.asciz	"wrong config2"

l_.str.5:                               ; @.str.5
	.asciz	"wrong period"

	.no_dead_strip	_test__checkevent_pmu
.subsections_via_symbols
