	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StrToPortList                  ## -- Begin function StrToPortList
	.p2align	4, 0x90
_StrToPortList:                         ## @StrToPortList
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	leaq	L_.str(%rip), %rsi
	callq	_ParseToken
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	movq	%rax, %r15
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.4:
	xorl	%edi, %edi
	callq	_NewListFast
	movq	%rax, %r14
	cmpq	$0, (%r15)
	je	LBB0_11
## %bb.5:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%r12,8), %rbx
	movq	%rbx, %rdi
	callq	_IsNum
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_ToInt
	movq	%rax, %rbx
	addq	$-65536, %rax                   ## imm = 0xFFFF0000
	cmpq	$-65536, %rax                   ## imm = 0xFFFF0000
	jbe	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_IsInList
	testq	%rax, %rax
	jne	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_Add
	incq	%r12
	cmpq	(%r15), %r12
	jb	LBB0_6
LBB0_11:
	movq	%r15, %rdi
	callq	_FreeToken
	movq	%r14, %rdi
	callq	_LIST_NUM
	movq	_MAX_PUBLIC_PORT_NUM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_14
## %bb.12:
	movq	%r14, %rdi
	callq	_ReleaseList
	jmp	LBB0_13
LBB0_7:
	movq	%r14, %rdi
	callq	_ReleaseList
LBB0_3:
	movq	%r15, %rdi
	callq	_FreeToken
LBB0_13:
	xorl	%r14d, %r14d
LBB0_14:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	", "

	.comm	_MAX_PUBLIC_PORT_NUM,8,3        ## @MAX_PUBLIC_PORT_NUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StrToPortList                  ; -- Begin function StrToPortList
	.p2align	2
_StrToPortList:                         ; @StrToPortList
	.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_13
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ParseToken
	cbz	x0, LBB0_13
; %bb.2:
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_12
; %bb.3:
	mov	x0, #0
	bl	_NewListFast
	mov	x19, x0
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.4:
	mov	x22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x21, [x8, x22, lsl #3]
	mov	x0, x21
	bl	_IsNum
	cbz	w0, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_ToInt
	sub	x8, x0, #16, lsl #12            ; =65536
	cmn	x8, #16, lsl #12                ; =65536
	b.ls	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_IsInList
	cbnz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_Add
	add	x22, x22, #1
	ldr	x8, [x20]
	cmp	x22, x8
	b.lo	LBB0_5
LBB0_9:
	mov	x0, x20
	bl	_FreeToken
	mov	x0, x19
	bl	_LIST_NUM
Lloh2:
	adrp	x8, _MAX_PUBLIC_PORT_NUM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAX_PUBLIC_PORT_NUM@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_14
; %bb.10:
	mov	x0, x19
	bl	_ReleaseList
	b	LBB0_13
LBB0_11:
	mov	x0, x19
	bl	_ReleaseList
LBB0_12:
	mov	x0, x20
	bl	_FreeToken
LBB0_13:
	mov	x19, #0
LBB0_14:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	", "

	.comm	_MAX_PUBLIC_PORT_NUM,8,3        ; @MAX_PUBLIC_PORT_NUM
.subsections_via_symbols
