	.file	"extr_ip32-irq.c_enable_macepci_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	enable_macepci_irq, @function
enable_macepci_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	edi, edi
	mov	rbx, rdi
	sub	rdi, QWORD PTR MACEPCI_SCSI0_IRQ[rip]
	call	MACEPCI_CONTROL_INT@PLT
	mov	rdx, QWORD PTR mace[rip]
	or	eax, DWORD PTR macepci_mask[rip]
	mov	ecx, ebx
	mov	DWORD PTR macepci_mask[rip], eax
	mov	DWORD PTR [rdx], eax
	mov	rdx, QWORD PTR crime[rip]
	mov	eax, 1
	sub	ecx, DWORD PTR CRIME_IRQ_BASE[rip]
	sal	eax, cl
	or	eax, DWORD PTR crime_mask[rip]
	mov	DWORD PTR crime_mask[rip], eax
	mov	DWORD PTR [rdx], eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	enable_macepci_irq, .-enable_macepci_irq
	.comm	macepci_mask,4,4
	.comm	mace,8,8
	.comm	crime_mask,4,4
	.comm	crime,8,8
	.comm	MACEPCI_SCSI0_IRQ,8,8
	.comm	CRIME_IRQ_BASE,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_ip32-irq.c_enable_macepci_irq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	enable_macepci_irq, %function
enable_macepci_irq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r3, .L4
	ldr	r0, [r3]
	sub	r0, r4, r0
	bl	MACEPCI_CONTROL_INT
	mov	ip, #1
	ldr	r3, .L4+4
	ldr	r2, .L4+8
	ldr	r1, [r3]
	ldr	r2, [r2]
	orr	r0, r0, r1
	ldr	r1, .L4+12
	str	r0, [r3]
	str	r0, [r2]
	ldr	r2, .L4+16
	ldr	r0, [r1]
	ldr	r1, .L4+20
	ldr	r3, [r2]
	ldr	r1, [r1]
	sub	r4, r4, r0
	orr	r4, r3, ip, lsl r4
	str	r4, [r2]
	str	r4, [r1]
	pop	{r4, pc}
.L5:
	.align	2
.L4:
	.word	MACEPCI_SCSI0_IRQ
	.word	macepci_mask
	.word	mace
	.word	CRIME_IRQ_BASE
	.word	crime_mask
	.word	crime
	.size	enable_macepci_irq, .-enable_macepci_irq
	.comm	macepci_mask,4,4
	.comm	mace,4,4
	.comm	crime_mask,4,4
	.comm	crime,4,4
	.comm	MACEPCI_SCSI0_IRQ,4,4
	.comm	CRIME_IRQ_BASE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
