	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usbnet_cdc_update_filter
_usbnet_cdc_update_filter:              ## @usbnet_cdc_update_filter
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movq	_USB_CDC_PACKET_TYPE_DIRECTED@GOTPCREL(%rip), %rax
	movq	_USB_CDC_PACKET_TYPE_BROADCAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r15), %eax
	je	LBB0_2
## %bb.1:
	movq	_USB_CDC_PACKET_TYPE_PROMISCUOUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	orl	%eax, %ebx
	movq	16(%r14), %r12
	movq	%r15, %rdi
	callq	_netdev_mc_empty
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_5
LBB0_4:
	movq	_USB_CDC_PACKET_TYPE_ALL_MULTICAST@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_5:
	movl	(%r14), %r14d
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_usb_sndctrlpipe
	movq	_USB_CDC_SET_ETHERNET_PACKET_FILTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_USB_TYPE_CLASS@GOTPCREL(%rip), %rsi
	movq	_USB_RECIP_INTERFACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rsi), %ecx
	movq	(%r12), %rsi
	movl	(%rsi), %r9d
	movq	_USB_CTRL_SET_TIMEOUT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r10d
	subq	$8, %rsp
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	%ebx, %r8d
	pushq	%r10
	pushq	$0
	pushq	$0
	callq	_usb_control_msg
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_CDC_PACKET_TYPE_DIRECTED,4,2 ## @USB_CDC_PACKET_TYPE_DIRECTED
	.comm	_USB_CDC_PACKET_TYPE_BROADCAST,4,2 ## @USB_CDC_PACKET_TYPE_BROADCAST
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_USB_CDC_PACKET_TYPE_PROMISCUOUS,4,2 ## @USB_CDC_PACKET_TYPE_PROMISCUOUS
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_USB_CDC_PACKET_TYPE_ALL_MULTICAST,4,2 ## @USB_CDC_PACKET_TYPE_ALL_MULTICAST
	.comm	_USB_CDC_SET_ETHERNET_PACKET_FILTER,4,2 ## @USB_CDC_SET_ETHERNET_PACKET_FILTER
	.comm	_USB_TYPE_CLASS,4,2             ## @USB_TYPE_CLASS
	.comm	_USB_RECIP_INTERFACE,4,2        ## @USB_RECIP_INTERFACE
	.comm	_USB_CTRL_SET_TIMEOUT,4,2       ## @USB_CTRL_SET_TIMEOUT
	.no_dead_strip	_usbnet_cdc_update_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usbnet_cdc_update_filter
_usbnet_cdc_update_filter:              ; @usbnet_cdc_update_filter
	.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, x0
	ldp	x21, x22, [x0, #8]
Lloh0:
	adrp	x8, _USB_CDC_PACKET_TYPE_DIRECTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_CDC_PACKET_TYPE_DIRECTED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _USB_CDC_PACKET_TYPE_BROADCAST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _USB_CDC_PACKET_TYPE_BROADCAST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x21]
Lloh6:
	adrp	x10, _IFF_PROMISC@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IFF_PROMISC@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _USB_CDC_PACKET_TYPE_PROMISCUOUS@GOTPAGE
Lloh10:
	ldr	x11, [x11, _USB_CDC_PACKET_TYPE_PROMISCUOUS@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w9, wzr, w11, eq
	orr	w19, w8, w9
	mov	x0, x21
	bl	_netdev_mc_empty
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w8, [x21]
Lloh12:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_2:
Lloh15:
	adrp	x8, _USB_CDC_PACKET_TYPE_ALL_MULTICAST@GOTPAGE
Lloh16:
	ldr	x8, [x8, _USB_CDC_PACKET_TYPE_ALL_MULTICAST@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	orr	w19, w8, w19
LBB0_3:
	ldr	w20, [x20]
	mov	x0, x20
	mov	w1, #0
	bl	_usb_sndctrlpipe
	mov	x1, x0
Lloh18:
	adrp	x8, _USB_CDC_SET_ETHERNET_PACKET_FILTER@GOTPAGE
Lloh19:
	ldr	x8, [x8, _USB_CDC_SET_ETHERNET_PACKET_FILTER@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
Lloh21:
	adrp	x8, _USB_TYPE_CLASS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _USB_TYPE_CLASS@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _USB_RECIP_INTERFACE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _USB_RECIP_INTERFACE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w3, w9, w8
	ldr	x8, [x22]
	ldr	w5, [x8]
Lloh27:
	adrp	x8, _USB_CTRL_SET_TIMEOUT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _USB_CTRL_SET_TIMEOUT@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x0, x20
	mov	x4, x19
	mov	x6, #0
	mov	w7, #0
	bl	_usb_control_msg
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_CDC_PACKET_TYPE_DIRECTED,4,2 ; @USB_CDC_PACKET_TYPE_DIRECTED
	.comm	_USB_CDC_PACKET_TYPE_BROADCAST,4,2 ; @USB_CDC_PACKET_TYPE_BROADCAST
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_USB_CDC_PACKET_TYPE_PROMISCUOUS,4,2 ; @USB_CDC_PACKET_TYPE_PROMISCUOUS
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_USB_CDC_PACKET_TYPE_ALL_MULTICAST,4,2 ; @USB_CDC_PACKET_TYPE_ALL_MULTICAST
	.comm	_USB_CDC_SET_ETHERNET_PACKET_FILTER,4,2 ; @USB_CDC_SET_ETHERNET_PACKET_FILTER
	.comm	_USB_TYPE_CLASS,4,2             ; @USB_TYPE_CLASS
	.comm	_USB_RECIP_INTERFACE,4,2        ; @USB_RECIP_INTERFACE
	.comm	_USB_CTRL_SET_TIMEOUT,4,2       ; @USB_CTRL_SET_TIMEOUT
	.no_dead_strip	_usbnet_cdc_update_filter
.subsections_via_symbols
