	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_set_multicast_list
_mwifiex_set_multicast_list:            ## @mwifiex_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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_mwifiex_netdev_get_priv
	movq	%rax, %r14
	movl	(%rbx), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_MWIFIEX_PROMISC_MODE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_netdev_mc_count
	movq	_MWIFIEX_MAX_MULTICAST_LIST_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_6
LBB0_5:
	movq	_MWIFIEX_ALL_MULTI_MODE@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
LBB0_7:
	leaq	-24(%rbp), %rsi
	movq	%r14, %rdi
	callq	_mwifiex_request_set_multicast_list
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	_MWIFIEX_MULTICAST_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	leaq	-24(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_mwifiex_copy_mcast_addr
	movl	%eax, -24(%rbp)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_MWIFIEX_PROMISC_MODE,4,2       ## @MWIFIEX_PROMISC_MODE
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_MWIFIEX_MAX_MULTICAST_LIST_SIZE,8,3 ## @MWIFIEX_MAX_MULTICAST_LIST_SIZE
	.comm	_MWIFIEX_ALL_MULTI_MODE,4,2     ## @MWIFIEX_ALL_MULTI_MODE
	.comm	_MWIFIEX_MULTICAST_MODE,4,2     ## @MWIFIEX_MULTICAST_MODE
	.no_dead_strip	_mwifiex_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 mwifiex_set_multicast_list
_mwifiex_set_multicast_list:            ; @mwifiex_set_multicast_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x0
	bl	_mwifiex_netdev_get_priv
	mov	x19, x0
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MWIFIEX_PROMISC_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MWIFIEX_PROMISC_MODE@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
Lloh5:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_netdev_mc_count
Lloh8:
	adrp	x8, _MWIFIEX_MAX_MULTICAST_LIST_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MWIFIEX_MAX_MULTICAST_LIST_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_7
LBB0_4:
Lloh11:
	adrp	x8, _MWIFIEX_ALL_MULTI_MODE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MWIFIEX_ALL_MULTI_MODE@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [sp, #12]
LBB0_6:
	add	x1, sp, #8
	mov	x0, x19
	bl	_mwifiex_request_set_multicast_list
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
Lloh13:
	adrp	x8, _MWIFIEX_MULTICAST_MODE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MWIFIEX_MULTICAST_MODE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	add	x0, sp, #8
	mov	x1, x20
	bl	_mwifiex_copy_mcast_addr
	str	w0, [sp, #8]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_MWIFIEX_PROMISC_MODE,4,2       ; @MWIFIEX_PROMISC_MODE
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_MWIFIEX_MAX_MULTICAST_LIST_SIZE,8,3 ; @MWIFIEX_MAX_MULTICAST_LIST_SIZE
	.comm	_MWIFIEX_ALL_MULTI_MODE,4,2     ; @MWIFIEX_ALL_MULTI_MODE
	.comm	_MWIFIEX_MULTICAST_MODE,4,2     ; @MWIFIEX_MULTICAST_MODE
	.no_dead_strip	_mwifiex_set_multicast_list
.subsections_via_symbols
