	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetInProcListeningSock         ## -- Begin function GetInProcListeningSock
	.p2align	4, 0x90
_GetInProcListeningSock:                ## @GetInProcListeningSock
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	movl	(%rdi), %edi
	callq	_LockList
	movl	(%r15), %edi
	callq	_LIST_NUM
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jle	LBB0_8
## %bb.3:
	movq	_LISTENER_INPROC@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	movq	%rax, %r12
	movq	(%rax), %rax
	cmpq	(%r13), %rax
	je	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movl	(%r15), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jl	LBB0_4
	jmp	LBB0_8
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_5:
	movl	8(%r12), %edi
	callq	_Lock
	movq	16(%r12), %r14
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	movl	(%r14), %edi
	callq	_AddRef
LBB0_7:
	movl	8(%r12), %edi
	callq	_Unlock
LBB0_8:
	movl	(%r15), %edi
	callq	_UnlockList
LBB0_9:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LISTENER_INPROC,8,3            ## @LISTENER_INPROC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetInProcListeningSock         ; -- Begin function GetInProcListeningSock
	.p2align	2
_GetInProcListeningSock:                ; @GetInProcListeningSock
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0]
	bl	_LockList
	ldr	w0, [x19]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x20, #0
Lloh0:
	adrp	x22, _LISTENER_INPROC@GOTPAGE
Lloh1:
	ldr	x22, [x22, _LISTENER_INPROC@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	mov	x1, x20
	bl	_LIST_DATA
	ldr	x8, [x0]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	ldr	w0, [x19]
	bl	_LIST_NUM
	cmp	x20, x0
	b.lt	LBB0_3
LBB0_5:
	mov	x20, #0
	b	LBB0_10
LBB0_6:
	mov	x20, #0
	b	LBB0_11
LBB0_7:
	mov	x21, x0
	ldr	w0, [x0, #8]
	bl	_Lock
	ldr	x20, [x21, #16]
	cbz	x20, LBB0_9
; %bb.8:
	ldr	w0, [x20]
	bl	_AddRef
LBB0_9:
	ldr	w0, [x21, #8]
	bl	_Unlock
LBB0_10:
	ldr	w0, [x19]
	bl	_UnlockList
LBB0_11:
	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	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LISTENER_INPROC,8,3            ; @LISTENER_INPROC
.subsections_via_symbols
