	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_bts_event
_is_bts_event:                          ## @is_bts_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_PERF_TYPE_HARDWARE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.1:
	movq	_PERF_COUNT_HW_BRANCH_INSTRUCTIONS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%rdi)
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	cmpl	$1, 12(%rdi)
	sete	%al
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PERF_TYPE_HARDWARE,8,3         ## @PERF_TYPE_HARDWARE
	.comm	_PERF_COUNT_HW_BRANCH_INSTRUCTIONS,4,2 ## @PERF_COUNT_HW_BRANCH_INSTRUCTIONS
	.no_dead_strip	_is_bts_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_bts_event
_is_bts_event:                          ; @is_bts_event
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PERF_TYPE_HARDWARE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PERF_TYPE_HARDWARE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x0, #8]
Lloh3:
	adrp	x9, _PERF_COUNT_HW_BRANCH_INSTRUCTIONS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PERF_COUNT_HW_BRANCH_INSTRUCTIONS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [x0, #12]
	cmp	w8, #1
	cset	w0, eq
	ret
LBB0_3:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PERF_TYPE_HARDWARE,8,3         ; @PERF_TYPE_HARDWARE
	.comm	_PERF_COUNT_HW_BRANCH_INSTRUCTIONS,4,2 ; @PERF_COUNT_HW_BRANCH_INSTRUCTIONS
	.no_dead_strip	_is_bts_event
.subsections_via_symbols
