	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redisNetWrite                  ## -- Begin function redisNetWrite
	.p2align	4, 0x90
_redisNetWrite:                         ## @redisNetWrite
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	4(%rdi), %ebx
	movl	8(%rdi), %r15d
	movl	%ebx, %edi
	callq	_sdslen
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_send
	testl	%eax, %eax
	jns	LBB0_5
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	movq	_REDIS_BLOCK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%r14)
	je	LBB0_5
LBB0_3:
	movq	_EINTR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_5
## %bb.4:
	movq	_REDIS_ERR_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	___redisSetError
	movl	$-1, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_EWOULDBLOCK,8,3                ## @EWOULDBLOCK
	.comm	_REDIS_BLOCK,4,2                ## @REDIS_BLOCK
	.comm	_EINTR,8,3                      ## @EINTR
	.comm	_REDIS_ERR_IO,4,2               ## @REDIS_ERR_IO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redisNetWrite                  ; -- Begin function redisNetWrite
	.p2align	2
_redisNetWrite:                         ; @redisNetWrite
	.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, x0
	ldp	w21, w20, [x0, #4]
	mov	x0, x21
	bl	_sdslen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	bl	_send
	tbz	w0, #31, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _EWOULDBLOCK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EWOULDBLOCK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w9, [x19]
Lloh6:
	adrp	x10, _REDIS_BLOCK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _REDIS_BLOCK@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	and	w9, w10, w9
Lloh9:
	adrp	x10, _EINTR@GOTPAGE
Lloh10:
	ldr	x10, [x10, _EINTR@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	w9, #0
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
	b	LBB0_5
LBB0_3:
Lloh12:
	adrp	x9, _EINTR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EINTR@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
LBB0_4:
Lloh15:
	adrp	x8, _REDIS_ERR_IO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REDIS_ERR_IO@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	___redisSetError
	mov	w0, #-1
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_EWOULDBLOCK,8,3                ; @EWOULDBLOCK
	.comm	_REDIS_BLOCK,4,2                ; @REDIS_BLOCK
	.comm	_EINTR,8,3                      ; @EINTR
	.comm	_REDIS_ERR_IO,4,2               ; @REDIS_ERR_IO
.subsections_via_symbols
