	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function int51x1_set_multicast
_int51x1_set_multicast:                 ## @int51x1_set_multicast
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_PACKET_TYPE_DIRECTED@GOTPCREL(%rip), %rax
	movq	_PACKET_TYPE_BROADCAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	orl	(%rax), %r15d
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_PACKET_TYPE_PROMISCUOUS@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_info
	jmp	LBB0_7
LBB0_2:
	movq	%rbx, %rdi
	callq	_netdev_mc_empty
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
LBB0_4:
	movq	_PACKET_TYPE_ALL_MULTICAST@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_5:
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_6:
	callq	_netdev_dbg
LBB0_7:
	movq	_SET_ETHERNET_PACKET_FILTER@GOTPCREL(%rip), %rax
	movq	_USB_DIR_OUT@GOTPCREL(%rip), %rcx
	movq	_USB_TYPE_CLASS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_USB_RECIP_INTERFACE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_usbnet_write_cmd_async
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PACKET_TYPE_DIRECTED,4,2       ## @PACKET_TYPE_DIRECTED
	.comm	_PACKET_TYPE_BROADCAST,4,2      ## @PACKET_TYPE_BROADCAST
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_PACKET_TYPE_PROMISCUOUS,4,2    ## @PACKET_TYPE_PROMISCUOUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"promiscuous mode enabled\n"

	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_PACKET_TYPE_ALL_MULTICAST,4,2  ## @PACKET_TYPE_ALL_MULTICAST
L_.str.1:                               ## @.str.1
	.asciz	"receive all multicast enabled\n"

L_.str.2:                               ## @.str.2
	.asciz	"receive own packets only\n"

	.comm	_SET_ETHERNET_PACKET_FILTER,4,2 ## @SET_ETHERNET_PACKET_FILTER
	.comm	_USB_DIR_OUT,4,2                ## @USB_DIR_OUT
	.comm	_USB_TYPE_CLASS,4,2             ## @USB_TYPE_CLASS
	.comm	_USB_RECIP_INTERFACE,4,2        ## @USB_RECIP_INTERFACE
	.no_dead_strip	_int51x1_set_multicast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function int51x1_set_multicast
_int51x1_set_multicast:                 ; @int51x1_set_multicast
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _PACKET_TYPE_DIRECTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PACKET_TYPE_DIRECTED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PACKET_TYPE_BROADCAST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PACKET_TYPE_BROADCAST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w20, w9, w8
	ldr	w8, [x21]
Lloh6:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _PACKET_TYPE_PROMISCUOUS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PACKET_TYPE_PROMISCUOUS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w20, w8, w20
	ldr	w0, [x19]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_info
	b	LBB0_7
LBB0_2:
	mov	x0, x21
	bl	_netdev_mc_empty
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w8, [x21]
Lloh14:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_4:
Lloh17:
	adrp	x8, _PACKET_TYPE_ALL_MULTICAST@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PACKET_TYPE_ALL_MULTICAST@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	orr	w20, w8, w20
	ldr	w0, [x19]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
	ldr	w0, [x19]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_6:
	bl	_netdev_dbg
LBB0_7:
Lloh24:
	adrp	x8, _SET_ETHERNET_PACKET_FILTER@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SET_ETHERNET_PACKET_FILTER@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _USB_DIR_OUT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _USB_DIR_OUT@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _USB_TYPE_CLASS@GOTPAGE
Lloh31:
	ldr	x9, [x9, _USB_TYPE_CLASS@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh33:
	adrp	x9, _USB_RECIP_INTERFACE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _USB_RECIP_INTERFACE@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	mov	x3, x20
	mov	w4, #0
	mov	x5, #0
	mov	w6, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_usbnet_write_cmd_async
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_PACKET_TYPE_DIRECTED,4,2       ; @PACKET_TYPE_DIRECTED
	.comm	_PACKET_TYPE_BROADCAST,4,2      ; @PACKET_TYPE_BROADCAST
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_PACKET_TYPE_PROMISCUOUS,4,2    ; @PACKET_TYPE_PROMISCUOUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"promiscuous mode enabled\n"

	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_PACKET_TYPE_ALL_MULTICAST,4,2  ; @PACKET_TYPE_ALL_MULTICAST
l_.str.1:                               ; @.str.1
	.asciz	"receive all multicast enabled\n"

l_.str.2:                               ; @.str.2
	.asciz	"receive own packets only\n"

	.comm	_SET_ETHERNET_PACKET_FILTER,4,2 ; @SET_ETHERNET_PACKET_FILTER
	.comm	_USB_DIR_OUT,4,2                ; @USB_DIR_OUT
	.comm	_USB_TYPE_CLASS,4,2             ; @USB_TYPE_CLASS
	.comm	_USB_RECIP_INTERFACE,4,2        ; @USB_RECIP_INTERFACE
	.no_dead_strip	_int51x1_set_multicast
.subsections_via_symbols
