	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test__checkevent_symbolic_name_config
_test__checkevent_symbolic_name_config: ## @test__checkevent_symbolic_name_config
	.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_HARDWARE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%esi, %esi
	cmpq	(%r14), %rax
	sete	%sil
	leaq	L_.str.1(%rip), %rdi
	callq	_TEST_ASSERT_VAL
	movq	_PERF_COUNT_HW_CPU_CYCLES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%esi, %esi
	cmpq	8(%r14), %rax
	sete	%sil
	leaq	L_.str.2(%rip), %rdi
	callq	_TEST_ASSERT_VAL
	xorl	%esi, %esi
	cmpl	$100000, 16(%r14)               ## imm = 0x186A0
	sete	%sil
	leaq	L_.str.3(%rip), %rdi
	callq	_TEST_ASSERT_VAL
	xorl	%esi, %esi
	cmpq	$0, 24(%r14)
	sete	%sil
	leaq	L_.str.4(%rip), %rdi
	callq	_TEST_ASSERT_VAL
	xorl	%esi, %esi
	cmpl	$1, 32(%r14)
	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_HARDWARE,8,3         ## @PERF_TYPE_HARDWARE
L_.str.2:                               ## @.str.2
	.asciz	"wrong config"

	.comm	_PERF_COUNT_HW_CPU_CYCLES,8,3   ## @PERF_COUNT_HW_CPU_CYCLES
L_.str.3:                               ## @.str.3
	.asciz	"wrong period"

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

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

	.no_dead_strip	_test__checkevent_symbolic_name_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test__checkevent_symbolic_name_config
_test__checkevent_symbolic_name_config: ; @test__checkevent_symbolic_name_config
	.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_HARDWARE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PERF_TYPE_HARDWARE@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
Lloh7:
	adrp	x8, _PERF_COUNT_HW_CPU_CYCLES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PERF_COUNT_HW_CPU_CYCLES@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	cset	w1, eq
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TEST_ASSERT_VAL
	ldr	w8, [x20, #16]
	sub	w8, w8, #24, lsl #12            ; =98304
	cmp	w8, #1696
	cset	w1, eq
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_TEST_ASSERT_VAL
	ldr	x8, [x20, #24]
	cmp	x8, #0
	cset	w1, eq
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_TEST_ASSERT_VAL
	ldr	w8, [x20, #32]
	cmp	w8, #1
	cset	w1, eq
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	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	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.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_HARDWARE,8,3         ; @PERF_TYPE_HARDWARE
l_.str.2:                               ; @.str.2
	.asciz	"wrong config"

	.comm	_PERF_COUNT_HW_CPU_CYCLES,8,3   ; @PERF_COUNT_HW_CPU_CYCLES
l_.str.3:                               ; @.str.3
	.asciz	"wrong period"

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

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

	.no_dead_strip	_test__checkevent_symbolic_name_config
.subsections_via_symbols
