	.file	"extr_ipv6.c_lookup_host6.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lookup_host6, @function
lookup_host6:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	rdx, rsi
	mov	r13, rsi
	mov	rsi, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	edi, DWORD PTR AF_INET6[rip]
	call	inet_pton@PLT
	test	eax, eax
	je	.L7
.L1:
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.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
.L7:
	.cfi_restore_state
	mov	esi, DWORD PTR AF_INET6[rip]
	mov	rdi, rbp
	mov	r12d, eax
	call	gethostbyname2@PLT
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR [rax]
	mov	rdi, r13
	mov	edx, 4
	mov	esi, DWORD PTR [rax]
	call	memcpy@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	mov	r12d, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	lookup_host6, .-lookup_host6
	.comm	AF_INET6,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_ipv6.c_lookup_host6.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lookup_host6, %function
lookup_host6:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L8
	mov	r2, r1
	mov	r5, r0
	mov	r6, r1
	mov	r1, r0
	ldr	r0, [r7]
	bl	inet_pton
	subs	r4, r0, #0
	movne	r4, #0
	beq	.L7
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, r5
	ldr	r1, [r7]
	bl	gethostbyname2
	cmp	r0, #0
	beq	.L4
	ldr	r3, [r0]
	mov	r2, #4
	mov	r0, r6
	ldr	r1, [r3]
	bl	memcpy
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	mvn	r4, #0
	b	.L1
.L9:
	.align	2
.L8:
	.word	AF_INET6
	.size	lookup_host6, .-lookup_host6
	.comm	AF_INET6,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
