	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_nametoportrange           ## -- Begin function pcap_nametoportrange
	.p2align	4, 0x90
_pcap_nametoportrange:                  ## @pcap_nametoportrange
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-52(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	callq	_sscanf
	cmpl	$2, %eax
	jne	LBB0_1
## %bb.8:
	movl	-52(%rbp), %eax
	movl	%eax, (%r13)
	movl	-48(%rbp), %eax
	movl	%eax, (%r15)
	movq	_PROTO_UNDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	$1, %r12d
	jmp	LBB0_9
LBB0_1:
	movq	%rbx, %rdi
	callq	_strdup
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movl	$45, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movb	$0, (%rax)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_pcap_nametoport
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movl	(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	incq	%r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_pcap_nametoport
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_free
	testq	%r14, %r14
	je	LBB0_9
## %bb.6:
	movl	$1, %r12d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%r13)
	je	LBB0_9
## %bb.7:
	movq	_PROTO_UNDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	jmp	LBB0_9
LBB0_3:
	movq	%rbx, %rdi
	callq	_free
LBB0_9:
	movl	%r12d, %eax
	addq	$24, %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	"%d-%d"

	.comm	_PROTO_UNDEF,4,2                ## @PROTO_UNDEF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_nametoportrange           ; -- Begin function pcap_nametoportrange
	.p2align	2
_pcap_nametoportrange:                  ; @pcap_nametoportrange
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	add	x3, sp, #8
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
	str	w8, [x21]
	ldr	w8, [sp, #8]
	str	w8, [x20]
LBB0_2:
Lloh2:
	adrp	x8, _PROTO_UNDEF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PROTO_UNDEF@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_3:
	mov	w0, #1
	b	LBB0_11
LBB0_4:
	mov	x0, x22
	bl	_strdup
	cbz	x0, LBB0_11
; %bb.5:
	mov	x22, x0
	mov	w1, #45
	bl	_strchr
	cbz	x0, LBB0_9
; %bb.6:
	mov	x23, x0
	strb	wzr, [x0]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_pcap_nametoport
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w21, [x19]
	add	x0, x23, #1
	mov	x1, x20
	mov	x2, x19
	bl	_pcap_nametoport
	mov	x20, x0
	mov	x0, x22
	bl	_free
	cbz	x20, LBB0_10
; %bb.8:
	ldr	w8, [x19]
	cmp	w8, w21
	b.ne	LBB0_2
	b	LBB0_3
LBB0_9:
	mov	x0, x22
	bl	_free
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d-%d"

	.comm	_PROTO_UNDEF,4,2                ; @PROTO_UNDEF
.subsections_via_symbols
