	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_req_info_pop_done
_tcp_req_info_pop_done:                 ## @tcp_req_info_pop_done
	.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, %rbx
	cmpq	$0, (%rdi)
	jle	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setne	%dil
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	callq	_log_assert
	movq	8(%rbx), %r14
	movq	_stream_wait_count_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_lock_basic_lock
	movq	_stream_wait_count@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	subl	8(%r14), %ecx
	addl	$-16, %ecx
	movl	%ecx, (%rax)
	movq	%r15, %rdi
	callq	_lock_basic_unlock
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	decq	(%rbx)
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	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,4,2          ## @stream_wait_count
	.no_dead_strip	_tcp_req_info_pop_done
.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_pop_done
_tcp_req_info_pop_done:                 ; @tcp_req_info_pop_done
	.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
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_log_assert
	ldr	x20, [x19, #8]
Lloh0:
	adrp	x21, _stream_wait_count_lock@GOTPAGE
Lloh1:
	ldr	x21, [x21, _stream_wait_count_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_lock_basic_lock
	ldr	w8, [x20, #8]
Lloh2:
	adrp	x9, _stream_wait_count@GOTPAGE
Lloh3:
	ldr	x9, [x9, _stream_wait_count@GOTPAGEOFF]
	ldr	w10, [x9]
	sub	w8, w10, w8
	sub	w8, w8, #16
	str	w8, [x9]
	mov	x0, x21
	bl	_lock_basic_unlock
	ldp	x9, x8, [x19]
	ldr	x8, [x8]
	sub	x9, x9, #1
	stp	x9, x8, [x19]
	mov	x0, x20
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_stream_wait_count_lock,4,2     ; @stream_wait_count_lock
	.comm	_stream_wait_count,4,2          ; @stream_wait_count
	.no_dead_strip	_tcp_req_info_pop_done
.subsections_via_symbols
