	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function net_failover_slave_register
_net_failover_slave_register:           ## @net_failover_slave_register
	.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, %r12
	movl	(%rdi), %r15d
	movl	(%rsi), %esi
	callq	_dev_set_mtu
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movl	4(%r12), %edx
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_err
	jmp	LBB0_13
LBB0_2:
	movq	%r12, %rdi
	callq	_dev_hold
	movq	%r14, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_dev_open
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	movl	%eax, %ebx
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_5
LBB0_7:
	movq	%r14, %rdi
	callq	_netif_addr_lock_bh
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_dev_uc_sync_multiple
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_dev_mc_sync_multiple
	movq	%r14, %rdi
	callq	_netif_addr_unlock_bh
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_vlan_vids_add_by_dev
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %ebx
	movl	4(%r12), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	callq	_netdev_err
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_dev_uc_unsync
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_dev_mc_unsync
	movq	%r12, %rdi
	callq	_dev_close
	jmp	LBB0_6
LBB0_9:
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	12(%rax), %edi
	callq	_rtnl_dereference
	movq	%rax, %r15
	movl	4(%rbx), %edi
	callq	_rtnl_dereference
	movq	%rax, %r13
	movq	16(%r12), %rax
	cmpq	16(%r14), %rax
	jne	LBB0_11
## %bb.10:
	movl	12(%rbx), %edi
	movq	%r12, %rsi
	callq	_rcu_assign_pointer
	addq	$8, %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_dev_get_stats
	leaq	L_.str.4(%rip), %rbx
	movq	%r12, %r15
	jmp	LBB0_12
LBB0_5:
	movl	4(%r12), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %ecx
	callq	_netdev_err
LBB0_6:
	movq	%r12, %rdi
	callq	_dev_put
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_dev_set_mtu
	jmp	LBB0_13
LBB0_11:
	movl	4(%rbx), %edi
	movq	%r12, %rsi
	callq	_rcu_assign_pointer
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_dev_get_stats
	movl	12(%r12), %eax
	movl	%eax, 12(%r14)
	movl	8(%r12), %eax
	movl	%eax, 8(%r14)
	leaq	L_.str.5(%rip), %rbx
	movq	%r12, %r13
LBB0_12:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_net_failover_lower_state_changed
	movq	%r14, %rdi
	callq	_net_failover_compute_features
	movq	_NETDEV_JOIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_call_netdevice_notifiers
	movl	4(%r12), %ecx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_netdev_info
	xorl	%ebx, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to change mtu of %s to %u register failed\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.1:                               ## @.str.1
	.asciz	"Opening slave %s failed err:%d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to add vlan ids to device %s err:%d\n"

	.comm	_NETDEV_JOIN,4,2                ## @NETDEV_JOIN
L_.str.3:                               ## @.str.3
	.asciz	"failover %s slave:%s registered\n"

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

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

	.no_dead_strip	_net_failover_slave_register
.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_register
_net_failover_slave_register:           ; @net_failover_slave_register
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldr	w21, [x0]
	ldr	w1, [x1]
	bl	_dev_set_mtu
	cbz	w0, LBB0_2
; %bb.1:
	mov	x22, x0
	ldr	w2, [x19, #4]
	ldr	w3, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_err
	b	LBB0_13
LBB0_2:
	mov	x0, x19
	bl	_dev_hold
	mov	x0, x20
	bl	_netif_running
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x19
	mov	x1, #0
	bl	_dev_open
	cbz	w0, LBB0_5
; %bb.4:
	mov	x22, x0
Lloh2:
	adrp	x8, _EBUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_9
LBB0_5:
	mov	x0, x20
	bl	_netif_addr_lock_bh
	mov	x0, x19
	mov	x1, x20
	bl	_dev_uc_sync_multiple
	mov	x0, x19
	mov	x1, x20
	bl	_dev_mc_sync_multiple
	mov	x0, x20
	bl	_netif_addr_unlock_bh
	mov	x0, x19
	mov	x1, x20
	bl	_vlan_vids_add_by_dev
	cbz	w0, LBB0_7
; %bb.6:
	mov	x22, x0
	ldr	w2, [x19, #4]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x3, x22
	bl	_netdev_err
	mov	x0, x19
	mov	x1, x20
	bl	_dev_uc_unsync
	mov	x0, x19
	mov	x1, x20
	bl	_dev_mc_unsync
	mov	x0, x19
	bl	_dev_close
	b	LBB0_10
LBB0_7:
	mov	x0, x20
	bl	_netdev_priv
	mov	x22, x0
	ldr	w0, [x0, #12]
	bl	_rtnl_dereference
	mov	x21, x0
	ldr	w0, [x22, #4]
	bl	_rtnl_dereference
	ldr	x8, [x19, #16]
	ldr	x9, [x20, #16]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.8:
	mov	x23, x0
	ldr	w0, [x22, #12]
	mov	x1, x19
	bl	_rcu_assign_pointer
	add	x1, x22, #8
	mov	x0, x19
	bl	_dev_get_stats
Lloh7:
	adrp	x22, l_.str.4@PAGE
Lloh8:
	add	x22, x22, l_.str.4@PAGEOFF
	mov	x21, x19
	b	LBB0_12
LBB0_9:
	ldr	w2, [x19, #4]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x3, x22
	bl	_netdev_err
LBB0_10:
	mov	x0, x19
	bl	_dev_put
	mov	x0, x19
	mov	x1, x21
	bl	_dev_set_mtu
	b	LBB0_13
LBB0_11:
	ldr	w0, [x22, #4]
	mov	x1, x19
	bl	_rcu_assign_pointer
	mov	x0, x19
	mov	x1, x22
	bl	_dev_get_stats
	ldr	d0, [x19, #8]
	str	d0, [x20, #8]
Lloh11:
	adrp	x22, l_.str.5@PAGE
Lloh12:
	add	x22, x22, l_.str.5@PAGEOFF
	mov	x23, x19
LBB0_12:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	bl	_net_failover_lower_state_changed
	mov	x0, x20
	bl	_net_failover_compute_features
Lloh13:
	adrp	x8, _NETDEV_JOIN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NETDEV_JOIN@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_call_netdevice_notifiers
	ldr	w3, [x19, #4]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_netdev_info
	mov	w22, #0
LBB0_13:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to change mtu of %s to %u register failed\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.1:                               ; @.str.1
	.asciz	"Opening slave %s failed err:%d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to add vlan ids to device %s err:%d\n"

	.comm	_NETDEV_JOIN,4,2                ; @NETDEV_JOIN
l_.str.3:                               ; @.str.3
	.asciz	"failover %s slave:%s registered\n"

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

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

	.no_dead_strip	_net_failover_slave_register
.subsections_via_symbols
