	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macvlan_set_mac_address
_macvlan_set_mac_address:               ## @macvlan_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movl	(%r14), %edi
	callq	_is_valid_ether_addr
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movl	(%rbx), %edi
	movl	(%r14), %esi
	callq	_ether_addr_equal
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_3
## %bb.5:
	movq	(%r15), %rax
	movq	_MACVLAN_MODE_PASSTHRU@GOTPCREL(%rip), %rcx
	movl	8(%r15), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.9:
	callq	_macvlan_set_addr_change
	movl	12(%r15), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_set_mac_address            ## TAILCALL
LBB0_1:
	movq	_EADDRNOTAVAIL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	(%r14), %esi
	callq	_macvlan_addr_busy
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_EADDRINUSE@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_8:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_macvlan_sync_address           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EADDRNOTAVAIL,4,2              ## @EADDRNOTAVAIL
	.comm	_MACVLAN_MODE_PASSTHRU,8,3      ## @MACVLAN_MODE_PASSTHRU
	.comm	_EADDRINUSE,4,2                 ## @EADDRINUSE
	.no_dead_strip	_macvlan_set_mac_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macvlan_set_mac_address
_macvlan_set_mac_address:               ; @macvlan_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	x19, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x21, x0
	ldr	w0, [x19]
	bl	_is_valid_ether_addr
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w0, [x20]
	ldr	w1, [x19]
	bl	_ether_addr_equal
	cbz	x0, LBB0_6
; %bb.2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _EADDRNOTAVAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EADDRNOTAVAIL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
LBB0_6:
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _MACVLAN_MODE_PASSTHRU@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MACVLAN_MODE_PASSTHRU@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	w0, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	bl	_macvlan_set_addr_change
	ldr	w0, [x21, #12]
	mov	x1, x19
	mov	x2, #0
	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
	b	_dev_set_mac_address
LBB0_8:
	ldr	w1, [x19]
	bl	_macvlan_addr_busy
	cbz	x0, LBB0_10
; %bb.9:
Lloh5:
	adrp	x8, _EADDRINUSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EADDRINUSE@GOTPAGEOFF]
	b	LBB0_4
LBB0_10:
	ldr	w1, [x19]
	mov	x0, x20
	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
	b	_macvlan_sync_address
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EADDRNOTAVAIL,4,2              ; @EADDRNOTAVAIL
	.comm	_MACVLAN_MODE_PASSTHRU,8,3      ; @MACVLAN_MODE_PASSTHRU
	.comm	_EADDRINUSE,4,2                 ; @EADDRINUSE
	.no_dead_strip	_macvlan_set_mac_address
.subsections_via_symbols
