	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nx_p3_sre_macaddr_change
_nx_p3_sre_macaddr_change:              ## @nx_p3_sre_macaddr_change
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_NX_NIC_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$23, %edi
	callq	_cpu_to_le64
	movq	%rax, -40(%rbp)
	movq	_NX_MAC_EVENT@GOTPCREL(%rip), %rax
	movl	(%rbx), %edi
	shll	$16, %edi
	orl	(%rax), %edi
	callq	_cpu_to_le64
	movq	%rax, -48(%rbp)
	movq	-56(%rbp), %rax
	movl	%r12d, (%rax)
	movl	4(%rax), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_memcpy
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_netxen_send_cmd_descs
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NX_NIC_REQUEST,4,2             ## @NX_NIC_REQUEST
	.comm	_NX_MAC_EVENT,4,2               ## @NX_MAC_EVENT
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_nx_p3_sre_macaddr_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nx_p3_sre_macaddr_change
_nx_p3_sre_macaddr_change:              ; @nx_p3_sre_macaddr_change
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x20, x1
	mov	x21, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _NX_NIC_REQUEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NX_NIC_REQUEST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w0, w8, #23
	bl	_cpu_to_le64
	str	x0, [sp, #24]
Lloh3:
	adrp	x8, _NX_MAC_EVENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NX_MAC_EVENT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w0, w8, w9, lsl #16
	bl	_cpu_to_le64
	str	x0, [sp, #16]
	ldr	x8, [sp, #8]
	str	w19, [x8]
	ldr	w0, [x8, #4]
Lloh6:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_memcpy
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #1
	bl	_netxen_send_cmd_descs
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NX_NIC_REQUEST,4,2             ; @NX_NIC_REQUEST
	.comm	_NX_MAC_EVENT,4,2               ; @NX_MAC_EVENT
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_nx_p3_sre_macaddr_change
.subsections_via_symbols
