	.file	"extr_lan743x_main.c_lan743x_intr_entry_isr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lan743x_intr_entry_isr, @function
lan743x_intr_entry_isr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR 24[rsi]
	mov	edx, DWORD PTR [rsi]
	mov	r12d, DWORD PTR IRQ_NONE[rip]
	mov	esi, DWORD PTR INT_STS[rip]
	test	DWORD PTR LAN743X_VECTOR_FLAG_SOURCE_STATUS_READ[rip], edx
	jne	.L33
	mov	eax, DWORD PTR LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C[rip]
	or	eax, DWORD PTR LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C[rip]
	test	eax, edx
	jne	.L35
	mov	eax, DWORD PTR INT_BIT_MAS_[rip]
	mov	r13d, DWORD PTR 4[rbx]
	or	r13d, eax
	test	eax, eax
	jne	.L36
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L35:
	.cfi_restore_state
	mov	esi, DWORD PTR INT_STS_R2C[rip]
.L33:
	mov	rdi, rbp
	call	lan743x_csr_read@PLT
	mov	r13d, eax
	mov	eax, DWORD PTR INT_BIT_MAS_[rip]
	and	eax, r13d
	test	eax, eax
	je	.L1
.L36:
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR LAN743X_VECTOR_FLAG_VECTOR_ENABLE_ISR_CLEAR[rip], eax
	jne	.L37
	test	DWORD PTR LAN743X_VECTOR_FLAG_MASTER_ENABLE_CLEAR[rip], eax
	jne	.L38
.L7:
	test	DWORD PTR LAN743X_VECTOR_FLAG_SOURCE_ENABLE_CHECK[rip], eax
	jne	.L39
.L8:
	mov	esi, DWORD PTR 4[rbx]
	mov	edx, esi
.L9:
	and	esi, edx
	and	esi, r13d
	je	.L10
	mov	rax, QWORD PTR 16[rbx]
	test	rax, rax
	je	.L11
	mov	edi, DWORD PTR 12[rbx]
	mov	edx, DWORD PTR [rbx]
	call	rax
.L12:
	mov	r12d, DWORD PTR IRQ_HANDLED[rip]
.L10:
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR LAN743X_VECTOR_FLAG_MASTER_ENABLE_SET[rip], eax
	jne	.L40
.L13:
	test	DWORD PTR LAN743X_VECTOR_FLAG_VECTOR_ENABLE_ISR_SET[rip], eax
	je	.L1
.L5:
	endbr64
	mov	edi, DWORD PTR 8[rbx]
	call	INT_VEC_EN_@PLT
	mov	esi, DWORD PTR INT_VEC_EN_SET[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	lan743x_csr_write@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L38:
	.cfi_restore_state
	mov	edx, DWORD PTR INT_BIT_MAS_[rip]
	mov	esi, DWORD PTR INT_EN_CLR[rip]
	mov	rdi, rbp
	call	lan743x_csr_write@PLT
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR LAN743X_VECTOR_FLAG_SOURCE_ENABLE_CHECK[rip], eax
	je	.L8
	jmp	.L39
	.p2align 4,,10
	.p2align 3
.L37:
	mov	edi, DWORD PTR 8[rbx]
	call	INT_VEC_EN_@PLT
	mov	esi, DWORD PTR INT_VEC_EN_CLR[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	lan743x_csr_write@PLT
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR LAN743X_VECTOR_FLAG_MASTER_ENABLE_CLEAR[rip], eax
	je	.L7
	jmp	.L38
	.p2align 4,,10
	.p2align 3
.L39:
	mov	esi, DWORD PTR INT_EN_SET[rip]
	mov	rdi, rbp
	call	lan743x_csr_read@PLT
	mov	edx, DWORD PTR 4[rbx]
	mov	esi, eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L40:
	mov	edx, DWORD PTR INT_BIT_MAS_[rip]
	mov	esi, DWORD PTR INT_EN_SET[rip]
	mov	rdi, rbp
	call	lan743x_csr_write@PLT
	mov	eax, DWORD PTR [rbx]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L11:
	mov	esi, DWORD PTR INT_EN_CLR[rip]
	mov	rdi, rbp
	call	lan743x_csr_write@PLT
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	lan743x_intr_entry_isr, .-lan743x_intr_entry_isr
	.comm	LAN743X_VECTOR_FLAG_VECTOR_ENABLE_ISR_SET,4,4
	.comm	LAN743X_VECTOR_FLAG_VECTOR_ENABLE_ISR_CLEAR,4,4
	.comm	LAN743X_VECTOR_FLAG_SOURCE_STATUS_READ,4,4
	.comm	LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C,4,4
	.comm	LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C,4,4
	.comm	LAN743X_VECTOR_FLAG_SOURCE_ENABLE_CHECK,4,4
	.comm	LAN743X_VECTOR_FLAG_MASTER_ENABLE_SET,4,4
	.comm	LAN743X_VECTOR_FLAG_MASTER_ENABLE_CLEAR,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	INT_VEC_EN_SET,4,4
	.comm	INT_VEC_EN_CLR,4,4
	.comm	INT_STS_R2C,4,4
	.comm	INT_STS,4,4
	.comm	INT_EN_SET,4,4
	.comm	INT_EN_CLR,4,4
	.comm	INT_BIT_MAS_,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_lan743x_main.c_lan743x_intr_entry_isr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lan743x_intr_entry_isr, %function
lan743x_intr_entry_isr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r1
	ldr	r3, .L41
	ldr	r2, [r1]
	ldr	r1, [r3]
	ldr	r3, .L41+4
	tst	r2, r1
	ldr	r7, [r3]
	ldr	r6, [r4, #20]
	ldrne	r3, .L41+8
	bne	.L33
	ldr	r3, .L41+12
	ldr	r1, .L41+16
	ldr	r3, [r3]
	ldr	r1, [r1]
	orr	r3, r3, r1
	tst	r3, r2
	bne	.L35
	ldr	r8, .L41+20
	ldr	r1, [r4, #4]
	ldr	r3, [r8]
	cmp	r3, #0
	orr	r5, r3, r1
	bne	.L36
.L1:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L35:
	ldr	r3, .L41+24
.L33:
	ldr	r1, [r3]
	mov	r0, r6
	bl	lan743x_csr_read
	ldr	r8, .L41+20
	mov	r5, r0
	ldr	r3, [r8]
	and	r3, r3, r0
	cmp	r3, #0
	beq	.L1
.L36:
	ldr	r2, .L41+28
	ldr	r3, [r4]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L37
	ldr	r2, .L41+32
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L38
.L7:
	ldr	r2, .L41+36
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L39
.L8:
	ldr	r1, [r4, #4]
	mov	r2, r1
.L9:
	and	r1, r1, r2
	ands	r1, r1, r5
	beq	.L10
	ldr	r3, [r4, #16]
	cmp	r3, #0
	beq	.L11
	ldr	r2, [r4]
	ldr	r0, [r4, #12]
	blx	r3
.L12:
	ldr	r3, .L41+40
	ldr	r7, [r3]
.L10:
	ldr	r2, .L41+44
	ldr	r3, [r4]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L40
.L13:
	ldr	r2, .L41+48
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L1
.L5:
	ldr	r3, .L41+52
	ldr	r0, [r4, #8]
	ldr	r4, [r3]
	bl	INT_VEC_EN_
	mov	r1, r4
	mov	r2, r0
	mov	r0, r6
	bl	lan743x_csr_write
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L38:
	ldr	r3, .L41+56
	ldr	r2, [r8]
	ldr	r1, [r3]
	mov	r0, r6
	bl	lan743x_csr_write
	ldr	r2, .L41+36
	ldr	r3, [r4]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L8
	b	.L39
.L37:
	ldr	r3, .L41+60
	ldr	r0, [r4, #8]
	ldr	r9, [r3]
	bl	INT_VEC_EN_
	mov	r1, r9
	mov	r2, r0
	mov	r0, r6
	bl	lan743x_csr_write
	ldr	r2, .L41+32
	ldr	r3, [r4]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L7
	b	.L38
.L39:
	ldr	r3, .L41+64
	mov	r0, r6
	ldr	r1, [r3]
	bl	lan743x_csr_read
	ldr	r2, [r4, #4]
	mov	r1, r0
	b	.L9
.L40:
	ldr	r3, .L41+64
	mov	r0, r6
	ldr	r1, [r3]
	ldr	r2, [r8]
	bl	lan743x_csr_write
	ldr	r3, [r4]
	b	.L13
.L11:
	ldr	r3, .L41+56
	mov	r0, r6
	ldr	r1, [r3]
	bl	lan743x_csr_write
	b	.L12
.L42:
	.align	2
.L41:
	.word	LAN743X_VECTOR_FLAG_SOURCE_STATUS_READ
	.word	IRQ_NONE
	.word	INT_STS
	.word	LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C
	.word	LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C
	.word	INT_BIT_MAS_
	.word	INT_STS_R2C
	.word	LAN743X_VECTOR_FLAG_VECTOR_ENABLE_ISR_CLEAR
	.word	LAN743X_VECTOR_FLAG_MASTER_ENABLE_CLEAR
	.word	LAN743X_VECTOR_FLAG_SOURCE_ENABLE_CHECK
	.word	IRQ_HANDLED
	.word	LAN743X_VECTOR_FLAG_MASTER_ENABLE_SET
	.word	LAN743X_VECTOR_FLAG_VECTOR_ENABLE_ISR_SET
	.word	INT_VEC_EN_SET
	.word	INT_EN_CLR
	.word	INT_VEC_EN_CLR
	.word	INT_EN_SET
	.size	lan743x_intr_entry_isr, .-lan743x_intr_entry_isr
	.comm	LAN743X_VECTOR_FLAG_VECTOR_ENABLE_ISR_SET,4,4
	.comm	LAN743X_VECTOR_FLAG_VECTOR_ENABLE_ISR_CLEAR,4,4
	.comm	LAN743X_VECTOR_FLAG_SOURCE_STATUS_READ,4,4
	.comm	LAN743X_VECTOR_FLAG_SOURCE_STATUS_R2C,4,4
	.comm	LAN743X_VECTOR_FLAG_SOURCE_ENABLE_R2C,4,4
	.comm	LAN743X_VECTOR_FLAG_SOURCE_ENABLE_CHECK,4,4
	.comm	LAN743X_VECTOR_FLAG_MASTER_ENABLE_SET,4,4
	.comm	LAN743X_VECTOR_FLAG_MASTER_ENABLE_CLEAR,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	INT_VEC_EN_SET,4,4
	.comm	INT_VEC_EN_CLR,4,4
	.comm	INT_STS_R2C,4,4
	.comm	INT_STS,4,4
	.comm	INT_EN_SET,4,4
	.comm	INT_EN_CLR,4,4
	.comm	INT_BIT_MAS_,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
