	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function poll_event_callback
_poll_event_callback:                   ## @poll_event_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_1
## %bb.2:
	movq	16(%rdi), %r9
	movq	8(%rdi), %rcx
	cmpl	$1, %r8d
	jne	LBB0_8
## %bb.3:
	xorl	%edi, %edi
	xorl	%eax, %eax
LBB0_4:
	testb	$1, %r8b
	je	LBB0_7
## %bb.5:
	cmpq	%rdx, (%rcx,%rdi,8)
	jne	LBB0_7
## %bb.6:
	movq	_POLL_ALWAYS_LISTENING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	4(%r9,%rdi,8), %eax
	andl	%esi, %eax
	movl	%eax, (%r9,%rdi,8)
	movl	$1, %eax
LBB0_7:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_8:
	movl	%r8d, %r10d
	andl	$-2, %r10d
	xorl	%edi, %edi
	movq	_POLL_ALWAYS_LISTENING@GOTPCREL(%rip), %r11
	xorl	%eax, %eax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	addq	$2, %rdi
	cmpq	%rdi, %r10
	je	LBB0_4
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, (%rcx,%rdi,8)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r11), %eax
	orl	4(%r9,%rdi,8), %eax
	andl	%esi, %eax
	movl	%eax, (%r9,%rdi,8)
	movl	$1, %eax
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%rdx, 8(%rcx,%rdi,8)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r11), %eax
	orl	12(%r9,%rdi,8), %eax
	andl	%esi, %eax
	movl	%eax, 8(%r9,%rdi,8)
	movl	$1, %eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_POLL_ALWAYS_LISTENING,4,2      ## @POLL_ALWAYS_LISTENING
	.no_dead_strip	_poll_event_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function poll_event_callback
_poll_event_callback:                   ; @poll_event_callback
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	ldp	x8, x10, [x8, #8]
	add	x10, x10, #4
Lloh0:
	adrp	x11, _POLL_ALWAYS_LISTENING@GOTPAGE
Lloh1:
	ldr	x11, [x11, _POLL_ALWAYS_LISTENING@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #8
	add	x10, x10, #8
	subs	x9, x9, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x8]
	cmp	x12, x2
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w12, [x10]
	ldr	w13, [x11]
	orr	w12, w13, w12
	and	w12, w12, w1
	stur	w12, [x10, #-4]
	mov	w0, #1
	b	LBB0_2
LBB0_5:
	mov	w0, #0
LBB0_6:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_POLL_ALWAYS_LISTENING,4,2      ; @POLL_ALWAYS_LISTENING
	.no_dead_strip	_poll_event_callback
.subsections_via_symbols
