	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_req_info_setup_listen
_tcp_req_info_setup_listen:             ## @tcp_req_info_setup_listen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_1
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	8(%rbx), %rcx
	addq	(%rbx), %rcx
	movl	8(%rdi), %eax
	movq	_TCP_MAX_REQ_SIMULTANEOUS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jge	LBB0_6
## %bb.2:
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$0, 32(%rbx)
	jne	LBB0_8
## %bb.4:
	movl	$1, 8(%rdi)
	callq	_comm_point_stop_listening
	movq	24(%rbx), %rdi
	movl	12(%rdi), %edx
	movl	$-1, %esi
	callq	_comm_point_start_listening
	movl	$1, 16(%rbx)
	jmp	LBB0_5
LBB0_6:
	testl	%eax, %eax
	je	LBB0_7
LBB0_8:
	callq	_comm_point_stop_listening
	movq	24(%rbx), %rdi
	movl	12(%rdi), %edx
	movl	$-1, %esi
	callq	_comm_point_start_listening
	movq	24(%rbx), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_comm_point_listen_for_rw       ## TAILCALL
LBB0_7:
	movl	$0, 8(%rdi)
	callq	_comm_point_stop_listening
	movq	24(%rbx), %rdi
	movl	12(%rdi), %edx
	movl	$-1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_comm_point_start_listening     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TCP_MAX_REQ_SIMULTANEOUS,8,3   ## @TCP_MAX_REQ_SIMULTANEOUS
	.no_dead_strip	_tcp_req_info_setup_listen
.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_setup_listen
_tcp_req_info_setup_listen:             ; @tcp_req_info_setup_listen
	.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	x0, [x0, #24]
	ldr	x8, [x0]
	cbz	x8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w8, [x0, #8]
	ldp	x9, x10, [x19]
Lloh0:
	adrp	x11, _TCP_MAX_REQ_SIMULTANEOUS@GOTPAGE
Lloh1:
	ldr	x11, [x11, _TCP_MAX_REQ_SIMULTANEOUS@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	add	x9, x10, x9
	cmp	x9, x11
	b.ge	LBB0_6
; %bb.3:
	cbz	w8, LBB0_8
; %bb.4:
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_7
; %bb.5:
	mov	w20, #1
	str	w20, [x0, #8]
	bl	_comm_point_stop_listening
	ldr	x0, [x19, #24]
	ldr	w2, [x0, #12]
	mov	w1, #-1
	bl	_comm_point_start_listening
	str	w20, [x19, #16]
	b	LBB0_1
LBB0_6:
	cbz	w8, LBB0_8
LBB0_7:
	bl	_comm_point_stop_listening
	ldr	x0, [x19, #24]
	ldr	w2, [x0, #12]
	mov	w1, #-1
	bl	_comm_point_start_listening
	ldr	x0, [x19, #24]
	mov	w1, #0
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_comm_point_listen_for_rw
LBB0_8:
	str	wzr, [x0, #8]
	bl	_comm_point_stop_listening
	ldr	x0, [x19, #24]
	ldr	w2, [x0, #12]
	mov	w1, #-1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_comm_point_start_listening
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TCP_MAX_REQ_SIMULTANEOUS,8,3   ; @TCP_MAX_REQ_SIMULTANEOUS
	.no_dead_strip	_tcp_req_info_setup_listen
.subsections_via_symbols
