	.file	"extr_name6.c_getipnodebyname.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	getipnodebyname
	.type	getipnodebyname, @function
getipnodebyname:
.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, rcx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	esi, 129
	jne	.L16
	mov	rbp, rdi
	test	DWORD PTR AI_ADDRCONFIG[rip], edx
	je	.L4
	mov	esi, DWORD PTR SOCK_DGRAM[rip]
	mov	edi, 129
	xor	edx, edx
	or	esi, DWORD PTR SOCK_CLOEXEC[rip]
	call	_socket@PLT
	mov	edi, eax
	xor	eax, eax
	test	edi, edi
	js	.L1
	call	_close@PLT
.L4:
	lea	r13, 4[rsp]
	mov	rdi, rbp
	mov	rsi, r13
	call	inet_aton@PLT
	cmp	eax, 1
	je	.L17
	xor	eax, eax
	call	__res_state@PLT
	mov	ebx, DWORD PTR [rax]
	mov	r13, rax
	test	DWORD PTR RES_INIT[rip], ebx
	je	.L18
.L6:
	mov	eax, DWORD PTR RES_USE_INET6[rip]
	mov	esi, 129
	mov	rdi, rbp
	not	eax
	and	eax, ebx
	mov	DWORD PTR 0[r13], eax
	call	gethostbyname2@PLT
	mov	rsi, r12
	mov	rdi, rax
	call	_hpcopy@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L19
.L8:
	mov	DWORD PTR 0[r13], ebx
	mov	rsi, r13
	call	_hpsort@PLT
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L20
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L16:
	.cfi_restore_state
	mov	eax, DWORD PTR NO_RECOVERY[rip]
	mov	DWORD PTR [rcx], eax
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, rax
	call	res_ninit@PLT
	test	rax, rax
	js	.L7
	mov	ebx, DWORD PTR 0[r13]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L19:
	mov	eax, DWORD PTR 4[r13]
	mov	DWORD PTR [r12], eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rcx, r12
	mov	rdx, r13
	mov	rsi, rbp
	mov	edi, 129
	call	_hpaddr@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR NETDB_INTERNAL[rip]
	mov	DWORD PTR [r12], eax
	xor	eax, eax
	jmp	.L1
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	getipnodebyname, .-getipnodebyname
	.comm	SOCK_DGRAM,4,4
	.comm	SOCK_CLOEXEC,4,4
	.comm	RES_USE_INET6,4,4
	.comm	RES_INIT,4,4
	.comm	NO_RECOVERY,4,4
	.comm	NETDB_INTERNAL,4,4
	.comm	HOST_NOT_FOUND,4,4
	.comm	AI_ALL,4,4
	.comm	AI_ADDRCONFIG,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_name6.c_getipnodebyname.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getipnodebyname
	.syntax unified
	.arm
	.fpu softvfp
	.type	getipnodebyname, %function
getipnodebyname:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r3
	ldr	r3, .L20
	sub	sp, sp, #8
	cmp	r1, #129
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bne	.L16
	ldr	r3, .L20+4
	mov	r6, r0
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L4
	ldr	r2, .L20+8
	ldr	r3, .L20+12
	ldr	r2, [r2]
	ldr	r3, [r3]
	mov	r0, r1
	orr	r1, r2, r3
	mov	r2, #0
	bl	_socket
	cmp	r0, #0
	movlt	r0, #0
	blt	.L1
	bl	_close
.L4:
	mov	r1, sp
	mov	r0, r6
	bl	inet_aton
	cmp	r0, #1
	beq	.L17
	bl	__res_state
	ldr	r3, .L20+16
	ldr	r8, [r0]
	ldr	r2, [r3]
	mov	r7, r0
	ands	r4, r8, r2
	beq	.L18
.L6:
	ldr	r3, .L20+20
	mov	r1, #129
	ldr	r3, [r3]
	mov	r0, r6
	bic	r3, r8, r3
	str	r3, [r7]
	bl	gethostbyname2
	mov	r1, r5
	bl	_hpcopy
	cmp	r0, #0
	ldreq	r3, [r7, #4]
	mov	r1, r7
	streq	r3, [r5]
	str	r8, [r7]
	bl	_hpsort
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	ldr	r3, .L20+24
	mov	r0, #0
	ldr	r3, [r3]
	str	r3, [r5]
	b	.L1
.L18:
	bl	res_ninit
	cmp	r0, #0
	blt	.L7
	ldr	r8, [r7]
	b	.L6
.L17:
	mov	r3, r5
	mov	r2, sp
	mov	r1, r6
	mov	r0, #129
	bl	_hpaddr
	b	.L1
.L7:
	ldr	r3, .L20+28
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [r5]
	b	.L1
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	AI_ADDRCONFIG
	.word	SOCK_DGRAM
	.word	SOCK_CLOEXEC
	.word	RES_INIT
	.word	RES_USE_INET6
	.word	NO_RECOVERY
	.word	NETDB_INTERNAL
	.size	getipnodebyname, .-getipnodebyname
	.comm	SOCK_DGRAM,4,4
	.comm	SOCK_CLOEXEC,4,4
	.comm	RES_USE_INET6,4,4
	.comm	RES_INIT,4,4
	.comm	NO_RECOVERY,4,4
	.comm	NETDB_INTERNAL,4,4
	.comm	HOST_NOT_FOUND,4,4
	.comm	AI_ALL,4,4
	.comm	AI_ADDRCONFIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
