	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tsi108_reset_ether
_tsi108_reset_ether:                    ## @tsi108_reset_ether
	.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	_TSI108_MAC_CFG1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_TSI108_MAC_CFG1_SOFTRST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_TSI_WRITE
	movl	$100, %edi
	callq	_udelay
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_TSI_WRITE
	movq	_TSI108_EC_PORTCTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_TSI108_EC_PORTCTRL_STATRST@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_TSI_WRITE
	movl	$100, %edi
	callq	_udelay
	movl	(%rbx), %ebx
	movl	%ebx, %edi
	callq	_TSI_READ
	movl	(%r14), %esi
	notl	%esi
	andl	%eax, %esi
	movl	%ebx, %edi
	callq	_TSI_WRITE
	movq	_TSI108_EC_TXCFG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_TSI108_EC_TXCFG_RST@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_TSI_WRITE
	movl	$100, %edi
	callq	_udelay
	movl	(%rbx), %ebx
	movl	%ebx, %edi
	callq	_TSI_READ
	movl	(%r14), %esi
	notl	%esi
	andl	%eax, %esi
	movl	%ebx, %edi
	callq	_TSI_WRITE
	movq	_TSI108_EC_RXCFG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_TSI108_EC_RXCFG_RST@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_TSI_WRITE
	movl	$100, %edi
	callq	_udelay
	movl	(%rbx), %ebx
	movl	%ebx, %edi
	callq	_TSI_READ
	movl	(%r14), %esi
	notl	%esi
	andl	%eax, %esi
	movl	%ebx, %edi
	callq	_TSI_WRITE
	movq	_TSI108_MAC_MII_MGMT_CFG@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movl	%ebx, %edi
	callq	_TSI_READ
	movq	_TSI108_MAC_MII_MGMT_RST@GOTPCREL(%rip), %r15
	orl	(%r15), %eax
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_TSI_WRITE
	movl	$100, %edi
	callq	_udelay
	movl	(%r14), %ebx
	movl	%ebx, %edi
	callq	_TSI_READ
	movq	_TSI108_MAC_MII_MGMT_CLK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%r15), %esi
	notl	%esi
	andl	%eax, %esi
	orl	$7, %esi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_TSI_WRITE                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TSI108_MAC_CFG1,4,2            ## @TSI108_MAC_CFG1
	.comm	_TSI108_MAC_CFG1_SOFTRST,4,2    ## @TSI108_MAC_CFG1_SOFTRST
	.comm	_TSI108_EC_PORTCTRL,4,2         ## @TSI108_EC_PORTCTRL
	.comm	_TSI108_EC_PORTCTRL_STATRST,4,2 ## @TSI108_EC_PORTCTRL_STATRST
	.comm	_TSI108_EC_TXCFG,4,2            ## @TSI108_EC_TXCFG
	.comm	_TSI108_EC_TXCFG_RST,4,2        ## @TSI108_EC_TXCFG_RST
	.comm	_TSI108_EC_RXCFG,4,2            ## @TSI108_EC_RXCFG
	.comm	_TSI108_EC_RXCFG_RST,4,2        ## @TSI108_EC_RXCFG_RST
	.comm	_TSI108_MAC_MII_MGMT_CFG,4,2    ## @TSI108_MAC_MII_MGMT_CFG
	.comm	_TSI108_MAC_MII_MGMT_RST,4,2    ## @TSI108_MAC_MII_MGMT_RST
	.comm	_TSI108_MAC_MII_MGMT_CLK,4,2    ## @TSI108_MAC_MII_MGMT_CLK
	.no_dead_strip	_tsi108_reset_ether
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tsi108_reset_ether
_tsi108_reset_ether:                    ; @tsi108_reset_ether
	.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
Lloh0:
	adrp	x19, _TSI108_MAC_CFG1@GOTPAGE
Lloh1:
	ldr	x19, [x19, _TSI108_MAC_CFG1@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _TSI108_MAC_CFG1_SOFTRST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TSI108_MAC_CFG1_SOFTRST@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_TSI_WRITE
	mov	w0, #100
	bl	_udelay
	ldr	w0, [x19]
	mov	w1, #0
	bl	_TSI_WRITE
Lloh5:
	adrp	x19, _TSI108_EC_PORTCTRL@GOTPAGE
Lloh6:
	ldr	x19, [x19, _TSI108_EC_PORTCTRL@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh7:
	adrp	x20, _TSI108_EC_PORTCTRL_STATRST@GOTPAGE
Lloh8:
	ldr	x20, [x20, _TSI108_EC_PORTCTRL_STATRST@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_TSI_WRITE
	mov	w0, #100
	bl	_udelay
	ldr	w19, [x19]
	mov	x0, x19
	bl	_TSI_READ
	ldr	w8, [x20]
	bic	w1, w0, w8
	mov	x0, x19
	bl	_TSI_WRITE
Lloh9:
	adrp	x19, _TSI108_EC_TXCFG@GOTPAGE
Lloh10:
	ldr	x19, [x19, _TSI108_EC_TXCFG@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh11:
	adrp	x20, _TSI108_EC_TXCFG_RST@GOTPAGE
Lloh12:
	ldr	x20, [x20, _TSI108_EC_TXCFG_RST@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_TSI_WRITE
	mov	w0, #100
	bl	_udelay
	ldr	w19, [x19]
	mov	x0, x19
	bl	_TSI_READ
	ldr	w8, [x20]
	bic	w1, w0, w8
	mov	x0, x19
	bl	_TSI_WRITE
Lloh13:
	adrp	x19, _TSI108_EC_RXCFG@GOTPAGE
Lloh14:
	ldr	x19, [x19, _TSI108_EC_RXCFG@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh15:
	adrp	x20, _TSI108_EC_RXCFG_RST@GOTPAGE
Lloh16:
	ldr	x20, [x20, _TSI108_EC_RXCFG_RST@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_TSI_WRITE
	mov	w0, #100
	bl	_udelay
	ldr	w19, [x19]
	mov	x0, x19
	bl	_TSI_READ
	ldr	w8, [x20]
	bic	w1, w0, w8
	mov	x0, x19
	bl	_TSI_WRITE
Lloh17:
	adrp	x20, _TSI108_MAC_MII_MGMT_CFG@GOTPAGE
Lloh18:
	ldr	x20, [x20, _TSI108_MAC_MII_MGMT_CFG@GOTPAGEOFF]
	ldr	w19, [x20]
	mov	x0, x19
	bl	_TSI_READ
Lloh19:
	adrp	x21, _TSI108_MAC_MII_MGMT_RST@GOTPAGE
Lloh20:
	ldr	x21, [x21, _TSI108_MAC_MII_MGMT_RST@GOTPAGEOFF]
	ldr	w8, [x21]
	orr	w1, w8, w0
	mov	x0, x19
	bl	_TSI_WRITE
	mov	w0, #100
	bl	_udelay
	ldr	w19, [x20]
	mov	x0, x19
	bl	_TSI_READ
	ldr	w8, [x21]
Lloh21:
	adrp	x9, _TSI108_MAC_MII_MGMT_CLK@GOTPAGE
Lloh22:
	ldr	x9, [x9, _TSI108_MAC_MII_MGMT_CLK@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w8, w0, w8
	orr	w1, w8, #0x7
	mov	x0, 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	_TSI_WRITE
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TSI108_MAC_CFG1,4,2            ; @TSI108_MAC_CFG1
	.comm	_TSI108_MAC_CFG1_SOFTRST,4,2    ; @TSI108_MAC_CFG1_SOFTRST
	.comm	_TSI108_EC_PORTCTRL,4,2         ; @TSI108_EC_PORTCTRL
	.comm	_TSI108_EC_PORTCTRL_STATRST,4,2 ; @TSI108_EC_PORTCTRL_STATRST
	.comm	_TSI108_EC_TXCFG,4,2            ; @TSI108_EC_TXCFG
	.comm	_TSI108_EC_TXCFG_RST,4,2        ; @TSI108_EC_TXCFG_RST
	.comm	_TSI108_EC_RXCFG,4,2            ; @TSI108_EC_RXCFG
	.comm	_TSI108_EC_RXCFG_RST,4,2        ; @TSI108_EC_RXCFG_RST
	.comm	_TSI108_MAC_MII_MGMT_CFG,4,2    ; @TSI108_MAC_MII_MGMT_CFG
	.comm	_TSI108_MAC_MII_MGMT_RST,4,2    ; @TSI108_MAC_MII_MGMT_RST
	.comm	_TSI108_MAC_MII_MGMT_CLK,4,2    ; @TSI108_MAC_MII_MGMT_CLK
	.no_dead_strip	_tsi108_reset_ether
.subsections_via_symbols
