	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm3393_macaddress_set
_pm3393_macaddress_set:                 ## @pm3393_macaddress_set
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movl	(%rax), %r15d
	movl	4(%rax), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	8(%r14), %r13d
	movl	24(%r14), %eax
	shll	$8, %r13d
	orl	(%r14), %r13d
	shll	$8, %eax
	orl	16(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	40(%r14), %r12d
	shll	$8, %r12d
	orl	32(%r14), %r12d
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	_MAC_DIRECTION_RX@GOTPCREL(%rip), %rax
	movq	_MAC_DIRECTION_TX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pm3393_disable
LBB0_2:
	movq	_SUNI1x10GEXP_REG_RXXG_SA_15_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_pmwrite
	movq	_SUNI1x10GEXP_REG_RXXG_SA_31_16@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edx
	callq	_pmwrite
	movq	_SUNI1x10GEXP_REG_RXXG_SA_47_32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_pmwrite
	movq	_SUNI1x10GEXP_REG_TXXG_SA_15_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_pmwrite
	movq	_SUNI1x10GEXP_REG_TXXG_SA_31_16@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_pmwrite
	movq	_SUNI1x10GEXP_REG_TXXG_SA_47_32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_pmwrite
	movq	_SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_0@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_pmread
	movl	$65295, %edx                    ## imm = 0xFF0F
	andl	-44(%rbp), %edx
	movl	%edx, -44(%rbp)
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_pmwrite
	movq	_SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_pmwrite
	movq	_SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_MID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_pmwrite
	movq	_SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_pmwrite
	movl	$144, %edx
	orl	-44(%rbp), %edx
	movl	%edx, -44(%rbp)
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_pmwrite
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, %esi
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_pm3393_enable
LBB0_4:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_MAC_DIRECTION_RX,4,2           ## @MAC_DIRECTION_RX
	.comm	_MAC_DIRECTION_TX,4,2           ## @MAC_DIRECTION_TX
	.comm	_SUNI1x10GEXP_REG_RXXG_SA_15_0,4,2 ## @SUNI1x10GEXP_REG_RXXG_SA_15_0
	.comm	_SUNI1x10GEXP_REG_RXXG_SA_31_16,4,2 ## @SUNI1x10GEXP_REG_RXXG_SA_31_16
	.comm	_SUNI1x10GEXP_REG_RXXG_SA_47_32,4,2 ## @SUNI1x10GEXP_REG_RXXG_SA_47_32
	.comm	_SUNI1x10GEXP_REG_TXXG_SA_15_0,4,2 ## @SUNI1x10GEXP_REG_TXXG_SA_15_0
	.comm	_SUNI1x10GEXP_REG_TXXG_SA_31_16,4,2 ## @SUNI1x10GEXP_REG_TXXG_SA_31_16
	.comm	_SUNI1x10GEXP_REG_TXXG_SA_47_32,4,2 ## @SUNI1x10GEXP_REG_TXXG_SA_47_32
	.comm	_SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_0,4,2 ## @SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_0
	.comm	_SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_LOW,4,2 ## @SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_LOW
	.comm	_SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_MID,4,2 ## @SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_MID
	.comm	_SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_HIGH,4,2 ## @SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_HIGH
	.no_dead_strip	_pm3393_macaddress_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm3393_macaddress_set
_pm3393_macaddress_set:                 ; @pm3393_macaddress_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldp	w20, w0, [x8]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	w8, [x21, #8]
	ldr	w9, [x21]
	orr	w23, w9, w8, lsl #8
	ldr	w8, [x21, #24]
	ldr	w9, [x21, #16]
	orr	w22, w9, w8, lsl #8
	ldr	w8, [x21, #40]
	ldr	w9, [x21, #32]
	orr	w21, w9, w8, lsl #8
	cbz	w20, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MAC_DIRECTION_RX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAC_DIRECTION_RX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MAC_DIRECTION_TX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAC_DIRECTION_TX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_pm3393_disable
LBB0_2:
Lloh9:
	adrp	x8, _SUNI1x10GEXP_REG_RXXG_SA_15_0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SUNI1x10GEXP_REG_RXXG_SA_15_0@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x23
	bl	_pmwrite
Lloh12:
	adrp	x8, _SUNI1x10GEXP_REG_RXXG_SA_31_16@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SUNI1x10GEXP_REG_RXXG_SA_31_16@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_pmwrite
Lloh15:
	adrp	x8, _SUNI1x10GEXP_REG_RXXG_SA_47_32@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SUNI1x10GEXP_REG_RXXG_SA_47_32@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_pmwrite
Lloh18:
	adrp	x8, _SUNI1x10GEXP_REG_TXXG_SA_15_0@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SUNI1x10GEXP_REG_TXXG_SA_15_0@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x23
	bl	_pmwrite
Lloh21:
	adrp	x8, _SUNI1x10GEXP_REG_TXXG_SA_31_16@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SUNI1x10GEXP_REG_TXXG_SA_31_16@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_pmwrite
Lloh24:
	adrp	x8, _SUNI1x10GEXP_REG_TXXG_SA_47_32@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SUNI1x10GEXP_REG_TXXG_SA_47_32@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_pmwrite
Lloh27:
	adrp	x24, _SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_0@GOTPAGE
Lloh28:
	ldr	x24, [x24, _SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_0@GOTPAGEOFF]
	ldr	w1, [x24]
	add	x2, sp, #12
	mov	x0, x19
	bl	_pmread
	ldr	w8, [sp, #12]
	mov	w9, #65295
	and	w2, w8, w9
	str	w2, [sp, #12]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_pmwrite
Lloh29:
	adrp	x8, _SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_LOW@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_LOW@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x23
	bl	_pmwrite
Lloh32:
	adrp	x8, _SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_MID@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_MID@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_pmwrite
Lloh35:
	adrp	x8, _SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_HIGH@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_HIGH@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_pmwrite
	ldr	w8, [sp, #12]
	mov	w9, #144
	orr	w2, w8, w9
	str	w2, [sp, #12]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_pmwrite
	cbz	w20, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_pm3393_enable
LBB0_4:
	mov	w0, #0
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_MAC_DIRECTION_RX,4,2           ; @MAC_DIRECTION_RX
	.comm	_MAC_DIRECTION_TX,4,2           ; @MAC_DIRECTION_TX
	.comm	_SUNI1x10GEXP_REG_RXXG_SA_15_0,4,2 ; @SUNI1x10GEXP_REG_RXXG_SA_15_0
	.comm	_SUNI1x10GEXP_REG_RXXG_SA_31_16,4,2 ; @SUNI1x10GEXP_REG_RXXG_SA_31_16
	.comm	_SUNI1x10GEXP_REG_RXXG_SA_47_32,4,2 ; @SUNI1x10GEXP_REG_RXXG_SA_47_32
	.comm	_SUNI1x10GEXP_REG_TXXG_SA_15_0,4,2 ; @SUNI1x10GEXP_REG_TXXG_SA_15_0
	.comm	_SUNI1x10GEXP_REG_TXXG_SA_31_16,4,2 ; @SUNI1x10GEXP_REG_TXXG_SA_31_16
	.comm	_SUNI1x10GEXP_REG_TXXG_SA_47_32,4,2 ; @SUNI1x10GEXP_REG_TXXG_SA_47_32
	.comm	_SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_0,4,2 ; @SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_0
	.comm	_SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_LOW,4,2 ; @SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_LOW
	.comm	_SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_MID,4,2 ; @SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_MID
	.comm	_SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_HIGH,4,2 ; @SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_HIGH
	.no_dead_strip	_pm3393_macaddress_set
.subsections_via_symbols
