	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lec_mcast_attach
_lec_mcast_attach:                      ## @lec_mcast_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testl	%esi, %esi
	js	LBB0_3
## %bb.1:
	movq	_MAX_LEC_ITF@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jle	LBB0_3
## %bb.2:
	movq	_dev_lec@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%esi, %ecx
	movq	(%rax,%rcx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.4:
	movq	%rdi, %rbx
	movq	%rdx, (%rdi)
	movq	(%rax,%rcx,8), %rdi
	callq	_netdev_priv
	movq	%rax, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_lec_mcast_make                 ## TAILCALL
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_LEC_ITF,4,2                ## @MAX_LEC_ITF
	.comm	_dev_lec,8,3                    ## @dev_lec
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_lec_mcast_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lec_mcast_attach
_lec_mcast_attach:                      ; @lec_mcast_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
	tbnz	w1, #31, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _MAX_LEC_ITF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_LEC_ITF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.le	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _dev_lec@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dev_lec@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x8, w1, uxtw #3]
	cbz	x9, LBB0_4
; %bb.3:
	mov	x19, x0
	mov	w10, w1
	str	x9, [x0]
	ldr	x0, [x8, x10, lsl #3]
	bl	_netdev_priv
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_lec_mcast_make
LBB0_4:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_LEC_ITF,4,2                ; @MAX_LEC_ITF
	.comm	_dev_lec,8,3                    ; @dev_lec
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_lec_mcast_attach
.subsections_via_symbols
