	.file	"extr_netbios.c_nbHangup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nbHangup, @function
nbHangup:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L8
	test	rsi, rsi
	je	.L9
	mov	rsi, QWORD PTR [rsi]
	cmp	rsi, QWORD PTR [rdi]
	jnb	.L6
	sal	rsi, 4
	add	rsi, QWORD PTR 8[rdi]
	mov	eax, DWORD PTR 8[rsi]
	test	eax, eax
	je	.L6
	mov	rax, QWORD PTR SESSION_ESTABLISHED[rip]
	cmp	QWORD PTR [rsi], rax
	je	.L10
.L6:
	mov	eax, DWORD PTR NRC_SNUMOUT[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR HANGUP_PENDING[rip]
	mov	QWORD PTR [rsi], rax
	jmp	nbInternalHangup@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, DWORD PTR NRC_BRIDGE[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR NRC_INVADDRESS[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	nbHangup, .-nbHangup
	.comm	SESSION_ESTABLISHED,8,8
	.comm	NRC_SNUMOUT,4,4
	.comm	NRC_INVADDRESS,4,4
	.comm	NRC_BRIDGE,4,4
	.comm	HANGUP_PENDING,8,8
	.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_netbios.c_nbHangup.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nbHangup, %function
nbHangup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	subs	r3, r0, #0
	beq	.L16
	cmp	r1, #0
	beq	.L17
	ldr	r2, [r1]
	ldr	r1, [r3]
	cmp	r2, r1
	bcs	.L12
	ldr	r3, [r3, #4]
	add	r1, r3, r2, lsl #3
	ldr	ip, [r1, #4]
	cmp	ip, #0
	beq	.L12
	ldr	ip, .L19
	str	lr, [sp, #-4]!
	ldr	ip, [ip]
	ldr	lr, [r3, r2, lsl #3]
	cmp	lr, ip
	beq	.L18
	ldr	r3, .L19+4
	ldr	r0, [r3]
	ldr	pc, [sp], #4
.L12:
	ldr	r3, .L19+4
	ldr	r0, [r3]
	bx	lr
.L16:
	ldr	r3, .L19+8
	ldr	r0, [r3]
	bx	lr
.L17:
	ldr	r3, .L19+12
	ldr	r0, [r3]
	bx	lr
.L18:
	ldr	ip, .L19+16
	ldr	lr, [sp], #4
	ldr	ip, [ip]
	str	ip, [r3, r2, lsl #3]
	b	nbInternalHangup
.L20:
	.align	2
.L19:
	.word	SESSION_ESTABLISHED
	.word	NRC_SNUMOUT
	.word	NRC_BRIDGE
	.word	NRC_INVADDRESS
	.word	HANGUP_PENDING
	.size	nbHangup, .-nbHangup
	.comm	SESSION_ESTABLISHED,4,4
	.comm	NRC_SNUMOUT,4,4
	.comm	NRC_INVADDRESS,4,4
	.comm	NRC_BRIDGE,4,4
	.comm	HANGUP_PENDING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
