	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hw_atl_b0_hw_mac_addr_set
_hw_atl_b0_hw_mac_addr_set:             ## @hw_atl_b0_hw_mac_addr_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movl	(%rsi), %r15d
	shll	$8, %r15d
	orl	4(%rsi), %r15d
	movl	8(%rsi), %eax
	shll	$24, %eax
	movl	12(%rsi), %ecx
	shll	$16, %ecx
	orl	%eax, %ecx
	movl	16(%rsi), %ebx
	shll	$8, %ebx
	orl	%ecx, %ebx
	orl	20(%rsi), %ebx
	movq	_HW_ATL_B0_MAC@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	xorl	%esi, %esi
	callq	_hw_atl_rpfl2_uc_flr_en_set
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_hw_atl_rpfl2unicast_dest_addresslsw_set
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_hw_atl_rpfl2unicast_dest_addressmsw_set
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_hw_atl_rpfl2_uc_flr_en_set
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_aq_hw_err_from_flags           ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HW_ATL_B0_MAC,4,2              ## @HW_ATL_B0_MAC
	.no_dead_strip	_hw_atl_b0_hw_mac_addr_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hw_atl_b0_hw_mac_addr_set
_hw_atl_b0_hw_mac_addr_set:             ; @hw_atl_b0_hw_mac_addr_set
	.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
	cbz	x1, LBB0_2
; %bb.1:
	mov	x19, x0
	ldp	w8, w9, [x1]
	orr	w20, w9, w8, lsl #8
	ldp	w8, w9, [x1, #8]
	lsl	w9, w9, #16
	orr	w8, w9, w8, lsl #24
	ldp	w9, w10, [x1, #16]
	orr	w8, w8, w9, lsl #8
	orr	w21, w8, w10
Lloh0:
	adrp	x22, _HW_ATL_B0_MAC@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HW_ATL_B0_MAC@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	w1, #0
	bl	_hw_atl_rpfl2_uc_flr_en_set
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x21
	bl	_hw_atl_rpfl2unicast_dest_addresslsw_set
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_hw_atl_rpfl2unicast_dest_addressmsw_set
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #1
	bl	_hw_atl_rpfl2_uc_flr_en_set
	mov	x0, x19
	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	_aq_hw_err_from_flags
LBB0_2:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HW_ATL_B0_MAC,4,2              ; @HW_ATL_B0_MAC
	.no_dead_strip	_hw_atl_b0_hw_mac_addr_set
.subsections_via_symbols
