	.file	"extr_solos-pci.c_atm_remove.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unregistering ATM device %d\n"
	.text
	.p2align 4
	.type	atm_remove, @function
atm_remove:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jle	.L18
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	lea	r13, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L23:
	add	rbp, 1
	cmp	DWORD PTR [rbx], ebp
	jle	.L22
.L4:
	mov	rax, QWORD PTR 40[rbx]
	lea	r12, 0[0+rbp*8]
	mov	rax, QWORD PTR [rax+rbp*8]
	test	rax, rax
	je	.L23
	mov	edx, DWORD PTR 4[rax]
	mov	rdi, QWORD PTR 16[rbx]
	mov	rsi, r13
	call	dev_info@PLT
	mov	rax, QWORD PTR 40[rbx]
	lea	rsi, solos_attr_group[rip]
	mov	rdi, QWORD PTR [rax+rbp*8]
	call	sysfs_remove_group@PLT
	mov	rax, QWORD PTR 40[rbx]
	mov	rdi, QWORD PTR [rax+rbp*8]
	call	atm_dev_deregister@PLT
	mov	rax, QWORD PTR 32[rbx]
	mov	r14, QWORD PTR [rax+rbp*8]
	test	r14, r14
	je	.L5
	mov	ecx, DWORD PTR DMA_FROM_DEVICE[rip]
	mov	rdi, r14
	mov	r15d, DWORD PTR RX_DMA_SIZE[rip]
	mov	DWORD PTR 12[rsp], ecx
	call	SKB_CB@PLT
	mov	rdi, QWORD PTR 16[rbx]
	mov	ecx, DWORD PTR 12[rsp]
	mov	edx, r15d
	mov	esi, DWORD PTR [rax]
	call	dma_unmap_single@PLT
	mov	rdi, r14
	call	dev_kfree_skb@PLT
.L5:
	mov	rax, QWORD PTR 24[rbx]
	mov	r12, QWORD PTR [rax+r12]
	test	r12, r12
	je	.L6
	mov	rdi, r12
	mov	r15d, DWORD PTR DMA_TO_DEVICE[rip]
	mov	r14d, DWORD PTR [r12]
	call	SKB_CB@PLT
	mov	rdi, QWORD PTR 16[rbx]
	mov	esi, DWORD PTR [rax]
	mov	ecx, r15d
	mov	edx, r14d
	call	dma_unmap_single@PLT
	mov	rdi, r12
	call	dev_kfree_skb@PLT
.L6:
	lea	r12, 0[0+rbp*4]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	call	dev_kfree_skb@PLT
.L7:
	mov	rdi, QWORD PTR 8[rbx]
	add	rdi, r12
	call	skb_dequeue@PLT
	mov	rdi, rax
	test	rax, rax
	jne	.L8
	add	rbp, 1
	cmp	DWORD PTR [rbx], ebp
	jg	.L4
.L22:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	ret
	.cfi_endproc
.LFE0:
	.size	atm_remove, .-atm_remove
	.comm	solos_attr_group,4,4
	.comm	RX_DMA_SIZE,4,4
	.comm	DMA_TO_DEVICE,4,4
	.comm	DMA_FROM_DEVICE,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_solos-pci.c_atm_remove.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unregistering ATM device %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	atm_remove, %function
atm_remove:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0]
	cmp	r2, #0
	bxle	lr
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	mov	r5, #0
	ldr	r9, .L24
	ldr	r8, .L24+4
	ldr	fp, .L24+8
	b	.L4
.L9:
	add	r5, r5, #1
	cmp	r2, r5
	pople	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	ldr	r3, [r4, #20]
	lsl	r6, r5, #2
	ldr	r3, [r3, r5, lsl #2]
	cmp	r3, #0
	beq	.L9
	ldr	r2, [r3, #4]
	mov	r1, r9
	ldr	r0, [r4, #8]
	bl	dev_info
	ldr	r3, [r4, #20]
	mov	r1, r8
	ldr	r0, [r3, r5, lsl #2]
	bl	sysfs_remove_group
	ldr	r3, [r4, #20]
	ldr	r0, [r3, r5, lsl #2]
	bl	atm_dev_deregister
	ldr	r3, [r4, #16]
	ldr	r7, [r3, r5, lsl #2]
	cmp	r7, #0
	beq	.L5
	mov	r0, r7
	ldr	r10, [r4, #8]
	bl	SKB_CB
	ldr	r3, .L24+12
	ldr	r2, .L24+16
	ldr	r1, [r0]
	ldr	r3, [r3]
	mov	r0, r10
	ldr	r2, [r2]
	bl	dma_unmap_single
	mov	r0, r7
	bl	dev_kfree_skb
.L5:
	ldr	r3, [r4, #12]
	ldr	r7, [r3, r6]
	cmp	r7, #0
	beq	.L7
	mov	r0, r7
	ldr	r10, [r4, #8]
	bl	SKB_CB
	ldr	r3, [fp]
	ldr	r1, [r0]
	ldr	r2, [r7]
	mov	r0, r10
	bl	dma_unmap_single
	mov	r0, r7
	bl	dev_kfree_skb
	b	.L7
.L8:
	bl	dev_kfree_skb
.L7:
	ldr	r0, [r4, #4]
	add	r0, r0, r6
	bl	skb_dequeue
	cmp	r0, #0
	bne	.L8
	ldr	r2, [r4]
	b	.L9
.L25:
	.align	2
.L24:
	.word	.LC0
	.word	solos_attr_group
	.word	DMA_TO_DEVICE
	.word	DMA_FROM_DEVICE
	.word	RX_DMA_SIZE
	.size	atm_remove, .-atm_remove
	.comm	solos_attr_group,4,4
	.comm	RX_DMA_SIZE,4,4
	.comm	DMA_TO_DEVICE,4,4
	.comm	DMA_FROM_DEVICE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
