	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_ethernet_addr
_set_ethernet_addr:                     ## @set_ethernet_addr
	.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	%rdi, %rbx
	movq	8(%rdi), %r14
	leaq	-32(%rbp), %rsi
	callq	_determine_ethernet_addr
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movq	_RTL_VER_01@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movl	(%r14), %edi
	movl	-32(%rbp), %esi
	callq	_ether_addr_copy
	jmp	LBB0_4
LBB0_3:
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_rtl8152_set_mac_address
	movl	%eax, %r15d
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTL_VER_01,8,3                 ## @RTL_VER_01
	.no_dead_strip	_set_ethernet_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_ethernet_addr
_set_ethernet_addr:                     ; @set_ethernet_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	ldr	x20, [x0, #8]
	add	x1, sp, #8
	bl	_determine_ethernet_addr
	mov	x19, x0
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _RTL_VER_01@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RTL_VER_01@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x20]
	ldr	w1, [sp, #8]
	bl	_ether_addr_copy
	b	LBB0_4
LBB0_3:
	add	x1, sp, #8
	mov	x0, x20
	bl	_rtl8152_set_mac_address
	mov	x19, x0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RTL_VER_01,8,3                 ; @RTL_VER_01
	.no_dead_strip	_set_ethernet_addr
.subsections_via_symbols
