	.file	"extr_sockaddr.c_isc_sockaddr_totext.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%u"
.LC1:
	.string	"#"
	.text
	.p2align 4
	.globl	isc_sockaddr_totext
	.type	isc_sockaddr_totext, @function
isc_sockaddr_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
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	setne	dil
	movzx	edi, dil
	call	REQUIRE@PLT
	mov	edx, DWORD PTR 16[rbp]
	cmp	edx, 129
	je	.L2
	mov	rax, QWORD PTR ISC_R_FAILURE[rip]
	cmp	edx, 130
	jne	.L1
	mov	edi, DWORD PTR 12[rbp]
.L9:
	call	ntohs@PLT
	lea	r13, 34[rsp]
	mov	esi, 6
	lea	rdx, .LC0[rip]
	mov	ecx, eax
	mov	rdi, r13
	lea	r14, 12[rsp]
	call	snprintf@PLT
	mov	rdi, r13
	call	strlen@PLT
	mov	edi, 1
	mov	rbx, rax
	call	INSIST@PLT
	mov	rsi, rbp
	mov	rdi, r14
	call	isc_netaddr_fromsockaddr@PLT
	mov	rsi, r12
	mov	rdi, r14
	call	isc_netaddr_totext@PLT
	cmp	QWORD PTR ISC_R_SUCCESS[rip], rax
	je	.L11
.L1:
	mov	rbx, QWORD PTR 40[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 48
	.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
.L11:
	.cfi_restore_state
	mov	rdi, r12
	call	isc_buffer_availablelength@PLT
	lea	edx, 2[rbx]
	cmp	edx, eax
	jbe	.L6
	mov	rax, QWORD PTR ISC_R_NOSPACE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, DWORD PTR 8[rbp]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edx, 1
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	isc_buffer_putmem@PLT
	mov	edx, ebx
	mov	rsi, r13
	mov	rdi, r12
	call	isc_buffer_putmem@PLT
	lea	rsi, 16[rsp]
	mov	rdi, r12
	call	isc_buffer_availableregion@PLT
	mov	eax, DWORD PTR 16[rsp]
	xor	edi, edi
	test	eax, eax
	setg	dil
	call	INSIST@PLT
	mov	rax, QWORD PTR 24[rsp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR ISC_R_SUCCESS[rip]
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	isc_sockaddr_totext, .-isc_sockaddr_totext
	.comm	ISC_R_SUCCESS,8,8
	.comm	ISC_R_NOSPACE,8,8
	.comm	ISC_R_FAILURE,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_sockaddr.c_isc_sockaddr_totext.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%u\000"
	.align	2
.LC1:
	.ascii	"#\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	isc_sockaddr_totext
	.syntax unified
	.arm
	.fpu softvfp
	.type	isc_sockaddr_totext, %function
isc_sockaddr_totext:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r3, .L13
	subs	r0, r0, #0
	movne	r0, #1
	sub	sp, sp, #28
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r5, r1
	bl	REQUIRE
	ldr	r3, [r4, #12]
	cmp	r3, #129
	beq	.L2
	cmp	r3, #130
	bne	.L3
	ldr	r0, [r4, #8]
.L9:
	bl	ntohs
	add	r6, sp, #12
	mov	r3, r0
	ldr	r2, .L13+4
	mov	r1, #6
	mov	r0, r6
	bl	snprintf
	mov	r0, r6
	bl	strlen
	mov	r7, r0
	mov	r0, #1
	bl	INSIST
	mov	r1, r4
	mov	r0, sp
	bl	isc_netaddr_fromsockaddr
	mov	r1, r5
	mov	r0, sp
	bl	isc_netaddr_totext
	ldr	r4, .L13+8
	ldr	r3, [r4]
	cmp	r3, r0
	beq	.L11
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	mov	r0, r5
	bl	isc_buffer_availablelength
	add	r3, r7, #2
	cmp	r3, r0
	bls	.L6
	ldr	r3, .L13+12
	ldr	r0, [r3]
	b	.L1
.L2:
	ldr	r0, [r4, #4]
	b	.L9
.L3:
	ldr	r3, .L13+16
	ldr	r0, [r3]
	b	.L1
.L6:
	mov	r2, #1
	ldr	r1, .L13+20
	mov	r0, r5
	bl	isc_buffer_putmem
	mov	r2, r7
	mov	r1, r6
	mov	r0, r5
	bl	isc_buffer_putmem
	add	r1, sp, #4
	mov	r0, r5
	bl	isc_buffer_availableregion
	ldr	r0, [sp, #4]
	cmp	r0, #0
	movle	r0, #0
	movgt	r0, #1
	bl	INSIST
	mov	r2, #0
	ldr	r3, [sp, #8]
	strb	r2, [r3]
	ldr	r0, [r4]
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	.LC0
	.word	ISC_R_SUCCESS
	.word	ISC_R_NOSPACE
	.word	ISC_R_FAILURE
	.word	.LC1
	.size	isc_sockaddr_totext, .-isc_sockaddr_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
