	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_req_info_handle_readdone   ## -- Begin function tcp_req_info_handle_readdone
	.p2align	4, 0x90
_tcp_req_info_handle_readdone:          ## @tcp_req_info_handle_readdone
	.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	32(%rdi), %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rdi)
	movl	$1, (%rdi)
	movl	24(%rdi), %edi
	xorl	%esi, %esi
	callq	_sldns_buffer_set_limit
	movq	24(%rbx), %rdi
	callq	_fptr_whitelist_comm_point
	movl	%eax, %edi
	callq	_fptr_ok
	movl	20(%rbx), %esi
	movq	_NETEVENT_NOERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	16(%rbx), %rcx
	movq	%rbx, %rdi
	callq	*24(%rbx)
	movl	$0, (%r14)
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	callq	_comm_point_stop_listening
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	movl	$-1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_comm_point_start_listening     ## TAILCALL
LBB0_1:
	cmpq	$0, 16(%r14)
	je	LBB0_2
## %bb.4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	leaq	8(%r14), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.3:
	movl	(%rbx), %edi
	callq	_sldns_buffer_clear
	movq	%r14, %rdi
	callq	_tcp_req_pickup_next_result
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tcp_req_info_setup_listen      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NETEVENT_NOERROR,4,2           ## @NETEVENT_NOERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_req_info_handle_readdone   ; -- Begin function tcp_req_info_handle_readdone
	.p2align	2
_tcp_req_info_handle_readdone:          ; @tcp_req_info_handle_readdone
	.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	x20, [x0, #32]
	mov	x21, x0
	str	xzr, [x21, #8]!
	str	xzr, [x0, #16]
	mov	w8, #1
	str	w8, [x0]
	ldr	w0, [x0, #24]
	mov	w1, #0
	bl	_sldns_buffer_set_limit
	ldr	x0, [x20, #24]
	bl	_fptr_whitelist_comm_point
	bl	_fptr_ok
	ldr	x8, [x20, #24]
	ldr	w1, [x20, #20]
Lloh0:
	adrp	x9, _NETEVENT_NOERROR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETEVENT_NOERROR@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
	add	x3, x20, #16
	mov	x0, x20
	blr	x8
	str	wzr, [x19]
	cbz	x0, LBB0_2
LBB0_1:
	str	xzr, [x20, #8]
	mov	x0, x20
	bl	_comm_point_stop_listening
	ldr	w2, [x20, #4]
	mov	x0, x20
	mov	w1, #-1
	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
	b	_comm_point_start_listening
LBB0_2:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.3:
	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
LBB0_4:
	ldr	x8, [x21]
	cbnz	x8, LBB0_1
; %bb.5:
	ldr	w0, [x20]
	bl	_sldns_buffer_clear
	mov	x0, x19
	bl	_tcp_req_pickup_next_result
	mov	x0, x19
	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
	b	_tcp_req_info_setup_listen
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NETEVENT_NOERROR,4,2           ; @NETEVENT_NOERROR
.subsections_via_symbols
