	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jme_reset_phy_processor
_jme_reset_phy_processor:               ## @jme_reset_phy_processor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	movl	4(%rdi), %edi
	movq	_MII_ADVERTISE@GOTPCREL(%rip), %rax
	movq	_ADVERTISE_ALL@GOTPCREL(%rip), %rdx
	movq	_ADVERTISE_PAUSE_CAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movl	(%rax), %edx
	movq	_ADVERTISE_PAUSE_ASYM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	callq	_jme_mdio_write
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	_PCI_DEVICE_ID_JMICRON_JMC250@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movq	_MII_CTRL1000@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ADVERTISE_1000FULL@GOTPCREL(%rip), %rax
	movq	_ADVERTISE_1000HALF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	callq	_jme_mdio_write
LBB0_2:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movq	_MII_BMCR@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_jme_mdio_read
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movl	(%r14), %edx
	movq	_BMCR_RESET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_jme_mdio_write                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MII_ADVERTISE,4,2              ## @MII_ADVERTISE
	.comm	_ADVERTISE_ALL,4,2              ## @ADVERTISE_ALL
	.comm	_ADVERTISE_PAUSE_CAP,4,2        ## @ADVERTISE_PAUSE_CAP
	.comm	_ADVERTISE_PAUSE_ASYM,4,2       ## @ADVERTISE_PAUSE_ASYM
	.comm	_PCI_DEVICE_ID_JMICRON_JMC250,8,3 ## @PCI_DEVICE_ID_JMICRON_JMC250
	.comm	_MII_CTRL1000,4,2               ## @MII_CTRL1000
	.comm	_ADVERTISE_1000FULL,4,2         ## @ADVERTISE_1000FULL
	.comm	_ADVERTISE_1000HALF,4,2         ## @ADVERTISE_1000HALF
	.comm	_MII_BMCR,4,2                   ## @MII_BMCR
	.comm	_BMCR_RESET,4,2                 ## @BMCR_RESET
	.no_dead_strip	_jme_reset_phy_processor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jme_reset_phy_processor
_jme_reset_phy_processor:               ; @jme_reset_phy_processor
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #4]
	ldr	w1, [x19]
Lloh0:
	adrp	x8, _MII_ADVERTISE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MII_ADVERTISE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _ADVERTISE_ALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADVERTISE_ALL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ADVERTISE_PAUSE_CAP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ADVERTISE_PAUSE_CAP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _ADVERTISE_PAUSE_ASYM@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ADVERTISE_PAUSE_ASYM@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w3, w8, w9
	bl	_jme_mdio_write
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _PCI_DEVICE_ID_JMICRON_JMC250@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PCI_DEVICE_ID_JMICRON_JMC250@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldp	w1, w0, [x19]
Lloh15:
	adrp	x8, _MII_CTRL1000@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MII_CTRL1000@GOTPAGEOFF]
Lloh17:
	adrp	x9, _ADVERTISE_1000FULL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ADVERTISE_1000FULL@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	ldr	w8, [x9]
Lloh21:
	adrp	x9, _ADVERTISE_1000HALF@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ADVERTISE_1000HALF@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w3, w9, w8
	bl	_jme_mdio_write
LBB0_2:
	ldp	w1, w0, [x19]
Lloh24:
	adrp	x20, _MII_BMCR@GOTPAGE
Lloh25:
	ldr	x20, [x20, _MII_BMCR@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_jme_mdio_read
	ldp	w1, w8, [x19]
	ldr	w2, [x20]
Lloh26:
	adrp	x9, _BMCR_RESET@GOTPAGE
Lloh27:
	ldr	x9, [x9, _BMCR_RESET@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w3, w9, w0
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_jme_mdio_write
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MII_ADVERTISE,4,2              ; @MII_ADVERTISE
	.comm	_ADVERTISE_ALL,4,2              ; @ADVERTISE_ALL
	.comm	_ADVERTISE_PAUSE_CAP,4,2        ; @ADVERTISE_PAUSE_CAP
	.comm	_ADVERTISE_PAUSE_ASYM,4,2       ; @ADVERTISE_PAUSE_ASYM
	.comm	_PCI_DEVICE_ID_JMICRON_JMC250,8,3 ; @PCI_DEVICE_ID_JMICRON_JMC250
	.comm	_MII_CTRL1000,4,2               ; @MII_CTRL1000
	.comm	_ADVERTISE_1000FULL,4,2         ; @ADVERTISE_1000FULL
	.comm	_ADVERTISE_1000HALF,4,2         ; @ADVERTISE_1000HALF
	.comm	_MII_BMCR,4,2                   ; @MII_BMCR
	.comm	_BMCR_RESET,4,2                 ; @BMCR_RESET
	.no_dead_strip	_jme_reset_phy_processor
.subsections_via_symbols
