	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ksz9477_port_mmd_write
_ksz9477_port_mmd_write:                ## @ksz9477_port_mmd_write
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_REG_PORT_PHY_MMD_SETUP@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_PORT_MMD_OP_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edx, %esi
	callq	_MMD_SETUP
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_ksz_pwrite16
	movq	_REG_PORT_PHY_MMD_INDEX_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r13d, %ecx
	callq	_ksz_pwrite16
	movq	_REG_PORT_PHY_MMD_SETUP@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_PORT_MMD_OP_DATA_NO_INCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	callq	_MMD_SETUP
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_ksz_pwrite16
	movq	_REG_PORT_PHY_MMD_INDEX_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ksz_pwrite16                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_PORT_PHY_MMD_SETUP,4,2     ## @REG_PORT_PHY_MMD_SETUP
	.comm	_PORT_MMD_OP_INDEX,4,2          ## @PORT_MMD_OP_INDEX
	.comm	_REG_PORT_PHY_MMD_INDEX_DATA,4,2 ## @REG_PORT_PHY_MMD_INDEX_DATA
	.comm	_PORT_MMD_OP_DATA_NO_INCR,4,2   ## @PORT_MMD_OP_DATA_NO_INCR
	.no_dead_strip	_ksz9477_port_mmd_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ksz9477_port_mmd_write
_ksz9477_port_mmd_write:                ; @ksz9477_port_mmd_write
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x25, _REG_PORT_PHY_MMD_SETUP@GOTPAGE
Lloh1:
	ldr	x25, [x25, _REG_PORT_PHY_MMD_SETUP@GOTPAGEOFF]
	ldr	w24, [x25]
Lloh2:
	adrp	x8, _PORT_MMD_OP_INDEX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PORT_MMD_OP_INDEX@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x2
	bl	_MMD_SETUP
	mov	x3, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	bl	_ksz_pwrite16
Lloh5:
	adrp	x24, _REG_PORT_PHY_MMD_INDEX_DATA@GOTPAGE
Lloh6:
	ldr	x24, [x24, _REG_PORT_PHY_MMD_INDEX_DATA@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x23
	mov	x1, x22
	mov	x3, x20
	bl	_ksz_pwrite16
	ldr	w20, [x25]
Lloh7:
	adrp	x8, _PORT_MMD_OP_DATA_NO_INCR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PORT_MMD_OP_DATA_NO_INCR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_MMD_SETUP
	mov	x3, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	bl	_ksz_pwrite16
	ldr	w2, [x24]
	mov	x0, x23
	mov	x1, x22
	mov	x3, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ksz_pwrite16
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_PORT_PHY_MMD_SETUP,4,2     ; @REG_PORT_PHY_MMD_SETUP
	.comm	_PORT_MMD_OP_INDEX,4,2          ; @PORT_MMD_OP_INDEX
	.comm	_REG_PORT_PHY_MMD_INDEX_DATA,4,2 ; @REG_PORT_PHY_MMD_INDEX_DATA
	.comm	_PORT_MMD_OP_DATA_NO_INCR,4,2   ; @PORT_MMD_OP_DATA_NO_INCR
	.no_dead_strip	_ksz9477_port_mmd_write
.subsections_via_symbols
