	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg_mark_ports                 ## -- Begin function cfg_mark_ports
	.p2align	4, 0x90
_cfg_mark_ports:                        ## @cfg_mark_ports
	.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
	movl	%ecx, %ebx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$45, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	%rax, %r15
	leaq	1(%rax), %r14
	movq	%r14, %rdi
	callq	_atoi
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	je	LBB0_6
LBB0_9:
	movl	%ebx, %r14d
	movq	%r15, %rbx
	subq	%r12, %rbx
	cmpl	$15, %ebx
	jge	LBB0_10
## %bb.11:
	cmpq	%r12, %r15
	jbe	LBB0_13
## %bb.12:
	leaq	-64(%rbp), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
LBB0_13:
	movb	$0, -64(%rbp,%rbx)
	leaq	-64(%rbp), %rdi
	callq	_atoi
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_14
LBB0_16:
	movl	$1, %eax
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	cmpl	%ebx, %edi
	jl	LBB0_29
## %bb.17:
	movslq	%ebx, %rdx
	leal	1(%rdi), %r8d
	movl	%r8d, %esi
	subl	%ebx, %esi
	testb	$1, %sil
	jne	LBB0_19
## %bb.18:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%ebx, %edi
	je	LBB0_29
	jmp	LBB0_23
LBB0_1:
	movq	%r12, %rdi
	callq	_atoi
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movl	$1, %eax
	cmpl	%ebx, %r14d
	jge	LBB0_29
## %bb.4:
	testl	%r13d, %r13d
	cmovnel	%r14d, %r13d
	movslq	%r14d, %rcx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, (%rdx,%rcx,4)
	jmp	LBB0_29
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	jmp	LBB0_8
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
LBB0_8:
	callq	_log_err
	xorl	%eax, %eax
LBB0_29:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_31
## %bb.30:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.1(%rip), %rdi
	leaq	-64(%rbp), %rsi
	jmp	LBB0_8
LBB0_19:
	cmpl	%r14d, %ebx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	jge	LBB0_21
## %bb.20:
	testl	%r13d, %r13d
	movl	%ebx, %esi
	cmovel	%r13d, %esi
	movl	%esi, (%rcx,%rdx,4)
LBB0_21:
	incq	%rdx
	cmpl	%ebx, %edi
	je	LBB0_29
LBB0_23:
	movslq	%r14d, %rsi
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_24 Depth=1
	incq	%rdi
	movq	%rdi, %rdx
	cmpl	%edi, %r8d
	je	LBB0_29
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, %rdx
	jge	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	testl	%r13d, %r13d
	movl	%edx, %edi
	cmovel	%r13d, %edi
	movl	%edi, (%rcx,%rdx,4)
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=1
	leaq	1(%rdx), %rdi
	cmpq	%rsi, %rdi
	jge	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=1
	leal	1(%rdx), %ebx
	testl	%r13d, %r13d
	cmovel	%r13d, %ebx
	movl	%ebx, 4(%rcx,%rdx,4)
	jmp	LBB0_28
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0"

L_.str.1:                               ## @.str.1
	.asciz	"cannot parse port number '%s'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg_mark_ports                 ; -- Begin function cfg_mark_ports
	.p2align	2
_cfg_mark_ports:                        ; @cfg_mark_ports
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	w1, #45
	bl	_strchr
	cbz	x0, LBB0_11
; %bb.1:
	mov	x24, x0
	add	x25, x0, #1
	mov	x0, x25
	bl	_atoi
	mov	x23, x0
	cbz	w0, LBB0_15
LBB0_2:
	sub	x25, x24, x22
	cmp	w25, #15
	b.ge	LBB0_18
; %bb.3:
	cmp	x24, x22
	b.ls	LBB0_5
; %bb.4:
	add	x0, sp, #8
	mov	x1, x22
	mov	x2, x25
	bl	_memcpy
LBB0_5:
	add	x8, sp, #8
	strb	wzr, [x8, x25]
	add	x0, sp, #8
	bl	_atoi
	mov	x22, x0
	cbz	w0, LBB0_22
LBB0_6:
	cmp	w22, w23
	b.gt	LBB0_14
; %bb.7:
	sxtw	x8, w22
	sxtw	x9, w21
	add	w10, w23, #1
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x8, #1
	cmp	w10, w8
	b.eq	LBB0_14
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x8, x9
	b.ge	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w20, #0
	csel	w11, wzr, w8, eq
	str	w11, [x19, x8, lsl #2]
	b	LBB0_8
LBB0_11:
	mov	x0, x22
	bl	_atoi
	mov	x23, x0
	cbz	w0, LBB0_17
LBB0_12:
	cmp	w23, w21
	b.ge	LBB0_14
; %bb.13:
	cmp	w20, #0
	csel	w8, wzr, w23, eq
	str	w8, [x19, w23, sxtw #2]
LBB0_14:
	mov	w0, #1
	b	LBB0_20
LBB0_15:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x25
	bl	_strcmp
	cbz	x0, LBB0_2
; %bb.16:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x25
	b	LBB0_19
LBB0_17:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	x0, LBB0_12
LBB0_18:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
LBB0_19:
	bl	_log_err
	mov	w0, #0
LBB0_20:
	ldr	x8, [sp, #24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.21:
	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
	add	sp, sp, #112
	ret
LBB0_22:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.23:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #8
	b	LBB0_19
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0"

l_.str.1:                               ; @.str.1
	.asciz	"cannot parse port number '%s'"

.subsections_via_symbols
