	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_port_range
_parse_port_range:                      ## @parse_port_range
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	L_.str(%rip), %rsi
	leaq	-16(%rbp), %rdx
	leaq	-12(%rbp), %rcx
	callq	_sscanf
	movl	$-1, %ebx
	cmpl	$2, %eax
	jne	LBB0_7
## %bb.1:
	movl	-16(%rbp), %ecx
	movl	-12(%rbp), %eax
	cmpl	%eax, %ecx
	jg	LBB0_7
## %bb.2:
	movq	_PRIVILEGED_TCP_PORTS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpl	%edx, %ecx
	jle	LBB0_3
## %bb.4:
	cmpl	$65536, %eax                    ## imm = 0x10000
	jl	LBB0_6
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_7
LBB0_3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_7
LBB0_6:
	movq	_min_port@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movq	_max_port@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d-%d"

	.comm	_PRIVILEGED_TCP_PORTS,4,2       ## @PRIVILEGED_TCP_PORTS
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"min port number should be greater than PRIVILEGED_TCP_PORTS(%d)\n"

L_.str.2:                               ## @.str.2
	.asciz	"max port number should be less than 65536\n"

	.comm	_min_port,4,2                   ## @min_port
	.comm	_max_port,4,2                   ## @max_port
	.no_dead_strip	_parse_port_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_port_range
_parse_port_range:                      ; @parse_port_range
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	sub	x2, x29, #4
	add	x3, sp, #8
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_2
; %bb.1:
	ldur	w9, [x29, #-4]
	ldr	w8, [sp, #8]
	cmp	w9, w8
	b.le	LBB0_3
LBB0_2:
	mov	w0, #-1
	b	LBB0_9
LBB0_3:
Lloh2:
	adrp	x10, _PRIVILEGED_TCP_PORTS@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PRIVILEGED_TCP_PORTS@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	cmp	w9, w10
	b.le	LBB0_6
; %bb.4:
	cmp	w8, #16, lsl #12                ; =65536
	b.lt	LBB0_8
; %bb.5:
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x8, _stderr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	str	x10, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	bl	_fprintf
	mov	w0, #-1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
Lloh15:
	adrp	x10, _min_port@GOTPAGE
Lloh16:
	ldr	x10, [x10, _min_port@GOTPAGEOFF]
Lloh17:
	str	w9, [x10]
Lloh18:
	adrp	x9, _max_port@GOTPAGE
Lloh19:
	ldr	x9, [x9, _max_port@GOTPAGEOFF]
Lloh20:
	str	w8, [x9]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d-%d"

	.comm	_PRIVILEGED_TCP_PORTS,4,2       ; @PRIVILEGED_TCP_PORTS
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"min port number should be greater than PRIVILEGED_TCP_PORTS(%d)\n"

l_.str.2:                               ; @.str.2
	.asciz	"max port number should be less than 65536\n"

	.comm	_min_port,4,2                   ; @min_port
	.comm	_max_port,4,2                   ; @max_port
	.no_dead_strip	_parse_port_range
.subsections_via_symbols
