	.file	"extr_softing_main.c_softing_irq_thread.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	softing_irq_thread, @function
softing_irq_thread:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	lea	rbp, 32[rsi]
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rdi, rbp
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	spin_lock_bh@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	add	DWORD PTR 36[rbx], 1
	add	r12d, 1
.L2:
	mov	rdi, rbx
	call	softing_handle_1@PLT
	test	rax, rax
	jg	.L3
	mov	rdi, rbp
	xor	ebp, ebp
	call	spin_unlock_bh@PLT
	mov	eax, DWORD PTR 16[rbx]
	mov	rdi, QWORD PTR 8[rbx]
	lea	r13d, 1[rax]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR TXMAX[rip]
	cmp	QWORD PTR 24[rbx], rax
	jge	.L5
	lea	eax, 0[r13+rbp]
	mov	rcx, QWORD PTR [rbx]
	mov	rdi, QWORD PTR 8[rbx]
	cdq
	idiv	DWORD PTR [rcx]
	movsx	rdx, edx
	mov	r14, QWORD PTR [rdi+rdx*8]
	test	r14, r14
	je	.L6
	mov	rdi, r14
	call	netdev_priv@PLT
	mov	rdi, r14
	mov	r15, rax
	call	canif_is_active@PLT
	test	eax, eax
	je	.L16
	mov	rax, QWORD PTR TX_ECHO_SKB_MAX[rip]
	cmp	QWORD PTR [r15], rax
	jge	.L16
	mov	rdi, r14
	add	r12d, 1
	call	netif_wake_queue@PLT
.L16:
	mov	rdi, QWORD PTR 8[rbx]
.L6:
	add	ebp, 1
.L4:
	call	ARRAY_SIZE@PLT
	cmp	eax, ebp
	jg	.L9
.L5:
	test	r12d, r12d
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	cmove	eax, DWORD PTR IRQ_NONE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	softing_irq_thread, .-softing_irq_thread
	.comm	TX_ECHO_SKB_MAX,8,8
	.comm	TXMAX,8,8
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,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_softing_main.c_softing_irq_thread.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	softing_irq_thread, %function
softing_irq_thread:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	r5, r1, #16
	mov	r0, r5
	mov	r4, r1
	mov	r8, #0
	bl	spin_lock_bh
	b	.L2
.L3:
	ldr	r3, [r4, #20]
	add	r8, r8, #1
	add	r3, r3, #1
	str	r3, [r4, #20]
.L2:
	mov	r0, r4
	bl	softing_handle_1
	cmp	r0, #0
	bgt	.L3
	mov	r0, r5
	bl	spin_unlock_bh
	ldmib	r4, {r6, r9}
	mov	r5, #0
	ldr	r10, .L18
	ldr	fp, .L18+4
	add	r9, r9, #1
	b	.L4
.L8:
	mov	r0, r7
	bl	netif_wake_queue
	ldr	r6, [r4, #4]
	add	r8, r8, #1
.L6:
	add	r5, r5, #1
.L4:
	mov	r0, r6
	bl	ARRAY_SIZE
	mov	r3, r0
	cmp	r3, r5
	add	r0, r9, r5
	ble	.L5
	ldr	r2, [r4, #12]
	ldr	r3, [r10]
	cmp	r2, r3
	bge	.L5
	ldm	r4, {r3, r6}
	ldr	r1, [r3]
	bl	__aeabi_idivmod
	ldr	r7, [r6, r1, lsl #2]
	cmp	r7, #0
	beq	.L6
	mov	r0, r7
	bl	netdev_priv
	mov	r6, r0
	mov	r0, r7
	bl	canif_is_active
	cmp	r0, #0
	beq	.L16
	ldr	r2, [r6]
	ldr	r3, [fp]
	cmp	r2, r3
	blt	.L8
.L16:
	ldr	r6, [r4, #4]
	b	.L6
.L5:
	cmp	r8, #0
	ldrne	r3, .L18+8
	ldreq	r3, .L18+12
	ldr	r0, [r3]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	.align	2
.L18:
	.word	TXMAX
	.word	TX_ECHO_SKB_MAX
	.word	IRQ_HANDLED
	.word	IRQ_NONE
	.size	softing_irq_thread, .-softing_irq_thread
	.comm	TX_ECHO_SKB_MAX,4,4
	.comm	TXMAX,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
