	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __orinoco_set_multicast_list
___orinoco_set_multicast_list:          ## @__orinoco_set_multicast_list
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_ndev_priv
	movq	%rax, %r14
	movl	(%rbx), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	movl	$1, %r12d
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.1:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_netdev_mc_count
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_MAX_MULTICAST
	cmpl	%eax, %r13d
	jg	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_netdev_mc_count
	movl	%eax, %r15d
	xorl	%r12d, %r12d
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___orinoco_hw_set_multicast_list ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.no_dead_strip	___orinoco_set_multicast_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __orinoco_set_multicast_list
___orinoco_set_multicast_list:          ; @__orinoco_set_multicast_list
	.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	x19, x0
	bl	_ndev_priv
	mov	x20, x0
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_netdev_mc_count
	mov	x21, x0
	mov	x0, x20
	bl	_MAX_MULTICAST
	cmp	w21, w0
	b.le	LBB0_5
LBB0_3:
	mov	w2, #0
	mov	w3, #1
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	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	___orinoco_hw_set_multicast_list
LBB0_5:
	mov	x0, x19
	bl	_netdev_mc_count
	mov	x2, x0
	mov	w3, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.no_dead_strip	___orinoco_set_multicast_list
.subsections_via_symbols
