	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_sgmii_internal_phy_base_x
_setup_sgmii_internal_phy_base_x:       ## @setup_sgmii_internal_phy_base_x
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_MDIO_SGMII_DEV_ABIL_BASEX_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rdi), %edi
	movq	_MDIO_SGMII_DEV_ABIL_SGMII@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_phy_write
	movl	(%rbx), %edi
	movq	_MDIO_SGMII_LINK_TMR_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LINK_TMR_H_BASEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_phy_write
	movl	(%rbx), %edi
	movq	_MDIO_SGMII_LINK_TMR_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LINK_TMR_L_BASEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_phy_write
	movq	_SGMII_CR_DEF_VAL@GOTPCREL(%rip), %rax
	movq	_SGMII_CR_RESTART_AN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	(%rbx), %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_phy_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_SGMII_DEV_ABIL_BASEX_MODE,4,2 ## @MDIO_SGMII_DEV_ABIL_BASEX_MODE
	.comm	_MDIO_SGMII_DEV_ABIL_SGMII,4,2  ## @MDIO_SGMII_DEV_ABIL_SGMII
	.comm	_MDIO_SGMII_LINK_TMR_H,4,2      ## @MDIO_SGMII_LINK_TMR_H
	.comm	_LINK_TMR_H_BASEX,4,2           ## @LINK_TMR_H_BASEX
	.comm	_MDIO_SGMII_LINK_TMR_L,4,2      ## @MDIO_SGMII_LINK_TMR_L
	.comm	_LINK_TMR_L_BASEX,4,2           ## @LINK_TMR_L_BASEX
	.comm	_SGMII_CR_DEF_VAL,4,2           ## @SGMII_CR_DEF_VAL
	.comm	_SGMII_CR_RESTART_AN,4,2        ## @SGMII_CR_RESTART_AN
	.no_dead_strip	_setup_sgmii_internal_phy_base_x
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_sgmii_internal_phy_base_x
_setup_sgmii_internal_phy_base_x:       ; @setup_sgmii_internal_phy_base_x
	.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
Lloh0:
	adrp	x8, _MDIO_SGMII_DEV_ABIL_BASEX_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MDIO_SGMII_DEV_ABIL_BASEX_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	ldr	w0, [x0]
Lloh3:
	adrp	x8, _MDIO_SGMII_DEV_ABIL_SGMII@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MDIO_SGMII_DEV_ABIL_SGMII@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_phy_write
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _MDIO_SGMII_LINK_TMR_H@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MDIO_SGMII_LINK_TMR_H@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _LINK_TMR_H_BASEX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LINK_TMR_H_BASEX@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_phy_write
	ldr	w0, [x19]
Lloh12:
	adrp	x8, _MDIO_SGMII_LINK_TMR_L@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MDIO_SGMII_LINK_TMR_L@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _LINK_TMR_L_BASEX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LINK_TMR_L_BASEX@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	bl	_phy_write
Lloh18:
	adrp	x8, _SGMII_CR_DEF_VAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SGMII_CR_DEF_VAL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _SGMII_CR_RESTART_AN@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SGMII_CR_RESTART_AN@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w2, w9, w8
	ldr	w0, [x19]
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_phy_write
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_SGMII_DEV_ABIL_BASEX_MODE,4,2 ; @MDIO_SGMII_DEV_ABIL_BASEX_MODE
	.comm	_MDIO_SGMII_DEV_ABIL_SGMII,4,2  ; @MDIO_SGMII_DEV_ABIL_SGMII
	.comm	_MDIO_SGMII_LINK_TMR_H,4,2      ; @MDIO_SGMII_LINK_TMR_H
	.comm	_LINK_TMR_H_BASEX,4,2           ; @LINK_TMR_H_BASEX
	.comm	_MDIO_SGMII_LINK_TMR_L,4,2      ; @MDIO_SGMII_LINK_TMR_L
	.comm	_LINK_TMR_L_BASEX,4,2           ; @LINK_TMR_L_BASEX
	.comm	_SGMII_CR_DEF_VAL,4,2           ; @SGMII_CR_DEF_VAL
	.comm	_SGMII_CR_RESTART_AN,4,2        ; @SGMII_CR_RESTART_AN
	.no_dead_strip	_setup_sgmii_internal_phy_base_x
.subsections_via_symbols
