	.file	"extr_mb862xxfb.c_mb862xx_intr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mb862xx_intr
	.type	mb862xx_intr, @function
mb862xx_intr:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L16
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rax, QWORD PTR BT_CARMINE[rip]
	cmp	QWORD PTR [rsi], rax
	je	.L17
	mov	esi, DWORD PTR GC_IST[rip]
	mov	edi, DWORD PTR host[rip]
	call	inreg@PLT
	mov	esi, DWORD PTR GC_IMASK[rip]
	mov	edi, DWORD PTR host[rip]
	mov	rbx, rax
	call	inreg@PLT
	and	rbx, rax
	jne	.L8
.L7:
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdx, rbx
	mov	esi, DWORD PTR GC_IST[rip]
	mov	edi, DWORD PTR host[rip]
	not	rdx
	call	outreg@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	esi, DWORD PTR GC_CTRL_STATUS[rip]
	mov	edi, DWORD PTR ctrl[rip]
	call	inreg@PLT
	mov	esi, DWORD PTR GC_CTRL_INT_MASK[rip]
	mov	edi, DWORD PTR ctrl[rip]
	mov	rbx, rax
	call	inreg@PLT
	mov	rdx, rax
	test	rbx, rbx
	je	.L7
	and	rdx, rbx
	je	.L7
	mov	edi, DWORD PTR ctrl[rip]
	xor	esi, esi
	call	outreg@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	mov	eax, DWORD PTR IRQ_NONE[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	mb862xx_intr, .-mb862xx_intr
	.comm	host,4,4
	.comm	ctrl,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	GC_IST,4,4
	.comm	GC_IMASK,4,4
	.comm	GC_CTRL_STATUS,4,4
	.comm	GC_CTRL_INT_MASK,4,4
	.comm	BT_CARMINE,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_mb862xxfb.c_mb862xx_intr.c"
	.text
	.align	2
	.global	mb862xx_intr
	.syntax unified
	.arm
	.fpu softvfp
	.type	mb862xx_intr, %function
mb862xx_intr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	beq	.L16
	ldr	r3, .L18
	ldr	r2, [r1]
	ldr	r3, [r3]
	push	{r4, r5, r6, lr}
	cmp	r2, r3
	beq	.L17
	ldr	r5, .L18+4
	ldr	r6, .L18+8
	ldr	r0, [r5]
	ldr	r1, [r6]
	bl	inreg
	ldr	r3, .L18+12
	mov	r4, r0
	ldr	r1, [r3]
	ldr	r0, [r5]
	bl	inreg
	ands	r4, r4, r0
	bne	.L8
.L7:
	ldr	r3, .L18+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L8:
	mvn	r2, r4
	ldr	r1, [r6]
	ldr	r0, [r5]
	bl	outreg
	b	.L7
.L17:
	ldr	r3, .L18+20
	ldr	r5, .L18+24
	ldr	r1, [r3]
	ldr	r0, [r5]
	bl	inreg
	mov	r4, r0
	ldr	r3, .L18+28
	ldr	r0, [r5]
	ldr	r1, [r3]
	bl	inreg
	cmp	r4, #0
	beq	.L7
	ands	r2, r4, r0
	beq	.L7
	mov	r1, #0
	ldr	r0, [r5]
	bl	outreg
	b	.L7
.L16:
	ldr	r3, .L18+32
	ldr	r0, [r3]
	bx	lr
.L19:
	.align	2
.L18:
	.word	BT_CARMINE
	.word	host
	.word	GC_IST
	.word	GC_IMASK
	.word	IRQ_HANDLED
	.word	GC_CTRL_STATUS
	.word	ctrl
	.word	GC_CTRL_INT_MASK
	.word	IRQ_NONE
	.size	mb862xx_intr, .-mb862xx_intr
	.comm	host,4,4
	.comm	ctrl,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	GC_IST,4,4
	.comm	GC_IMASK,4,4
	.comm	GC_CTRL_STATUS,4,4
	.comm	GC_CTRL_INT_MASK,4,4
	.comm	BT_CARMINE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
