	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParseHostPortAtmark            ## -- Begin function ParseHostPortAtmark
	.p2align	4, 0x90
_ParseHostPortAtmark:                   ## @ParseHostPortAtmark
	.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
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.1:
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r13
	leaq	L_.str(%rip), %rsi
	callq	_ParseToken
	testq	%rax, %rax
	je	LBB0_22
## %bb.2:
	movq	%rax, %r12
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movq	$0, (%r15)
LBB0_4:
	testq	%r14, %r14
	je	LBB0_5
LBB0_7:
	movl	(%r12), %eax
	cmpl	$2, %eax
	jl	LBB0_11
## %bb.8:
	movq	8(%r12), %rax
	movl	4(%rax), %edi
	callq	_ToInt
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movl	(%r12), %eax
LBB0_11:
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jle	LBB0_18
## %bb.12:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	callq	_IsEmptyStr
	testl	%eax, %eax
	jne	LBB0_18
## %bb.13:
	testq	%r13, %r13
	je	LBB0_15
## %bb.14:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	callq	_CopyStr
	movq	%rax, (%r13)
	movq	%rax, %rdi
	callq	_Trim
LBB0_15:
	movl	$1, %ebx
	testq	%r15, %r15
	je	LBB0_18
## %bb.16:
	cmpl	$2, (%r12)
	jl	LBB0_18
## %bb.17:
	movq	8(%r12), %rax
	movl	4(%rax), %edi
	callq	_ToInt
	movq	%rax, (%r15)
LBB0_18:
	testq	%r15, %r15
	je	LBB0_21
## %bb.19:
	cmpq	$0, (%r15)
	jne	LBB0_21
## %bb.20:
	movq	%r14, (%r15)
	jmp	LBB0_21
LBB0_5:
	xorl	%ebx, %ebx
	cmpl	$2, (%r12)
	jl	LBB0_21
## %bb.6:
	movq	8(%r12), %rax
	movl	4(%rax), %edi
	callq	_ToInt
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_21
LBB0_9:
	xorl	%ebx, %ebx
LBB0_21:
	movq	%r12, %rdi
	callq	_FreeToken
LBB0_22:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"@"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParseHostPortAtmark            ; -- Begin function ParseHostPortAtmark
	.p2align	2
_ParseHostPortAtmark:                   ; @ParseHostPortAtmark
	.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_14
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ParseToken
	cbz	x0, LBB0_14
; %bb.2:
	mov	x19, x0
	cbz	x21, LBB0_4
; %bb.3:
	str	xzr, [x21]
LBB0_4:
	cbz	x20, LBB0_15
LBB0_5:
	ldr	w8, [x19]
	cmp	w8, #1
	b.le	LBB0_8
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	bl	_ToInt
	cbz	x0, LBB0_17
; %bb.7:
	ldr	w8, [x19]
LBB0_8:
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.9:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_IsEmptyStr
	cbz	w0, LBB0_20
LBB0_10:
	mov	w22, #0
LBB0_11:
	cbz	x21, LBB0_18
; %bb.12:
	ldr	x8, [x21]
	cbnz	x8, LBB0_18
; %bb.13:
	str	x20, [x21]
	b	LBB0_18
LBB0_14:
	mov	w22, #0
	b	LBB0_19
LBB0_15:
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_17
; %bb.16:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	bl	_ToInt
	cbnz	x0, LBB0_5
LBB0_17:
	mov	w22, #0
LBB0_18:
	mov	x0, x19
	bl	_FreeToken
LBB0_19:
	mov	x0, x22
	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
LBB0_20:
	cbz	x22, LBB0_22
; %bb.21:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_CopyStr
	str	x0, [x22]
	bl	_Trim
LBB0_22:
	mov	w22, #1
	cbz	x21, LBB0_11
; %bb.23:
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_11
; %bb.24:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	bl	_ToInt
	str	x0, [x21]
	mov	w22, #1
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"@"

.subsections_via_symbols
