	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NewListenerEx5                 ## -- Begin function NewListenerEx5
	.p2align	4, 0x90
_NewListenerEx5:                        ## @NewListenerEx5
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_LISTENER_TCP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rsi
	xorq	%r14, %rsi
	orq	%rdx, %rsi
	sete	%bl
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.1:
	testb	%bl, %bl
	jne	LBB0_19
## %bb.2:
	movq	%rdi, %r10
	cmpq	%r14, %rax
	je	LBB0_9
## %bb.3:
	movq	_LISTENER_INPROC@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_9
## %bb.4:
	movq	_LISTENER_RUDP@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_9
## %bb.5:
	movq	_LISTENER_ICMP@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_9
## %bb.6:
	movq	_LISTENER_DNS@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_9
## %bb.7:
	movq	_LISTENER_REVERSE@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_9
## %bb.8:
	xorl	%r15d, %r15d
	jmp	LBB0_19
LBB0_9:
	movl	$80, %edi
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r10, -56(%rbp)                 ## 8-byte Spill
	movq	%r8, %r12
	movq	%rdx, %rbx
	movq	%rcx, %r13
	callq	_ZeroMalloc
	movq	%rax, %r15
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, 72(%rax)
	movq	%rbx, %r13
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, 64(%rax)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, 24(%rax)
	movl	4(%rbx), %edi
	callq	_AddRef
	xorl	%eax, %eax
	callq	_NewLock
	movl	%eax, 60(%r15)
	xorl	%eax, %eax
	callq	_NewRef
	movl	%eax, 56(%r15)
	movq	%r14, 48(%r15)
	movq	%r13, 40(%r15)
	xorl	%eax, %eax
	callq	_NewEvent
	movl	%eax, 36(%r15)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r15)
	movl	16(%rbp), %ecx
	movl	%ecx, 4(%r15)
	movq	24(%rbp), %rax
	movq	%rax, 8(%r15)
	movl	32(%rbp), %eax
	movl	%eax, 32(%r15)
	movl	40(%rbp), %eax
	movl	%eax, 16(%r15)
	testl	%ecx, %ecx
	jne	LBB0_12
## %bb.10:
	movq	_LISTENER_TCP@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_12
## %bb.11:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_SLog
LBB0_12:
	movq	_ListenerThread@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_NewThread
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_WaitThreadInit
	movq	%r12, %rdi
	callq	_ReleaseThread
	movl	4(%r15), %eax
	testl	%eax, %eax
	jne	LBB0_13
## %bb.14:
	movq	_LISTENER_TCP@GOTPCREL(%rip), %rcx
	cmpq	%r14, (%rcx)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_17
## %bb.15:
	movq	24(%r15), %rax
	cmpl	$0, (%rax)
	jne	LBB0_18
## %bb.16:
	movl	$1, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_NewListenerEx3
	movl	%eax, 20(%r15)
	movl	4(%r15), %eax
LBB0_17:
	testl	%eax, %eax
	jne	LBB0_19
LBB0_18:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_AddListener
LBB0_19:
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testl	%eax, %eax
	jne	LBB0_19
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_LISTENER_TCP,8,3               ## @LISTENER_TCP
	.comm	_LISTENER_INPROC,8,3            ## @LISTENER_INPROC
	.comm	_LISTENER_RUDP,8,3              ## @LISTENER_RUDP
	.comm	_LISTENER_ICMP,8,3              ## @LISTENER_ICMP
	.comm	_LISTENER_DNS,8,3               ## @LISTENER_DNS
	.comm	_LISTENER_REVERSE,8,3           ## @LISTENER_REVERSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LS_LISTENER_START_1"

	.comm	_ListenerThread,4,2             ## @ListenerThread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NewListenerEx5                 ; -- Begin function NewListenerEx5
	.p2align	2
_NewListenerEx5:                        ; @NewListenerEx5
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, #0
Lloh0:
	adrp	x28, _LISTENER_TCP@GOTPAGE
Lloh1:
	ldr	x28, [x28, _LISTENER_TCP@GOTPAGEOFF]
	ldr	x8, [x28]
	cmp	x2, #0
	ccmp	x8, x1, #0, eq
	cset	w9, eq
	cbz	x0, LBB0_13
; %bb.1:
	tbnz	w9, #0, LBB0_13
; %bb.2:
	mov	x25, x1
Lloh2:
	adrp	x9, _LISTENER_INPROC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LISTENER_INPROC@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _LISTENER_RUDP@GOTPAGE
Lloh6:
	ldr	x10, [x10, _LISTENER_RUDP@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
Lloh8:
	adrp	x11, _LISTENER_ICMP@GOTPAGE
Lloh9:
	ldr	x11, [x11, _LISTENER_ICMP@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
Lloh11:
	adrp	x12, _LISTENER_DNS@GOTPAGE
Lloh12:
	ldr	x12, [x12, _LISTENER_DNS@GOTPAGEOFF]
Lloh13:
	ldr	x12, [x12]
Lloh14:
	adrp	x13, _LISTENER_REVERSE@GOTPAGE
Lloh15:
	ldr	x13, [x13, _LISTENER_REVERSE@GOTPAGEOFF]
Lloh16:
	ldr	x13, [x13]
	cmp	x8, x1
	ccmp	x9, x1, #4, ne
	ccmp	x10, x1, #4, ne
	ccmp	x11, x1, #4, ne
	ccmp	x12, x1, #4, ne
	ccmp	x13, x1, #4, ne
	b.ne	LBB0_12
; %bb.3:
	mov	x27, x7
	mov	x26, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x19, x0
	ldr	w8, [x29, #20]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w8, [x29, #16]
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	mov	w0, #80
	bl	_ZeroMalloc
	mov	x20, x0
	stp	x22, x23, [x0, #64]
	str	x19, [x0, #24]
	ldr	w0, [x19, #4]
	bl	_AddRef
	bl	_NewLock
	str	w0, [x20, #60]
	bl	_NewRef
	str	w0, [x20, #56]
	stp	x24, x25, [x20, #40]
	bl	_NewEvent
	stp	w21, w26, [x20]
	str	x27, [x20, #8]
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	stp	w8, w0, [x20, #32]
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	str	w8, [x20, #16]
	cbnz	w26, LBB0_6
; %bb.4:
	ldr	x8, [x28]
	cmp	x8, x25
	b.ne	LBB0_6
; %bb.5:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x24
	bl	_SLog
LBB0_6:
Lloh19:
	adrp	x8, _ListenerThread@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ListenerThread@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_NewThread
	mov	x26, x0
	bl	_WaitThreadInit
	mov	x0, x26
	bl	_ReleaseThread
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_10
; %bb.7:
	ldr	x9, [x28]
	cmp	x9, x25
	b.ne	LBB0_10
; %bb.8:
	ldr	x8, [x20, #24]
	ldr	w8, [x8]
	cbnz	w8, LBB0_11
; %bb.9:
	mov	x0, x19
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	mov	w6, #1
	bl	_NewListenerEx3
	str	w0, [x20, #20]
	ldr	w8, [x20, #4]
LBB0_10:
	cbnz	w8, LBB0_13
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	bl	_AddListener
	b	LBB0_13
LBB0_12:
	mov	x20, #0
LBB0_13:
	mov	x0, x20
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_LISTENER_TCP,8,3               ; @LISTENER_TCP
	.comm	_LISTENER_INPROC,8,3            ; @LISTENER_INPROC
	.comm	_LISTENER_RUDP,8,3              ; @LISTENER_RUDP
	.comm	_LISTENER_ICMP,8,3              ; @LISTENER_ICMP
	.comm	_LISTENER_DNS,8,3               ; @LISTENER_DNS
	.comm	_LISTENER_REVERSE,8,3           ; @LISTENER_REVERSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LS_LISTENER_START_1"

	.comm	_ListenerThread,4,2             ; @ListenerThread
.subsections_via_symbols
