	.file	"extr_cap_dns.c_gethostbyaddr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"gethostbyaddr"
.LC1:
	.string	"cmd"
.LC2:
	.string	"addr"
.LC3:
	.string	"family"
.LC4:
	.string	"error"
	.text
	.p2align 4
	.globl	cap_gethostbyaddr
	.type	cap_gethostbyaddr, @function
cap_gethostbyaddr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	xor	edi, edi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	call	nvlist_create@PLT
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	mov	rbp, rax
	mov	rdi, rax
	call	nvlist_add_string@PLT
	mov	rcx, r15
	mov	rdx, r14
	mov	rdi, rbp
	lea	rsi, .LC2[rip]
	call	nvlist_add_binary@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	mov	edx, r13d
	call	nvlist_add_number@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	cap_xfer_nvlist@PLT
	test	rax, rax
	je	.L7
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	rbp, rax
	call	nvlist_get_number@PLT
	test	rax, rax
	jne	.L8
	mov	rdi, rbp
	lea	rsi, hent[rip]
	call	hostent_unpack@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	nvlist_destroy@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	eax, DWORD PTR NO_RECOVERY[rip]
	xor	r12d, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	DWORD PTR h_errno[rip], eax
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC4[rip]
	xor	r12d, r12d
	call	nvlist_get_number@PLT
	mov	rdi, rbp
	mov	DWORD PTR h_errno[rip], eax
	call	nvlist_destroy@PLT
	pop	rbp
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cap_gethostbyaddr, .-cap_gethostbyaddr
	.comm	hent,4,4
	.comm	h_errno,4,4
	.comm	NO_RECOVERY,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_cap_dns.c_gethostbyaddr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"gethostbyaddr\000"
	.align	2
.LC1:
	.ascii	"cmd\000"
	.align	2
.LC2:
	.ascii	"addr\000"
	.align	2
.LC3:
	.ascii	"family\000"
	.align	2
.LC4:
	.ascii	"error\000"
	.text
	.align	2
	.global	cap_gethostbyaddr
	.syntax unified
	.arm
	.fpu softvfp
	.type	cap_gethostbyaddr, %function
cap_gethostbyaddr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r0, #0
	mov	r6, r3
	mov	r7, r1
	mov	r8, r2
	bl	nvlist_create
	mov	r4, r0
	ldr	r2, .L9
	ldr	r1, .L9+4
	bl	nvlist_add_string
	mov	r3, r8
	mov	r2, r7
	mov	r0, r4
	ldr	r1, .L9+8
	bl	nvlist_add_binary
	mov	r2, r6
	mov	r0, r4
	ldr	r1, .L9+12
	bl	nvlist_add_number
	mov	r1, r4
	mov	r0, r5
	bl	cap_xfer_nvlist
	subs	r4, r0, #0
	beq	.L7
	ldr	r1, .L9+16
	bl	nvlist_get_number
	cmp	r0, #0
	bne	.L8
	ldr	r1, .L9+20
	mov	r0, r4
	bl	hostent_unpack
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	nvlist_destroy
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r2, .L9+24
	ldr	r3, .L9+28
	ldr	r2, [r2]
	mov	r0, r4
	str	r2, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r1, .L9+16
	mov	r0, r4
	bl	nvlist_get_number
	mov	r2, r0
	mov	r0, r4
	mov	r4, #0
	ldr	r3, .L9+28
	str	r2, [r3]
	bl	nvlist_destroy
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	hent
	.word	NO_RECOVERY
	.word	h_errno
	.size	cap_gethostbyaddr, .-cap_gethostbyaddr
	.comm	hent,4,4
	.comm	h_errno,4,4
	.comm	NO_RECOVERY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
