	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netflush                       ## -- Begin function netflush
	.p2align	4, 0x90
_netflush:                              ## @netflush
	.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
	xorl	%ecx, %ecx
	movq	_netoring@GOTPCREL(%rip), %r14
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %r12d
	movq	%r14, %rdi
	callq	_ring_full_consecutive
	movl	%eax, %r15d
	testl	%eax, %eax
	jle	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_ring_at_mark
	movq	_net@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%r14), %rsi
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_MSG_OOB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %edx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %ebx
	testl	%ebx, %ebx
	jns	LBB0_11
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %edx
	xorl	%ecx, %ecx
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_send
	movl	%eax, %ebx
	testl	%ebx, %ebx
	js	LBB0_8
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_netdata@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%ebx, %ebx
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rsi
	movl	$62, %edi
	movl	%ebx, %edx
	callq	_Dump
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%ebx, %ebx
	je	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ring_consumed
	cmpl	%ebx, %r15d
	jne	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_ring_full_consecutive
	movb	$1, %cl
	testl	%eax, %eax
	jne	LBB0_1
	jmp	LBB0_18
LBB0_8:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	cmpq	(%rcx), %rax
	je	LBB0_18
## %bb.9:
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_18
## %bb.10:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_setcommandmode
	movq	_hostname@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_perror
	movq	_net@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_NetClose
	movq	_netoring@GOTPCREL(%rip), %rdi
	callq	_ring_clear_mark
	movq	_peerdied@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-1, %esi
	callq	_longjmp
	jmp	LBB0_18
LBB0_17:
	xorl	%r13d, %r13d
LBB0_18:
	testb	$1, %r12b
	movl	$1, %eax
	cmovel	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_netoring,8,3                   ## @netoring
	.comm	_net,4,2                        ## @net
	.comm	_MSG_OOB,4,2                    ## @MSG_OOB
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOBUFS,8,3                    ## @ENOBUFS
	.comm	_EWOULDBLOCK,8,3                ## @EWOULDBLOCK
	.comm	_hostname,4,2                   ## @hostname
	.comm	_peerdied,4,2                   ## @peerdied
	.comm	_netdata,8,3                    ## @netdata
	.comm	_encrypt_output,8,3             ## @encrypt_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netflush                       ; -- Begin function netflush
	.p2align	2
_netflush:                              ; @netflush
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	w8, #0
Lloh0:
	adrp	x19, _netoring@GOTPAGE
Lloh1:
	ldr	x19, [x19, _netoring@GOTPAGEOFF]
Lloh2:
	adrp	x23, _net@GOTPAGE
Lloh3:
	ldr	x23, [x23, _net@GOTPAGEOFF]
Lloh4:
	adrp	x24, _MSG_OOB@GOTPAGE
Lloh5:
	ldr	x24, [x24, _MSG_OOB@GOTPAGEOFF]
Lloh6:
	adrp	x25, _netdata@GOTPAGE
Lloh7:
	ldr	x25, [x25, _netdata@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x8
	mov	x0, x19
	bl	_ring_full_consecutive
	mov	x20, x0
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_ring_at_mark
	mov	x8, x0
	ldr	w0, [x23]
	ldr	x1, [x19]
	cbz	w8, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w3, [x24]
	mov	w2, #1
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x21, x20
	tbz	w21, #31, LBB0_7
	b	LBB0_12
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x2, x20
	mov	w3, #0
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	bl	_send
	mov	x21, x0
	tbnz	w21, #31, LBB0_12
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x25]
	cmp	x8, #0
	ccmp	w21, #0, #4, ne
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	cbnz	w21, LBB0_10
	b	LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x1, [x19]
	mov	w0, #62
	mov	x2, x21
	bl	_Dump
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_ring_consumed
	cmp	w20, w21
	b.ne	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_ring_full_consecutive
	mov	w8, #1
	cbnz	w0, LBB0_1
	b	LBB0_16
LBB0_12:
Lloh8:
	adrp	x8, _errno@GOTPAGE
Lloh9:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _ENOBUFS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ENOBUFS@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	adrp	x10, _EWOULDBLOCK@GOTPAGE
Lloh15:
	ldr	x10, [x10, _EWOULDBLOCK@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_14
; %bb.13:
	bl	_setcommandmode
Lloh17:
	adrp	x8, _hostname@GOTPAGE
Lloh18:
	ldr	x8, [x8, _hostname@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_perror
	ldr	w0, [x23]
	bl	_NetClose
Lloh20:
	adrp	x0, _netoring@GOTPAGE
Lloh21:
	ldr	x0, [x0, _netoring@GOTPAGEOFF]
	bl	_ring_clear_mark
Lloh22:
	adrp	x8, _peerdied@GOTPAGE
Lloh23:
	ldr	x8, [x8, _peerdied@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	mov	w1, #-1
	bl	_longjmp
LBB0_14:
	mov	w8, #0
	b	LBB0_16
LBB0_15:
	mov	w8, #1
LBB0_16:
	tst	w22, #0x1
	csinc	w0, w8, wzr, eq
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_netoring,8,3                   ; @netoring
	.comm	_net,4,2                        ; @net
	.comm	_MSG_OOB,4,2                    ; @MSG_OOB
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOBUFS,8,3                    ; @ENOBUFS
	.comm	_EWOULDBLOCK,8,3                ; @EWOULDBLOCK
	.comm	_hostname,4,2                   ; @hostname
	.comm	_peerdied,4,2                   ; @peerdied
	.comm	_netdata,8,3                    ; @netdata
	.comm	_encrypt_output,8,3             ; @encrypt_output
.subsections_via_symbols
