	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bond_select_active_slave       ## -- Begin function bond_select_active_slave
	.p2align	4, 0x90
_bond_select_active_slave:              ## @bond_select_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_ASSERT_RTNL
	movq	%rbx, %rdi
	callq	_bond_find_best_slave
	movq	%rax, %r14
	movl	4(%rbx), %edi
	callq	_rtnl_dereference
	cmpq	%rax, %r14
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_bond_change_active_slave
	movq	%rbx, %rdi
	callq	_bond_set_carrier
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	(%rbx), %edi
	callq	_netif_carrier_ok
	testq	%rax, %rax
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rsi
	cmoveq	%rax, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netdev_info                    ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"active interface up!\n"

L_.str.1:                               ## @.str.1
	.asciz	"now running without any active interface!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bond_select_active_slave       ; -- Begin function bond_select_active_slave
	.p2align	2
_bond_select_active_slave:              ; @bond_select_active_slave
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_ASSERT_RTNL
	mov	x0, x19
	bl	_bond_find_best_slave
	mov	x20, x0
	ldr	w0, [x19, #4]
	bl	_rtnl_dereference
	cmp	x20, x0
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_bond_change_active_slave
	mov	x0, x19
	bl	_bond_set_carrier
	cbz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x19]
	bl	_netif_carrier_ok
	ldr	w8, [x19]
Lloh0:
	adrp	x9, l_.str@PAGE
Lloh1:
	add	x9, x9, l_.str@PAGEOFF
Lloh2:
	adrp	x10, l_.str.1@PAGE
Lloh3:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	x0, #0
	csel	x1, x10, x9, eq
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netdev_info
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"active interface up!\n"

l_.str.1:                               ; @.str.1
	.asciz	"now running without any active interface!\n"

.subsections_via_symbols
