	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_priority_set             ## -- Begin function event_priority_set
	.p2align	4, 0x90
_event_priority_set:                    ## @event_priority_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$-1, %eax
	testl	%esi, %esi
	js	LBB0_4
## %bb.1:
	movq	_EVLIST_ACTIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rdi), %ecx
	jne	LBB0_4
## %bb.2:
	movq	8(%rdi), %rcx
	cmpl	%esi, (%rcx)
	jle	LBB0_4
## %bb.3:
	movl	%esi, 4(%rdi)
	xorl	%eax, %eax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVLIST_ACTIVE,4,2              ## @EVLIST_ACTIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_priority_set             ; -- Begin function event_priority_set
	.p2align	2
_event_priority_set:                    ; @event_priority_set
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #-1
	tbnz	w1, #31, LBB0_4
; %bb.1:
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _EVLIST_ACTIVE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _EVLIST_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	and	w9, w10, w9
	cbnz	w9, LBB0_4
; %bb.2:
	ldr	x9, [x8, #8]
	ldr	w9, [x9]
	cmp	w9, w1
	b.le	LBB0_5
; %bb.3:
	mov	w0, #0
	str	w1, [x8, #4]
LBB0_4:
	ret
LBB0_5:
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EVLIST_ACTIVE,4,2              ; @EVLIST_ACTIVE
.subsections_via_symbols
