	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lec_mcast_make
_lec_mcast_make:                        ## @lec_mcast_make
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movw	$-1, -36(%rbp)
	movl	$-1, -40(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	$0, 8(%rax)
	movl	8(%r15), %eax
	movl	%eax, (%rbx)
	movq	%rbx, 16(%r15)
	movq	_lec_pop@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_make_entry
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movl	24(%rax), %edi
	movl	4(%r15), %esi
	movq	_ATM_ESA_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	_ESI_FORWARD_DIRECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movq	_LEC_PERMANENT_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r12)
	movq	%r15, 8(%r12)
	movl	(%r15), %eax
	movl	%eax, (%r12)
	movq	_lec_push@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r15, 8(%r14)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_lec_arp_add
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_6
LBB0_3:
	movl	(%rbx), %eax
	movl	%eax, 8(%r15)
	movq	%rbx, %rdi
	callq	_kfree
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
LBB0_6:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_lec_pop,4,2                    ## @lec_pop
	.comm	_ATM_ESA_LEN,4,2                ## @ATM_ESA_LEN
	.comm	_ESI_FORWARD_DIRECT,4,2         ## @ESI_FORWARD_DIRECT
	.comm	_LEC_PERMANENT_FLAG,4,2         ## @LEC_PERMANENT_FLAG
	.comm	_lec_push,4,2                   ## @lec_push
	.no_dead_strip	_lec_mcast_make
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lec_mcast_make
_lec_mcast_make:                        ; @lec_mcast_make
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	mov	w8, #-1
	strh	w8, [sp, #12]
	str	w8, [sp, #8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kmalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	str	xzr, [x0, #8]
	ldr	w8, [x20, #8]
	str	w8, [x0]
	str	x0, [x20, #16]
Lloh3:
	adrp	x8, _lec_pop@GOTPAGE
Lloh4:
	ldr	x8, [x8, _lec_pop@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	mov	x0, x19
	bl	_spin_lock_irqsave
	add	x1, sp, #8
	mov	x0, x19
	bl	_make_entry
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
	ldr	w0, [x0, #24]
	ldr	w1, [x20, #4]
Lloh6:
	adrp	x8, _ATM_ESA_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATM_ESA_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_memcpy
Lloh9:
	adrp	x8, _ESI_FORWARD_DIRECT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ESI_FORWARD_DIRECT@GOTPAGEOFF]
Lloh11:
	adrp	x9, _LEC_PERMANENT_FLAG@GOTPAGE
Lloh12:
	ldr	x9, [x9, _LEC_PERMANENT_FLAG@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	ldr	w10, [x21, #16]
	orr	w9, w10, w9
Lloh14:
	ldr	w8, [x8]
	stp	w9, w8, [x21, #16]
	str	x20, [x21, #8]
	ldr	w8, [x20]
	str	w8, [x21]
Lloh15:
	adrp	x8, _lec_push@GOTPAGE
Lloh16:
	ldr	x8, [x8, _lec_push@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x20]
	str	x20, [x19, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_lec_arp_add
	mov	w20, #0
	b	LBB0_5
LBB0_3:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_6
LBB0_4:
	ldr	w8, [x22]
	str	w8, [x20, #8]
	mov	x0, x22
	bl	_kfree
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_5:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh14
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_lec_pop,4,2                    ; @lec_pop
	.comm	_ATM_ESA_LEN,4,2                ; @ATM_ESA_LEN
	.comm	_ESI_FORWARD_DIRECT,4,2         ; @ESI_FORWARD_DIRECT
	.comm	_LEC_PERMANENT_FLAG,4,2         ; @LEC_PERMANENT_FLAG
	.comm	_lec_push,4,2                   ; @lec_push
	.no_dead_strip	_lec_mcast_make
.subsections_via_symbols
