	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alb_set_slave_mac_addr
_alb_set_slave_mac_addr:                ## @alb_set_slave_mac_addr
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	8(%rdi), %r14
	movq	(%rdi), %rdi
	callq	_BOND_MODE
	movq	_BOND_MODE_TLB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	4(%r14), %edi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movl	(%r14), %eax
	movl	%eax, -40(%rbp)
	xorl	%ebx, %ebx
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_dev_set_mac_address
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%r12), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rsi
	callq	_slave_err
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BOND_MODE_TLB,8,3              ## @BOND_MODE_TLB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dev_set_mac_address on slave failed! ALB mode requires that the base driver support setting the hw address also when the network device's interface is open\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_alb_set_slave_mac_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alb_set_slave_mac_addr
_alb_set_slave_mac_addr:                ; @alb_set_slave_mac_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldp	x0, x19, [x0]
	bl	_BOND_MODE
Lloh0:
	adrp	x8, _BOND_MODE_TLB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BOND_MODE_TLB@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
	mov	x1, x22
	mov	x2, x21
	bl	_memcpy
	mov	w0, #0
	b	LBB0_4
LBB0_2:
	mov	x1, x22
	mov	x2, x21
	bl	_memcpy
	ldr	w8, [x19]
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, #0
	bl	_dev_set_mac_address
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x19
	bl	_slave_err
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_BOND_MODE_TLB,8,3              ; @BOND_MODE_TLB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dev_set_mac_address on slave failed! ALB mode requires that the base driver support setting the hw address also when the network device's interface is open\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_alb_set_slave_mac_addr
.subsections_via_symbols
