	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function split_dname
_split_dname:                           ## @split_dname
	.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
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_strlen
	cltq
	movb	-1(%r15,%rax), %cl
	addb	$-58, %cl
	cmpb	$-10, %cl
	jae	LBB0_1
## %bb.6:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_7
LBB0_1:
	addq	%r15, %rax
	addq	$-2, %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	cmpq	%r15, %rax
	jb	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%rbx), %ecx
	addb	$-48, %cl
	leaq	-1(%rbx), %rax
	cmpb	$10, %cl
	jb	LBB0_2
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %r13
	movq	$0, (%r13)
	incq	%rbx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtol
	movq	-48(%rbp), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_8
## %bb.5:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_7
LBB0_8:
	movq	(%r13), %rcx
	movq	_ERANGE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_10
## %bb.9:
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_10
## %bb.11:
	testq	%rax, %rax
	js	LBB0_12
## %bb.13:
	movq	%rax, (%r12)
	jmp	LBB0_14
LBB0_10:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_7
LBB0_12:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
LBB0_7:
	movq	%r14, %rdi
	movq	%r15, %rcx
	callq	_pcap_snprintf
	xorl	%ebx, %ebx
LBB0_14:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s missing unit number"

	.comm	_errno,8,3                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"%s bad unit number"

	.comm	_ERANGE,8,3                     ## @ERANGE
	.comm	_INT_MAX,8,3                    ## @INT_MAX
L_.str.2:                               ## @.str.2
	.asciz	"%s unit number too large"

L_.str.3:                               ## @.str.3
	.asciz	"%s unit number is negative"

	.no_dead_strip	_split_dname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function split_dname
_split_dname:                           ; @split_dname
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x9, x19, x8
	ldurb	w9, [x9, #-1]
	sub	w9, w9, #58
	cmn	w9, #10
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_12
LBB0_2:
	add	x8, x8, x19
	sub	x9, x8, #2
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x9
	cmp	x9, x19
	b.lo	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x9, x8
	ldrb	w10, [x9], #-1
	sub	w10, w10, #48
	cmp	w10, #10
	b.lo	LBB0_3
LBB0_5:
Lloh5:
	adrp	x23, _errno@GOTPAGE
Lloh6:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
	str	xzr, [x23]
	add	x22, x8, #1
	add	x1, sp, #8
	mov	x0, x22
	mov	w2, #10
	bl	_strtol
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_7
; %bb.6:
Lloh7:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_7:
	ldr	x8, [x23]
Lloh12:
	adrp	x9, _ERANGE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ERANGE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, _INT_MAX@GOTPAGE
Lloh16:
	ldr	x10, [x10, _INT_MAX@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x0, x10, #0, ne
	b.le	LBB0_9
; %bb.8:
Lloh18:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x2, l_.str.2@PAGE
Lloh22:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_9:
	tbnz	x0, #63, LBB0_11
; %bb.10:
	str	x0, [x21]
	b	LBB0_13
LBB0_11:
Lloh23:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x2, l_.str.3@PAGE
Lloh27:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_12:
	mov	x0, x20
	mov	x3, x19
	bl	_pcap_snprintf
	mov	x22, #0
LBB0_13:
	mov	x0, x22
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s missing unit number"

	.comm	_errno,8,3                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"%s bad unit number"

	.comm	_ERANGE,8,3                     ; @ERANGE
	.comm	_INT_MAX,8,3                    ; @INT_MAX
l_.str.2:                               ; @.str.2
	.asciz	"%s unit number too large"

l_.str.3:                               ; @.str.3
	.asciz	"%s unit number is negative"

	.no_dead_strip	_split_dname
.subsections_via_symbols
