	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_req_info_add_result
_tcp_req_info_add_result:               ## @tcp_req_info_add_result
	.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
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_stream_wait_count_lock@GOTPCREL(%rip), %rdi
	callq	_lock_basic_lock
	movq	_stream_wait_count@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addq	%r12, %rcx
	addq	$24, %rcx
	movq	_stream_wait_max@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jbe	LBB0_2
## %bb.1:
	movq	_stream_wait_count_lock@GOTPCREL(%rip), %rdi
	callq	_lock_basic_unlock
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_verbose
	jmp	LBB0_11
LBB0_2:
	movq	%rcx, (%rax)
	movq	_stream_wait_count_lock@GOTPCREL(%rip), %rdi
	callq	_lock_basic_unlock
	leaq	8(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r13), %rax
	testq	%rax, %rax
	jne	LBB0_3
LBB0_5:
	movl	$24, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %rbx
	movq	$0, 8(%rax)
	movq	%r12, (%rax)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_memdup
	movl	%eax, 16(%rbx)
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	leaq	8(%r13), %rax
	testq	%r13, %r13
	cmoveq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rbx, (%rax)
	incl	(%r14)
	movl	$1, %eax
	jmp	LBB0_12
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_10
LBB0_9:
	movq	%rbx, %rdi
	callq	_free
	leaq	L_.str.2(%rip), %rdi
LBB0_10:
	callq	_log_err
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stream_wait_count_lock,4,2     ## @stream_wait_count_lock
	.comm	_stream_wait_count,8,3          ## @stream_wait_count
	.comm	_stream_wait_max,8,3            ## @stream_wait_max
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"drop stream reply, no space left, in stream-wait-size"

L_.str.1:                               ## @.str.1
	.asciz	"malloc failure, for stream result list"

L_.str.2:                               ## @.str.2
	.asciz	"malloc failure, adding reply to stream result list"

	.no_dead_strip	_tcp_req_info_add_result
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_req_info_add_result
_tcp_req_info_add_result:               ; @tcp_req_info_add_result
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x0, _stream_wait_count_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _stream_wait_count_lock@GOTPAGEOFF]
	bl	_lock_basic_lock
Lloh2:
	adrp	x8, _stream_wait_count@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stream_wait_count@GOTPAGEOFF]
	ldr	x9, [x8]
	add	x9, x20, x9
	add	x9, x9, #24
Lloh4:
	adrp	x10, _stream_wait_max@GOTPAGE
Lloh5:
	ldr	x10, [x10, _stream_wait_max@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ls	LBB0_2
; %bb.1:
Lloh7:
	adrp	x0, _stream_wait_count_lock@GOTPAGE
Lloh8:
	ldr	x0, [x0, _stream_wait_count_lock@GOTPAGEOFF]
	bl	_lock_basic_unlock
Lloh9:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
	b	LBB0_11
LBB0_2:
	str	x9, [x8]
Lloh14:
	adrp	x0, _stream_wait_count_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, _stream_wait_count_lock@GOTPAGEOFF]
	bl	_lock_basic_unlock
	mov	x23, x19
	ldr	x8, [x23, #8]!
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x24, x8
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24, #8]
	cbnz	x8, LBB0_3
LBB0_5:
	mov	w0, #24
	bl	_malloc
	cbz	x0, LBB0_8
; %bb.6:
	mov	x22, x0
	stp	x20, xzr, [x0]
	mov	x0, x21
	mov	x1, x20
	bl	_memdup
	str	w0, [x22, #16]
	cbz	w0, LBB0_9
; %bb.7:
	add	x8, x24, #8
	cmp	x24, #0
	csel	x8, x23, x8, eq
	str	x22, [x8]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_12
LBB0_8:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:
	mov	x0, x22
	bl	_free
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_10:
	bl	_log_err
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_stream_wait_count_lock,4,2     ; @stream_wait_count_lock
	.comm	_stream_wait_count,8,3          ; @stream_wait_count
	.comm	_stream_wait_max,8,3            ; @stream_wait_max
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"drop stream reply, no space left, in stream-wait-size"

l_.str.1:                               ; @.str.1
	.asciz	"malloc failure, for stream result list"

l_.str.2:                               ; @.str.2
	.asciz	"malloc failure, adding reply to stream result list"

	.no_dead_strip	_tcp_req_info_add_result
.subsections_via_symbols
