	.file	"extr_ieee8023ad_lacp.c_lacp_attach.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	lacp_attach
	.type	lacp_attach, @function
lacp_attach:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	mov	edi, 48
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR M_DEVBUF[rip]
	mov	edx, DWORD PTR M_WAITOK[rip]
	or	edx, DWORD PTR M_ZERO[rip]
	call	malloc@PLT
	mov	QWORD PTR 8[r12], rax
	mov	rbp, rax
	mov	QWORD PTR 40[rax], r12
	xor	eax, eax
	call	m_ether_tcpip_hash_init@PLT
	mov	QWORD PTR 24[rbp], 0
	mov	edi, DWORD PTR lacp_default_strict_mode[rip]
	mov	DWORD PTR 32[rbp], eax
	call	VNET@PLT
	mov	rdi, rbp
	mov	DWORD PTR 20[rbp], eax
	call	LACP_LOCK_INIT@PLT
	lea	rdi, 16[rbp]
	call	TAILQ_INIT@PLT
	lea	rdi, 12[rbp]
	call	LIST_INIT@PLT
	lea	rdi, 8[rbp]
	xor	edx, edx
	mov	rsi, rbp
	call	callout_init_mtx@PLT
	lea	rdi, 4[rbp]
	xor	edx, edx
	mov	rsi, rbp
	call	callout_init_mtx@PLT
	mov	rax, QWORD PTR [r12]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR IFF_DRV_RUNNING[rip], eax
	jne	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	lacp_init@PLT
	.cfi_endproc
.LFE0:
	.size	lacp_attach, .-lacp_attach
	.comm	lacp_default_strict_mode,4,4
	.comm	M_ZERO,4,4
	.comm	M_WAITOK,4,4
	.comm	M_DEVBUF,4,4
	.comm	IFF_DRV_RUNNING,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_ieee8023ad_lacp.c_lacp_attach.c"
	.text
	.align	2
	.global	lacp_attach
	.syntax unified
	.arm
	.fpu softvfp
	.type	lacp_attach, %function
lacp_attach:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L5
	ldr	r3, .L5+4
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L5+8
	push	{r4, r5, r6, lr}
	orr	r2, r1, r2
	mov	r5, r0
	ldr	r1, [r3]
	mov	r0, #36
	bl	malloc
	str	r0, [r5, #4]
	str	r5, [r0, #32]
	mov	r4, r0
	mov	r6, #0
	bl	m_ether_tcpip_hash_init
	ldr	r3, .L5+12
	str	r0, [r4, #28]
	str	r6, [r4, #24]
	ldr	r0, [r3]
	bl	VNET
	mov	r3, r0
	mov	r0, r4
	str	r3, [r4, #20]
	bl	LACP_LOCK_INIT
	add	r0, r4, #16
	bl	TAILQ_INIT
	add	r0, r4, #12
	bl	LIST_INIT
	mov	r2, r6
	mov	r1, r4
	add	r0, r4, #8
	bl	callout_init_mtx
	mov	r2, r6
	mov	r1, r4
	add	r0, r4, #4
	bl	callout_init_mtx
	ldr	r2, [r5]
	ldr	r3, .L5+16
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r2, r3
	popeq	{r4, r5, r6, pc}
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	lacp_init
.L6:
	.align	2
.L5:
	.word	M_WAITOK
	.word	M_ZERO
	.word	M_DEVBUF
	.word	lacp_default_strict_mode
	.word	IFF_DRV_RUNNING
	.size	lacp_attach, .-lacp_attach
	.comm	lacp_default_strict_mode,4,4
	.comm	M_ZERO,4,4
	.comm	M_WAITOK,4,4
	.comm	M_DEVBUF,4,4
	.comm	IFF_DRV_RUNNING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
