	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p32x_event_schedule            ## -- Begin function p32x_event_schedule
	.p2align	4, 0x90
_p32x_event_schedule:                   ## @p32x_event_schedule
	.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
	movl	%edx, %ebx
	movl	%esi, %r14d
	movl	%edi, %ecx
	addl	%edi, %ebx
	orl	$1, %ebx
	movq	_EL_32X@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	movl	%ebx, %r8d
	callq	_elprintf
	movq	_p32x_event_times@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r14d, %ecx
	movl	%ebx, (%rax,%rcx,4)
	movq	_event_time_next@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	movl	%ebx, %esi
	callq	_CYCLES_GT
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movl	%ebx, (%r14)
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EL_32X,4,2                     ## @EL_32X
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"32x: new event #%u %u->%u"

	.comm	_p32x_event_times,8,3           ## @p32x_event_times
	.comm	_event_time_next,4,2            ## @event_time_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p32x_event_schedule            ; -- Begin function p32x_event_schedule
	.p2align	2
_p32x_event_schedule:                   ; @p32x_event_schedule
	.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	x20, x1
	mov	x3, x0
	add	w8, w2, w0
	orr	w19, w8, #0x1
Lloh0:
	adrp	x8, _EL_32X@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EL_32X@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	mov	x4, x19
	bl	_elprintf
Lloh5:
	adrp	x8, _p32x_event_times@GOTPAGE
Lloh6:
	ldr	x8, [x8, _p32x_event_times@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	w19, [x8, w20, uxtw #2]
Lloh8:
	adrp	x20, _event_time_next@GOTPAGE
Lloh9:
	ldr	x20, [x20, _event_time_next@GOTPAGEOFF]
	ldr	w0, [x20]
	cbz	w0, LBB0_2
; %bb.1:
	mov	x1, x19
	bl	_CYCLES_GT
	cbz	x0, LBB0_3
LBB0_2:
	str	w19, [x20]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EL_32X,4,2                     ; @EL_32X
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"32x: new event #%u %u->%u"

	.comm	_p32x_event_times,8,3           ; @p32x_event_times
	.comm	_event_time_next,4,2            ; @event_time_next
.subsections_via_symbols
