	.file	"extr_drvfbi.c_mac1_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mac1_irq
	.type	mac1_irq, @function
mac1_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR FM_STBURS[rip]
	or	eax, DWORD PTR FM_STBURA0[rip]
	or	eax, DWORD PTR FM_STBURA1[rip]
	test	eax, r12d
	jne	.L16
.L4:
	mov	ecx, DWORD PTR FM_SXMTABT[rip]
	mov	eax, DWORD PTR FM_SQLCKS[rip]
	or	ecx, DWORD PTR FM_STXABRS[rip]
	or	eax, DWORD PTR FM_SQLCKA0[rip]
	or	ecx, DWORD PTR FM_STXABRA0[rip]
	and	r12d, eax
	and	ecx, ebx
	or	ecx, r12d
	je	.L5
	mov	rdi, r13
	call	formac_tx_restart@PLT
	mov	edi, DWORD PTR FM_ST1U[rip]
	call	FM_A@PLT
	mov	edi, eax
	call	inpw@PLT
	mov	edi, DWORD PTR FM_ST1L[rip]
	mov	ebp, eax
	call	FM_A@PLT
	mov	edi, eax
	call	inpw@PLT
	mov	ebx, DWORD PTR FM_STECFRMA0[rip]
	or	ebx, DWORD PTR FM_STEFRMA0[rip]
	or	ebx, DWORD PTR FM_STEFRMS[rip]
	mov	r12d, eax
	not	ebx
	and	ebx, ebp
	mov	ebp, 1
	or	eax, ebx
	je	.L6
.L2:
	mov	eax, DWORD PTR FM_SPCEPDS[rip]
	or	eax, DWORD PTR FM_SPCEPDA0[rip]
	or	eax, DWORD PTR FM_SPCEPDA1[rip]
	test	eax, r12d
	je	.L3
	mov	edx, DWORD PTR SMT_E0134_MSG[rip]
	mov	esi, DWORD PTR SMT_E0134[rip]
	mov	rdi, r13
	call	SMT_PANIC@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edx, DWORD PTR SMT_E0133_MSG[rip]
	mov	esi, DWORD PTR SMT_E0133[rip]
	mov	rdi, r13
	call	SMT_PANIC@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, DWORD PTR FM_STEFRMA0[rip]
	or	esi, DWORD PTR FM_STEFRMS[rip]
	and	ebx, esi
	or	ebx, ebp
	je	.L17
.L6:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	llc_restart_tx@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mac1_irq, .-mac1_irq
	.comm	SMT_E0134_MSG,4,4
	.comm	SMT_E0134,4,4
	.comm	SMT_E0133_MSG,4,4
	.comm	SMT_E0133,4,4
	.comm	FM_SXMTABT,4,4
	.comm	FM_STXABRS,4,4
	.comm	FM_STXABRA0,4,4
	.comm	FM_STEFRMS,4,4
	.comm	FM_STEFRMA0,4,4
	.comm	FM_STECFRMA0,4,4
	.comm	FM_STBURS,4,4
	.comm	FM_STBURA1,4,4
	.comm	FM_STBURA0,4,4
	.comm	FM_ST1U,4,4
	.comm	FM_ST1L,4,4
	.comm	FM_SQLCKS,4,4
	.comm	FM_SQLCKA0,4,4
	.comm	FM_SPCEPDS,4,4
	.comm	FM_SPCEPDA1,4,4
	.comm	FM_SPCEPDA0,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_drvfbi.c_mac1_irq.c"
	.text
	.align	2
	.global	mac1_irq
	.syntax unified
	.arm
	.fpu softvfp
	.type	mac1_irq, %function
mac1_irq:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r2
	mov	r2, #0
	sub	sp, sp, #12
	mov	r5, r0
	mov	r3, r1
	ldr	fp, .L18
	ldr	r10, .L18+4
	ldr	r9, .L18+8
	ldr	r8, .L18+12
	ldr	r7, .L18+16
	ldr	r6, .L18+20
	str	r2, [sp]
	b	.L2
.L3:
	ldr	r1, .L18+24
	ldr	r2, [r8]
	ldr	r0, [r1]
	ldr	r1, .L18+28
	orr	r2, r2, r0
	ldr	r1, [r1]
	orr	r2, r2, r1
	tst	r2, r4
	bne	.L16
.L4:
	ldr	r2, .L18+32
	ldr	r1, .L18+36
	ldr	r0, .L18+40
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	ip, [r0]
	orr	r2, r2, r1
	ldr	r0, [r7]
	ldr	r1, [r6]
	orr	r2, r2, ip
	orr	r0, r0, r1
	and	r2, r2, r3
	and	r4, r4, r0
	orrs	r2, r2, r4
	beq	.L5
	mov	r0, r5
	bl	formac_tx_restart
	ldr	r3, .L18+44
	ldr	r0, [r3]
	bl	FM_A
	bl	inpw
	mov	r3, r0
	ldr	r2, .L18+48
	str	r3, [sp]
	ldr	r0, [r2]
	bl	FM_A
	bl	inpw
	mov	r4, r0
	ldr	r3, .L18+52
	ldr	r2, .L18+56
	ldr	r0, [r3]
	ldr	r3, .L18+60
	ldr	r2, [r2]
	ldr	r1, [r3]
	orr	r2, r2, r0
	ldr	r3, [sp]
	orr	r2, r2, r1
	bic	r3, r3, r2
	orrs	r2, r4, r3
	mov	r2, #1
	str	r2, [sp]
	beq	.L6
.L2:
	ldr	r2, [fp]
	ldr	r0, [r10]
	ldr	r1, [r9]
	orr	r2, r2, r0
	orr	r2, r2, r1
	tst	r2, r4
	beq	.L3
	str	r3, [sp, #4]
	ldr	r3, .L18+64
	mov	r0, r5
	ldr	r2, [r3]
	ldr	r3, .L18+68
	ldr	r1, [r3]
	bl	SMT_PANIC
	ldr	r3, [sp, #4]
	b	.L3
.L16:
	str	r3, [sp, #4]
	ldr	r3, .L18+72
	mov	r0, r5
	ldr	r2, [r3]
	ldr	r3, .L18+76
	ldr	r1, [r3]
	bl	SMT_PANIC
	ldr	r3, [sp, #4]
	b	.L4
.L5:
	ldr	r2, .L18+52
	ldr	r1, .L18+60
	ldr	r2, [r2]
	ldr	r1, [r1]
	orr	r2, r2, r1
	and	r3, r3, r2
	ldr	r2, [sp]
	orrs	r3, r3, r2
	beq	.L17
.L6:
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	llc_restart_tx
.L17:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	.align	2
.L18:
	.word	FM_SPCEPDS
	.word	FM_SPCEPDA0
	.word	FM_SPCEPDA1
	.word	FM_STBURS
	.word	FM_SQLCKS
	.word	FM_SQLCKA0
	.word	FM_STBURA0
	.word	FM_STBURA1
	.word	FM_SXMTABT
	.word	FM_STXABRS
	.word	FM_STXABRA0
	.word	FM_ST1U
	.word	FM_ST1L
	.word	FM_STEFRMA0
	.word	FM_STECFRMA0
	.word	FM_STEFRMS
	.word	SMT_E0134_MSG
	.word	SMT_E0134
	.word	SMT_E0133_MSG
	.word	SMT_E0133
	.size	mac1_irq, .-mac1_irq
	.comm	SMT_E0134_MSG,4,4
	.comm	SMT_E0134,4,4
	.comm	SMT_E0133_MSG,4,4
	.comm	SMT_E0133,4,4
	.comm	FM_SXMTABT,4,4
	.comm	FM_STXABRS,4,4
	.comm	FM_STXABRA0,4,4
	.comm	FM_STEFRMS,4,4
	.comm	FM_STEFRMA0,4,4
	.comm	FM_STECFRMA0,4,4
	.comm	FM_STBURS,4,4
	.comm	FM_STBURA1,4,4
	.comm	FM_STBURA0,4,4
	.comm	FM_ST1U,4,4
	.comm	FM_ST1L,4,4
	.comm	FM_SQLCKS,4,4
	.comm	FM_SQLCKA0,4,4
	.comm	FM_SPCEPDS,4,4
	.comm	FM_SPCEPDA1,4,4
	.comm	FM_SPCEPDA0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
