	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lacp_attach                    ## -- Begin function lacp_attach
	.p2align	4, 0x90
_lacp_attach:                           ## @lacp_attach
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_M_DEVBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	$48, %edi
	callq	_malloc
	movq	%rax, %rbx
	movq	%rax, 8(%r14)
	movq	%r14, 40(%rax)
	xorl	%eax, %eax
	callq	_m_ether_tcpip_hash_init
	movl	%eax, 32(%rbx)
	movq	$0, 24(%rbx)
	movq	_lacp_default_strict_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VNET
	movl	%eax, 20(%rbx)
	movq	%rbx, %rdi
	callq	_LACP_LOCK_INIT
	leaq	16(%rbx), %rdi
	callq	_TAILQ_INIT
	leaq	12(%rbx), %rdi
	callq	_LIST_INIT
	leaq	8(%rbx), %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_callout_init_mtx
	leaq	4(%rbx), %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_callout_init_mtx
	movq	(%r14), %rax
	movq	_IFF_DRV_RUNNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_lacp_init                      ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_DEVBUF,4,2                   ## @M_DEVBUF
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_lacp_default_strict_mode,4,2   ## @lacp_default_strict_mode
	.comm	_IFF_DRV_RUNNING,4,2            ## @IFF_DRV_RUNNING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lacp_attach                    ; -- Begin function lacp_attach
	.p2align	2
_lacp_attach:                           ; @lacp_attach
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _M_DEVBUF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_DEVBUF@GOTPAGEOFF]
Lloh2:
	adrp	x9, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _M_WAITOK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w0, #48
	bl	_malloc
	mov	x20, x0
	str	x0, [x19, #8]
	str	x19, [x0, #40]
	bl	_m_ether_tcpip_hash_init
	str	w0, [x20, #32]
	str	xzr, [x20, #24]
Lloh9:
	adrp	x8, _lacp_default_strict_mode@GOTPAGE
Lloh10:
	ldr	x8, [x8, _lacp_default_strict_mode@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_VNET
	str	w0, [x20, #20]
	mov	x0, x20
	bl	_LACP_LOCK_INIT
	add	x0, x20, #16
	bl	_TAILQ_INIT
	add	x0, x20, #12
	bl	_LIST_INIT
	add	x0, x20, #8
	mov	x1, x20
	mov	w2, #0
	bl	_callout_init_mtx
	add	x0, x20, #4
	mov	x1, x20
	mov	w2, #0
	bl	_callout_init_mtx
	ldr	x8, [x19]
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _IFF_DRV_RUNNING@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IFF_DRV_RUNNING@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_lacp_init
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_M_DEVBUF,4,2                   ; @M_DEVBUF
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_lacp_default_strict_mode,4,2   ; @lacp_default_strict_mode
	.comm	_IFF_DRV_RUNNING,4,2            ; @IFF_DRV_RUNNING
.subsections_via_symbols
