	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alb_fasten_mac_swap
_alb_fasten_mac_swap:                   ## @alb_fasten_mac_swap
	.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	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_bond_slave_can_tx
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_bond_slave_can_tx
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_ASSERT_RTNL
	movq	%rbx, %rdi
	callq	_bond_slave_can_tx
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_alb_send_learning_packets
	cmpq	$0, (%r14)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_rlb_req_update_slave_clients
LBB0_3:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%r13, %rdi
	callq	_bond_slave_can_tx
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	(%r13), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_alb_send_learning_packets
	cmpq	$0, (%r14)
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_rlb_req_update_slave_clients
LBB0_8:
	cmpq	$0, (%r14)
	jne	LBB0_9
	jmp	LBB0_10
LBB0_5:
	movq	%r13, %rbx
	cmpq	$0, (%r14)
	je	LBB0_10
LBB0_9:
	cmpq	%r12, %r15
	je	LBB0_10
## %bb.11:
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rlb_teach_disabled_mac_on_primary ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_alb_fasten_mac_swap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alb_fasten_mac_swap
_alb_fasten_mac_swap:                   ; @alb_fasten_mac_swap
	.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	x23, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_bond_slave_can_tx
	mov	x21, x0
	mov	x0, x23
	bl	_bond_slave_can_tx
	mov	x22, x0
	bl	_ASSERT_RTNL
	mov	x0, x20
	bl	_bond_slave_can_tx
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x20]
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_alb_send_learning_packets
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_rlb_req_update_slave_clients
LBB0_3:
	mov	x20, #0
LBB0_4:
	mov	x0, x23
	bl	_bond_slave_can_tx
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x8, [x23]
	ldr	w1, [x8]
	mov	x0, x23
	mov	w2, #0
	bl	_alb_send_learning_packets
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x23
	bl	_rlb_req_update_slave_clients
LBB0_7:
	ldr	x8, [x19]
	cbnz	x8, LBB0_9
	b	LBB0_11
LBB0_8:
	mov	x20, x23
	ldr	x8, [x19]
	cbz	x8, LBB0_11
LBB0_9:
	cmp	x21, x22
	b.eq	LBB0_11
; %bb.10:
	ldr	x8, [x20]
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_rlb_teach_disabled_mac_on_primary
LBB0_11:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_alb_fasten_mac_swap
.subsections_via_symbols
