	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bond_set_multicast_list
_bond_set_multicast_list:               ## @bond_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%rax, %r12
	movl	(%r15), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	je	LBB0_3
## %bb.1:
	testl	%ecx, (%r12)
	je	LBB0_2
LBB0_3:
	testl	%eax, %ecx
	jne	LBB0_6
	jmp	LBB0_4
LBB0_2:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_bond_set_promiscuity
	movl	(%r15), %eax
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	jne	LBB0_6
LBB0_4:
	testl	%ecx, (%r12)
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	movl	$-1, %esi
	callq	_bond_set_promiscuity
	movl	(%r15), %eax
LBB0_6:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	je	LBB0_9
## %bb.7:
	testl	%ecx, (%r12)
	je	LBB0_8
LBB0_9:
	testl	%eax, %ecx
	jne	LBB0_12
	jmp	LBB0_10
LBB0_8:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_bond_set_allmulti
	movl	(%r15), %eax
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	jne	LBB0_12
LBB0_10:
	testl	%ecx, (%r12)
	je	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	movl	$-1, %esi
	callq	_bond_set_allmulti
LBB0_12:
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_read_lock
	movl	(%r15), %eax
	movl	%eax, (%r12)
	movq	8(%r15), %rbx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%rbx), %rbx
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%r12), %rsi
	movq	%rbx, %rdi
	callq	_bond_mc_list_find_dmi
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	%r12, %rdi
	callq	_bond_mc_add
	jmp	LBB0_16
LBB0_17:
	movq	8(%r12), %rbx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	8(%rbx), %rbx
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	8(%r15), %rsi
	movq	%rbx, %rdi
	callq	_bond_mc_list_find_dmi
	testl	%eax, %eax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	%r12, %rdi
	callq	_bond_mc_delete
	jmp	LBB0_21
LBB0_22:
	movq	%r12, %rdi
	callq	_bond_mc_list_destroy
	movq	8(%r15), %rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_bond_mc_list_copy
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_read_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_bond_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 bond_set_multicast_list
_bond_set_multicast_list:               ; @bond_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	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w8, [x20]
Lloh0:
	adrp	x21, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IFF_PROMISC@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w10, [x19]
	tst	w10, w9
	b.eq	LBB0_3
LBB0_2:
	tst	w9, w8
	b.ne	LBB0_6
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	mov	w1, #1
	bl	_bond_set_promiscuity
	ldr	w8, [x20]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_6
LBB0_4:
	ldr	w10, [x19]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #-1
	bl	_bond_set_promiscuity
	ldr	w8, [x20]
LBB0_6:
Lloh2:
	adrp	x21, _IFF_ALLMULTI@GOTPAGE
Lloh3:
	ldr	x21, [x21, _IFF_ALLMULTI@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	w10, [x19]
	tst	w10, w9
	b.eq	LBB0_9
LBB0_8:
	tst	w9, w8
	b.ne	LBB0_12
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	mov	w1, #1
	bl	_bond_set_allmulti
	ldr	w8, [x20]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_12
LBB0_10:
	ldr	w8, [x19]
	tst	w8, w9
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x19
	mov	w1, #-1
	bl	_bond_set_allmulti
LBB0_12:
	add	x21, x19, #4
	mov	x0, x21
	bl	_read_lock
	ldr	w8, [x20]
	str	w8, [x19]
	ldr	x22, [x20, #8]
	cbnz	x22, LBB0_16
LBB0_13:
	ldr	x22, [x19, #8]
	cbnz	x22, LBB0_19
LBB0_14:
	mov	x0, x19
	bl	_bond_mc_list_destroy
	ldr	x0, [x20, #8]
Lloh4:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_bond_mc_list_copy
	mov	x0, x21
	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	_read_unlock
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x22, [x22, #8]
	cbz	x22, LBB0_13
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x19, #8]
	mov	x0, x22
	bl	_bond_mc_list_find_dmi
	cbnz	w0, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldp	w2, w1, [x22]
	mov	x0, x19
	bl	_bond_mc_add
	b	LBB0_15
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x22, [x22, #8]
	cbz	x22, LBB0_14
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x20, #8]
	mov	x0, x22
	bl	_bond_mc_list_find_dmi
	cbnz	w0, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldp	w2, w1, [x22]
	mov	x0, x19
	bl	_bond_mc_delete
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_bond_set_multicast_list
.subsections_via_symbols
