	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_rar_set
_rtl_rar_set:                           ## @rtl_rar_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_rtl_lock_work
	movq	%rbx, %rdi
	callq	_rtl_unlock_config_regs
	movq	_MAC4@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	20(%r14), %edx
	shll	$8, %edx
	orl	16(%r14), %edx
	movq	%rbx, %rdi
	callq	_RTL_W32
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_RTL_R32
	movq	_MAC0@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	4(%r14), %eax
	movl	8(%r14), %ecx
	shll	$8, %eax
	orl	(%r14), %eax
	shll	$16, %ecx
	movl	12(%r14), %edx
	shll	$24, %edx
	orl	%ecx, %edx
	orl	%eax, %edx
	movq	%rbx, %rdi
	callq	_RTL_W32
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_RTL_R32
	movq	(%rbx), %rax
	movq	_RTL_GIGA_MAC_VER_34@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_rtl_rar_exgmac_set
LBB0_2:
	movq	%rbx, %rdi
	callq	_rtl_lock_config_regs
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_unlock_work                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC4,4,2                       ## @MAC4
	.comm	_MAC0,4,2                       ## @MAC0
	.comm	_RTL_GIGA_MAC_VER_34,8,3        ## @RTL_GIGA_MAC_VER_34
	.no_dead_strip	_rtl_rar_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl_rar_set
_rtl_rar_set:                           ; @rtl_rar_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
	mov	x20, x1
	mov	x19, x0
	bl	_rtl_lock_work
	mov	x0, x19
	bl	_rtl_unlock_config_regs
Lloh0:
	adrp	x21, _MAC4@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAC4@GOTPAGEOFF]
	ldr	w1, [x21]
	ldp	w8, w9, [x20, #16]
	orr	w2, w8, w9, lsl #8
	mov	x0, x19
	bl	_RTL_W32
	ldr	w1, [x21]
	mov	x0, x19
	bl	_RTL_R32
Lloh2:
	adrp	x21, _MAC0@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MAC0@GOTPAGEOFF]
	ldr	w1, [x21]
	ldp	w8, w9, [x20]
	orr	w8, w8, w9, lsl #8
	ldp	w9, w10, [x20, #8]
	orr	w8, w8, w9, lsl #16
	orr	w2, w8, w10, lsl #24
	mov	x0, x19
	bl	_RTL_W32
	ldr	w1, [x21]
	mov	x0, x19
	bl	_RTL_R32
	ldr	x8, [x19]
Lloh4:
	adrp	x9, _RTL_GIGA_MAC_VER_34@GOTPAGE
Lloh5:
	ldr	x9, [x9, _RTL_GIGA_MAC_VER_34@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_rtl_rar_exgmac_set
LBB0_2:
	mov	x0, x19
	bl	_rtl_lock_config_regs
	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	_rtl_unlock_work
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC4,4,2                       ; @MAC4
	.comm	_MAC0,4,2                       ; @MAC0
	.comm	_RTL_GIGA_MAC_VER_34,8,3        ; @RTL_GIGA_MAC_VER_34
	.no_dead_strip	_rtl_rar_set
.subsections_via_symbols
