	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CheckNetworkListenThread       ## -- Begin function CheckNetworkListenThread
	.p2align	4, 0x90
_CheckNetworkListenThread:              ## @CheckNetworkListenThread
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	xorl	%edi, %edi
	callq	_NewList
	movq	%rax, %r15
	leaq	l_.str(%rip), %rdi
	leaq	l_.str.1(%rip), %rcx
	leaq	l_.str.2(%rip), %r8
	leaq	l_.str.3(%rip), %r9
	movq	%rdi, %rsi
	movq	%rdi, %rdx
	callq	_NewName
	movq	%rax, %rbx
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_RsaGen
	movq	-64(%rbp), %rdi
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdx
	movl	$1000, %ecx                     ## imm = 0x3E8
	xorl	%r8d, %r8d
	callq	_NewRootX
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_FreeName
	movl	$1025, %r12d                    ## imm = 0x401
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	callq	_Listen
	incl	%r12d
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	movl	(%r13), %edi
	callq	_AddRef
	movq	%r14, %rdi
	callq	_NoticeThreadInit
	movq	%r13, %rdi
	callq	_Accept
	testq	%rax, %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	leaq	-96(%rbp), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_Zero
	movq	%rbx, -80(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, -88(%rbp)
	movq	%r14, -96(%rbp)
	movq	_CheckNetworkAcceptThread@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_NewThread
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_Insert
	movq	%r13, %rdi
	callq	_Accept
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	callq	_LIST_NUM
	testl	%eax, %eax
	jle	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	movq	_INFINITE@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_LIST_DATA
	movq	%rax, %r12
	movl	(%r14), %esi
	movq	%rax, %rdi
	callq	_WaitThread
	movq	%r12, %rdi
	callq	_ReleaseThread
	incl	%ebx
	movq	%r15, %rdi
	callq	_LIST_NUM
	cmpl	%eax, %ebx
	jl	LBB0_7
LBB0_8:
	movq	-48(%rbp), %rdi
	callq	_FreeK
	movq	-64(%rbp), %rdi
	callq	_FreeK
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_FreeX
	movq	%r13, %rdi
	callq	_ReleaseSock
	movq	%r15, %rdi
	callq	_ReleaseList
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	84                              ## 0x54
	.long	101                             ## 0x65
	.long	115                             ## 0x73
	.long	116                             ## 0x74
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.1
l_.str.1:
	.long	74                              ## 0x4a
	.long	80                              ## 0x50
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.2
l_.str.2:
	.long	73                              ## 0x49
	.long	98                              ## 0x62
	.long	97                              ## 0x61
	.long	114                             ## 0x72
	.long	97                              ## 0x61
	.long	107                             ## 0x6b
	.long	105                             ## 0x69
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.3
l_.str.3:
	.long	84                              ## 0x54
	.long	115                             ## 0x73
	.long	117                             ## 0x75
	.long	107                             ## 0x6b
	.long	117                             ## 0x75
	.long	98                              ## 0x62
	.long	97                              ## 0x61
	.long	0                               ## 0x0

	.comm	_CheckNetworkAcceptThread,4,2   ## @CheckNetworkAcceptThread
	.comm	_INFINITE,4,2                   ## @INFINITE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CheckNetworkListenThread       ; -- Begin function CheckNetworkListenThread
	.p2align	2
_CheckNetworkListenThread:              ; @CheckNetworkListenThread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x23, x1
	mov	x22, x0
	mov	x0, #0
	bl	_NewList
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
Lloh4:
	adrp	x4, l_.str.2@PAGE
Lloh5:
	add	x4, x4, l_.str.2@PAGEOFF
Lloh6:
	adrp	x5, l_.str.3@PAGE
Lloh7:
	add	x5, x5, l_.str.3@PAGEOFF
	mov	x1, x0
	mov	x2, x0
	bl	_NewName
	mov	x21, x0
	add	x0, sp, #32
	add	x1, sp, #40
	mov	w2, #1024
	bl	_RsaGen
	ldp	x1, x0, [sp, #32]
	mov	x2, x21
	mov	w3, #1000
	mov	x4, #0
	bl	_NewRootX
	mov	x20, x0
	mov	x0, x21
	bl	_FreeName
	mov	w24, #1025
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_Listen
	add	w24, w24, #1
	cbz	x0, LBB0_1
; %bb.2:
	mov	x21, x0
	str	x0, [x23]
	ldr	w0, [x0]
	bl	_AddRef
	mov	x0, x22
	bl	_NoticeThreadInit
	mov	x0, x21
	bl	_Accept
	cbz	x0, LBB0_5
; %bb.3:
	mov	x22, x0
Lloh8:
	adrp	x23, _CheckNetworkAcceptThread@GOTPAGE
Lloh9:
	ldr	x23, [x23, _CheckNetworkAcceptThread@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	w1, #24
	bl	_Zero
	ldr	x8, [sp, #32]
	stp	x8, x22, [sp, #16]
	str	x20, [sp, #8]
	ldr	w0, [x23]
	add	x1, sp, #8
	bl	_NewThread
	mov	x1, x0
	mov	x0, x19
	bl	_Insert
	mov	x0, x21
	bl	_Accept
	mov	x22, x0
	cbnz	x0, LBB0_4
LBB0_5:
	mov	x0, x19
	bl	_LIST_NUM
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.6:
	mov	w22, #0
Lloh10:
	adrp	x24, _INFINITE@GOTPAGE
Lloh11:
	ldr	x24, [x24, _INFINITE@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_LIST_DATA
	mov	x23, x0
	ldr	w1, [x24]
	bl	_WaitThread
	mov	x0, x23
	bl	_ReleaseThread
	add	w22, w22, #1
	mov	x0, x19
	bl	_LIST_NUM
	cmp	w22, w0
	b.lt	LBB0_7
LBB0_8:
	ldr	x0, [sp, #32]
	bl	_FreeK
	ldr	x0, [sp, #40]
	bl	_FreeK
	mov	x0, x20
	bl	_FreeX
	mov	x0, x21
	bl	_ReleaseSock
	mov	x0, x19
	bl	_ReleaseList
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	84                              ; 0x54
	.long	101                             ; 0x65
	.long	115                             ; 0x73
	.long	116                             ; 0x74
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.1
l_.str.1:
	.long	74                              ; 0x4a
	.long	80                              ; 0x50
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.2
l_.str.2:
	.long	73                              ; 0x49
	.long	98                              ; 0x62
	.long	97                              ; 0x61
	.long	114                             ; 0x72
	.long	97                              ; 0x61
	.long	107                             ; 0x6b
	.long	105                             ; 0x69
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.3
l_.str.3:
	.long	84                              ; 0x54
	.long	115                             ; 0x73
	.long	117                             ; 0x75
	.long	107                             ; 0x6b
	.long	117                             ; 0x75
	.long	98                              ; 0x62
	.long	97                              ; 0x61
	.long	0                               ; 0x0

	.comm	_CheckNetworkAcceptThread,4,2   ; @CheckNetworkAcceptThread
	.comm	_INFINITE,4,2                   ; @INFINITE
.subsections_via_symbols
