	.file	"extr_gianfar.c_register_grp_irqs.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Can't get IRQ %d\n"
	.text
	.p2align 4
	.type	register_grp_irqs, @function
register_grp_irqs:
.LFB0:
	.cfi_startproc
	endbr64
	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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r14, QWORD PTR [rdi]
	mov	r13, QWORD PTR 8[r14]
	mov	r12d, DWORD PTR [r14]
	and	r12d, DWORD PTR FSL_GIANFAR_DEV_HAS_MULTI_INTR[rip]
	je	.L2
	mov	esi, DWORD PTR ER[rip]
	call	gfar_irq@PLT
	mov	esi, DWORD PTR ER[rip]
	mov	rdi, rbp
	mov	r12d, DWORD PTR gfar_error[rip]
	mov	r15d, DWORD PTR 4[rax]
	call	gfar_irq@PLT
	mov	esi, r12d
	mov	r8, rbp
	xor	edx, edx
	mov	edi, DWORD PTR [rax]
	mov	ecx, r15d
	call	request_irq@PLT
	mov	esi, DWORD PTR ER[rip]
	mov	rdi, rbp
	mov	r12d, eax
	test	eax, eax
	js	.L11
	call	gfar_irq@PLT
	mov	edi, DWORD PTR [rax]
	call	enable_irq_wake@PLT
	mov	esi, DWORD PTR TX[rip]
	mov	rdi, rbp
	call	gfar_irq@PLT
	mov	esi, DWORD PTR TX[rip]
	mov	rdi, rbp
	mov	r12d, DWORD PTR gfar_transmit[rip]
	mov	r15d, DWORD PTR 4[rax]
	call	gfar_irq@PLT
	mov	esi, r12d
	mov	r8, rbp
	xor	edx, edx
	mov	edi, DWORD PTR [rax]
	mov	ecx, r15d
	call	request_irq@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L12
	mov	esi, DWORD PTR RX[rip]
	mov	rdi, rbp
	call	gfar_irq@PLT
	mov	esi, DWORD PTR RX[rip]
	mov	rdi, rbp
	mov	r12d, DWORD PTR gfar_receive[rip]
	mov	r15d, DWORD PTR 4[rax]
	call	gfar_irq@PLT
	mov	esi, r12d
	mov	r8, rbp
	xor	edx, edx
	mov	edi, DWORD PTR [rax]
	mov	ecx, r15d
	call	request_irq@PLT
	mov	esi, DWORD PTR RX[rip]
	mov	rdi, rbp
	mov	r12d, eax
	test	eax, eax
	js	.L13
	call	gfar_irq@PLT
	xor	r12d, r12d
	mov	edi, DWORD PTR [rax]
	call	enable_irq_wake@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	esi, DWORD PTR TX[rip]
	call	gfar_irq@PLT
	mov	esi, DWORD PTR TX[rip]
	mov	rdi, rbp
	mov	r15d, DWORD PTR gfar_interrupt[rip]
	mov	ebx, DWORD PTR 4[rax]
	call	gfar_irq@PLT
	mov	esi, r15d
	mov	r8, rbp
	xor	edx, edx
	mov	edi, DWORD PTR [rax]
	mov	ecx, ebx
	call	request_irq@PLT
	mov	esi, DWORD PTR TX[rip]
	mov	rdi, rbp
	mov	ebx, eax
	test	eax, eax
	js	.L14
	call	gfar_irq@PLT
	mov	edi, DWORD PTR [rax]
	call	enable_irq_wake@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	call	gfar_irq@PLT
	mov	esi, DWORD PTR intr[rip]
	mov	rdx, r13
	mov	rdi, r14
	mov	r8d, DWORD PTR [rax]
	lea	rcx, .LC0[rip]
	call	netif_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	call	gfar_irq@PLT
	mov	rdx, r13
	mov	rdi, r14
	mov	r12d, ebx
	mov	r8d, DWORD PTR [rax]
	mov	esi, DWORD PTR intr[rip]
	lea	rcx, .LC0[rip]
	call	netif_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	call	gfar_irq@PLT
	mov	esi, DWORD PTR intr[rip]
	mov	rdx, r13
	mov	rdi, r14
	mov	r8d, DWORD PTR [rax]
	lea	rcx, .LC0[rip]
	call	netif_err@PLT
	mov	esi, DWORD PTR TX[rip]
	mov	rdi, rbp
	call	gfar_irq@PLT
	mov	rsi, rbp
	mov	edi, DWORD PTR [rax]
	call	free_irq@PLT
.L6:
	mov	esi, DWORD PTR ER[rip]
	mov	rdi, rbp
	call	gfar_irq@PLT
	mov	rsi, rbp
	mov	edi, DWORD PTR [rax]
	call	free_irq@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, DWORD PTR TX[rip]
	mov	rdi, rbp
	call	gfar_irq@PLT
	mov	esi, DWORD PTR intr[rip]
	mov	rdx, r13
	mov	rdi, r14
	mov	r8d, DWORD PTR [rax]
	lea	rcx, .LC0[rip]
	call	netif_err@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	register_grp_irqs, .-register_grp_irqs
	.comm	intr,4,4
	.comm	gfar_transmit,4,4
	.comm	gfar_receive,4,4
	.comm	gfar_interrupt,4,4
	.comm	gfar_error,4,4
	.comm	TX,4,4
	.comm	RX,4,4
	.comm	FSL_GIANFAR_DEV_HAS_MULTI_INTR,4,4
	.comm	ER,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_gianfar.c_register_grp_irqs.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Can't get IRQ %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	register_grp_irqs, %function
register_grp_irqs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L15
	ldr	r7, [r0]
	ldr	r3, [r3]
	ldm	r7, {r4, r8}
	ands	r4, r4, r3
	mov	r5, r0
	sub	sp, sp, #12
	beq	.L2
	ldr	r6, .L15+4
	ldr	r1, [r6]
	bl	gfar_irq
	mov	r2, r0
	ldr	r3, .L15+8
	ldr	r1, [r6]
	mov	r0, r5
	ldr	r4, [r2]
	ldr	r9, [r3]
	bl	gfar_irq
	mov	r1, r9
	ldr	r3, [r0, #4]
	mov	r2, #0
	mov	r0, r4
	str	r5, [sp]
	bl	request_irq
	subs	r4, r0, #0
	blt	.L11
	ldr	r1, [r6]
	mov	r0, r5
	bl	gfar_irq
	ldr	r9, .L15+12
	ldr	r0, [r0]
	bl	enable_irq_wake
	ldr	r1, [r9]
	mov	r0, r5
	bl	gfar_irq
	mov	r2, r0
	ldr	r3, .L15+16
	ldr	r1, [r9]
	mov	r0, r5
	ldr	r4, [r2]
	ldr	r10, [r3]
	bl	gfar_irq
	mov	r1, r10
	ldr	r3, [r0, #4]
	mov	r2, #0
	mov	r0, r4
	str	r5, [sp]
	bl	request_irq
	subs	r4, r0, #0
	blt	.L12
	ldr	r10, .L15+20
	mov	r0, r5
	ldr	r1, [r10]
	bl	gfar_irq
	mov	r2, r0
	ldr	r3, .L15+24
	ldr	r1, [r10]
	mov	r0, r5
	ldr	r4, [r2]
	ldr	fp, [r3]
	bl	gfar_irq
	mov	r1, fp
	ldr	r3, [r0, #4]
	mov	r2, #0
	mov	r0, r4
	str	r5, [sp]
	bl	request_irq
	subs	r4, r0, #0
	blt	.L13
	ldr	r1, [r10]
	mov	r0, r5
	bl	gfar_irq
	mov	r4, #0
	ldr	r0, [r0]
	bl	enable_irq_wake
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r9, .L15+12
	ldr	r1, [r9]
	bl	gfar_irq
	mov	r2, r0
	ldr	r3, .L15+28
	ldr	r1, [r9]
	mov	r0, r5
	ldr	r6, [r2]
	ldr	r10, [r3]
	bl	gfar_irq
	mov	r1, r10
	ldr	r3, [r0, #4]
	mov	r2, r4
	mov	r0, r6
	str	r5, [sp]
	bl	request_irq
	subs	r6, r0, #0
	blt	.L14
	ldr	r1, [r9]
	mov	r0, r5
	bl	gfar_irq
	ldr	r0, [r0]
	bl	enable_irq_wake
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	ldr	r3, .L15+32
	ldr	r1, [r6]
	mov	r0, r5
	ldr	r5, [r3]
	bl	gfar_irq
	ldr	r3, [r0]
	mov	r1, r5
	str	r3, [sp]
	mov	r2, r8
	mov	r0, r7
	ldr	r3, .L15+36
	bl	netif_err
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	ldr	r3, .L15+32
	ldr	r1, [r9]
	mov	r0, r5
	ldr	r4, [r3]
	bl	gfar_irq
	mov	r1, r4
	mov	r4, r6
	ldr	r3, [r0]
	mov	r2, r8
	str	r3, [sp]
	mov	r0, r7
	ldr	r3, .L15+36
	bl	netif_err
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	ldr	r3, .L15+32
	ldr	r1, [r10]
	mov	r0, r5
	ldr	r10, [r3]
	bl	gfar_irq
	ldr	r3, [r0]
	mov	r1, r10
	mov	r2, r8
	str	r3, [sp]
	mov	r0, r7
	ldr	r3, .L15+36
	bl	netif_err
	ldr	r1, [r9]
	mov	r0, r5
	bl	gfar_irq
	mov	r1, r5
	ldr	r0, [r0]
	bl	free_irq
.L6:
	ldr	r1, [r6]
	mov	r0, r5
	bl	gfar_irq
	mov	r1, r5
	ldr	r0, [r0]
	bl	free_irq
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	ldr	r3, .L15+32
	ldr	r1, [r9]
	mov	r0, r5
	ldr	r9, [r3]
	bl	gfar_irq
	ldr	r3, [r0]
	mov	r1, r9
	str	r3, [sp]
	mov	r2, r8
	mov	r0, r7
	ldr	r3, .L15+36
	bl	netif_err
	b	.L6
.L16:
	.align	2
.L15:
	.word	FSL_GIANFAR_DEV_HAS_MULTI_INTR
	.word	ER
	.word	gfar_error
	.word	TX
	.word	gfar_transmit
	.word	RX
	.word	gfar_receive
	.word	gfar_interrupt
	.word	intr
	.word	.LC0
	.size	register_grp_irqs, .-register_grp_irqs
	.comm	intr,4,4
	.comm	gfar_transmit,4,4
	.comm	gfar_receive,4,4
	.comm	gfar_interrupt,4,4
	.comm	gfar_error,4,4
	.comm	TX,4,4
	.comm	RX,4,4
	.comm	FSL_GIANFAR_DEV_HAS_MULTI_INTR,4,4
	.comm	ER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
