	.file	"extr_nozomi.c_nozomi_card_exit.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sending flow control 0x%04X"
	.text
	.p2align 4
	.type	nozomi_card_exit, @function
nozomi_card_exit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	pci_get_drvdata@PLT
	xor	edi, edi
	mov	QWORD PTR 32[rax], 0
	mov	esi, DWORD PTR 28[rax]
	mov	rbp, rax
	call	writew@PLT
	mov	rdi, rbp
	call	tty_exit@PLT
	xor	esi, esi
	lea	rdi, .LC0[rip]
	movabs	rax, 4294967296
	mov	QWORD PTR [rsp], rax
	mov	QWORD PTR 8[rsp], 0
	mov	QWORD PTR 16[rsp], 0
	call	DBG1@PLT
	mov	rax, QWORD PTR PORT_CTRL[rip]
	mov	edx, 2
	mov	rsi, rsp
	sal	rax, 4
	add	rax, QWORD PTR 16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	edi, DWORD PTR [rax]
	call	write_mem32@PLT
	mov	esi, DWORD PTR 24[rbp]
	mov	rdi, QWORD PTR CTRL_UL[rip]
	call	writew@PLT
	mov	rdi, rbp
	call	remove_sysfs_files@PLT
	mov	edi, DWORD PTR [r12]
	mov	rsi, rbp
	call	free_irq@PLT
	mov	eax, DWORD PTR MAX_PORT[rip]
	test	eax, eax
	jle	.L2
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbx
	add	rbx, 1
	sal	rdi, 4
	add	rdi, QWORD PTR 16[rbp]
	call	kfifo_free@PLT
	cmp	DWORD PTR MAX_PORT[rip], ebx
	jg	.L3
.L2:
	mov	rdi, QWORD PTR 8[rbp]
	call	kfree@PLT
	mov	edi, DWORD PTR 4[rbp]
	call	iounmap@PLT
	mov	rdi, r12
	call	pci_release_regions@PLT
	mov	rdi, r12
	call	pci_disable_device@PLT
	mov	eax, DWORD PTR 0[rbp]
	mov	rdi, rbp
	cdq
	idiv	DWORD PTR MAX_PORT[rip]
	mov	rdx, QWORD PTR ndevs[rip]
	cdqe
	mov	QWORD PTR [rdx+rax*8], 0
	call	kfree@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 32
	.cfi_remember_state
	.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
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	nozomi_card_exit, .-nozomi_card_exit
	.comm	ndevs,8,8
	.comm	PORT_CTRL,8,8
	.comm	MAX_PORT,4,4
	.comm	CTRL_UL,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_nozomi.c_nozomi_card_exit.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sending flow control 0x%04X\000"
	.global	__aeabi_idiv
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nozomi_card_exit, %function
nozomi_card_exit:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L9
	sub	sp, sp, #28
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r7, r0
	bl	pci_get_drvdata
	mov	r4, #0
	mov	r5, r0
	mov	r0, r4
	ldr	r1, [r5, #20]
	str	r4, [r5, #24]
	bl	writew
	mov	r0, r5
	bl	tty_exit
	mov	r3, #1
	mov	r1, r4
	ldr	r0, .L9+4
	str	r3, [sp, #8]
	str	r4, [sp, #4]
	str	r4, [sp, #16]
	str	r4, [sp, #12]
	bl	DBG1
	ldr	r2, .L9+8
	ldr	r3, [r5, #12]
	ldr	r1, [r2]
	mov	r2, #2
	add	r3, r3, r1, lsl #3
	ldr	r3, [r3, #4]
	add	r1, sp, #4
	ldr	r0, [r3]
	bl	write_mem32
	ldr	r3, .L9+12
	ldr	r1, [r5, #16]
	ldr	r0, [r3]
	bl	writew
	ldr	r6, .L9+16
	mov	r0, r5
	bl	remove_sysfs_files
	mov	r1, r5
	ldr	r0, [r7]
	bl	free_irq
	ldr	r3, [r6]
	cmp	r3, r4
	ble	.L2
.L3:
	ldr	r0, [r5, #12]
	add	r0, r0, r4, lsl #3
	bl	kfifo_free
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L3
.L2:
	ldr	r0, [r5, #8]
	bl	kfree
	ldr	r0, [r5, #4]
	bl	iounmap
	mov	r0, r7
	bl	pci_release_regions
	mov	r0, r7
	bl	pci_disable_device
	ldr	r1, [r6]
	ldr	r0, [r5]
	bl	__aeabi_idiv
	mov	r1, #0
	mov	r3, r0
	ldr	r2, .L9+20
	mov	r0, r5
	ldr	r2, [r2]
	str	r1, [r2, r3, lsl #2]
	bl	kfree
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	.LC0
	.word	PORT_CTRL
	.word	CTRL_UL
	.word	MAX_PORT
	.word	ndevs
	.size	nozomi_card_exit, .-nozomi_card_exit
	.comm	ndevs,4,4
	.comm	PORT_CTRL,4,4
	.comm	MAX_PORT,4,4
	.comm	CTRL_UL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
