	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jme_set_macaddr
_jme_set_macaddr:                       ## @jme_set_macaddr
	.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	_netdev_priv
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movl	(%rbx), %edx
	movl	4(%rbx), %edi
	movq	(%r14), %rsi
	callq	_memcpy
	movq	(%r14), %rax
	movl	12(%rax), %ecx
	shll	$24, %ecx
	movl	4(%rax), %edx
	movl	8(%rax), %esi
	movzbl	%sil, %esi
	shll	$16, %esi
	orl	%ecx, %esi
	shll	$8, %edx
	movzwl	%dx, %ecx
	orl	%esi, %ecx
	movzbl	(%rax), %edx
	orl	%ecx, %edx
	movq	_JME_RXUMA_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_jwrite32
	movq	(%r14), %rax
	movl	20(%rax), %ecx
	shll	$8, %ecx
	movzwl	%cx, %ecx
	movzbl	16(%rax), %edx
	orl	%ecx, %edx
	movq	_JME_RXUMA_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_jwrite32
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_JME_RXUMA_LO,4,2               ## @JME_RXUMA_LO
	.comm	_JME_RXUMA_HI,4,2               ## @JME_RXUMA_HI
	.no_dead_strip	_jme_set_macaddr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jme_set_macaddr
_jme_set_macaddr:                       ; @jme_set_macaddr
	.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	x21, x0
	bl	_netdev_priv
	mov	x19, x0
	mov	x0, x21
	bl	_netif_running
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EBUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	x1, [x20]
	ldp	w2, w0, [x21]
	bl	_memcpy
	ldr	x8, [x20]
	ldp	w10, w9, [x8, #8]
	lsl	w9, w9, #24
	ldr	w11, [x8, #4]
	bfi	w9, w10, #16, #8
	bfi	w9, w11, #8, #8
	ldrb	w8, [x8]
	orr	w2, w9, w8
Lloh3:
	adrp	x8, _JME_RXUMA_LO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _JME_RXUMA_LO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_jwrite32
	ldr	x8, [x20]
	ldr	w9, [x8, #20]
	ldrb	w2, [x8, #16]
	bfi	w2, w9, #8, #8
Lloh6:
	adrp	x8, _JME_RXUMA_HI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _JME_RXUMA_HI@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_jwrite32
	mov	x0, x19
	bl	_spin_unlock_bh
	mov	w0, #0
LBB0_3:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_JME_RXUMA_LO,4,2               ; @JME_RXUMA_LO
	.comm	_JME_RXUMA_HI,4,2               ; @JME_RXUMA_HI
	.no_dead_strip	_jme_set_macaddr
.subsections_via_symbols
