	.file	"extr_netaddr.c_isc_netaddr_totext.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%%%u"
	.text
	.p2align 4
	.globl	isc_netaddr_totext
	.type	isc_netaddr_totext, @function
isc_netaddr_totext:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 80
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	setne	dil
	movzx	edi, dil
	call	REQUIRE@PLT
	mov	edi, DWORD PTR [rbx]
	cmp	edi, 129
	je	.L2
	mov	eax, DWORD PTR ISC_R_FAILURE[rip]
	lea	rsi, 20[rbx]
	cmp	edi, 130
	jne	.L1
.L4:
	lea	r13, 16[rsp]
	mov	ecx, 46
	mov	rdx, r13
	call	inet_ntop@PLT
	test	rax, rax
	je	.L15
	mov	rdi, r13
	call	strlen@PLT
	xor	edi, edi
	cmp	eax, 45
	mov	r12d, eax
	setbe	dil
	call	INSIST@PLT
	cmp	DWORD PTR [rbx], 129
	jne	.L11
	mov	r14d, DWORD PTR 4[rbx]
	mov	ebx, r12d
	test	r14d, r14d
	jne	.L17
.L7:
	mov	rdi, rbp
	call	isc_buffer_availablelength@PLT
	cmp	eax, ebx
	jnb	.L9
.L19:
	mov	eax, DWORD PTR ISC_R_NOSPACE[rip]
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rcx, QWORD PTR 72[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L18
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	ecx, r14d
	lea	rdi, 4[rsp]
	mov	esi, 12
	lea	rdx, .LC0[rip]
	call	snprintf@PLT
	mov	r14d, eax
	test	eax, eax
	jns	.L8
	.p2align 4,,10
	.p2align 3
.L15:
	mov	eax, DWORD PTR ISC_R_FAILURE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	lea	rsi, 16[rbx]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, rbp
	mov	ebx, r12d
	xor	r14d, r14d
	call	isc_buffer_availablelength@PLT
	cmp	eax, ebx
	jb	.L19
.L9:
	mov	edx, r12d
	mov	rsi, r13
	mov	rdi, rbp
	call	isc_buffer_putmem@PLT
	lea	rsi, 4[rsp]
	mov	edx, r14d
	mov	rdi, rbp
	call	isc_buffer_putmem@PLT
	mov	eax, DWORD PTR ISC_R_SUCCESS[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	xor	edi, edi
	cmp	eax, 11
	lea	ebx, [r14+r12]
	setbe	dil
	call	INSIST@PLT
	jmp	.L7
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	isc_netaddr_totext, .-isc_netaddr_totext
	.comm	ISC_R_SUCCESS,4,4
	.comm	ISC_R_NOSPACE,4,4
	.comm	ISC_R_FAILURE,4,4
	.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_netaddr.c_isc_netaddr_totext.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%%%u\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	isc_netaddr_totext
	.syntax unified
	.arm
	.fpu softvfp
	.type	isc_netaddr_totext, %function
isc_netaddr_totext:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r3, .L19
	subs	r0, r0, #0
	movne	r0, #1
	sub	sp, sp, #68
	mov	r6, r1
	ldr	r3, [r3]
	str	r3, [sp, #60]
	mov	r3,#0
	bl	REQUIRE
	ldr	r0, [r4]
	cmp	r0, #129
	beq	.L2
	cmp	r0, #130
	addeq	r1, r4, #16
	beq	.L4
.L14:
	ldr	r3, .L19+4
	ldr	r0, [r3]
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	add	r1, r4, #12
.L4:
	mov	r3, #46
	add	r2, sp, #12
	bl	inet_ntop
	cmp	r0, #0
	beq	.L14
	add	r0, sp, #12
	bl	strlen
	mov	r5, r0
	mov	r0, #1
	bl	INSIST
	ldr	r3, [r4]
	cmp	r3, #129
	bne	.L11
	ldr	r4, [r4, #4]
	cmp	r4, #0
	moveq	r7, r5
	bne	.L17
.L7:
	mov	r0, r6
	bl	isc_buffer_availablelength
	cmp	r0, r7
	bcs	.L9
.L18:
	ldr	r3, .L19+8
	ldr	r0, [r3]
	b	.L1
.L11:
	mov	r0, r6
	mov	r7, r5
	bl	isc_buffer_availablelength
	cmp	r0, r7
	mov	r4, #0
	bcc	.L18
.L9:
	mov	r2, r5
	add	r1, sp, #12
	mov	r0, r6
	bl	isc_buffer_putmem
	mov	r2, r4
	mov	r0, r6
	mov	r1, sp
	bl	isc_buffer_putmem
	ldr	r3, .L19+12
	ldr	r0, [r3]
	b	.L1
.L17:
	mov	r3, r4
	mov	r1, #12
	mov	r0, sp
	ldr	r2, .L19+16
	bl	snprintf
	subs	r4, r0, #0
	blt	.L14
	cmp	r4, #11
	movhi	r0, #0
	movls	r0, #1
	bl	INSIST
	add	r7, r4, r5
	b	.L7
.L16:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC1
	.word	ISC_R_FAILURE
	.word	ISC_R_NOSPACE
	.word	ISC_R_SUCCESS
	.word	.LC0
	.size	isc_netaddr_totext, .-isc_netaddr_totext
	.comm	ISC_R_SUCCESS,4,4
	.comm	ISC_R_NOSPACE,4,4
	.comm	ISC_R_FAILURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
