	.file	"extr_if_fake.c_feth_start.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"if_fake: start is busy\n"
	.text
	.p2align 4
	.type	feth_start, @function
feth_start:
.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
	mov	r12, rdi
	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	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	feth_lock@PLT
	mov	rdi, r12
	call	ifnet_get_if_fake@PLT
	cmp	QWORD PTR 16[rax], 0
	jne	.L37
	mov	rdi, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	r14, rax
	mov	r13d, DWORD PTR 24[rax]
	mov	QWORD PTR [rsp], rdi
	test	rdi, rdi
	je	.L19
	test	rbx, rbx
	je	.L20
	call	copy_mbuf@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L35
	mov	rdi, QWORD PTR [rsp]
.L5:
	mov	QWORD PTR [r14], 0
	call	m_freem@PLT
	mov	QWORD PTR [rsp], 0
.L4:
	mov	rax, QWORD PTR TRUE[rip]
	mov	QWORD PTR 16[r14], rax
	xor	eax, eax
	mov	r14, rsp
	call	feth_unlock@PLT
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L9:
	call	copy_mbuf@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L38
	mov	rdi, QWORD PTR [rsp]
	call	m_freem@PLT
.L14:
	test	rbp, rbp
	je	.L10
	xor	edi, edi
	test	rbx, rbx
	setne	dil
	call	assert@PLT
	mov	ecx, r13d
	mov	rdx, rbx
	mov	rsi, rbp
	mov	rdi, r12
	call	feth_output_common@PLT
.L10:
	mov	rsi, r14
	mov	rdi, r12
	call	ifnet_dequeue@PLT
	test	rax, rax
	jne	.L8
.L39:
	mov	rdi, QWORD PTR [rsp]
	test	rbx, rbx
	jne	.L9
	call	m_freem@PLT
	mov	rsi, r14
	mov	rdi, r12
	call	ifnet_dequeue@PLT
	test	rax, rax
	je	.L39
.L8:
	xor	eax, eax
	call	feth_lock@PLT
	mov	rdi, r12
	call	ifnet_get_if_fake@PLT
	test	rax, rax
	jne	.L40
.L35:
	xor	eax, eax
	call	feth_unlock@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L41
	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
.L38:
	.cfi_restore_state
	xor	eax, eax
	mov	rbp, QWORD PTR [rsp]
	call	feth_lock@PLT
	mov	rdi, r12
	call	ifnet_get_if_fake@PLT
	test	rax, rax
	je	.L42
	mov	rdx, QWORD PTR FALSE[rip]
	mov	QWORD PTR 16[rax], rdx
	test	rbp, rbp
	je	.L35
	cmp	QWORD PTR 8[rax], 0
	je	.L15
	mov	QWORD PTR [rax], rbp
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L37:
	xor	eax, eax
	call	feth_unlock@PLT
	lea	rdi, .LC0[rip]
	call	printf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	xor	eax, eax
	call	feth_unlock@PLT
.L16:
	mov	rdi, rbp
	call	m_freem@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	xor	ebp, ebp
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L40:
	mov	rdx, QWORD PTR FALSE[rip]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L19:
	xor	ebp, ebp
	jmp	.L4
.L41:
	call	__stack_chk_fail@PLT
.L42:
	xor	eax, eax
	call	feth_unlock@PLT
	test	rbp, rbp
	jne	.L16
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	feth_start, .-feth_start
	.comm	TRUE,8,8
	.comm	FALSE,8,8
	.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_fake.c_feth_start.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"if_fake: start is busy\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	feth_start, %function
feth_start:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, r0
	ldr	r3, .L41
	sub	sp, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	feth_lock
	mov	r0, r6
	bl	ifnet_get_if_fake
	ldr	r3, [r0, #8]
	cmp	r3, #0
	bne	.L37
	mov	r7, r0
	ldm	r0, {r0, r5}
	cmp	r0, #0
	ldr	r8, [r7, #12]
	str	r0, [sp]
	beq	.L19
	cmp	r5, #0
	beq	.L20
	bl	copy_mbuf
	subs	r4, r0, #0
	beq	.L35
	ldr	r0, [sp]
.L5:
	mov	r9, #0
	str	r9, [r7]
	bl	m_freem
	str	r9, [sp]
.L4:
	ldr	r3, .L41+4
	ldr	r3, [r3]
	str	r3, [r7, #8]
	bl	feth_unlock
	b	.L14
.L9:
	bl	copy_mbuf
	subs	r4, r0, #0
	beq	.L38
	ldr	r0, [sp]
	bl	m_freem
.L14:
	cmp	r4, #0
	beq	.L10
	subs	r0, r5, #0
	movne	r0, #1
	bl	assert
	mov	r3, r8
	mov	r2, r5
	mov	r1, r4
	mov	r0, r6
	bl	feth_output_common
.L10:
	mov	r1, sp
	mov	r0, r6
	bl	ifnet_dequeue
	cmp	r0, #0
	bne	.L8
	cmp	r5, #0
	ldr	r0, [sp]
	bne	.L9
	bl	m_freem
	b	.L10
.L38:
	ldr	r4, [sp]
	bl	feth_lock
	mov	r0, r6
	bl	ifnet_get_if_fake
	cmp	r0, #0
	beq	.L39
	ldr	r3, .L41+8
	cmp	r4, #0
	ldr	r3, [r3]
	str	r3, [r0, #8]
	beq	.L35
	ldr	r3, [r0, #4]
	cmp	r3, #0
	beq	.L15
	str	r4, [r0]
.L35:
	bl	feth_unlock
.L1:
	ldr	r3, .L41
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L40
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L8:
	bl	feth_lock
	mov	r0, r6
	bl	ifnet_get_if_fake
	cmp	r0, #0
	ldrne	r3, .L41+8
	ldrne	r3, [r3]
	strne	r3, [r0, #8]
	b	.L35
.L37:
	bl	feth_unlock
	ldr	r0, .L41+12
	bl	printf
	b	.L1
.L15:
	bl	feth_unlock
.L16:
	mov	r0, r4
	bl	m_freem
	b	.L1
.L20:
	mov	r4, r5
	b	.L5
.L19:
	mov	r4, r0
	b	.L4
.L40:
	bl	__stack_chk_fail
.L39:
	bl	feth_unlock
	cmp	r4, #0
	bne	.L16
	b	.L1
.L42:
	.align	2
.L41:
	.word	.LC1
	.word	TRUE
	.word	FALSE
	.word	.LC0
	.size	feth_start, .-feth_start
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
