	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsa_slave_open
_dsa_slave_open:                        ## @dsa_slave_open
	.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, %r14
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	movq	_IFF_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_1
## %bb.2:
	movl	4(%r14), %edi
	movl	4(%r12), %esi
	callq	_compare_ether_addr
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	4(%r14), %esi
	movq	%r12, %rdi
	callq	_dev_unicast_add
	testl	%eax, %eax
	js	LBB0_4
LBB0_5:
	movl	(%r14), %eax
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	je	LBB0_9
## %bb.6:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_dev_set_allmulti
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movl	(%r14), %eax
LBB0_9:
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.10:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_dev_set_promiscuity
	testl	%eax, %eax
	jns	LBB0_16
## %bb.11:
	movl	%eax, %r15d
	movl	(%r13), %eax
	testl	%eax, (%r14)
	je	LBB0_13
## %bb.12:
	movq	%r12, %rdi
	movl	$-1, %esi
	callq	_dev_set_allmulti
	jmp	LBB0_13
LBB0_1:
	movq	_ENETDOWN@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_16
LBB0_4:
	movl	%eax, %ebx
	jmp	LBB0_16
LBB0_7:
	movl	%eax, %r15d
LBB0_13:
	movl	4(%r14), %edi
	movl	4(%r12), %esi
	callq	_compare_ether_addr
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	4(%r14), %esi
	movq	%r12, %rdi
	callq	_dev_unicast_delete
LBB0_15:
	movl	%r15d, %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_ENETDOWN,4,2                   ## @ENETDOWN
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.no_dead_strip	_dsa_slave_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsa_slave_open
_dsa_slave_open:                        ; @dsa_slave_open
	.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	_netdev_priv
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x20, [x8]
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.1:
	ldr	w0, [x19, #4]
	ldr	w1, [x20, #4]
	bl	_compare_ether_addr
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_dev_unicast_add
	tbnz	w0, #31, LBB0_10
LBB0_3:
	ldr	w8, [x19]
Lloh3:
	adrp	x22, _IFF_ALLMULTI@GOTPAGE
Lloh4:
	ldr	x22, [x22, _IFF_ALLMULTI@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	mov	x0, x20
	mov	w1, #1
	bl	_dev_set_allmulti
	tbnz	w0, #31, LBB0_11
; %bb.5:
	ldr	w8, [x19]
LBB0_6:
Lloh5:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x20
	mov	w1, #1
	bl	_dev_set_promiscuity
	tbnz	w0, #31, LBB0_12
LBB0_8:
	mov	w21, #0
	b	LBB0_16
LBB0_9:
Lloh8:
	adrp	x8, _ENETDOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENETDOWN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_16
LBB0_10:
	mov	x21, x0
	b	LBB0_16
LBB0_11:
	mov	x21, x0
	b	LBB0_14
LBB0_12:
	mov	x21, x0
	ldr	w8, [x19]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	mov	x0, x20
	mov	w1, #-1
	bl	_dev_set_allmulti
LBB0_14:
	ldr	w0, [x19, #4]
	ldr	w1, [x20, #4]
	bl	_compare_ether_addr
	cbz	x0, LBB0_16
; %bb.15:
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_dev_unicast_delete
LBB0_16:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_ENETDOWN,4,2                   ; @ENETDOWN
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.no_dead_strip	_dsa_slave_open
.subsections_via_symbols
