	.file	"extr_if_re.c_re_start_locked.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	re_start_locked, @function
re_start_locked:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR IFF_DRV_RUNNING[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR IFF_DRV_OACTIVE[rip]
	or	eax, edx
	and	eax, DWORD PTR 4[rdi]
	cmp	edx, eax
	jne	.L1
	mov	rbp, QWORD PTR 16[rdi]
	mov	rbx, rdi
	mov	eax, DWORD PTR 4[rbp]
	test	DWORD PTR RL_FLAG_LINK[rip], eax
	je	.L1
	lea	r12, 8[rdi]
	xor	r13d, r13d
	mov	r14, rsp
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L23:
	cmp	DWORD PTR 16[rbp], 1
	jle	.L5
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, r12
	call	IFQ_DRV_DEQUEUE@PLT
	cmp	QWORD PTR [rsp], 0
	je	.L5
	mov	rsi, r14
	mov	rdi, rbp
	call	re_encap@PLT
	mov	rsi, QWORD PTR [rsp]
	test	rax, rax
	jne	.L22
	mov	rdi, rbx
	add	r13d, 1
	call	ETHER_BPF_MTAP@PLT
.L3:
	mov	rdi, r12
	call	IFQ_DRV_IS_EMPTY@PLT
	test	eax, eax
	je	.L23
.L5:
	test	r13d, r13d
	jne	.L24
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	rdi, rbp
	call	re_start_tx@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	test	rsi, rsi
	je	.L5
	mov	rdi, r12
	call	IFQ_DRV_PREPEND@PLT
	mov	eax, DWORD PTR IFF_DRV_OACTIVE[rip]
	or	DWORD PTR 4[rbx], eax
	jmp	.L5
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	re_start_locked, .-re_start_locked
	.comm	RL_TXSTART_START,4,4
	.comm	RL_TIMERCNT,4,4
	.comm	RL_FLAG_LINK,4,4
	.comm	IFF_DRV_RUNNING,4,4
	.comm	IFF_DRV_OACTIVE,4,4
	.comm	IFCAP_NETMAP,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_if_re.c_re_start_locked.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	re_start_locked, %function
re_start_locked:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L26
	ldr	r8, .L26+4
	ldr	r2, [r3]
	ldr	r3, [r8]
	ldr	r1, [r0, #4]
	orr	r3, r2, r3
	and	r3, r3, r1
	cmp	r2, r3
	ldr	r3, .L26+8
	sub	sp, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bne	.L1
	ldr	r5, [r0, #12]
	ldr	r3, .L26+12
	ldr	r2, [r5, #4]
	ldr	r3, [r3]
	mov	r4, r0
	tst	r2, r3
	beq	.L1
	mov	r7, #0
	add	r6, r0, #8
	b	.L3
.L23:
	ldr	r3, [r5, #12]
	cmp	r3, #1
	ble	.L5
	mov	r0, r6
	ldr	r1, [sp]
	bl	IFQ_DRV_DEQUEUE
	ldr	r3, [sp]
	cmp	r3, #0
	beq	.L5
	mov	r1, sp
	mov	r0, r5
	bl	re_encap
	cmp	r0, #0
	ldr	r1, [sp]
	bne	.L22
	mov	r0, r4
	bl	ETHER_BPF_MTAP
	add	r7, r7, #1
.L3:
	mov	r0, r6
	bl	IFQ_DRV_IS_EMPTY
	cmp	r0, #0
	beq	.L23
.L5:
	cmp	r7, #0
	bne	.L24
.L1:
	ldr	r3, .L26+8
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L24:
	mov	r0, r5
	bl	re_start_tx
	b	.L1
.L22:
	cmp	r1, #0
	beq	.L5
	mov	r0, r6
	bl	IFQ_DRV_PREPEND
	ldr	r3, [r4, #4]
	ldr	r2, [r8]
	orr	r3, r3, r2
	str	r3, [r4, #4]
	b	.L5
.L25:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	IFF_DRV_RUNNING
	.word	IFF_DRV_OACTIVE
	.word	.LC0
	.word	RL_FLAG_LINK
	.size	re_start_locked, .-re_start_locked
	.comm	RL_TXSTART_START,4,4
	.comm	RL_TIMERCNT,4,4
	.comm	RL_FLAG_LINK,4,4
	.comm	IFF_DRV_RUNNING,4,4
	.comm	IFF_DRV_OACTIVE,4,4
	.comm	IFCAP_NETMAP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
