	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bond_alb_set_mac_address       ## -- Begin function bond_alb_set_mac_address
	.p2align	4, 0x90
_bond_alb_set_mac_address:              ## @bond_alb_set_mac_address
	.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, %rbx
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movl	(%rbx), %edi
	callq	_is_valid_ether_addr
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_alb_set_mac_address
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movl	(%rbx), %esi
	movl	(%r15), %edi
	movl	4(%r15), %edx
	callq	_bond_hw_addr_copy
	movl	8(%r14), %edi
	callq	_rtnl_dereference
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%rax, %r12
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_bond_slave_has_mac
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_alb_swap_mac_addr
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_alb_fasten_mac_swap
	jmp	LBB0_8
LBB0_1:
	movq	_EADDRNOTAVAIL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_8:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	(%r15), %esi
	movl	4(%r15), %edx
	movq	%r12, %rdi
	callq	_alb_set_slave_mac_addr
	movl	(%r15), %esi
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_alb_send_learning_packets
	cmpq	$0, (%r14)
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_rlb_req_update_slave_clients
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EADDRNOTAVAIL,4,2              ## @EADDRNOTAVAIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bond_alb_set_mac_address       ; -- Begin function bond_alb_set_mac_address
	.p2align	2
_bond_alb_set_mac_address:              ; @bond_alb_set_mac_address
	.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	x21, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w0, [x21]
	bl	_is_valid_ether_addr
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	bl	_alb_set_mac_address
	cbnz	w0, LBB0_9
; %bb.2:
	ldr	w1, [x21]
	ldp	w0, w2, [x20]
	bl	_bond_hw_addr_copy
	ldr	w0, [x19, #8]
	bl	_rtnl_dereference
	cbz	x0, LBB0_9
; %bb.3:
	mov	x21, x0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_bond_slave_has_mac
	cbz	x0, LBB0_6
; %bb.4:
	mov	x22, x0
	mov	x1, x21
	bl	_alb_swap_mac_addr
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_alb_fasten_mac_swap
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x8, _EADDRNOTAVAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EADDRNOTAVAIL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_6:
	ldp	w1, w2, [x20]
	mov	x0, x21
	bl	_alb_set_slave_mac_addr
	ldr	w1, [x20]
	mov	x0, x21
	mov	w2, #0
	bl	_alb_send_learning_packets
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x21
	bl	_rlb_req_update_slave_clients
LBB0_8:
	mov	w0, #0
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_EADDRNOTAVAIL,4,2              ; @EADDRNOTAVAIL
.subsections_via_symbols
