	.file	"extr_mptlan.c_mpt_lan_reset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mpt_lan_reset, @function
mpt_lan_reset:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	call	netdev_priv@PLT
	mov	edi, DWORD PTR LanCtx[rip]
	mov	esi, DWORD PTR [rax]
	mov	rbx, rax
	call	mpt_get_msg_frame@PLT
	test	rax, rax
	je	.L3
	mov	rdx, rax
	mov	eax, DWORD PTR MPI_FUNCTION_LAN_RESET[rip]
	mov	esi, DWORD PTR [rbx]
	mov	QWORD PTR 32[rdx], 0
	mov	edi, DWORD PTR LanCtx[rip]
	mov	DWORD PTR 40[rdx], eax
	mov	eax, DWORD PTR 4[rbx]
	mov	QWORD PTR 24[rdx], 0
	mov	DWORD PTR 16[rdx], eax
	mov	QWORD PTR 8[rdx], 0
	mov	QWORD PTR [rdx], 0
	call	mpt_put_msg_frame@PLT
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L3:
	.cfi_restore_state
	mov	eax, -1
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mpt_lan_reset, .-mpt_lan_reset
	.comm	MPI_FUNCTION_LAN_RESET,4,4
	.comm	LanCtx,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_mptlan.c_mpt_lan_reset.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mpt_lan_reset, %function
mpt_lan_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	netdev_priv
	ldr	r6, .L6
	ldr	r1, [r0]
	mov	r5, r0
	ldr	r0, [r6]
	bl	mpt_get_msg_frame
	subs	r2, r0, #0
	beq	.L3
	mov	r4, #0
	ldr	r1, .L6+4
	ldr	r3, [r5, #4]
	ldr	r1, [r1]
	ldr	r0, [r6]
	str	r1, [r2, #20]
	str	r4, [r2, #16]
	ldr	r1, [r5]
	str	r4, [r2, #12]
	str	r4, [r2, #4]
	str	r3, [r2, #8]
	str	r4, [r2]
	bl	mpt_put_msg_frame
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L3:
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L7:
	.align	2
.L6:
	.word	LanCtx
	.word	MPI_FUNCTION_LAN_RESET
	.size	mpt_lan_reset, .-mpt_lan_reset
	.comm	MPI_FUNCTION_LAN_RESET,4,4
	.comm	LanCtx,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
