	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_attr_rdpmc
_set_attr_rdpmc:                        ## @set_attr_rdpmc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rcx, %rbx
	movq	%rdx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_simple_strtoul
	testq	%rax, %rax
	setne	%dl
	movq	_x86_pmu@GOTPCREL(%rip), %rsi
	cmpl	$0, (%rsi)
	sete	%cl
	xorb	%dl, %cl
	jne	LBB0_2
## %bb.1:
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, (%rsi)
	movq	_change_rdpmc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	movl	$1, %edx
	callq	_smp_call_function
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_x86_pmu,4,2                    ## @x86_pmu
	.comm	_change_rdpmc,4,2               ## @change_rdpmc
	.no_dead_strip	_set_attr_rdpmc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_attr_rdpmc
_set_attr_rdpmc:                        ; @set_attr_rdpmc
	.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, x3
	mov	x0, x2
	mov	x1, #0
	mov	w2, #0
	bl	_simple_strtoul
	cmp	x0, #0
	cset	w9, ne
Lloh0:
	adrp	x8, _x86_pmu@GOTPAGE
Lloh1:
	ldr	x8, [x8, _x86_pmu@GOTPAGEOFF]
	ldr	w10, [x8]
	cmp	w10, #0
	cset	w10, eq
	eor	w9, w9, w10
	tbnz	w9, #0, LBB0_2
; %bb.1:
	mov	x1, x0
	cmp	x0, #0
	cset	w9, ne
	str	w9, [x8]
Lloh2:
	adrp	x8, _change_rdpmc@GOTPAGE
Lloh3:
	ldr	x8, [x8, _change_rdpmc@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	w2, #1
	bl	_smp_call_function
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_x86_pmu,4,2                    ; @x86_pmu
	.comm	_change_rdpmc,4,2               ; @change_rdpmc
	.no_dead_strip	_set_attr_rdpmc
.subsections_via_symbols
