	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TLan_FinishReset
_TLan_FinishReset:                      ## @TLan_FinishReset
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	48(%r14), %rcx
	movq	_TLAN_NET_CMD_NRESET@GOTPCREL(%rip), %rsi
	movq	_TLAN_NET_CMD_NWRAP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rsi), %edx
	xorl	%ebx, %ebx
	cmpq	$0, 40(%r14)
	movl	$0, %esi
	je	LBB0_2
## %bb.1:
	movq	_TLAN_NET_CMD_DUPLEX@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_2:
	orl	%esi, %edx
	movl	(%rcx,%rax,4), %r15d
	movq	8(%r13), %rdi
	movq	_TLAN_NET_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_TLan_DioWrite8
	movq	_TLAN_NET_MASK_MASK4@GOTPCREL(%rip), %rax
	movq	_TLAN_NET_MASK_MASK5@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	cmpq	$0, (%r14)
	jne	LBB0_4
## %bb.3:
	movq	_TLAN_NET_MASK_MASK7@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	orl	%ebx, %edx
	movq	8(%r13), %rdi
	movq	_TLAN_NET_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_TLan_DioWrite8
	movq	8(%r13), %rdi
	movq	_TLAN_MAX_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1536, %edx                     ## imm = 0x600
	callq	_TLan_DioWrite16
	movq	_MII_GEN_ID_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %rcx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_TLan_MiiReadReg
	movq	_MII_GEN_ID_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-72(%rbp), %rcx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_TLan_MiiReadReg
	movq	32(%r14), %rax
	movq	_TLAN_ADAPTER_UNMANAGED_PHY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_6
## %bb.5:
	cmpq	$0, 24(%r14)
	je	LBB0_7
LBB0_6:
	movq	_MII_GS_LINK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movl	(%r13), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_27:
	cmpq	$0, (%r14)
	jne	LBB0_29
## %bb.28:
	movq	_TLAN_TLPHY_CTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	-64(%rbp), %rcx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_TLan_MiiReadReg
	movq	_TLAN_TC_INTEN@GOTPCREL(%rip), %rax
	movq	-64(%rbp), %rcx
	orq	(%rax), %rcx
	movq	%rcx, -64(%rbp)
	movl	(%rbx), %edx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_TLan_MiiWriteReg
	movq	8(%r13), %rdi
	movq	_TLAN_NET_SIO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_TLan_DioRead8
	movq	_TLAN_NET_SIO_MINTEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	8(%r13), %rdi
	movl	(%rbx), %esi
	movl	%eax, %edx
	callq	_TLan_DioWrite8
LBB0_29:
	movq	_MII_GS_LINK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, -56(%rbp)
	je	LBB0_34
## %bb.30:
	movl	16(%r13), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_TLan_SetMac
	movl	$1, 12(%r14)
	movq	_TLAN_HC_INT_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	sarl	$8, %edi
	movq	8(%r13), %rax
	movq	_TLAN_HOST_CMD@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	leaq	(%rax,%rcx), %rsi
	incq	%rsi
	callq	_outb
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_33
## %bb.31:
	movq	_TLAN_DEBUG_PROBE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_33
## %bb.32:
	movq	_TLAN_HC_REQ_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	sarl	$8, %edi
	movq	8(%r13), %rax
	movq	(%r15), %rcx
	leaq	(%rax,%rcx), %rsi
	incq	%rsi
	callq	_outb
LBB0_33:
	movl	16(%r14), %edi
	movq	_TLAN_CH_PARM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r13), %rsi
	callq	_outl
	movq	_TLAN_HC_GO@GOTPCREL(%rip), %rax
	movq	_TLAN_HC_RT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	(%r15), %rsi
	addq	8(%r13), %rsi
	callq	_outl
	movq	%r13, %rdi
	callq	_netif_carrier_on
	movq	%r13, %rdi
	callq	_TLan_SetMulticastList
	jmp	LBB0_35
LBB0_34:
	movl	(%r13), %esi
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %esi
	movq	_TLAN_TIMER_FINISH_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_TLan_SetTimer
LBB0_35:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_MII_GEN_STS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	-56(%rbp), %r12
	movq	%r13, %rdi
	movl	%r15d, %esi
	movq	%r12, %rcx
	callq	_TLan_MiiReadReg
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	movl	(%rbx), %edx
	movq	%r13, %rdi
	movl	%r15d, %esi
	movq	%r12, %rcx
	callq	_TLan_MiiReadReg
	movq	_MII_GS_LINK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, -56(%rbp)
	je	LBB0_27
## %bb.8:
	movq	-80(%rbp), %rax
	movq	_NAT_SEM_ID1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_25
## %bb.9:
	movq	-72(%rbp), %rax
	movq	_NAT_SEM_ID2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_25
## %bb.10:
	movq	_MII_AN_LPA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_TLan_MiiReadReg
	movq	_TLAN_TLPHY_PAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-88(%rbp), %rcx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_TLan_MiiReadReg
	movl	(%r13), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	-88(%rbp), %rax
	movq	_TLAN_PHY_AN_EN_STAT@GOTPCREL(%rip), %rcx
	movq	_TLAN_PHY_SPEED_100@GOTPCREL(%rip), %rdx
	testq	%rax, (%rdx)
	leaq	L_.str.4(%rip), %rdx
	leaq	L_.str.3(%rip), %rsi
	cmoveq	%rdx, %rsi
	movq	_TLAN_PHY_DUPLEX_FULL@GOTPCREL(%rip), %rdx
	testq	%rax, (%rdx)
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.5(%rip), %rdx
	cmoveq	%rdi, %rdx
	testq	%rax, (%rcx)
	je	LBB0_11
## %bb.12:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	-48(%rbp), %rax
	testb	$32, %al
	jne	LBB0_13
## %bb.14:
	testb	$64, %al
	jne	LBB0_15
LBB0_16:
	testb	$-128, %al
	jne	LBB0_17
LBB0_18:
	testl	$256, %eax                      ## imm = 0x100
	jne	LBB0_19
LBB0_20:
	testl	$512, %eax                      ## imm = 0x200
	jne	LBB0_21
LBB0_22:
	testl	$1024, %eax                     ## imm = 0x400
	je	LBB0_24
LBB0_23:
	movq	_media@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	20(%rax), %esi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_24:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	jmp	LBB0_26
LBB0_25:
	movl	(%r13), %esi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_26:
	movq	8(%r13), %rdi
	movq	_TLAN_LED_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLAN_LED_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_TLan_DioWrite8
	jmp	LBB0_27
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	jmp	LBB0_26
LBB0_13:
	movq	_media@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	-48(%rbp), %rax
	testb	$64, %al
	je	LBB0_16
LBB0_15:
	movq	_media@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %esi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	-48(%rbp), %rax
	testb	$-128, %al
	je	LBB0_18
LBB0_17:
	movq	_media@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %esi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	-48(%rbp), %rax
	testl	$256, %eax                      ## imm = 0x100
	je	LBB0_20
LBB0_19:
	movq	_media@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	12(%rax), %esi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	-48(%rbp), %rax
	testl	$512, %eax                      ## imm = 0x200
	je	LBB0_22
LBB0_21:
	movq	_media@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	16(%rax), %esi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	-48(%rbp), %rax
	testl	$1024, %eax                     ## imm = 0x400
	jne	LBB0_23
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_TLAN_NET_CMD_NRESET,4,2        ## @TLAN_NET_CMD_NRESET
	.comm	_TLAN_NET_CMD_NWRAP,4,2         ## @TLAN_NET_CMD_NWRAP
	.comm	_TLAN_NET_CMD_DUPLEX,4,2        ## @TLAN_NET_CMD_DUPLEX
	.comm	_TLAN_NET_CMD,4,2               ## @TLAN_NET_CMD
	.comm	_TLAN_NET_MASK_MASK4,4,2        ## @TLAN_NET_MASK_MASK4
	.comm	_TLAN_NET_MASK_MASK5,4,2        ## @TLAN_NET_MASK_MASK5
	.comm	_TLAN_NET_MASK_MASK7,4,2        ## @TLAN_NET_MASK_MASK7
	.comm	_TLAN_NET_MASK,4,2              ## @TLAN_NET_MASK
	.comm	_TLAN_MAX_RX,4,2                ## @TLAN_MAX_RX
	.comm	_MII_GEN_ID_HI,4,2              ## @MII_GEN_ID_HI
	.comm	_MII_GEN_ID_LO,4,2              ## @MII_GEN_ID_LO
	.comm	_TLAN_ADAPTER_UNMANAGED_PHY,4,2 ## @TLAN_ADAPTER_UNMANAGED_PHY
	.comm	_MII_GS_LINK,8,3                ## @MII_GS_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TLAN:  %s: Link forced.\n"

	.comm	_MII_GEN_STS,4,2                ## @MII_GEN_STS
	.comm	_NAT_SEM_ID1,8,3                ## @NAT_SEM_ID1
	.comm	_NAT_SEM_ID2,8,3                ## @NAT_SEM_ID2
	.comm	_MII_AN_LPA,4,2                 ## @MII_AN_LPA
	.comm	_TLAN_TLPHY_PAR,4,2             ## @TLAN_TLPHY_PAR
L_.str.1:                               ## @.str.1
	.asciz	"TLAN: %s: Link active with "

	.comm	_TLAN_PHY_AN_EN_STAT,8,3        ## @TLAN_PHY_AN_EN_STAT
L_.str.2:                               ## @.str.2
	.asciz	"forced 10%sMbps %s-Duplex\n"

	.comm	_TLAN_PHY_SPEED_100,8,3         ## @TLAN_PHY_SPEED_100
L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	"0"

	.comm	_TLAN_PHY_DUPLEX_FULL,8,3       ## @TLAN_PHY_DUPLEX_FULL
L_.str.5:                               ## @.str.5
	.asciz	"Full"

L_.str.6:                               ## @.str.6
	.asciz	"Half"

L_.str.7:                               ## @.str.7
	.asciz	"AutoNegotiation enabled, at 10%sMbps %s-Duplex\n"

L_.str.8:                               ## @.str.8
	.asciz	"TLAN: Partner capability: "

L_.str.9:                               ## @.str.9
	.asciz	"%s"

	.comm	_media,8,3                      ## @media
L_.str.10:                              ## @.str.10
	.asciz	"\n"

	.comm	_TLAN_LED_REG,4,2               ## @TLAN_LED_REG
	.comm	_TLAN_LED_LINK,4,2              ## @TLAN_LED_LINK
L_.str.11:                              ## @.str.11
	.asciz	"TLAN: %s: Link active\n"

	.comm	_TLAN_TLPHY_CTL,4,2             ## @TLAN_TLPHY_CTL
	.comm	_TLAN_TC_INTEN,8,3              ## @TLAN_TC_INTEN
	.comm	_TLAN_NET_SIO,4,2               ## @TLAN_NET_SIO
	.comm	_TLAN_NET_SIO_MINTEN,4,2        ## @TLAN_NET_SIO_MINTEN
	.comm	_TLAN_HC_INT_ON,4,2             ## @TLAN_HC_INT_ON
	.comm	_TLAN_HOST_CMD,8,3              ## @TLAN_HOST_CMD
	.comm	_debug,4,2                      ## @debug
	.comm	_TLAN_DEBUG_PROBE,4,2           ## @TLAN_DEBUG_PROBE
	.comm	_TLAN_HC_REQ_INT,4,2            ## @TLAN_HC_REQ_INT
	.comm	_TLAN_CH_PARM,8,3               ## @TLAN_CH_PARM
	.comm	_TLAN_HC_GO,4,2                 ## @TLAN_HC_GO
	.comm	_TLAN_HC_RT,4,2                 ## @TLAN_HC_RT
L_.str.12:                              ## @.str.12
	.asciz	"TLAN: %s: Link inactive, will retry in 10 secs...\n"

	.comm	_HZ,4,2                         ## @HZ
	.comm	_TLAN_TIMER_FINISH_RESET,4,2    ## @TLAN_TIMER_FINISH_RESET
	.comm	_TLAN_TIMER_LINK_BEAT,4,2       ## @TLAN_TIMER_LINK_BEAT
	.no_dead_strip	_TLan_FinishReset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TLan_FinishReset
_TLan_FinishReset:                      ; @TLan_FinishReset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x8, [x0]
	ldp	x10, x9, [x0, #40]
	ldr	w21, [x9, x8, lsl #2]
Lloh0:
	adrp	x8, _TLAN_NET_CMD_NRESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TLAN_NET_CMD_NRESET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TLAN_NET_CMD_NWRAP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TLAN_NET_CMD_NWRAP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _TLAN_NET_CMD_DUPLEX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TLAN_NET_CMD_DUPLEX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w2, w8, w9
	ldr	x0, [x19, #8]
Lloh9:
	adrp	x8, _TLAN_NET_CMD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TLAN_NET_CMD@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_TLan_DioWrite8
Lloh12:
	adrp	x8, _TLAN_NET_MASK_MASK4@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TLAN_NET_MASK_MASK4@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _TLAN_NET_MASK_MASK5@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TLAN_NET_MASK_MASK5@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x20]
Lloh18:
	adrp	x10, _TLAN_NET_MASK_MASK7@GOTPAGE
Lloh19:
	ldr	x10, [x10, _TLAN_NET_MASK_MASK7@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w9, w10, wzr, eq
	orr	w2, w8, w9
	ldr	x0, [x19, #8]
Lloh21:
	adrp	x8, _TLAN_NET_MASK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TLAN_NET_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_TLan_DioWrite8
	ldr	x0, [x19, #8]
Lloh24:
	adrp	x8, _TLAN_MAX_RX@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TLAN_MAX_RX@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	w2, #1536
	bl	_TLan_DioWrite16
Lloh27:
	adrp	x8, _MII_GEN_ID_HI@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MII_GEN_ID_HI@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, x21
	bl	_TLan_MiiReadReg
Lloh30:
	adrp	x8, _MII_GEN_ID_LO@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MII_GEN_ID_LO@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	add	x3, sp, #16
	mov	x0, x19
	mov	x1, x21
	bl	_TLan_MiiReadReg
	ldr	x8, [x20, #32]
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _TLAN_ADAPTER_UNMANAGED_PHY@GOTPAGE
Lloh34:
	ldr	x9, [x9, _TLAN_ADAPTER_UNMANAGED_PHY@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
Lloh36:
	adrp	x22, _MII_GS_LINK@GOTPAGE
Lloh37:
	ldr	x22, [x22, _MII_GS_LINK@GOTPAGEOFF]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_12
LBB0_2:
	ldr	x8, [x22]
	str	x8, [sp, #56]
	ldr	w8, [x19]
	str	x8, [sp]
Lloh38:
	adrp	x0, l_.str@PAGE
Lloh39:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
LBB0_3:
	ldr	x8, [x20]
	cbnz	x8, LBB0_5
; %bb.4:
Lloh40:
	adrp	x23, _TLAN_TLPHY_CTL@GOTPAGE
Lloh41:
	ldr	x23, [x23, _TLAN_TLPHY_CTL@GOTPAGEOFF]
	ldr	w2, [x23]
	add	x3, sp, #40
	mov	x0, x19
	mov	x1, x21
	bl	_TLan_MiiReadReg
Lloh42:
	adrp	x8, _TLAN_TC_INTEN@GOTPAGE
Lloh43:
	ldr	x8, [x8, _TLAN_TC_INTEN@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	ldr	x9, [sp, #40]
	orr	x3, x9, x8
	str	x3, [sp, #40]
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x21
	bl	_TLan_MiiWriteReg
	ldr	x0, [x19, #8]
Lloh45:
	adrp	x21, _TLAN_NET_SIO@GOTPAGE
Lloh46:
	ldr	x21, [x21, _TLAN_NET_SIO@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_TLan_DioRead8
Lloh47:
	adrp	x8, _TLAN_NET_SIO_MINTEN@GOTPAGE
Lloh48:
	ldr	x8, [x8, _TLAN_NET_SIO_MINTEN@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	x0, [x19, #8]
	ldr	w1, [x21]
	bl	_TLan_DioWrite8
LBB0_5:
	ldr	x8, [sp, #56]
	ldr	x9, [x22]
	tst	x9, x8
	b.eq	LBB0_10
; %bb.6:
	ldr	w2, [x19, #16]
	mov	x0, x19
	mov	w1, #0
	bl	_TLan_SetMac
	mov	w8, #1
	str	w8, [x20, #12]
Lloh50:
	adrp	x8, _TLAN_HC_INT_ON@GOTPAGE
Lloh51:
	ldr	x8, [x8, _TLAN_HC_INT_ON@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	asr	w0, w8, #8
	ldr	x8, [x19, #8]
Lloh53:
	adrp	x21, _TLAN_HOST_CMD@GOTPAGE
Lloh54:
	ldr	x21, [x21, _TLAN_HOST_CMD@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x8, x8, x9
	add	x1, x8, #1
	bl	_outb
Lloh55:
	adrp	x8, _debug@GOTPAGE
Lloh56:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
Lloh58:
	adrp	x9, _TLAN_DEBUG_PROBE@GOTPAGE
Lloh59:
	ldr	x9, [x9, _TLAN_DEBUG_PROBE@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_9
; %bb.8:
Lloh61:
	adrp	x8, _TLAN_HC_REQ_INT@GOTPAGE
Lloh62:
	ldr	x8, [x8, _TLAN_HC_REQ_INT@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	asr	w0, w8, #8
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x8, x8, x9
	add	x1, x8, #1
	bl	_outb
LBB0_9:
	ldr	w0, [x20, #16]
	ldr	x8, [x19, #8]
Lloh64:
	adrp	x9, _TLAN_CH_PARM@GOTPAGE
Lloh65:
	ldr	x9, [x9, _TLAN_CH_PARM@GOTPAGEOFF]
Lloh66:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_outl
Lloh67:
	adrp	x8, _TLAN_HC_GO@GOTPAGE
Lloh68:
	ldr	x8, [x8, _TLAN_HC_GO@GOTPAGEOFF]
Lloh69:
	adrp	x9, _TLAN_HC_RT@GOTPAGE
Lloh70:
	ldr	x9, [x9, _TLAN_HC_RT@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
Lloh72:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_outl
	mov	x0, x19
	bl	_netif_carrier_on
	mov	x0, x19
	bl	_TLan_SetMulticastList
	b	LBB0_11
LBB0_10:
	ldr	w8, [x19]
	str	x8, [sp]
Lloh73:
	adrp	x0, l_.str.12@PAGE
Lloh74:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_printk
Lloh75:
	adrp	x8, _HZ@GOTPAGE
Lloh76:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #2
	lsl	w1, w8, #1
Lloh78:
	adrp	x8, _TLAN_TIMER_FINISH_RESET@GOTPAGE
Lloh79:
	ldr	x8, [x8, _TLAN_TIMER_FINISH_RESET@GOTPAGEOFF]
Lloh80:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_TLan_SetTimer
LBB0_11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_12:
Lloh81:
	adrp	x23, _MII_GEN_STS@GOTPAGE
Lloh82:
	ldr	x23, [x23, _MII_GEN_STS@GOTPAGEOFF]
	ldr	w2, [x23]
	add	x3, sp, #56
	mov	x0, x19
	mov	x1, x21
	bl	_TLan_MiiReadReg
	mov	w0, #1000
	bl	_udelay
	ldr	w2, [x23]
	add	x3, sp, #56
	mov	x0, x19
	mov	x1, x21
	bl	_TLan_MiiReadReg
	ldr	x8, [sp, #56]
	ldr	x9, [x22]
	tst	x9, x8
	b.eq	LBB0_3
; %bb.13:
	ldr	x8, [sp, #24]
Lloh83:
	adrp	x9, _NAT_SEM_ID1@GOTPAGE
Lloh84:
	ldr	x9, [x9, _NAT_SEM_ID1@GOTPAGEOFF]
Lloh85:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.14:
	ldr	x8, [sp, #16]
Lloh86:
	adrp	x9, _NAT_SEM_ID2@GOTPAGE
Lloh87:
	ldr	x9, [x9, _NAT_SEM_ID2@GOTPAGEOFF]
Lloh88:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.15:
Lloh89:
	adrp	x8, _MII_AN_LPA@GOTPAGE
Lloh90:
	ldr	x8, [x8, _MII_AN_LPA@GOTPAGEOFF]
Lloh91:
	ldr	w2, [x8]
	add	x3, sp, #48
	mov	x0, x19
	mov	x1, x21
	bl	_TLan_MiiReadReg
Lloh92:
	adrp	x8, _TLAN_TLPHY_PAR@GOTPAGE
Lloh93:
	ldr	x8, [x8, _TLAN_TLPHY_PAR@GOTPAGEOFF]
Lloh94:
	ldr	w2, [x8]
	add	x3, sp, #32
	mov	x0, x19
	mov	x1, x21
	bl	_TLan_MiiReadReg
	ldr	w8, [x19]
	str	x8, [sp]
Lloh95:
	adrp	x0, l_.str.1@PAGE
Lloh96:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printk
	ldr	x10, [sp, #32]
Lloh97:
	adrp	x8, _TLAN_PHY_AN_EN_STAT@GOTPAGE
Lloh98:
	ldr	x8, [x8, _TLAN_PHY_AN_EN_STAT@GOTPAGEOFF]
Lloh99:
	adrp	x9, _TLAN_PHY_SPEED_100@GOTPAGE
Lloh100:
	ldr	x9, [x9, _TLAN_PHY_SPEED_100@GOTPAGEOFF]
Lloh101:
	ldr	x11, [x8]
Lloh102:
	ldr	x8, [x9]
Lloh103:
	adrp	x9, l_.str.3@PAGE
Lloh104:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh105:
	adrp	x12, l_.str.4@PAGE
Lloh106:
	add	x12, x12, l_.str.4@PAGEOFF
	tst	x8, x10
	csel	x8, x12, x9, eq
Lloh107:
	adrp	x9, _TLAN_PHY_DUPLEX_FULL@GOTPAGE
Lloh108:
	ldr	x9, [x9, _TLAN_PHY_DUPLEX_FULL@GOTPAGEOFF]
Lloh109:
	adrp	x12, l_.str.5@PAGE
Lloh110:
	add	x12, x12, l_.str.5@PAGEOFF
Lloh111:
	ldr	x9, [x9]
Lloh112:
	adrp	x13, l_.str.6@PAGE
Lloh113:
	add	x13, x13, l_.str.6@PAGEOFF
	tst	x9, x10
	csel	x9, x13, x12, eq
	and	x10, x11, x10
	cbz	x10, LBB0_26
; %bb.16:
	stp	x8, x9, [sp]
Lloh114:
	adrp	x0, l_.str.7@PAGE
Lloh115:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printk
Lloh116:
	adrp	x0, l_.str.8@PAGE
Lloh117:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printk
	ldr	x8, [sp, #48]
Lloh118:
	adrp	x23, _media@GOTPAGE
Lloh119:
	ldr	x23, [x23, _media@GOTPAGEOFF]
	tbnz	w8, #5, LBB0_27
; %bb.17:
	tbnz	w8, #6, LBB0_28
LBB0_18:
	tbnz	w8, #7, LBB0_29
LBB0_19:
	tbnz	w8, #8, LBB0_30
LBB0_20:
	tbnz	w8, #9, LBB0_31
LBB0_21:
	tbz	w8, #10, LBB0_23
LBB0_22:
	ldr	x8, [x23]
	ldr	w8, [x8, #20]
	str	x8, [sp]
Lloh120:
	adrp	x0, l_.str.9@PAGE
Lloh121:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printk
LBB0_23:
Lloh122:
	adrp	x0, l_.str.10@PAGE
Lloh123:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_25
LBB0_24:
	ldr	w8, [x19]
	str	x8, [sp]
Lloh124:
	adrp	x0, l_.str.11@PAGE
Lloh125:
	add	x0, x0, l_.str.11@PAGEOFF
LBB0_25:
	bl	_printk
	ldr	x0, [x19, #8]
Lloh126:
	adrp	x8, _TLAN_LED_REG@GOTPAGE
Lloh127:
	ldr	x8, [x8, _TLAN_LED_REG@GOTPAGEOFF]
Lloh128:
	ldr	w1, [x8]
Lloh129:
	adrp	x8, _TLAN_LED_LINK@GOTPAGE
Lloh130:
	ldr	x8, [x8, _TLAN_LED_LINK@GOTPAGEOFF]
Lloh131:
	ldr	w2, [x8]
	bl	_TLan_DioWrite8
	b	LBB0_3
LBB0_26:
	stp	x8, x9, [sp]
Lloh132:
	adrp	x0, l_.str.2@PAGE
Lloh133:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_25
LBB0_27:
	ldr	x8, [x23]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh134:
	adrp	x0, l_.str.9@PAGE
Lloh135:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printk
	ldr	x8, [sp, #48]
	tbz	w8, #6, LBB0_18
LBB0_28:
	ldr	x8, [x23]
	ldr	w8, [x8, #4]
	str	x8, [sp]
Lloh136:
	adrp	x0, l_.str.9@PAGE
Lloh137:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printk
	ldr	x8, [sp, #48]
	tbz	w8, #7, LBB0_19
LBB0_29:
	ldr	x8, [x23]
	ldr	w8, [x8, #8]
	str	x8, [sp]
Lloh138:
	adrp	x0, l_.str.9@PAGE
Lloh139:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printk
	ldr	x8, [sp, #48]
	tbz	w8, #8, LBB0_20
LBB0_30:
	ldr	x8, [x23]
	ldr	w8, [x8, #12]
	str	x8, [sp]
Lloh140:
	adrp	x0, l_.str.9@PAGE
Lloh141:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printk
	ldr	x8, [sp, #48]
	tbz	w8, #9, LBB0_21
LBB0_31:
	ldr	x8, [x23]
	ldr	w8, [x8, #16]
	str	x8, [sp]
Lloh142:
	adrp	x0, l_.str.9@PAGE
Lloh143:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printk
	ldr	x8, [sp, #48]
	tbnz	w8, #10, LBB0_22
	b	LBB0_23
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.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
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh71
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh112, Lloh113
	.loh AdrpAdd	Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh111
	.loh AdrpAdd	Lloh105, Lloh106
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh101
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh118, Lloh119
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpAdd	Lloh114, Lloh115
	.loh AdrpAdd	Lloh120, Lloh121
	.loh AdrpAdd	Lloh122, Lloh123
	.loh AdrpAdd	Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpAdd	Lloh132, Lloh133
	.loh AdrpAdd	Lloh134, Lloh135
	.loh AdrpAdd	Lloh136, Lloh137
	.loh AdrpAdd	Lloh138, Lloh139
	.loh AdrpAdd	Lloh140, Lloh141
	.loh AdrpAdd	Lloh142, Lloh143
	.cfi_endproc
                                        ; -- End function
	.comm	_TLAN_NET_CMD_NRESET,4,2        ; @TLAN_NET_CMD_NRESET
	.comm	_TLAN_NET_CMD_NWRAP,4,2         ; @TLAN_NET_CMD_NWRAP
	.comm	_TLAN_NET_CMD_DUPLEX,4,2        ; @TLAN_NET_CMD_DUPLEX
	.comm	_TLAN_NET_CMD,4,2               ; @TLAN_NET_CMD
	.comm	_TLAN_NET_MASK_MASK4,4,2        ; @TLAN_NET_MASK_MASK4
	.comm	_TLAN_NET_MASK_MASK5,4,2        ; @TLAN_NET_MASK_MASK5
	.comm	_TLAN_NET_MASK_MASK7,4,2        ; @TLAN_NET_MASK_MASK7
	.comm	_TLAN_NET_MASK,4,2              ; @TLAN_NET_MASK
	.comm	_TLAN_MAX_RX,4,2                ; @TLAN_MAX_RX
	.comm	_MII_GEN_ID_HI,4,2              ; @MII_GEN_ID_HI
	.comm	_MII_GEN_ID_LO,4,2              ; @MII_GEN_ID_LO
	.comm	_TLAN_ADAPTER_UNMANAGED_PHY,4,2 ; @TLAN_ADAPTER_UNMANAGED_PHY
	.comm	_MII_GS_LINK,8,3                ; @MII_GS_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TLAN:  %s: Link forced.\n"

	.comm	_MII_GEN_STS,4,2                ; @MII_GEN_STS
	.comm	_NAT_SEM_ID1,8,3                ; @NAT_SEM_ID1
	.comm	_NAT_SEM_ID2,8,3                ; @NAT_SEM_ID2
	.comm	_MII_AN_LPA,4,2                 ; @MII_AN_LPA
	.comm	_TLAN_TLPHY_PAR,4,2             ; @TLAN_TLPHY_PAR
l_.str.1:                               ; @.str.1
	.asciz	"TLAN: %s: Link active with "

	.comm	_TLAN_PHY_AN_EN_STAT,8,3        ; @TLAN_PHY_AN_EN_STAT
l_.str.2:                               ; @.str.2
	.asciz	"forced 10%sMbps %s-Duplex\n"

	.comm	_TLAN_PHY_SPEED_100,8,3         ; @TLAN_PHY_SPEED_100
l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	"0"

	.comm	_TLAN_PHY_DUPLEX_FULL,8,3       ; @TLAN_PHY_DUPLEX_FULL
l_.str.5:                               ; @.str.5
	.asciz	"Full"

l_.str.6:                               ; @.str.6
	.asciz	"Half"

l_.str.7:                               ; @.str.7
	.asciz	"AutoNegotiation enabled, at 10%sMbps %s-Duplex\n"

l_.str.8:                               ; @.str.8
	.asciz	"TLAN: Partner capability: "

l_.str.9:                               ; @.str.9
	.asciz	"%s"

	.comm	_media,8,3                      ; @media
l_.str.10:                              ; @.str.10
	.asciz	"\n"

	.comm	_TLAN_LED_REG,4,2               ; @TLAN_LED_REG
	.comm	_TLAN_LED_LINK,4,2              ; @TLAN_LED_LINK
l_.str.11:                              ; @.str.11
	.asciz	"TLAN: %s: Link active\n"

	.comm	_TLAN_TLPHY_CTL,4,2             ; @TLAN_TLPHY_CTL
	.comm	_TLAN_TC_INTEN,8,3              ; @TLAN_TC_INTEN
	.comm	_TLAN_NET_SIO,4,2               ; @TLAN_NET_SIO
	.comm	_TLAN_NET_SIO_MINTEN,4,2        ; @TLAN_NET_SIO_MINTEN
	.comm	_TLAN_HC_INT_ON,4,2             ; @TLAN_HC_INT_ON
	.comm	_TLAN_HOST_CMD,8,3              ; @TLAN_HOST_CMD
	.comm	_debug,4,2                      ; @debug
	.comm	_TLAN_DEBUG_PROBE,4,2           ; @TLAN_DEBUG_PROBE
	.comm	_TLAN_HC_REQ_INT,4,2            ; @TLAN_HC_REQ_INT
	.comm	_TLAN_CH_PARM,8,3               ; @TLAN_CH_PARM
	.comm	_TLAN_HC_GO,4,2                 ; @TLAN_HC_GO
	.comm	_TLAN_HC_RT,4,2                 ; @TLAN_HC_RT
l_.str.12:                              ; @.str.12
	.asciz	"TLAN: %s: Link inactive, will retry in 10 secs...\n"

	.comm	_HZ,4,2                         ; @HZ
	.comm	_TLAN_TIMER_FINISH_RESET,4,2    ; @TLAN_TIMER_FINISH_RESET
	.comm	_TLAN_TIMER_LINK_BEAT,4,2       ; @TLAN_TIMER_LINK_BEAT
	.no_dead_strip	_TLan_FinishReset
.subsections_via_symbols
