	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __socket_slurp
___socket_slurp:                        ## @__socket_slurp
	.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
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	$1, %edx
	callq	_r_socket_read_block
	xorl	%r15d, %r15d
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.1:
	movl	$1, %r15d
	cmpl	$2, %r12d
	jl	LBB0_6
## %bb.2:
	movl	%r12d, %r15d
	addq	$8, %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, (%r13)
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	movl	$1000, %ecx                     ## imm = 0x3E8
	callq	_r_socket_block_time
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_r_socket_read_block
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %r13
	leaq	(%r15,%rbx), %rax
	decq	%rax
	decq	%rbx
	cmpq	$1, %rax
	jne	LBB0_3
	jmp	LBB0_6
LBB0_4:
	movl	$1, %r15d
	subl	%ebx, %r15d
	movq	$0, (%r13)
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___socket_slurp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __socket_slurp
___socket_slurp:                        ; @__socket_slurp
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	w2, #1
	bl	_r_socket_read_block
	cmp	w0, #1
	b.ne	LBB0_5
; %bb.1:
	cmp	w19, #2
	b.lt	LBB0_6
; %bb.2:
	mov	x22, #0
	mov	w19, w19
	add	x21, x21, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [x21]
	mov	x0, x20
	mov	w1, #1
	mov	w2, #0
	mov	w3, #1000
	bl	_r_socket_block_time
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_r_socket_read_block
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x22, x22, #1
	add	x21, x21, #8
	add	x8, x19, x22
	cmp	x8, #1
	b.ne	LBB0_3
	b	LBB0_8
LBB0_5:
	mov	w19, #0
	b	LBB0_8
LBB0_6:
	mov	w19, #1
	b	LBB0_8
LBB0_7:
	mov	w8, #1
	sub	w19, w8, w22
	str	xzr, [x21]
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___socket_slurp
.subsections_via_symbols
