	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ionic_set_mac_address
_ionic_set_mac_address:                 ## @ionic_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, %r15
	movq	%rdi, %rbx
	movq	(%rsi), %r14
	movq	(%rdi), %rdi
	movq	%r14, %rsi
	callq	_ether_addr_equal
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_eth_prepare_mac_addr_change
	testl	%eax, %eax
	je	LBB0_2
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	(%rbx), %rdi
	callq	_is_zero_ether_addr
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_netdev_info
	movq	(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_ionic_addr_del
LBB0_4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_eth_commit_mac_addr_change
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_netdev_info
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ionic_addr_add                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"deleting mac addr %pM\n"

L_.str.1:                               ## @.str.1
	.asciz	"updating mac addr %pM\n"

	.no_dead_strip	_ionic_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 ionic_set_mac_address
_ionic_set_mac_address:                 ; @ionic_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	x19, x0
	ldr	x20, [x1]
	ldr	x0, [x0]
	mov	x1, x20
	bl	_ether_addr_equal
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	bl	_eth_prepare_mac_addr_change
	cbz	w0, LBB0_4
LBB0_3:
	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_4:
	ldr	x0, [x19]
	bl	_is_zero_ether_addr
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	x2, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
	ldr	x1, [x19]
	mov	x0, x19
	bl	_ionic_addr_del
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	bl	_eth_commit_mac_addr_change
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_netdev_info
	mov	x0, x19
	mov	x1, 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	_ionic_addr_add
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"deleting mac addr %pM\n"

l_.str.1:                               ; @.str.1
	.asciz	"updating mac addr %pM\n"

	.no_dead_strip	_ionic_set_mac_address
.subsections_via_symbols
