	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_intx
_be_intx:                               ## @be_intx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	16(%rsi), %r14
	leaq	12(%rsi), %r12
	movq	%r12, %rdi
	callq	_napi_schedule_prep
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_events_get
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	___napi_schedule
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.2:
	movq	$0, (%rbx)
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	movl	%r15d, %r8d
	callq	_be_eq_notify
	jmp	LBB0_3
LBB0_4:
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_be_eq_notify
	movq	(%rbx), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	testq	%rax, %rax
	jne	LBB0_5
LBB0_3:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_be_intx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_intx
_be_intx:                               ; @be_intx
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	ldr	x20, [x1, #16]
	add	x22, x1, #12
	mov	x0, x22
	bl	_napi_schedule_prep
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_events_get
	mov	x21, x0
	mov	x0, x22
	bl	___napi_schedule
	cbz	w21, LBB0_3
; %bb.2:
	str	xzr, [x19]
	ldr	w1, [x19, #8]
	mov	x0, x20
	mov	w2, #0
	mov	w3, #1
	mov	x4, x21
	bl	_be_eq_notify
Lloh0:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	ldr	w1, [x19, #8]
	mov	x0, x20
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	bl	_be_eq_notify
	ldr	x8, [x19]
	add	x9, x8, #1
	str	x9, [x19]
Lloh2:
	adrp	x9, _IRQ_NONE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IRQ_NONE@GOTPAGEOFF]
Lloh4:
	adrp	x10, _IRQ_HANDLED@GOTPAGE
Lloh5:
	ldr	x10, [x10, _IRQ_HANDLED@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_be_intx
.subsections_via_symbols
