	.file	"extr_cpmac.c_cpmac_irq.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"interrupt status: 0x%08x\n"
	.text
	.p2align 4
	.type	cpmac_irq, @function
cpmac_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	rdi, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	netdev_priv@PLT
	mov	esi, DWORD PTR CPMAC_MAC_INT_VECTOR[rip]
	mov	edi, DWORD PTR [rax]
	mov	rbp, rax
	call	cpmac_read@PLT
	mov	rdi, rbp
	mov	ebx, eax
	call	netif_msg_intr@PLT
	mov	edi, eax
	call	unlikely@PLT
	test	rax, rax
	jne	.L22
	test	DWORD PTR MAC_INT_TX[rip], ebx
	jne	.L23
.L3:
	test	DWORD PTR MAC_INT_RX[rip], ebx
	jne	.L24
.L5:
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR CPMAC_MAC_EOI_VECTOR[rip]
	xor	edx, edx
	call	cpmac_write@PLT
	mov	edi, DWORD PTR MAC_INT_HOST[rip]
	or	edi, DWORD PTR MAC_INT_STATUS[rip]
	and	edi, ebx
	call	unlikely@PLT
	test	rax, rax
	jne	.L25
.L7:
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	add	rsp, 8
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	edx, ebx
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	netdev_dbg@PLT
	test	DWORD PTR MAC_INT_TX[rip], ebx
	je	.L3
.L23:
	mov	esi, ebx
	mov	rdi, r12
	and	esi, 7
	call	cpmac_end_xmit@PLT
	test	DWORD PTR MAC_INT_RX[rip], ebx
	je	.L5
.L24:
	lea	r13, 4[rbp]
	mov	rdi, r13
	call	napi_schedule_prep@PLT
	test	rax, rax
	je	.L5
	mov	ecx, ebx
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR CPMAC_RX_INT_CLEAR[rip]
	mov	edx, 1
	sar	ecx, 8
	and	ecx, 7
	sal	edx, cl
	call	cpmac_write@PLT
	mov	rdi, r13
	call	__napi_schedule@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rdi, r12
	call	cpmac_check_status@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	cpmac_irq, .-cpmac_irq
	.comm	MAC_INT_TX,4,4
	.comm	MAC_INT_STATUS,4,4
	.comm	MAC_INT_RX,4,4
	.comm	MAC_INT_HOST,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	CPMAC_RX_INT_CLEAR,4,4
	.comm	CPMAC_MAC_INT_VECTOR,4,4
	.comm	CPMAC_MAC_EOI_VECTOR,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_cpmac.c_cpmac_irq.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"interrupt status: 0x%08x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpmac_irq, %function
cpmac_irq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r0, r1
	mov	r6, r1
	bl	netdev_priv
	ldr	r3, .L26
	mov	r5, r0
	ldr	r1, [r3]
	ldr	r0, [r0]
	bl	cpmac_read
	mov	r4, r0
	mov	r0, r5
	bl	netif_msg_intr
	bl	unlikely
	cmp	r0, #0
	bne	.L22
	ldr	r3, .L26+4
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L23
.L3:
	ldr	r3, .L26+8
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L24
.L5:
	ldr	r3, .L26+12
	mov	r2, #0
	ldr	r1, [r3]
	ldr	r0, [r5]
	bl	cpmac_write
	ldr	r2, .L26+16
	ldr	r3, .L26+20
	ldr	r0, [r2]
	ldr	r3, [r3]
	orr	r0, r0, r3
	and	r0, r0, r4
	bl	unlikely
	cmp	r0, #0
	bne	.L25
.L7:
	ldr	r3, .L26+24
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L22:
	mov	r2, r4
	mov	r0, r6
	ldr	r1, .L26+28
	bl	netdev_dbg
	ldr	r3, .L26+4
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L3
.L23:
	mov	r0, r6
	and	r1, r4, #7
	bl	cpmac_end_xmit
	ldr	r3, .L26+8
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L5
.L24:
	add	r7, r5, #4
	mov	r0, r7
	bl	napi_schedule_prep
	cmp	r0, #0
	beq	.L5
	mov	r2, #1
	asr	r3, r4, #8
	ldr	r1, .L26+32
	and	r3, r3, #7
	ldr	r1, [r1]
	ldr	r0, [r5]
	lsl	r2, r2, r3
	bl	cpmac_write
	mov	r0, r7
	bl	__napi_schedule
	b	.L5
.L25:
	mov	r0, r6
	bl	cpmac_check_status
	b	.L7
.L27:
	.align	2
.L26:
	.word	CPMAC_MAC_INT_VECTOR
	.word	MAC_INT_TX
	.word	MAC_INT_RX
	.word	CPMAC_MAC_EOI_VECTOR
	.word	MAC_INT_HOST
	.word	MAC_INT_STATUS
	.word	IRQ_HANDLED
	.word	.LC0
	.word	CPMAC_RX_INT_CLEAR
	.size	cpmac_irq, .-cpmac_irq
	.comm	MAC_INT_TX,4,4
	.comm	MAC_INT_STATUS,4,4
	.comm	MAC_INT_RX,4,4
	.comm	MAC_INT_HOST,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	CPMAC_RX_INT_CLEAR,4,4
	.comm	CPMAC_MAC_INT_VECTOR,4,4
	.comm	CPMAC_MAC_EOI_VECTOR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
