	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fetch_socket_read
_fetch_socket_read:                     ## @fetch_socket_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_read
	testq	%rax, %rax
	js	LBB0_1
## %bb.7:
	popq	%rbp
	retq
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.2:
	movq	_EINTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movq	_fetchRestartCalls@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
LBB0_4:
	movq	_FETCH_READ_WAIT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_FETCH_READ_ERROR@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.comm	_EINTR,8,3                      ## @EINTR
	.comm	_fetchRestartCalls,8,3          ## @fetchRestartCalls
	.comm	_FETCH_READ_WAIT,8,3            ## @FETCH_READ_WAIT
	.comm	_FETCH_READ_ERROR,8,3           ## @FETCH_READ_ERROR
	.no_dead_strip	_fetch_socket_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fetch_socket_read
_fetch_socket_read:                     ; @fetch_socket_read
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_read
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _EAGAIN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EAGAIN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.3:
Lloh6:
	adrp	x9, _EINTR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EINTR@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _fetchRestartCalls@GOTPAGE
Lloh10:
	ldr	x10, [x10, _fetchRestartCalls@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x10, #0, #4, eq
	b.ne	LBB0_5
; %bb.4:
Lloh12:
	adrp	x8, _FETCH_READ_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FETCH_READ_ERROR@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _FETCH_READ_WAIT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FETCH_READ_WAIT@GOTPAGEOFF]
LBB0_6:
	ldr	x0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.comm	_EINTR,8,3                      ; @EINTR
	.comm	_fetchRestartCalls,8,3          ; @fetchRestartCalls
	.comm	_FETCH_READ_WAIT,8,3            ; @FETCH_READ_WAIT
	.comm	_FETCH_READ_ERROR,8,3           ; @FETCH_READ_ERROR
	.no_dead_strip	_fetch_socket_read
.subsections_via_symbols
