	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_PMC
_write_PMC:                             ## @write_PMC
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ssp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movq	_SSP_PMC_HAVE_ADDR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ecx
	testl	%edx, %ecx
	je	LBB0_2
## %bb.1:
	movq	_SSP_PMC_SET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%edx, (%rax)
	movl	(%rsi), %ecx
	notl	%ecx
	andl	%edx, %ecx
	movq	_rPMC@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_2:
	orl	%edx, %ecx
	movq	_rPMC@GOTPCREL(%rip), %rdx
	addq	$8, %rdx
LBB0_3:
	movl	%ecx, (%rax)
	movq	%rdi, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ssp,8,3                        ## @ssp
	.comm	_SSP_PMC_HAVE_ADDR,4,2          ## @SSP_PMC_HAVE_ADDR
	.comm	_SSP_PMC_SET,4,2                ## @SSP_PMC_SET
	.comm	_rPMC,16,3                      ## @rPMC
	.comm	_EL_SVP,4,2                     ## @EL_SVP
	.no_dead_strip	_write_PMC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_PMC
_write_PMC:                             ; @write_PMC
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ssp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ssp@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x8]
Lloh3:
	adrp	x10, _SSP_PMC_HAVE_ADDR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SSP_PMC_HAVE_ADDR@GOTPAGEOFF]
	ldr	w11, [x10]
	tst	w11, w9
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x11, _SSP_PMC_SET@GOTPAGE
Lloh6:
	ldr	x11, [x11, _SSP_PMC_SET@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	orr	w9, w11, w9
	str	w9, [x8]
	ldr	w10, [x10]
	bic	w9, w9, w10
Lloh8:
	adrp	x10, _rPMC@GOTPAGE
Lloh9:
	ldr	x10, [x10, _rPMC@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	orr	w9, w11, w9
Lloh10:
	adrp	x10, _rPMC@GOTPAGE
Lloh11:
	ldr	x10, [x10, _rPMC@GOTPAGEOFF]
	add	x10, x10, #8
LBB0_3:
	str	w9, [x8]
	str	x0, [x10]
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ssp,8,3                        ; @ssp
	.comm	_SSP_PMC_HAVE_ADDR,4,2          ; @SSP_PMC_HAVE_ADDR
	.comm	_SSP_PMC_SET,4,2                ; @SSP_PMC_SET
	.comm	_rPMC,16,3                      ; @rPMC
	.comm	_EL_SVP,4,2                     ; @EL_SVP
	.no_dead_strip	_write_PMC
.subsections_via_symbols
