	.file	"extr_al_hal_eth_main.c_al_eth_ec_mac_ints_config.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"eth [%s]: enable ethernet and mac interrupts\n"
	.text
	.p2align 4
	.globl	al_eth_ec_mac_ints_config
	.type	al_eth_ec_mac_ints_config, @function
al_eth_ec_mac_ints_config:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	esi, DWORD PTR 20[rdi]
	mov	rbx, rdi
	lea	rdi, .LC0[rip]
	call	al_dbg@PLT
	cmp	QWORD PTR [rbx], 0
	je	.L2
	mov	eax, DWORD PTR EPERM[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR AL_INT_GROUP_A[rip]
	mov	edx, DWORD PTR INT_CONTROL_GRP_SET_ON_POSEDGE[rip]
	or	edx, DWORD PTR INT_CONTROL_GRP_CLEAR_ON_READ[rip]
	call	al_iofic_config@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR AL_INT_GROUP_B[rip]
	mov	edx, DWORD PTR INT_CONTROL_GRP_SET_ON_POSEDGE[rip]
	or	edx, DWORD PTR INT_CONTROL_GRP_CLEAR_ON_READ[rip]
	call	al_iofic_config@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR AL_INT_GROUP_C[rip]
	mov	edx, DWORD PTR INT_CONTROL_GRP_SET_ON_POSEDGE[rip]
	or	edx, DWORD PTR INT_CONTROL_GRP_CLEAR_ON_READ[rip]
	call	al_iofic_config@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR AL_INT_GROUP_D[rip]
	mov	edx, DWORD PTR INT_CONTROL_GRP_SET_ON_POSEDGE[rip]
	or	edx, DWORD PTR INT_CONTROL_GRP_CLEAR_ON_READ[rip]
	call	al_iofic_config@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR AL_INT_GROUP_A[rip]
	mov	edx, 8
	call	al_iofic_unmask@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR AL_INT_GROUP_A[rip]
	mov	edx, DWORD PTR INT_CONTROL_GRP_SET_ON_POSEDGE[rip]
	or	edx, DWORD PTR INT_CONTROL_GRP_CLEAR_ON_READ[rip]
	call	al_iofic_config@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR AL_INT_GROUP_B[rip]
	mov	edx, DWORD PTR INT_CONTROL_GRP_SET_ON_POSEDGE[rip]
	or	edx, DWORD PTR INT_CONTROL_GRP_CLEAR_ON_READ[rip]
	call	al_iofic_config@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR AL_INT_GROUP_C[rip]
	mov	edx, DWORD PTR INT_CONTROL_GRP_SET_ON_POSEDGE[rip]
	or	edx, DWORD PTR INT_CONTROL_GRP_CLEAR_ON_READ[rip]
	call	al_iofic_config@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR AL_INT_GROUP_D[rip]
	mov	edx, DWORD PTR INT_CONTROL_GRP_SET_ON_POSEDGE[rip]
	or	edx, DWORD PTR INT_CONTROL_GRP_CLEAR_ON_READ[rip]
	call	al_iofic_config@PLT
	mov	edi, 14
	call	AL_BIT@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR AL_INT_GROUP_B[rip]
	mov	edx, eax
	call	al_iofic_unmask@PLT
	mov	edi, 11
	call	AL_BIT@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR AL_INT_GROUP_D[rip]
	mov	edx, eax
	call	al_iofic_unmask@PLT
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	al_eth_ec_mac_ints_config, .-al_eth_ec_mac_ints_config
	.comm	INT_CONTROL_GRP_SET_ON_POSEDGE,4,4
	.comm	INT_CONTROL_GRP_CLEAR_ON_READ,4,4
	.comm	EPERM,4,4
	.comm	AL_INT_GROUP_D,4,4
	.comm	AL_INT_GROUP_C,4,4
	.comm	AL_INT_GROUP_B,4,4
	.comm	AL_INT_GROUP_A,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_al_hal_eth_main.c_al_eth_ec_mac_ints_config.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"eth [%s]: enable ethernet and mac interrupts\012\000"
	.text
	.align	2
	.global	al_eth_ec_mac_ints_config
	.syntax unified
	.arm
	.fpu softvfp
	.type	al_eth_ec_mac_ints_config, %function
al_eth_ec_mac_ints_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r0, .L6
	ldr	r1, [r4, #16]
	bl	al_dbg
	ldr	r5, [r4]
	cmp	r5, #0
	beq	.L2
	ldr	r3, .L6+4
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r7, .L6+8
	ldr	r6, .L6+12
	ldr	r10, .L6+16
	ldr	r3, [r6]
	ldr	r2, [r7]
	ldr	r1, [r10]
	orr	r2, r2, r3
	ldr	r0, [r4, #12]
	bl	al_iofic_config
	ldr	r9, .L6+20
	ldr	r3, [r6]
	ldr	r2, [r7]
	ldr	r1, [r9]
	orr	r2, r2, r3
	ldr	r0, [r4, #12]
	bl	al_iofic_config
	ldr	fp, .L6+24
	ldr	r3, [r6]
	ldr	r2, [r7]
	ldr	r1, [fp]
	orr	r2, r2, r3
	ldr	r0, [r4, #12]
	bl	al_iofic_config
	ldr	r8, .L6+28
	ldr	r3, [r6]
	ldr	r2, [r7]
	ldr	r1, [r8]
	orr	r2, r2, r3
	ldr	r0, [r4, #12]
	bl	al_iofic_config
	ldr	r1, [r10]
	mov	r2, #8
	ldr	r0, [r4, #12]
	bl	al_iofic_unmask
	ldr	r3, [r6]
	ldr	r2, [r7]
	ldr	r1, [r10]
	orr	r2, r2, r3
	ldr	r0, [r4, #8]
	bl	al_iofic_config
	ldr	r3, [r6]
	ldr	r2, [r7]
	ldr	r1, [r9]
	orr	r2, r2, r3
	ldr	r0, [r4, #8]
	bl	al_iofic_config
	ldr	r3, [r6]
	ldr	r2, [r7]
	ldr	r1, [fp]
	orr	r2, r2, r3
	ldr	r0, [r4, #8]
	bl	al_iofic_config
	ldr	r3, [r6]
	ldr	r2, [r7]
	ldr	r1, [r8]
	orr	r2, r2, r3
	ldr	r0, [r4, #8]
	bl	al_iofic_config
	mov	r0, #14
	ldr	r6, [r4, #8]
	ldr	r7, [r9]
	bl	AL_BIT
	mov	r1, r7
	mov	r2, r0
	mov	r0, r6
	bl	al_iofic_unmask
	mov	r0, #11
	ldr	r6, [r8]
	ldr	r4, [r4, #4]
	bl	AL_BIT
	mov	r1, r6
	mov	r2, r0
	mov	r0, r4
	bl	al_iofic_unmask
	mov	r0, r5
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	EPERM
	.word	INT_CONTROL_GRP_SET_ON_POSEDGE
	.word	INT_CONTROL_GRP_CLEAR_ON_READ
	.word	AL_INT_GROUP_A
	.word	AL_INT_GROUP_B
	.word	AL_INT_GROUP_C
	.word	AL_INT_GROUP_D
	.size	al_eth_ec_mac_ints_config, .-al_eth_ec_mac_ints_config
	.comm	INT_CONTROL_GRP_SET_ON_POSEDGE,4,4
	.comm	INT_CONTROL_GRP_CLEAR_ON_READ,4,4
	.comm	EPERM,4,4
	.comm	AL_INT_GROUP_D,4,4
	.comm	AL_INT_GROUP_C,4,4
	.comm	AL_INT_GROUP_B,4,4
	.comm	AL_INT_GROUP_A,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
