	.file	"extr_pmcraid.c_pmcraid_enable_interrupts.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"enabled interrupts global mask = %x intr_mask = %x\n"
	.text
	.p2align 4
	.type	pmcraid_enable_interrupts, @function
pmcraid_enable_interrupts:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR 4[rdi]
	call	ioread32@PLT
	mov	edi, DWORD PTR GLOBAL_INTERRUPT_MASK[rip]
	mov	esi, DWORD PTR 4[rbx]
	not	edi
	and	edi, eax
	call	iowrite32@PLT
	mov	eax, DWORD PTR 8[rbx]
	test	eax, eax
	je	.L5
.L2:
	mov	edi, DWORD PTR [rbx]
	call	ioread32@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	r12d, eax
	call	ioread32@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edx, r12d
	lea	rdi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	esi, eax
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	pmcraid_info@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR [rbx]
	mov	edi, r12d
	not	edi
	call	iowrite32@PLT
	mov	edi, DWORD PTR [rbx]
	call	ioread32@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	pmcraid_enable_interrupts, .-pmcraid_enable_interrupts
	.comm	GLOBAL_INTERRUPT_MASK,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_pmcraid.c_pmcraid_enable_interrupts.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"enabled interrupts global mask = %x intr_mask = %x\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pmcraid_enable_interrupts, %function
pmcraid_enable_interrupts:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r0, #4]
	mov	r5, r1
	bl	ioread32
	ldr	r3, .L6
	ldr	r1, [r4, #4]
	ldr	r3, [r3]
	bic	r0, r0, r3
	bl	iowrite32
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L5
.L2:
	ldr	r0, [r4, #4]
	bl	ioread32
	mov	r1, r0
	ldr	r0, [r4]
	mov	r4, r1
	bl	ioread32
	mov	r1, r4
	pop	{r4, r5, r6, lr}
	mov	r2, r0
	ldr	r0, .L6+4
	b	pmcraid_info
.L5:
	mvn	r0, r5
	ldr	r1, [r4]
	bl	iowrite32
	ldr	r0, [r4]
	bl	ioread32
	b	.L2
.L7:
	.align	2
.L6:
	.word	GLOBAL_INTERRUPT_MASK
	.word	.LC0
	.size	pmcraid_enable_interrupts, .-pmcraid_enable_interrupts
	.comm	GLOBAL_INTERRUPT_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
