	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bond_change_active_slave       ## -- Begin function bond_change_active_slave
	.p2align	4, 0x90
_bond_change_active_slave:              ## @bond_change_active_slave
	.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, %rbx
	xorl	%eax, %eax
	callq	_ASSERT_RTNL
	movl	68(%rbx), %edi
	callq	_rtnl_dereference
	cmpq	%r14, %rax
	je	LBB0_35
## %bb.1:
	movq	%rax, %r15
	testq	%r14, %r14
	je	LBB0_11
## %bb.2:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	(%r14), %r12
	movq	_BOND_LINK_BACK@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%rbx, %rdi
	callq	_bond_uses_primary
	cmpq	%r13, %r12
	jne	LBB0_9
## %bb.3:
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	24(%rbx), %ecx
	movl	64(%rbx), %edi
	movl	12(%r14), %esi
	subl	8(%r14), %ecx
	imull	28(%rbx), %ecx
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_slave_info
LBB0_5:
	movl	$0, 8(%r14)
	movq	_BOND_LINK_UP@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_BOND_SLAVE_NOTIFY_NOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_bond_set_slave_link_state
	movq	%rbx, %rdi
	callq	_BOND_MODE
	movq	_BOND_MODE_8023AD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_bond_3ad_handle_link_change
LBB0_7:
	movq	%rbx, %rdi
	callq	_bond_is_lb
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_bond_alb_handle_link_change
	jmp	LBB0_11
LBB0_9:
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	64(%rbx), %edi
	movl	12(%r14), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_slave_info
LBB0_11:
	movq	%rbx, %rdi
	callq	_bond_uses_primary
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_bond_hw_addr_swap
LBB0_13:
	movq	%rbx, %rdi
	callq	_bond_is_lb
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_bond_alb_handle_active_change
	testq	%r15, %r15
	je	LBB0_16
## %bb.15:
	movq	_BOND_SLAVE_NOTIFY_NOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_bond_set_slave_inactive_flags
LBB0_16:
	testq	%r14, %r14
	je	LBB0_19
## %bb.17:
	movq	_BOND_SLAVE_NOTIFY_NOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_bond_set_slave_active_flags
	jmp	LBB0_19
LBB0_18:
	movl	68(%rbx), %edi
	movq	%r14, %rsi
	callq	_rcu_assign_pointer
LBB0_19:
	movq	%rbx, %rdi
	callq	_BOND_MODE
	movq	_BOND_MODE_ACTIVEBACKUP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
## %bb.20:
	testq	%r15, %r15
	je	LBB0_22
## %bb.21:
	movq	_BOND_SLAVE_NOTIFY_NOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_bond_set_slave_inactive_flags
LBB0_22:
	testq	%r14, %r14
	je	LBB0_30
## %bb.23:
	movq	_BOND_SLAVE_NOTIFY_NOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_bond_set_slave_active_flags
	cmpq	$0, 56(%rbx)
	je	LBB0_25
## %bb.24:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_bond_do_fail_over_mac
LBB0_25:
	movl	64(%rbx), %edi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_26
## %bb.27:
	movl	32(%rbx), %r15d
	movl	48(%rbx), %esi
	movl	$1, %edi
	callq	_max
	imull	%r15d, %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_bond_should_notify_peers
	movl	%eax, %r15d
	movq	_NETDEV_BONDING_FAILOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	64(%rbx), %esi
	callq	_call_netdevice_notifiers
	testl	%r15d, %r15d
	je	LBB0_30
## %bb.28:
	decl	(%rbx)
	movq	_NETDEV_NOTIFY_PEERS@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_26:
	movq	_NETDEV_BONDING_FAILOVER@GOTPCREL(%rip), %rax
LBB0_29:
	movl	(%rax), %edi
	movl	64(%rbx), %esi
	callq	_call_netdevice_notifiers
LBB0_30:
	movl	64(%rbx), %edi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_35
## %bb.31:
	cmpq	$0, 40(%rbx)
	jle	LBB0_35
## %bb.32:
	movq	%rbx, %rdi
	callq	_bond_uses_primary
	testq	%r14, %r14
	je	LBB0_34
## %bb.33:
	testq	%rax, %rax
	jne	LBB0_36
LBB0_34:
	movq	%rbx, %rdi
	callq	_BOND_MODE
	movq	_BOND_MODE_ROUNDROBIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_35
LBB0_36:
	movq	40(%rbx), %rax
	movq	%rax, 8(%rbx)
	movl	20(%rbx), %edi
	addq	$16, %rbx
	movq	%rbx, %rsi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_delayed_work             ## TAILCALL
LBB0_35:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_BOND_LINK_BACK,8,3             ## @BOND_LINK_BACK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"making interface the new active one %d ms earlier\n"

	.comm	_BOND_LINK_UP,4,2               ## @BOND_LINK_UP
	.comm	_BOND_SLAVE_NOTIFY_NOW,4,2      ## @BOND_SLAVE_NOTIFY_NOW
	.comm	_BOND_MODE_8023AD,8,3           ## @BOND_MODE_8023AD
L_.str.1:                               ## @.str.1
	.asciz	"making interface the new active one\n"

	.comm	_BOND_MODE_ACTIVEBACKUP,8,3     ## @BOND_MODE_ACTIVEBACKUP
	.comm	_NETDEV_BONDING_FAILOVER,4,2    ## @NETDEV_BONDING_FAILOVER
	.comm	_NETDEV_NOTIFY_PEERS,4,2        ## @NETDEV_NOTIFY_PEERS
	.comm	_BOND_MODE_ROUNDROBIN,8,3       ## @BOND_MODE_ROUNDROBIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bond_change_active_slave       ; -- Begin function bond_change_active_slave
	.p2align	2
_bond_change_active_slave:              ; @bond_change_active_slave
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	bl	_ASSERT_RTNL
	ldr	w0, [x19, #68]
	bl	_rtnl_dereference
	cmp	x0, x20
	b.eq	LBB0_35
; %bb.1:
	mov	x21, x0
	cbz	x20, LBB0_11
; %bb.2:
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #16]
	ldr	x22, [x20]
Lloh3:
	adrp	x8, _BOND_LINK_BACK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BOND_LINK_BACK@GOTPAGEOFF]
Lloh5:
	ldr	x23, [x8]
	mov	x0, x19
	bl	_bond_uses_primary
	cmp	x22, x23
	b.ne	LBB0_9
; %bb.3:
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x19, #64]
	ldp	w8, w1, [x20, #8]
	ldp	w9, w10, [x19, #24]
	sub	w8, w9, w8
	mul	w8, w8, w10
	str	x8, [sp]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	bl	_slave_info
LBB0_5:
	str	wzr, [x20, #8]
Lloh8:
	adrp	x22, _BOND_LINK_UP@GOTPAGE
Lloh9:
	ldr	x22, [x22, _BOND_LINK_UP@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh10:
	adrp	x8, _BOND_SLAVE_NOTIFY_NOW@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BOND_SLAVE_NOTIFY_NOW@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_bond_set_slave_link_state
	mov	x0, x19
	bl	_BOND_MODE
Lloh13:
	adrp	x8, _BOND_MODE_8023AD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BOND_MODE_8023AD@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_bond_3ad_handle_link_change
LBB0_7:
	mov	x0, x19
	bl	_bond_is_lb
	cbz	x0, LBB0_11
; %bb.8:
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_bond_alb_handle_link_change
	b	LBB0_11
LBB0_9:
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w0, [x19, #64]
	ldr	w1, [x20, #12]
Lloh16:
	adrp	x2, l_.str.1@PAGE
Lloh17:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_slave_info
LBB0_11:
	mov	x0, x19
	bl	_bond_uses_primary
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_bond_hw_addr_swap
LBB0_13:
	mov	x0, x19
	bl	_bond_is_lb
	cbz	x0, LBB0_18
; %bb.14:
	mov	x0, x19
	mov	x1, x20
	bl	_bond_alb_handle_active_change
Lloh18:
	adrp	x22, _BOND_SLAVE_NOTIFY_NOW@GOTPAGE
Lloh19:
	ldr	x22, [x22, _BOND_SLAVE_NOTIFY_NOW@GOTPAGEOFF]
	cbz	x21, LBB0_16
; %bb.15:
	ldr	w1, [x22]
	mov	x0, x21
	bl	_bond_set_slave_inactive_flags
LBB0_16:
	cbz	x20, LBB0_19
; %bb.17:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_bond_set_slave_active_flags
	b	LBB0_19
LBB0_18:
	ldr	w0, [x19, #68]
	mov	x1, x20
	bl	_rcu_assign_pointer
LBB0_19:
	mov	x0, x19
	bl	_BOND_MODE
Lloh20:
	adrp	x8, _BOND_MODE_ACTIVEBACKUP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BOND_MODE_ACTIVEBACKUP@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_29
; %bb.20:
	cbz	x21, LBB0_22
; %bb.21:
Lloh23:
	adrp	x8, _BOND_SLAVE_NOTIFY_NOW@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BOND_SLAVE_NOTIFY_NOW@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_bond_set_slave_inactive_flags
LBB0_22:
	cbz	x20, LBB0_29
; %bb.23:
Lloh26:
	adrp	x8, _BOND_SLAVE_NOTIFY_NOW@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BOND_SLAVE_NOTIFY_NOW@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_bond_set_slave_active_flags
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_25
; %bb.24:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_bond_do_fail_over_mac
LBB0_25:
	ldr	w0, [x19, #64]
	bl	_netif_running
Lloh29:
	adrp	x22, _NETDEV_BONDING_FAILOVER@GOTPAGE
Lloh30:
	ldr	x22, [x22, _NETDEV_BONDING_FAILOVER@GOTPAGEOFF]
	cbz	x0, LBB0_28
; %bb.26:
	ldr	w21, [x19, #32]
	ldr	w1, [x19, #48]
	mov	w0, #1
	bl	_max
	mul	w8, w0, w21
	str	w8, [x19]
	mov	x0, x19
	bl	_bond_should_notify_peers
	mov	x21, x0
	ldr	w0, [x22]
	ldr	w1, [x19, #64]
	bl	_call_netdevice_notifiers
	cbz	w21, LBB0_29
; %bb.27:
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
Lloh31:
	adrp	x22, _NETDEV_NOTIFY_PEERS@GOTPAGE
Lloh32:
	ldr	x22, [x22, _NETDEV_NOTIFY_PEERS@GOTPAGEOFF]
LBB0_28:
	ldr	w0, [x22]
	ldr	w1, [x19, #64]
	bl	_call_netdevice_notifiers
LBB0_29:
	ldr	w0, [x19, #64]
	bl	_netif_running
	cbz	x0, LBB0_35
; %bb.30:
	ldr	x8, [x19, #40]
	cmp	x8, #1
	b.lt	LBB0_35
; %bb.31:
	mov	x0, x19
	bl	_bond_uses_primary
	cbz	x20, LBB0_33
; %bb.32:
	cbnz	x0, LBB0_34
LBB0_33:
	mov	x0, x19
	bl	_BOND_MODE
Lloh33:
	adrp	x8, _BOND_MODE_ROUNDROBIN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _BOND_MODE_ROUNDROBIN@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_35
LBB0_34:
	ldr	x8, [x19, #40]
	str	x8, [x19, #8]
	ldr	w0, [x19, #20]
	add	x1, x19, #16
	mov	w2, #1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_queue_delayed_work
LBB0_35:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_BOND_LINK_BACK,8,3             ; @BOND_LINK_BACK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"making interface the new active one %d ms earlier\n"

	.comm	_BOND_LINK_UP,4,2               ; @BOND_LINK_UP
	.comm	_BOND_SLAVE_NOTIFY_NOW,4,2      ; @BOND_SLAVE_NOTIFY_NOW
	.comm	_BOND_MODE_8023AD,8,3           ; @BOND_MODE_8023AD
l_.str.1:                               ; @.str.1
	.asciz	"making interface the new active one\n"

	.comm	_BOND_MODE_ACTIVEBACKUP,8,3     ; @BOND_MODE_ACTIVEBACKUP
	.comm	_NETDEV_BONDING_FAILOVER,4,2    ; @NETDEV_BONDING_FAILOVER
	.comm	_NETDEV_NOTIFY_PEERS,4,2        ; @NETDEV_NOTIFY_PEERS
	.comm	_BOND_MODE_ROUNDROBIN,8,3       ; @BOND_MODE_ROUNDROBIN
.subsections_via_symbols
