	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_spe_event_to_pmsirr
_arm_spe_event_to_pmsirr:               ## @arm_spe_event_to_pmsirr
	.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
	leaq	4(%rdi), %r14
	callq	_arm_spe_event_sanitise_period
	movq	_jitter@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ATTR_CFG_GET_FLD
	movq	_SYS_PMSIRR_EL1_RND_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	(%rbx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jitter,4,2                     ## @jitter
	.comm	_SYS_PMSIRR_EL1_RND_SHIFT,4,2   ## @SYS_PMSIRR_EL1_RND_SHIFT
	.no_dead_strip	_arm_spe_event_to_pmsirr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_spe_event_to_pmsirr
_arm_spe_event_to_pmsirr:               ; @arm_spe_event_to_pmsirr
	.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
	add	x20, x0, #4
	bl	_arm_spe_event_sanitise_period
Lloh0:
	adrp	x8, _jitter@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jitter@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ATTR_CFG_GET_FLD
Lloh3:
	adrp	x8, _SYS_PMSIRR_EL1_RND_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SYS_PMSIRR_EL1_RND_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w8, w0, w8
	ldr	w9, [x19]
	orr	w0, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_jitter,4,2                     ; @jitter
	.comm	_SYS_PMSIRR_EL1_RND_SHIFT,4,2   ; @SYS_PMSIRR_EL1_RND_SHIFT
	.no_dead_strip	_arm_spe_event_to_pmsirr
.subsections_via_symbols
