	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_cli_server_poller_remove
_php_cli_server_poller_remove:          ## @php_cli_server_poller_remove
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_POLLIN@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	12(%r14), %rsi
	movq	%r15, %rdi
	callq	_PHP_SAFE_FD_CLR
LBB0_2:
	movq	_POLLOUT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	8(%r14), %rsi
	movq	%r15, %rdi
	callq	_PHP_SAFE_FD_CLR
LBB0_4:
	cmpq	%r15, (%r14)
	jne	LBB0_12
## %bb.5:
	testq	%r15, %r15
	jle	LBB0_6
## %bb.7:
	leaq	12(%r14), %r12
	leaq	8(%r14), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%r15), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_PHP_SAFE_FD_ISSET
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_PHP_SAFE_FD_ISSET
	cmpq	$2, %r15
	jb	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %r15
	testq	%rax, %rax
	je	LBB0_8
	jmp	LBB0_11
LBB0_6:
	movq	%r15, %rbx
LBB0_11:
	movq	%rbx, (%r14)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_POLLIN,4,2                     ## @POLLIN
	.comm	_POLLOUT,4,2                    ## @POLLOUT
	.no_dead_strip	_php_cli_server_poller_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_cli_server_poller_remove
_php_cli_server_poller_remove:          ; @php_cli_server_poller_remove
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _POLLIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _POLLIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	add	x1, x19, #12
	mov	x0, x20
	bl	_PHP_SAFE_FD_CLR
LBB0_2:
Lloh3:
	adrp	x8, _POLLOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _POLLOUT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	add	x1, x19, #8
	mov	x0, x20
	bl	_PHP_SAFE_FD_CLR
LBB0_4:
	ldr	x8, [x19]
	cmp	x8, x20
	b.ne	LBB0_12
; %bb.5:
	cmp	x20, #1
	b.lt	LBB0_11
; %bb.6:
	add	x21, x19, #12
	add	x22, x19, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	x23, x20, #1
	mov	x0, x23
	mov	x1, x21
	bl	_PHP_SAFE_FD_ISSET
	cbnz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
	mov	x1, x22
	bl	_PHP_SAFE_FD_ISSET
	cmp	x20, #2
	b.lo	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x20, x23
	cbz	x0, LBB0_7
LBB0_10:
	mov	x20, x23
LBB0_11:
	str	x20, [x19]
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_POLLIN,4,2                     ; @POLLIN
	.comm	_POLLOUT,4,2                    ; @POLLOUT
	.no_dead_strip	_php_cli_server_poller_remove
.subsections_via_symbols
