	.file	"extr_icu.c_vr41xx_enable_pciint.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vr41xx_enable_pciint
	.type	vr41xx_enable_pciint, @function
vr41xx_enable_pciint:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR PCI_IRQ[rip]
	call	irq_to_desc@PLT
	mov	rbp, rax
	xor	eax, eax
	call	current_cpu_type@PLT
	cmp	rax, QWORD PTR CPU_VR4122[rip]
	je	.L3
	xor	eax, eax
	call	current_cpu_type@PLT
	cmp	rax, QWORD PTR CPU_VR4131[rip]
	jne	.L6
.L3:
	xor	r12d, r12d
	mov	rdi, rbp
	mov	rsi, r12
	call	raw_spin_lock_irqsave@PLT
	mov	esi, DWORD PTR PCIINT0[rip]
	mov	edi, DWORD PTR MPCIINTREG[rip]
	call	icu2_write@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	raw_spin_unlock_irqrestore@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	xor	eax, eax
	call	current_cpu_type@PLT
	cmp	rax, QWORD PTR CPU_VR4133[rip]
	je	.L3
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	vr41xx_enable_pciint, .-vr41xx_enable_pciint
	.comm	PCI_IRQ,4,4
	.comm	PCIINT0,4,4
	.comm	MPCIINTREG,4,4
	.comm	CPU_VR4133,8,8
	.comm	CPU_VR4131,8,8
	.comm	CPU_VR4122,8,8
	.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_icu.c_vr41xx_enable_pciint.c"
	.text
	.align	2
	.global	vr41xx_enable_pciint
	.syntax unified
	.arm
	.fpu softvfp
	.type	vr41xx_enable_pciint, %function
vr41xx_enable_pciint:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	push	{r4, r5, r6, lr}
	ldr	r0, [r3]
	bl	irq_to_desc
	mov	r4, r0
	bl	current_cpu_type
	ldr	r3, .L8+4
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L3
	bl	current_cpu_type
	ldr	r3, .L8+8
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L7
.L3:
	mov	r5, #0
	mov	r0, r4
	mov	r1, r5
	bl	raw_spin_lock_irqsave
	ldr	r2, .L8+12
	ldr	r3, .L8+16
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	icu2_write
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	raw_spin_unlock_irqrestore
.L7:
	bl	current_cpu_type
	ldr	r3, .L8+20
	ldr	r3, [r3]
	cmp	r0, r3
	popne	{r4, r5, r6, pc}
	b	.L3
.L9:
	.align	2
.L8:
	.word	PCI_IRQ
	.word	CPU_VR4122
	.word	CPU_VR4131
	.word	PCIINT0
	.word	MPCIINTREG
	.word	CPU_VR4133
	.size	vr41xx_enable_pciint, .-vr41xx_enable_pciint
	.comm	PCI_IRQ,4,4
	.comm	PCIINT0,4,4
	.comm	MPCIINTREG,4,4
	.comm	CPU_VR4133,4,4
	.comm	CPU_VR4131,4,4
	.comm	CPU_VR4122,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
