	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function airo_set_multicast_list
_airo_set_multicast_list:               ## @airo_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movl	(%rbx), %eax
	xorl	(%rdi), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.1:
	movq	_FLAG_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_change_bit
	leaq	12(%rbx), %rdi
	callq	_down_trylock
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_JOB_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_set_bit
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_wake_up_interruptible
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_airo_set_promisc
LBB0_4:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_6
## %bb.5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netdev_mc_empty                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_FLAG_PROMISC,4,2               ## @FLAG_PROMISC
	.comm	_JOB_PROMISC,4,2                ## @JOB_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.no_dead_strip	_airo_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 airo_set_multicast_list
_airo_set_multicast_list:               ; @airo_set_multicast_list
	.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
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldr	w8, [x0]
	ldr	w9, [x20]
	eor	w8, w9, w8
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _FLAG_PROMISC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FLAG_PROMISC@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_change_bit
	add	x0, x20, #12
	bl	_down_trylock
	cbz	x0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _JOB_PROMISC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _JOB_PROMISC@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, x20, #8
	bl	_set_bit
	add	x0, x20, #4
	bl	_wake_up_interruptible
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	bl	_airo_set_promisc
LBB0_4:
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netdev_mc_empty
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_FLAG_PROMISC,4,2               ; @FLAG_PROMISC
	.comm	_JOB_PROMISC,4,2                ; @JOB_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.no_dead_strip	_airo_set_multicast_list
.subsections_via_symbols
