	.file	"extr_pcap-rpcap.c_rpcap_deseraddr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"malloc() failed"
	.text
	.p2align 4
	.type	rpcap_deseraddr, @function
rpcap_deseraddr:
.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, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR [rdi]
	call	ntohs@PLT
	sub	eax, 130
	cmp	eax, 2
	jbe	.L7
	mov	QWORD PTR [rbx], 0
	xor	eax, eax
.L1:
	add	rsp, 8
	.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
.L7:
	.cfi_restore_state
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	r13, rax
	test	rax, rax
	je	.L8
	mov	eax, DWORD PTR AF_INET[rip]
	mov	edi, DWORD PTR 4[rbp]
	mov	DWORD PTR 12[r13], eax
	call	ntohs@PLT
	lea	rdi, 8[r13]
	mov	rsi, rbp
	mov	edx, 4
	mov	DWORD PTR 0[r13], eax
	call	memcpy@PLT
	mov	edi, DWORD PTR 4[r13]
	mov	edx, 4
	xor	esi, esi
	call	memset@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR errno[rip]
	mov	esi, DWORD PTR PCAP_ERRBUF_SIZE[rip]
	lea	rcx, .LC0[rip]
	mov	rdi, r12
	call	pcap_fmt_errmsg_for_errno@PLT
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	rpcap_deseraddr, .-rpcap_deseraddr
	.comm	errno,4,4
	.comm	PCAP_ERRBUF_SIZE,4,4
	.comm	AF_INET6,4,4
	.comm	AF_INET,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_pcap-rpcap.c_rpcap_deseraddr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"malloc() failed\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rpcap_deseraddr, %function
rpcap_deseraddr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0]
	mov	r5, r1
	mov	r7, r2
	bl	ntohs
	sub	r0, r0, #130
	cmp	r0, #2
	bls	.L7
	mov	r3, #0
	mov	r0, r3
	str	r3, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, #16
	bl	malloc
	cmp	r0, #0
	mov	r6, r0
	str	r0, [r5]
	beq	.L8
	ldr	r3, .L9
	ldr	r0, [r4, #4]
	ldr	r3, [r3]
	str	r3, [r6, #12]
	bl	ntohs
	mov	r3, r6
	str	r0, [r3], #8
	mov	r1, r4
	mov	r0, r3
	mov	r2, #4
	bl	memcpy
	mov	r2, #4
	mov	r1, #0
	ldr	r0, [r6, #4]
	bl	memset
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, .L9+4
	ldr	r2, .L9+8
	ldr	r1, [r3]
	mov	r0, r7
	ldr	r2, [r2]
	ldr	r3, .L9+12
	bl	pcap_fmt_errmsg_for_errno
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	AF_INET
	.word	PCAP_ERRBUF_SIZE
	.word	errno
	.word	.LC0
	.size	rpcap_deseraddr, .-rpcap_deseraddr
	.comm	errno,4,4
	.comm	PCAP_ERRBUF_SIZE,4,4
	.comm	AF_INET6,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
