	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hisi_pmu_cpu_is_associated_pmu
_hisi_pmu_cpu_is_associated_pmu:        ## @hisi_pmu_cpu_is_associated_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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpl	$-1, (%rdi)
	je	LBB0_1
## %bb.2:
	leaq	-20(%rbp), %rdi
	leaq	-24(%rbp), %r14
	movq	%r14, %rsi
	callq	_hisi_read_sccl_and_ccl_id
	movl	-20(%rbp), %ecx
	xorl	%eax, %eax
	cmpl	4(%rbx), %ecx
	je	LBB0_3
	jmp	LBB0_4
LBB0_1:
	leaq	-20(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_hisi_read_sccl_and_ccl_id
	addq	$4, %rbx
LBB0_3:
	movl	(%r14), %ecx
	xorl	%eax, %eax
	cmpl	(%rbx), %ecx
	sete	%al
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hisi_pmu_cpu_is_associated_pmu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hisi_pmu_cpu_is_associated_pmu
_hisi_pmu_cpu_is_associated_pmu:        ; @hisi_pmu_cpu_is_associated_pmu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w8, [x0]
	cmn	w8, #1
	b.eq	LBB0_3
; %bb.1:
	add	x20, sp, #8
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_hisi_read_sccl_and_ccl_id
	ldr	w8, [sp, #12]
	ldr	w9, [x19, #4]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	add	x20, sp, #12
	add	x0, sp, #12
	mov	x1, #0
	bl	_hisi_read_sccl_and_ccl_id
	add	x19, x19, #4
LBB0_4:
	ldr	w8, [x20]
	ldr	w9, [x19]
	cmp	w8, w9
	cset	w0, eq
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hisi_pmu_cpu_is_associated_pmu
.subsections_via_symbols
