	.file	"extr_pcap-dlpi.c_split_dname.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s missing unit number"
.LC1:
	.string	"%s bad unit number"
.LC2:
	.string	"%s unit number too large"
.LC3:
	.string	"%s unit number is negative"
	.text
	.p2align 4
	.type	split_dname, @function
split_dname:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	strlen@PLT
	cdqe
	lea	rax, -1[r12+rax]
	movzx	edi, BYTE PTR [rax]
	lea	edx, -48[rdi]
	cmp	dl, 9
	ja	.L14
	.p2align 4,,10
	.p2align 3
.L2:
	mov	r13, rax
	sub	rax, 1
	cmp	rax, r12
	jb	.L4
	movzx	ecx, BYTE PTR [rax]
	lea	edx, -48[rcx]
	cmp	dl, 9
	jbe	.L2
.L4:
	mov	edx, 10
	mov	rsi, rsp
	mov	rdi, r13
	mov	QWORD PTR errno[rip], 0
	call	strtol@PLT
	mov	rdx, QWORD PTR [rsp]
	cmp	BYTE PTR [rdx], 0
	jne	.L15
	mov	rsi, QWORD PTR ERANGE[rip]
	cmp	QWORD PTR errno[rip], rsi
	je	.L6
	cmp	QWORD PTR INT_MAX[rip], rax
	jl	.L6
	test	rax, rax
	js	.L16
	mov	QWORD PTR [rbx], rax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	esi, DWORD PTR PCAP_ERRBUF_SIZE[rip]
	mov	rcx, r12
	mov	rdi, rbp
	xor	r13d, r13d
	lea	rdx, .LC2[rip]
	call	pcap_snprintf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	esi, DWORD PTR PCAP_ERRBUF_SIZE[rip]
	mov	rcx, r12
	mov	rdi, rbp
	xor	r13d, r13d
	lea	rdx, .LC0[rip]
	call	pcap_snprintf@PLT
	jmp	.L1
.L15:
	mov	esi, DWORD PTR PCAP_ERRBUF_SIZE[rip]
	mov	rcx, r12
	mov	rdi, rbp
	xor	r13d, r13d
	lea	rdx, .LC1[rip]
	call	pcap_snprintf@PLT
	jmp	.L1
.L16:
	mov	esi, DWORD PTR PCAP_ERRBUF_SIZE[rip]
	mov	rcx, r12
	mov	rdi, rbp
	xor	r13d, r13d
	lea	rdx, .LC3[rip]
	call	pcap_snprintf@PLT
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	split_dname, .-split_dname
	.comm	errno,8,8
	.comm	PCAP_ERRBUF_SIZE,4,4
	.comm	INT_MAX,8,8
	.comm	ERANGE,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pcap-dlpi.c_split_dname.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s missing unit number\000"
	.align	2
.LC1:
	.ascii	"%s bad unit number\000"
	.align	2
.LC2:
	.ascii	"%s unit number too large\000"
	.align	2
.LC3:
	.ascii	"%s unit number is negative\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	split_dname, %function
split_dname:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L18
	sub	sp, sp, #12
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r5, r1
	mov	r6, r2
	bl	strlen
	sub	ip, r0, #1
	ldrb	r3, [r4, ip]	@ zero_extendqisi2
	add	ip, r4, ip
	sub	r3, r3, #48
	cmp	r3, #9
	bhi	.L14
.L2:
	mov	r7, ip
	sub	ip, ip, #1
	cmp	ip, r4
	bcc	.L4
	ldrb	lr, [ip]	@ zero_extendqisi2
	sub	lr, lr, #48
	cmp	lr, #9
	bls	.L2
.L4:
	mov	r9, #0
	ldr	r8, .L18+4
	mov	r2, #10
	mov	r1, sp
	mov	r0, r7
	str	r9, [r8]
	bl	strtol
	ldr	r3, [sp]
	ldrb	ip, [r3]	@ zero_extendqisi2
	cmp	ip, r9
	bne	.L15
	ldr	r3, .L18+8
	ldr	r2, [r8]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L6
	ldr	r3, .L18+12
	ldr	r3, [r3]
	cmp	r3, r0
	blt	.L6
	cmp	r0, #0
	strge	r0, [r5]
	blt	.L16
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, r7
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L6:
	ldr	r2, .L18+16
	mov	r3, r4
	ldr	r1, [r2]
	mov	r0, r6
	ldr	r2, .L18+20
	bl	pcap_snprintf
	mov	r7, #0
	b	.L1
.L14:
	ldr	r2, .L18+16
	mov	r3, r4
	ldr	r1, [r2]
	mov	r0, r6
	ldr	r2, .L18+24
	bl	pcap_snprintf
	mov	r7, #0
	b	.L1
.L15:
	ldr	r2, .L18+16
	mov	r3, r4
	ldr	r1, [r2]
	mov	r0, r6
	ldr	r2, .L18+28
	mov	r7, r9
	bl	pcap_snprintf
	b	.L1
.L16:
	ldr	r2, .L18+16
	mov	r3, r4
	ldr	r1, [r2]
	mov	r0, r6
	ldr	r2, .L18+32
	mov	r7, ip
	bl	pcap_snprintf
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC4
	.word	errno
	.word	ERANGE
	.word	INT_MAX
	.word	PCAP_ERRBUF_SIZE
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	.LC3
	.size	split_dname, .-split_dname
	.comm	errno,4,4
	.comm	PCAP_ERRBUF_SIZE,4,4
	.comm	INT_MAX,4,4
	.comm	ERANGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
