	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_nonblock
_handle_nonblock:                       ## @handle_nonblock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_3
LBB0_2:
	movl	%edi, -16(%rbp)
	movw	%si, -12(%rbp)
	leaq	-16(%rbp), %rdi
	movl	$1, %ebx
	movl	$1, %esi
	movl	$-1, %edx
	callq	_poll
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_EWOULDBLOCK,4,2                ## @EWOULDBLOCK
	.no_dead_strip	_handle_nonblock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_nonblock
_handle_nonblock:                       ; @handle_nonblock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _EWOULDBLOCK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EWOULDBLOCK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w2
	ccmp	w9, w2, #4, ne
	b.ne	LBB0_2
; %bb.1:
	str	w0, [sp, #8]
	strh	w1, [sp, #12]
	mov	w19, #1
	add	x0, sp, #8
	mov	w1, #1
	mov	w2, #-1
	bl	_poll
	b	LBB0_3
LBB0_2:
	mov	w19, #0
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_EWOULDBLOCK,4,2                ; @EWOULDBLOCK
	.no_dead_strip	_handle_nonblock
.subsections_via_symbols
