	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pqSocketPoll
_pqSocketPoll:                          ## @pqSocketPoll
	.cfi_startproc
## %bb.0:
	movl	%edx, %eax
	orl	%esi, %eax
	je	LBB0_1
## %bb.2:
	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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r12d
	movl	%esi, %ebx
	movl	%edi, %r15d
	leaq	-44(%rbp), %rdi
	callq	_FD_ZERO
	leaq	-40(%rbp), %rdi
	callq	_FD_ZERO
	leaq	-36(%rbp), %rdi
	callq	_FD_ZERO
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	leaq	-44(%rbp), %rsi
	movl	%r15d, %edi
	callq	_FD_SET
LBB0_4:
	testl	%r12d, %r12d
	je	LBB0_6
## %bb.5:
	leaq	-40(%rbp), %rsi
	movl	%r15d, %edi
	callq	_FD_SET
LBB0_6:
	leaq	-36(%rbp), %rsi
	movl	%r15d, %edi
	callq	_FD_SET
	cmpq	$-1, %r14
	je	LBB0_7
## %bb.8:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_time
	subq	%rax, %r14
	cmovleq	%rbx, %r14
	movq	%r14, -56(%rbp)
	movq	$0, -64(%rbp)
	leaq	-64(%rbp), %r8
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	retq
LBB0_7:
	xorl	%r8d, %r8d
LBB0_9:
	incl	%r15d
	leaq	-44(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	movl	%r15d, %edi
	callq	_select
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_POLLERR,4,2                    ## @POLLERR
	.comm	_POLLIN,4,2                     ## @POLLIN
	.comm	_POLLOUT,4,2                    ## @POLLOUT
	.no_dead_strip	_pqSocketPoll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pqSocketPoll
_pqSocketPoll:                          ; @pqSocketPoll
	.cfi_startproc
; %bb.0:
	orr	w8, w2, w1
	cbz	w8, LBB0_7
; %bb.1:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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_remember_state
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	add	x0, sp, #28
	bl	_FD_ZERO
	add	x0, sp, #24
	bl	_FD_ZERO
	add	x0, sp, #20
	bl	_FD_ZERO
	cbz	w22, LBB0_3
; %bb.2:
	add	x1, sp, #28
	mov	x0, x19
	bl	_FD_SET
LBB0_3:
	cbz	w21, LBB0_5
; %bb.4:
	add	x1, sp, #24
	mov	x0, x19
	bl	_FD_SET
LBB0_5:
	add	x1, sp, #20
	mov	x0, x19
	bl	_FD_SET
	cmn	x20, #1
	b.eq	LBB0_8
; %bb.6:
	mov	x0, #0
	bl	_time
	subs	x8, x20, x0
	csel	x8, x8, xzr, gt
	stp	xzr, x8, [sp]
	mov	x4, sp
	b	LBB0_9
LBB0_7:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	mov	w0, #0
	ret
LBB0_8:
	.cfi_restore_state
	mov	x4, #0
LBB0_9:
	add	w0, w19, #1
	add	x1, sp, #28
	add	x2, sp, #24
	add	x3, sp, #20
	bl	_select
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_POLLERR,4,2                    ; @POLLERR
	.comm	_POLLIN,4,2                     ; @POLLIN
	.comm	_POLLOUT,4,2                    ; @POLLOUT
	.no_dead_strip	_pqSocketPoll
.subsections_via_symbols
