	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lan743x_mac_set_address
_lan743x_mac_set_address:               ## @lan743x_mac_set_address
	.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, %r15
	movq	%rdi, %r14
	movl	4(%rsi), %eax
	shll	$8, %eax
	orl	(%rsi), %eax
	movl	8(%rsi), %ecx
	shll	$16, %ecx
	movl	12(%rsi), %edx
	shll	$24, %edx
	orl	%ecx, %edx
	orl	%eax, %edx
	movl	20(%rsi), %ebx
	shll	$8, %ebx
	orl	16(%rsi), %ebx
	movq	_MAC_RX_ADDRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_lan743x_csr_write
	movq	_MAC_RX_ADDRH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_lan743x_csr_write
	movl	4(%r14), %edi
	movq	%r15, %rsi
	callq	_ether_addr_copy
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movq	%r15, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_info                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_RX_ADDRL,4,2               ## @MAC_RX_ADDRL
	.comm	_MAC_RX_ADDRH,4,2               ## @MAC_RX_ADDRH
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC address set to %pM\n"

	.no_dead_strip	_lan743x_mac_set_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lan743x_mac_set_address
_lan743x_mac_set_address:               ; @lan743x_mac_set_address
	.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	x19, x1
	mov	x20, x0
	ldp	w8, w9, [x1]
	orr	w8, w8, w9, lsl #8
	ldp	w9, w10, [x1, #8]
	orr	w8, w8, w9, lsl #16
	orr	w2, w8, w10, lsl #24
	ldp	w8, w9, [x1, #16]
	orr	w21, w8, w9, lsl #8
Lloh0:
	adrp	x8, _MAC_RX_ADDRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAC_RX_ADDRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_lan743x_csr_write
Lloh3:
	adrp	x8, _MAC_RX_ADDRH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAC_RX_ADDRH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_lan743x_csr_write
	ldr	w0, [x20, #4]
	mov	x1, x19
	bl	_ether_addr_copy
Lloh6:
	adrp	x8, _drv@GOTPAGE
Lloh7:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	ldr	w2, [x20]
	mov	x0, x20
	mov	x4, 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	_netif_info
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_RX_ADDRL,4,2               ; @MAC_RX_ADDRL
	.comm	_MAC_RX_ADDRH,4,2               ; @MAC_RX_ADDRH
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC address set to %pM\n"

	.no_dead_strip	_lan743x_mac_set_address
.subsections_via_symbols
