	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_socket_receive_all_nonblocking ## -- Begin function socket_receive_all_nonblocking
	.p2align	4, 0x90
_socket_receive_all_nonblocking:        ## @socket_receive_all_nonblocking
	.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	%rsi, %rbx
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	xorl	%ecx, %ecx
	callq	_recv
	testq	%rax, %rax
	jg	LBB0_5
## %bb.1:
	je	LBB0_4
## %bb.2:
	movl	%eax, %edi
	callq	_isagain
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	movl	$1, (%rbx)
	movq	$-1, %rax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_socket_receive_all_nonblocking ; -- Begin function socket_receive_all_nonblocking
	.p2align	2
_socket_receive_all_nonblocking:        ; @socket_receive_all_nonblocking
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x1, x2
	mov	x2, x3
	mov	w3, #0
	bl	_recv
	cmp	x0, #0
	b.gt	LBB0_5
; %bb.1:
	cbz	x0, LBB0_4
; %bb.2:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_isagain
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, #0
	b	LBB0_5
LBB0_4:
	mov	w8, #1
	str	w8, [x19]
	mov	x0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
