	.file	"extr_eni.c_eni_init_one.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	eni_init_one, @function
eni_init_one:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	call	pci_enable_device@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	edi, 32
	call	DMA_BIT_MASK@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	dma_set_mask_and_coherent@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	edi, 32
	call	kmalloc@PLT
	neg	r12d
	mov	r13, rax
	test	rax, rax
	je	.L3
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, DWORD PTR ENI_ZEROES_SIZE[rip]
	lea	rdx, 24[rax]
	mov	rdi, rbp
	call	dma_alloc_coherent@PLT
	mov	DWORD PTR 28[r13], eax
	test	eax, eax
	jne	.L19
.L4:
	mov	rdi, r13
	call	kfree@PLT
.L3:
	mov	rdi, rbp
	call	pci_disable_device@PLT
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	edi, DWORD PTR DEV_LABEL[rip]
	xor	r8d, r8d
	mov	ecx, -1
	mov	rsi, rbp
	lea	rdx, ops[rip]
	call	atm_dev_register@PLT
	mov	r14, rax
	test	rax, rax
	je	.L5
	mov	QWORD PTR [rax], r13
	mov	rsi, rax
	mov	rdi, rbp
	call	pci_set_drvdata@PLT
	mov	eax, DWORD PTR [rbx]
	mov	QWORD PTR 16[r13], rbp
	mov	rdi, r14
	mov	DWORD PTR 8[r13], eax
	call	eni_do_init@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L6
	mov	rdi, r14
	call	eni_start@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L20
.L2:
	endbr64
	mov	rax, QWORD PTR eni_boards[rip]
	mov	QWORD PTR 0[r13], rax
	mov	QWORD PTR eni_boards[rip], r14
	jmp	.L1
.L20:
	mov	rdi, r14
	call	eni_do_release@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, r14
	call	atm_dev_deregister@PLT
.L5:
	mov	ecx, DWORD PTR 24[r13]
	mov	edx, DWORD PTR 28[r13]
	mov	rdi, rbp
	mov	esi, DWORD PTR ENI_ZEROES_SIZE[rip]
	call	dma_free_coherent@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	eni_init_one, .-eni_init_one
	.comm	ops,4,4
	.comm	eni_boards,8,8
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENI_ZEROES_SIZE,4,4
	.comm	DEV_LABEL,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_eni.c_eni_init_one.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	eni_init_one, %function
eni_init_one:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #12
	mov	r7, r1
	mov	r6, r0
	bl	pci_enable_device
	subs	r4, r0, #0
	blt	.L1
	mov	r0, #32
	bl	DMA_BIT_MASK
	mov	r1, r0
	mov	r0, r6
	bl	dma_set_mask_and_coherent
	subs	r4, r0, #0
	blt	.L1
	ldr	r8, .L21
	ldr	r3, .L21+4
	mov	r0, #20
	ldr	r1, [r8]
	ldr	r4, [r3]
	bl	kmalloc
	subs	r5, r0, #0
	rsb	r4, r4, #0
	beq	.L3
	ldr	r9, .L21+8
	mov	r0, r6
	ldr	r3, [r8]
	ldr	r1, [r9]
	add	r2, r5, #12
	bl	dma_alloc_coherent
	cmp	r0, #0
	str	r0, [r5, #16]
	bne	.L19
.L4:
	mov	r0, r5
	bl	kfree
.L3:
	mov	r0, r6
	bl	pci_disable_device
.L1:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L19:
	mov	r2, #0
	ldr	r3, .L21+12
	str	r2, [sp]
	ldr	r0, [r3]
	mov	r1, r6
	mvn	r3, #0
	ldr	r2, .L21+16
	bl	atm_dev_register
	subs	r8, r0, #0
	beq	.L5
	mov	r1, r8
	mov	r0, r6
	str	r5, [r8]
	bl	pci_set_drvdata
	ldr	r3, [r7]
	mov	r0, r8
	stmib	r5, {r3, r6}
	bl	eni_do_init
	subs	r4, r0, #0
	blt	.L6
	mov	r0, r8
	bl	eni_start
	subs	r4, r0, #0
	blt	.L20
.L2:
	ldr	r3, .L21+20
	ldr	r2, [r3]
	str	r2, [r5]
	str	r8, [r3]
	b	.L1
.L20:
	mov	r0, r8
	bl	eni_do_release
.L6:
	mov	r0, r8
	bl	atm_dev_deregister
.L5:
	mov	r0, r6
	ldr	r1, [r9]
	ldr	r3, [r5, #12]
	ldr	r2, [r5, #16]
	bl	dma_free_coherent
	b	.L4
.L22:
	.align	2
.L21:
	.word	GFP_KERNEL
	.word	ENOMEM
	.word	ENI_ZEROES_SIZE
	.word	DEV_LABEL
	.word	ops
	.word	eni_boards
	.size	eni_init_one, .-eni_init_one
	.comm	ops,4,4
	.comm	eni_boards,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENI_ZEROES_SIZE,4,4
	.comm	DEV_LABEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
