	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function net_failover_slave_unregister
_net_failover_slave_unregister:         ## @net_failover_slave_unregister
	.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	%rsi, %r14
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_rtnl_dereference
	movq	%rax, %r12
	movl	4(%rbx), %edi
	callq	_rtnl_dereference
	movq	%rax, %r15
	cmpq	%r13, %r12
	setne	%al
	cmpq	%r13, %r15
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_2:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_vlan_vids_del_by_dev
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_dev_uc_unsync
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_dev_mc_unsync
	movq	%r13, %rdi
	callq	_dev_close
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	leaq	8(%rax), %rsi
	movq	%r14, %rdi
	callq	_dev_get_stats
	movq	16(%r13), %rax
	cmpq	16(%r14), %rax
	jne	LBB0_4
## %bb.3:
	movl	4(%r12), %edi
	xorl	%esi, %esi
	callq	_RCU_INIT_POINTER
	leaq	L_.str.1(%rip), %r12
	jmp	LBB0_6
LBB0_4:
	movl	(%r12), %edi
	xorl	%esi, %esi
	callq	_RCU_INIT_POINTER
	leaq	L_.str.2(%rip), %r12
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:
	movl	8(%r15), %eax
	movl	%eax, 8(%r14)
	movl	4(%r15), %eax
	movl	%eax, 4(%r14)
LBB0_6:
	movq	%r13, %rdi
	callq	_dev_put
	movq	%r14, %rdi
	callq	_net_failover_compute_features
	movl	(%r13), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_netdev_info
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failover %s slave:%s unregistered\n"

L_.str.1:                               ## @.str.1
	.asciz	"standby"

L_.str.2:                               ## @.str.2
	.asciz	"primary"

	.no_dead_strip	_net_failover_slave_unregister
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function net_failover_slave_unregister
_net_failover_slave_unregister:         ; @net_failover_slave_unregister
	.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, x1
	mov	x20, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
	ldr	w0, [x0]
	bl	_rtnl_dereference
	mov	x22, x0
	ldr	w0, [x21, #4]
	bl	_rtnl_dereference
	mov	x21, x0
	cmp	x22, x20
	ccmp	x0, x20, #4, ne
	cset	w0, ne
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_vlan_vids_del_by_dev
	mov	x0, x20
	mov	x1, x19
	bl	_dev_uc_unsync
	mov	x0, x20
	mov	x1, x19
	bl	_dev_mc_unsync
	mov	x0, x20
	bl	_dev_close
	mov	x0, x19
	bl	_netdev_priv
	mov	x22, x0
	add	x1, x0, #8
	mov	x0, x19
	bl	_dev_get_stats
	ldr	x8, [x20, #16]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x22, #4]
	mov	x1, #0
	bl	_RCU_INIT_POINTER
Lloh3:
	adrp	x21, l_.str.1@PAGE
Lloh4:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_4:
	ldr	w0, [x22]
	mov	x1, #0
	bl	_RCU_INIT_POINTER
	cbz	x21, LBB0_6
; %bb.5:
	ldur	d0, [x21, #4]
	stur	d0, [x19, #4]
LBB0_6:
Lloh5:
	adrp	x21, l_.str.2@PAGE
Lloh6:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_7:
	mov	x0, x20
	bl	_dev_put
	mov	x0, x19
	bl	_net_failover_compute_features
	ldr	w3, [x20]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_netdev_info
	mov	w0, #0
LBB0_8:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failover %s slave:%s unregistered\n"

l_.str.1:                               ; @.str.1
	.asciz	"standby"

l_.str.2:                               ; @.str.2
	.asciz	"primary"

	.no_dead_strip	_net_failover_slave_unregister
.subsections_via_symbols
