	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stop_forwarding_response       ## -- Begin function stop_forwarding_response
	.p2align	4, 0x90
_stop_forwarding_response:              ## @stop_forwarding_response
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	40(%rdi), %rax
	movq	8(%rax), %rbx
	movq	%rbx, %rdi
	callq	_assert
	movq	(%rbx), %rcx
	movq	40(%r14), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.1:
	movq	24(%rbx), %r8
	movq	32(%rbx), %r9
	leaq	(%r9,%r8), %rcx
	movq	_FORWARD_HIGH_WATERMARK@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jle	LBB0_5
## %bb.2:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_4
## %bb.3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %edx
	movl	8(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_4:
	movq	_FORWARD_LOW_WATERMARK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_C_STOPREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r14)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_create_reverse_watermark_query
	movq	_conn_wait_net@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movl	$1, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FORWARD_HIGH_WATERMARK,8,3     ## @FORWARD_HIGH_WATERMARK
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"forwarding response from outbound connection %d to connection %d stopped: already %d+%d bytes in output buffers.\n"

	.comm	_FORWARD_LOW_WATERMARK,4,2      ## @FORWARD_LOW_WATERMARK
	.comm	_C_STOPREAD,4,2                 ## @C_STOPREAD
	.comm	_conn_wait_net,4,2              ## @conn_wait_net
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stop_forwarding_response       ; -- Begin function stop_forwarding_response
	.p2align	2
_stop_forwarding_response:              ; @stop_forwarding_response
	.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, x0
	ldr	x8, [x0, #40]
	ldr	x20, [x8, #8]
	mov	x0, x20
	bl	_assert
	ldr	x8, [x20]
	ldr	x9, [x19, #40]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldp	x4, x5, [x20, #24]
Lloh0:
	adrp	x8, _FORWARD_HIGH_WATERMARK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FORWARD_HIGH_WATERMARK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x9, x5, x4
	cmp	x9, x8
	b.le	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _verbosity@GOTPAGE
Lloh4:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w2, [x19, #8]
	ldr	w3, [x20, #8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_4:
Lloh11:
	adrp	x8, _FORWARD_LOW_WATERMARK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FORWARD_LOW_WATERMARK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x20, #20]
Lloh14:
	adrp	x8, _C_STOPREAD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _C_STOPREAD@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	mov	x0, x20
	mov	x1, x19
	bl	_create_reverse_watermark_query
Lloh17:
	adrp	x8, _conn_wait_net@GOTPAGE
Lloh18:
	ldr	x8, [x8, _conn_wait_net@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FORWARD_HIGH_WATERMARK,8,3     ; @FORWARD_HIGH_WATERMARK
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"forwarding response from outbound connection %d to connection %d stopped: already %d+%d bytes in output buffers.\n"

	.comm	_FORWARD_LOW_WATERMARK,4,2      ; @FORWARD_LOW_WATERMARK
	.comm	_C_STOPREAD,4,2                 ; @C_STOPREAD
	.comm	_conn_wait_net,4,2              ; @conn_wait_net
.subsections_via_symbols
