	.file	"extr_netjet.c_nj_release.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nj_release, @function
nj_release:
.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
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	cmp	QWORD PTR 56[rdi], 0
	mov	rbp, rdi
	jne	.L11
.L2:
	mov	rdi, QWORD PTR 0[rbp]
	test	rdi, rdi
	jle	.L3
	mov	rsi, rbp
	call	free_irq@PLT
.L3:
	cmp	QWORD PTR 40[rbp], 0
	jne	.L12
.L4:
	mov	rax, QWORD PTR 32[rbp]
	lea	rdi, 16[rax]
	call	mISDN_freebchannel@PLT
	mov	rax, QWORD PTR 32[rbp]
	mov	rdi, QWORD PTR 8[rax]
	call	kfree@PLT
	mov	rax, QWORD PTR 32[rbp]
	mov	rdi, QWORD PTR [rax]
	call	kfree@PLT
	mov	rax, QWORD PTR 32[rbp]
	lea	rdi, 40[rax]
	call	mISDN_freebchannel@PLT
	mov	rax, QWORD PTR 32[rbp]
	mov	rdi, QWORD PTR 32[rax]
	call	kfree@PLT
	mov	rax, QWORD PTR 32[rbp]
	mov	rdi, QWORD PTR 24[rax]
	call	kfree@PLT
	mov	rdx, QWORD PTR 24[rbp]
	test	rdx, rdx
	jne	.L13
.L5:
	xor	r12d, r12d
	lea	rdi, card_lock[rip]
	mov	esi, r12d
	call	write_lock_irqsave@PLT
	lea	rdi, 12[rbp]
	call	list_del@PLT
	mov	esi, r12d
	lea	rdi, card_lock[rip]
	call	write_unlock_irqrestore@PLT
	mov	edi, DWORD PTR 8[rbp]
	call	pci_clear_master@PLT
	mov	edi, DWORD PTR 8[rbp]
	call	pci_disable_device@PLT
	mov	edi, DWORD PTR 8[rbp]
	xor	esi, esi
	call	pci_set_drvdata@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	kfree@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	r13, 68[rdi]
	xor	r12d, r12d
	mov	esi, r12d
	mov	rdi, r13
	call	spin_lock_irqsave@PLT
	mov	rdi, rbp
	call	nj_disable_hwirq@PLT
	mov	rdi, QWORD PTR 32[rbp]
	mov	esi, DWORD PTR ISDN_P_NONE[rip]
	call	mode_tiger@PLT
	mov	rax, QWORD PTR 32[rbp]
	mov	esi, DWORD PTR ISDN_P_NONE[rip]
	lea	rdi, 24[rax]
	call	mode_tiger@PLT
	lea	rdi, 40[rbp]
	call	[QWORD PTR 48[rbp]]
	mov	esi, r12d
	mov	rdi, r13
	call	spin_unlock_irqrestore@PLT
	mov	rsi, QWORD PTR 56[rbp]
	mov	edi, DWORD PTR 64[rbp]
	call	release_region@PLT
	mov	QWORD PTR 56[rbp], 0
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L13:
	mov	ecx, DWORD PTR 16[rbp]
	mov	edi, DWORD PTR 8[rbp]
	mov	esi, DWORD PTR NJ_DMA_SIZE[rip]
	call	pci_free_consistent@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rdi, 40[rbp]
	call	mISDN_unregister_device@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	nj_release, .-nj_release
	.comm	card_lock,4,4
	.comm	NJ_DMA_SIZE,4,4
	.comm	ISDN_P_NONE,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_netjet.c_nj_release.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nj_release, %function
nj_release:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #32]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #0
	mov	r4, r0
	bne	.L17
.L2:
	ldr	r0, [r4]
	cmp	r0, #0
	ble	.L3
	mov	r1, r4
	bl	free_irq
.L3:
	ldr	r3, [r4, #24]
	cmp	r3, #0
	bne	.L18
.L4:
	ldr	r0, [r4, #20]
	add	r0, r0, #8
	bl	mISDN_freebchannel
	ldr	r3, [r4, #20]
	ldr	r0, [r3, #4]
	bl	kfree
	ldr	r3, [r4, #20]
	ldr	r0, [r3]
	bl	kfree
	ldr	r0, [r4, #20]
	add	r0, r0, #20
	bl	mISDN_freebchannel
	ldr	r3, [r4, #20]
	ldr	r0, [r3, #16]
	bl	kfree
	ldr	r3, [r4, #20]
	ldr	r0, [r3, #12]
	bl	kfree
	ldr	r2, [r4, #16]
	cmp	r2, #0
	bne	.L19
.L5:
	mov	r5, #0
	ldr	r0, .L20
	mov	r1, r5
	bl	write_lock_irqsave
	add	r0, r4, #8
	bl	list_del
	mov	r1, r5
	ldr	r0, .L20
	bl	write_unlock_irqrestore
	ldr	r0, [r4, #4]
	bl	pci_clear_master
	ldr	r0, [r4, #4]
	bl	pci_disable_device
	mov	r1, r5
	ldr	r0, [r4, #4]
	bl	pci_set_drvdata
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	kfree
.L17:
	mov	r5, #0
	add	r6, r0, #40
	mov	r1, r5
	ldr	r7, .L20+4
	mov	r0, r6
	bl	spin_lock_irqsave
	mov	r0, r4
	bl	nj_disable_hwirq
	ldr	r1, [r7]
	ldr	r0, [r4, #20]
	bl	mode_tiger
	ldr	r0, [r4, #20]
	ldr	r1, [r7]
	add	r0, r0, #12
	bl	mode_tiger
	ldr	r3, [r4, #28]
	add	r0, r4, #24
	blx	r3
	mov	r1, r5
	mov	r0, r6
	bl	spin_unlock_irqrestore
	ldr	r1, [r4, #32]
	ldr	r0, [r4, #36]
	bl	release_region
	str	r5, [r4, #32]
	b	.L2
.L19:
	ldr	r3, .L20+8
	ldr	r0, [r4, #4]
	ldr	r1, [r3]
	ldr	r3, [r4, #12]
	bl	pci_free_consistent
	b	.L5
.L18:
	add	r0, r4, #24
	bl	mISDN_unregister_device
	b	.L4
.L21:
	.align	2
.L20:
	.word	card_lock
	.word	ISDN_P_NONE
	.word	NJ_DMA_SIZE
	.size	nj_release, .-nj_release
	.comm	card_lock,4,4
	.comm	NJ_DMA_SIZE,4,4
	.comm	ISDN_P_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
