	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_port                     ## -- Begin function parse_port
	.p2align	4, 0x90
_parse_port:                            ## @parse_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
                                        ## kill: def $edi killed $edi def $rdi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_linebuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_linelen@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rcx,%rax), %rbx
	testq	%rax, %rax
	jle	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	orb	$8, %al
	cmpb	$40, %al
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	decq	%rbx
	cmpq	%rcx, %rbx
	ja	LBB0_1
LBB0_3:
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	je	LBB0_27
## %bb.4:
	addl	$-128, %edi
	cmpl	$3, %edi
	ja	LBB0_27
## %bb.5:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_6:
	leaq	-44(%rbp), %rcx
	leaq	-40(%rbp), %r8
	leaq	-36(%rbp), %r9
	leaq	-32(%rbp), %r10
	leaq	-28(%rbp), %r11
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_7
LBB0_15:
	leaq	-44(%rbp), %rcx
	leaq	-40(%rbp), %r8
	leaq	-36(%rbp), %r9
	leaq	-32(%rbp), %r10
	leaq	-28(%rbp), %r11
	leaq	L_.str.1(%rip), %rsi
LBB0_7:
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	pushq	%r11
	pushq	%r10
	callq	_sscanf
	addq	$16, %rsp
	cmpl	$6, %eax
	jne	LBB0_26
## %bb.8:
	cmpl	$255, -48(%rbp)
	ja	LBB0_26
## %bb.9:
	cmpl	$255, -44(%rbp)
	ja	LBB0_26
## %bb.10:
	cmpl	$255, -40(%rbp)
	ja	LBB0_26
## %bb.11:
	cmpl	$255, -36(%rbp)
	ja	LBB0_26
## %bb.12:
	movl	-32(%rbp), %eax
	cmpl	$255, %eax
	ja	LBB0_26
## %bb.13:
	movl	-28(%rbp), %ecx
	cmpl	$255, %ecx
	ja	LBB0_26
## %bb.14:
	shll	$8, %eax
	orl	%ecx, %eax
	jmp	LBB0_27
LBB0_16:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_24
LBB0_17:
	leaq	-44(%rbp), %rcx
	leaq	-40(%rbp), %r8
	leaq	-36(%rbp), %r9
	subq	$8, %rsp
	leaq	-52(%rbp), %r10
	leaq	L_.str.3(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	pushq	%r10
	callq	_sscanf
	addq	$16, %rsp
	cmpl	$5, %eax
	jne	LBB0_23
## %bb.18:
	cmpl	$255, -48(%rbp)
	ja	LBB0_23
## %bb.19:
	cmpl	$255, -44(%rbp)
	ja	LBB0_23
## %bb.20:
	cmpl	$255, -40(%rbp)
	ja	LBB0_23
## %bb.21:
	cmpl	$255, -36(%rbp)
	ja	LBB0_23
## %bb.22:
	movl	-52(%rbp), %eax
	cmpl	$65536, %eax                    ## imm = 0x10000
	jb	LBB0_27
LBB0_23:
	leaq	L_.str.4(%rip), %rsi
LBB0_24:
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_26
## %bb.25:
	movl	-52(%rbp), %eax
	cmpl	$65536, %eax                    ## imm = 0x10000
	jb	LBB0_27
LBB0_26:
	xorl	%eax, %eax
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_29
## %bb.28:
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_linebuf,8,3                    ## @linebuf
	.comm	_linelen,4,2                    ## @linelen
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" %u,%u,%u,%u,%u,%u"

L_.str.1:                               ## @.str.1
	.asciz	"(%u,%u,%u,%u,%u,%u)"

L_.str.2:                               ## @.str.2
	.asciz	"(|||%u|)"

L_.str.3:                               ## @.str.3
	.asciz	" |1|%u.%u.%u.%u|%u|"

L_.str.4:                               ## @.str.4
	.asciz	" |2|%*[a-fA-F0-9:]|%u|"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_port                     ; -- Begin function parse_port
	.p2align	2
_parse_port:                            ; @parse_port
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _linebuf@GOTPAGE
Lloh4:
	ldr	x8, [x8, _linebuf@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _linelen@GOTPAGE
Lloh7:
	ldr	x9, [x9, _linelen@GOTPAGEOFF]
Lloh8:
	ldrsw	x9, [x9]
	add	x19, x8, x9
	cmp	w9, #1
	b.lt	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x19]
	orr	w9, w9, #0x8
	cmp	w9, #40
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x19, x19, #1
	cmp	x19, x8
	b.hi	LBB0_1
LBB0_3:
	cmp	x19, x8
	b.eq	LBB0_26
; %bb.4:
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_26
; %bb.5:
Lloh9:
	adrp	x9, lJTI0_0@PAGE
Lloh10:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	add	x8, sp, #48
	add	x9, x8, #4
	add	x10, x8, #8
	add	x11, x8, #12
	add	x12, x8, #16
	add	x8, x8, #20
	stp	x12, x8, [sp, #24]
	stp	x10, x11, [sp, #8]
	str	x9, [sp]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
	add	x8, sp, #48
	add	x9, x8, #4
	add	x10, x8, #8
	add	x11, x8, #12
	add	x12, x8, #16
	add	x8, x8, #20
	stp	x12, x8, [sp, #24]
	stp	x10, x11, [sp, #8]
	str	x9, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	add	x2, sp, #48
	mov	x0, x19
	bl	_sscanf
	cmp	w0, #6
	b.ne	LBB0_26
; %bb.9:
	ldr	w8, [sp, #48]
	cmp	w8, #255
	b.hi	LBB0_26
; %bb.10:
	ldr	w8, [sp, #52]
	cmp	w8, #255
	b.hi	LBB0_26
; %bb.11:
	ldr	w8, [sp, #56]
	cmp	w8, #255
	b.hi	LBB0_26
; %bb.12:
	ldr	w8, [sp, #60]
	cmp	w8, #255
	b.hi	LBB0_26
; %bb.13:
	ldr	w8, [sp, #64]
	cmp	w8, #255
	b.hi	LBB0_26
; %bb.14:
	ldr	w9, [sp, #68]
	cmp	w9, #255
	b.hi	LBB0_26
; %bb.15:
	orr	w0, w9, w8, lsl #8
	b	LBB0_27
LBB0_16:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_24
LBB0_17:
	add	x8, sp, #48
	add	x9, x8, #4
	add	x10, x8, #8
	add	x8, x8, #12
	add	x11, sp, #44
	stp	x8, x11, [sp, #16]
	stp	x9, x10, [sp]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #48
	mov	x0, x19
	bl	_sscanf
	cmp	w0, #5
	b.ne	LBB0_23
; %bb.18:
	ldr	w8, [sp, #48]
	cmp	w8, #255
	b.hi	LBB0_23
; %bb.19:
	ldr	w8, [sp, #52]
	cmp	w8, #255
	b.hi	LBB0_23
; %bb.20:
	ldr	w8, [sp, #56]
	cmp	w8, #255
	b.hi	LBB0_23
; %bb.21:
	ldr	w8, [sp, #60]
	cmp	w8, #255
	b.hi	LBB0_23
; %bb.22:
	ldr	w0, [sp, #44]
	cmp	w0, #16, lsl #12                ; =65536
	b.lo	LBB0_27
LBB0_23:
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_24:
	add	x2, sp, #44
	mov	x0, x19
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_26
; %bb.25:
	ldr	w0, [sp, #44]
	cmp	w0, #16, lsl #12                ; =65536
	b.lo	LBB0_27
LBB0_26:
	mov	w0, #0
LBB0_27:
	ldur	x8, [x29, #-24]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_29
; %bb.28:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_29:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_16-LBB0_6)>>2
	.byte	(LBB0_17-LBB0_6)>>2
                                        ; -- End function
	.comm	_linebuf,8,3                    ; @linebuf
	.comm	_linelen,4,2                    ; @linelen
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" %u,%u,%u,%u,%u,%u"

l_.str.1:                               ; @.str.1
	.asciz	"(%u,%u,%u,%u,%u,%u)"

l_.str.2:                               ; @.str.2
	.asciz	"(|||%u|)"

l_.str.3:                               ; @.str.3
	.asciz	" |1|%u.%u.%u.%u|%u|"

l_.str.4:                               ; @.str.4
	.asciz	" |2|%*[a-fA-F0-9:]|%u|"

.subsections_via_symbols
