	.file	"extr_19966.c_resolveip.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Can't resolve host name [%s].\n"
	.text
	.p2align 4
	.globl	resolveip
	.type	resolveip, @function
resolveip:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	inet_addr@PLT
	mov	QWORD PTR [rsp], rax
	cmp	rax, -1
	je	.L7
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, r12
	call	gethostbyname@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L9
.L3:
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rsp
	mov	edx, 4
	call	memcpy@PLT
	mov	rax, QWORD PTR [rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, DWORD PTR stderr[rip]
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	call	fprintf@PLT
	xor	edi, edi
	call	exit@PLT
	jmp	.L3
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	resolveip, .-resolveip
	.comm	stderr,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_19966.c_resolveip.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Can't resolve host name [%s].\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	resolveip
	.syntax unified
	.arm
	.fpu softvfp
	.type	resolveip, %function
resolveip:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L10
	sub	sp, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r4, r0
	bl	inet_addr
	cmn	r0, #1
	str	r0, [sp]
	beq	.L7
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	mov	r0, r4
	bl	gethostbyname
	subs	r5, r0, #0
	beq	.L9
.L3:
	mov	r2, #4
	mov	r0, sp
	ldr	r1, [r5]
	bl	memcpy
	ldr	r0, [sp]
	b	.L1
.L9:
	ldr	r3, .L10+4
	mov	r2, r4
	ldr	r0, [r3]
	ldr	r1, .L10+8
	bl	fprintf
	mov	r0, r5
	bl	exit
	b	.L3
.L8:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	stderr
	.word	.LC0
	.size	resolveip, .-resolveip
	.comm	stderr,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
