	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_poll_del                       ## -- Begin function poll_del
	.p2align	4, 0x90
_poll_del:                              ## @poll_del
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	(%rsi), %edx
	movq	_EV_SIGNAL@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	je	LBB0_1
## %bb.14:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_evsignal_del                   ## TAILCALL
LBB0_1:
	movq	_EV_READ@GOTPCREL(%rip), %r12
	movq	_EV_WRITE@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	orl	(%r12), %ecx
	xorl	%eax, %eax
	testl	%edx, %ecx
	je	LBB0_13
## %bb.2:
	movq	%rdi, %r15
	callq	_poll_check_ok
	movq	(%r15), %rax
	movq	8(%rbx), %rcx
	movl	(%rax,%rcx,4), %eax
	testl	%eax, %eax
	jle	LBB0_3
## %bb.4:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leal	-1(%rax), %edx
	movq	%rdx, %rax
	shlq	$4, %rax
	movq	16(%r15), %r13
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	addq	%rax, %r13
	movl	(%rbx), %eax
	testl	%eax, (%r12)
	je	LBB0_6
## %bb.5:
	movq	_POLLIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, (%r13)
	movq	32(%r15), %rcx
	movq	$0, (%rcx,%rdx,8)
LBB0_6:
	testl	%eax, (%r14)
	je	LBB0_8
## %bb.7:
	movq	_POLLOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r13)
	movq	24(%r15), %rax
	movq	$0, (%rax,%rdx,8)
LBB0_8:
	movq	%rdx, %r12
	movq	%r15, %rdi
	callq	_poll_check_ok
	cmpl	$0, (%r13)
	jne	LBB0_12
## %bb.9:
	movq	(%r15), %rax
	movq	8(%rbx), %rcx
	movl	$0, (%rax,%rcx,4)
	movslq	8(%r15), %rax
	movq	%rax, %rsi
	decq	%rsi
	movl	%esi, 8(%r15)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpl	%eax, %ebx
	je	LBB0_11
## %bb.10:
	movq	16(%r15), %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	leaq	(%rax,%r14), %rdi
	shlq	$4, %rsi
	addq	%rax, %rsi
	movl	$16, %edx
	callq	_memcpy
	movq	32(%r15), %rax
	movslq	8(%r15), %rcx
	movq	(%rax,%rcx,8), %rdx
	movq	%rdx, (%rax,%r12,8)
	movq	24(%r15), %rax
	movq	(%rax,%rcx,8), %rcx
	movq	%rcx, (%rax,%r12,8)
	movq	(%r15), %rax
	movq	16(%r15), %rcx
	movq	8(%rcx,%r14), %rcx
	movl	%ebx, (%rax,%rcx,4)
LBB0_11:
	movq	%r15, %rdi
	callq	_poll_check_ok
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_3:
	movl	$-1, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EV_SIGNAL,4,2                  ## @EV_SIGNAL
	.comm	_EV_READ,4,2                    ## @EV_READ
	.comm	_EV_WRITE,4,2                   ## @EV_WRITE
	.comm	_POLLIN,4,2                     ## @POLLIN
	.comm	_POLLOUT,4,2                    ## @POLLOUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_poll_del                       ; -- Begin function poll_del
	.p2align	2
_poll_del:                              ; @poll_del
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _EV_SIGNAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EV_SIGNAL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_evsignal_del
LBB0_2:
Lloh3:
	adrp	x25, _EV_READ@GOTPAGE
Lloh4:
	ldr	x25, [x25, _EV_READ@GOTPAGEOFF]
	ldr	w9, [x25]
Lloh5:
	adrp	x23, _EV_WRITE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _EV_WRITE@GOTPAGEOFF]
	ldr	w10, [x23]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_12
; %bb.3:
	mov	x19, x0
	bl	_poll_check_ok
	ldr	x8, [x19]
	ldr	x9, [x20, #8]
	ldr	w21, [x8, x9, lsl #2]
	subs	w22, w21, #1
	b.lt	LBB0_13
; %bb.4:
	ldr	x8, [x19, #16]
	add	x24, x8, w22, uxtw #4
	ldr	w8, [x20]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh7:
	adrp	x9, _POLLIN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _POLLIN@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	ldr	w10, [x24]
	bic	w9, w10, w9
	str	w9, [x24]
	ldr	x9, [x19, #32]
	str	xzr, [x9, x22, lsl #3]
LBB0_6:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
Lloh10:
	adrp	x8, _POLLOUT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _POLLOUT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x24]
	bic	w8, w9, w8
	str	w8, [x24]
	ldr	x8, [x19, #24]
	str	xzr, [x8, x22, lsl #3]
LBB0_8:
	mov	x0, x19
	bl	_poll_check_ok
	ldr	w8, [x24]
	cbnz	w8, LBB0_12
; %bb.9:
	ldr	x8, [x19]
	ldr	x9, [x20, #8]
	str	wzr, [x8, x9, lsl #2]
	ldr	w9, [x19, #8]
	sub	w8, w9, #1
	str	w8, [x19, #8]
	cmp	w21, w9
	b.eq	LBB0_11
; %bb.10:
	ldr	x9, [x19, #16]
	lsl	x20, x22, #4
	add	x0, x9, x20
	add	x1, x9, w8, sxtw #4
	mov	w2, #16
	bl	_memcpy
	ldr	x8, [x19, #32]
	ldrsw	x9, [x19, #8]
	lsl	x9, x9, #3
	ldr	x10, [x8, x9]
	lsl	x11, x22, #3
	str	x10, [x8, x11]
	ldr	x8, [x19, #24]
	ldr	x9, [x8, x9]
	str	x9, [x8, x11]
	ldr	x8, [x19]
	ldr	x9, [x19, #16]
	add	x9, x9, x20
	ldr	x9, [x9, #8]
	str	w21, [x8, x9, lsl #2]
LBB0_11:
	mov	x0, x19
	bl	_poll_check_ok
LBB0_12:
	mov	w0, #0
	b	LBB0_14
LBB0_13:
	mov	w0, #-1
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EV_SIGNAL,4,2                  ; @EV_SIGNAL
	.comm	_EV_READ,4,2                    ; @EV_READ
	.comm	_EV_WRITE,4,2                   ; @EV_WRITE
	.comm	_POLLIN,4,2                     ; @POLLIN
	.comm	_POLLOUT,4,2                    ; @POLLOUT
.subsections_via_symbols
