	.file	"extr_nbt.c_NetBTFindNameAnswerCallback.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	NetBTFindNameAnswerCallback, @function
NetBTFindNameAnswerCallback:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR FALSE[rip]
	test	rdi, rdi
	je	.L11
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	cmp	QWORD PTR [rdi], 0
	je	.L15
.L3:
	cmp	r8, 6
	je	.L16
.L5:
	mov	eax, DWORD PTR FALSE[rip]
.L1:
	add	rsp, 16
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	mov	rdx, QWORD PTR [rbx]
	mov	rax, QWORD PTR [rdx]
	cmp	rax, rbp
	jnb	.L5
	lea	rsi, 1[rax]
	mov	rdi, QWORD PTR 8[rdx]
	mov	QWORD PTR [rdx], rsi
	mov	edx, DWORD PTR 2[rcx]
	mov	DWORD PTR [rdi+rax*4], edx
	xor	eax, eax
	cmp	rsi, rbp
	setb	al
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR addresses[rip]
	mov	edi, DWORD PTR NBNameCacheEntry[rip]
	mov	QWORD PTR 8[rsp], r8
	mov	QWORD PTR [rsp], rcx
	mov	esi, DWORD PTR [rax+rsi*4]
	call	FIELD_OFFSET@PLT
	mov	r12d, eax
	xor	eax, eax
	call	GetProcessHeap@PLT
	mov	edx, r12d
	xor	esi, esi
	mov	edi, eax
	call	HeapAlloc@PLT
	mov	QWORD PTR [rbx], rax
	test	rax, rax
	je	.L4
	mov	rcx, QWORD PTR [rsp]
	mov	r8, QWORD PTR 8[rsp]
	mov	QWORD PTR [rax], 0
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR NRC_OSRESNOTAV[rip]
	mov	DWORD PTR 8[rbx], eax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	NetBTFindNameAnswerCallback, .-NetBTFindNameAnswerCallback
	.comm	addresses,8,8
	.comm	NRC_OSRESNOTAV,4,4
	.comm	NBNameCacheEntry,4,4
	.comm	FALSE,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_nbt.c_NetBTFindNameAnswerCallback.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	NetBTFindNameAnswerCallback, %function
NetBTFindNameAnswerCallback:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r4, r0, #0
	beq	.L2
	ldr	r6, [r4]
	mov	r5, r1
	cmp	r6, #0
	mov	r8, r3
	beq	.L11
.L3:
	ldr	r3, [sp, #24]
	cmp	r3, #6
	beq	.L12
.L2:
	ldr	r3, .L13
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	ldr	r1, [r4]
	ldr	r2, [r1]
	cmp	r2, r5
	bcs	.L2
	ldr	lr, [r8, #2]
	add	r3, r2, #1
	ldr	ip, [r1, #4]
	cmp	r3, r5
	str	r3, [r1]
	movcs	r0, #0
	movcc	r0, #1
	str	lr, [ip, r2, lsl #2]
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	bl	GetProcessHeap
	ldr	r1, .L13+4
	ldr	r2, .L13+8
	ldr	r1, [r1]
	mov	r7, r0
	ldr	r1, [r1, r5, lsl #2]
	ldr	r0, [r2]
	bl	FIELD_OFFSET
	mov	r1, r6
	mov	r2, r0
	mov	r0, r7
	bl	HeapAlloc
	cmp	r0, #0
	str	r0, [r4]
	strne	r6, [r0]
	bne	.L3
	ldr	r3, .L13+12
	ldr	r3, [r3]
	str	r3, [r4, #4]
	b	.L2
.L14:
	.align	2
.L13:
	.word	FALSE
	.word	addresses
	.word	NBNameCacheEntry
	.word	NRC_OSRESNOTAV
	.size	NetBTFindNameAnswerCallback, .-NetBTFindNameAnswerCallback
	.comm	addresses,4,4
	.comm	NRC_OSRESNOTAV,4,4
	.comm	NBNameCacheEntry,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
