	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lbtf_cmd_set_mac_multicast_addr ## -- Begin function lbtf_cmd_set_mac_multicast_addr
	.p2align	4, 0x90
_lbtf_cmd_set_mac_multicast_addr:       ## @lbtf_cmd_set_mac_multicast_addr
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_LBTF_DEB_CMD@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_lbtf_deb_enter
	movl	$32, %edi
	callq	_cpu_to_le16
	movq	%rax, -48(%rbp)
	movq	_CMD_ACT_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, -24(%rbp)
	movl	(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, -32(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_lbtf_deb_cmd
	movl	4(%rbx), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	imull	(%rbx), %edx
	callq	_memcpy
	movq	_CMD_MAC_MULTICAST_ADR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$32, %ecx
	callq	_lbtf_cmd_async
	movl	(%r14), %edi
	callq	_lbtf_deb_leave
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LBTF_DEB_CMD,4,2               ## @LBTF_DEB_CMD
	.comm	_CMD_ACT_SET,4,2                ## @CMD_ACT_SET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MULTICAST_ADR: setting %d addresses\n"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_CMD_MAC_MULTICAST_ADR,4,2      ## @CMD_MAC_MULTICAST_ADR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lbtf_cmd_set_mac_multicast_addr ; -- Begin function lbtf_cmd_set_mac_multicast_addr
	.p2align	2
_lbtf_cmd_set_mac_multicast_addr:       ; @lbtf_cmd_set_mac_multicast_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
Lloh0:
	adrp	x20, _LBTF_DEB_CMD@GOTPAGE
Lloh1:
	ldr	x20, [x20, _LBTF_DEB_CMD@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_lbtf_deb_enter
	mov	w0, #32
	bl	_cpu_to_le16
	str	x0, [sp]
Lloh2:
	adrp	x8, _CMD_ACT_SET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CMD_ACT_SET@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [sp, #24]
	ldr	w0, [x19]
	bl	_cpu_to_le16
	mov	x1, x0
	str	x0, [sp, #16]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_lbtf_deb_cmd
	ldp	w8, w1, [x19]
Lloh7:
	adrp	x9, _ETH_ALEN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ETH_ALEN@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	mul	w2, w9, w8
	bl	_memcpy
Lloh10:
	adrp	x8, _CMD_MAC_MULTICAST_ADR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CMD_MAC_MULTICAST_ADR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	mov	w3, #32
	bl	_lbtf_cmd_async
	ldr	w0, [x20]
	bl	_lbtf_deb_leave
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LBTF_DEB_CMD,4,2               ; @LBTF_DEB_CMD
	.comm	_CMD_ACT_SET,4,2                ; @CMD_ACT_SET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MULTICAST_ADR: setting %d addresses\n"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_CMD_MAC_MULTICAST_ADR,4,2      ; @CMD_MAC_MULTICAST_ADR
.subsections_via_symbols
