	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swphy_poll_timer
_swphy_poll_timer:                      ## @swphy_poll_timer
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_swphy_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %r12
	cmpl	$0, (%rax)
	je	LBB0_26
## %bb.1:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_2
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%eax, %r15d
	movl	%ebx, %edi
	callq	_ENETSW_PORTOV_REG
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_enetsw_writeb
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_ENETSW_PTCTRL_REG
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_enetsw_writeb
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movl	(%r12), %eax
	addq	$24, %r14
	cmpq	%rax, %rbx
	jae	LBB0_26
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_bcm_enet_port_is_rgmii
	movq	32(%r12), %r15
	cmpl	$0, 16(%r15,%r14)
	je	LBB0_25
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%r15,%r14)
	jne	LBB0_25
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r13d
	movl	4(%r15,%r14), %edx
	movq	_MII_BMSR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_bcmenet_sw_mdio_read
	movl	4(%r15,%r14), %edx
	movq	_MII_BMSR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_bcmenet_sw_mdio_read
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	je	LBB0_25
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %esi
	movq	_BMSR_LSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	testl	%esi, %eax
	setne	%cl
	movq	8(%r12), %rdx
	cmpl	%ecx, (%rdx,%rbx,4)
	je	LBB0_25
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, (%rdx,%rbx,4)
	testl	%esi, %eax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movl	4(%r15,%r14), %edx
	movq	_MII_ADVERTISE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_bcmenet_sw_mdio_read
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	4(%r15,%r14), %edx
	movq	_MII_LPA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_bcmenet_sw_mdio_read
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	andl	%eax, %edi
	callq	_mii_nway_result
	movl	%eax, %ecx
	movq	_ADVERTISE_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%ecx, %esi
	sete	-41(%rbp)                       ## 1-byte Folded Spill
	movq	_ADVERTISE_100HALF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ADVERTISE_100FULL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	$10, %r9d
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	testl	%ecx, %edx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$100, %r9d
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_BMSR_ESTATEN@GOTPCREL(%rip), %rax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r15,%r14), %edx
	movq	_MII_CTRL1000@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movl	%r13d, %esi
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	callq	_bcmenet_sw_mdio_read
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	4(%r15,%r14), %edx
	movq	_MII_STAT1000@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_bcmenet_sw_mdio_read
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	movq	_ADVERTISE_1000HALF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_ADVERTISE_1000FULL@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%ecx, -56(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_LPA_1000FULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_LPA_1000HALF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%ecx, %edx
	testl	%eax, %edx
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.3(%rip), %r8
	testl	%eax, %ecx
	sete	%r13b
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %r8
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r12), %rdi
	movl	(%r15,%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	$1000, %ecx                     ## imm = 0x3E8
	xorl	%eax, %eax
	callq	_dev_info
	movq	_ENETSW_PORTOV_LINKUP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ENETSW_PORTOV_ENABLE_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ENETSW_IMPOV_1000_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%r13d, %ecx
	jmp	LBB0_21
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.3(%rip), %r8
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	testl	%r13d, %esi
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %r8
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r12), %rdi
	movl	(%r15,%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%r9d, %ecx
	xorl	%eax, %eax
	callq	_dev_info
	movq	_ENETSW_PORTOV_LINKUP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ENETSW_PORTOV_ENABLE_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%r13d, -64(%rbp)                ## 4-byte Folded Reload
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_ENETSW_IMPOV_100_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movzbl	-41(%rbp), %ecx                 ## 1-byte Folded Reload
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
	movl	$0, %r15d
	testb	%cl, %cl
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_ENETSW_IMPOV_FDX_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	jmp	LBB0_23
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r12), %rdi
	movl	(%r15,%r14), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_ENETSW_PORTOV_ENABLE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%ebx, %edi
	callq	_ENETSW_PORTOV_REG
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_enetsw_writeb
	movq	_ENETSW_PTCTRL_TXDIS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ENETSW_PTCTRL_RXDIS_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_24
LBB0_26:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	movq	%r12, %rdi
	addq	$16, %rdi
	movq	%rcx, 16(%r12)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_swphy_poll,4,2                 ## @swphy_poll
	.comm	_MII_BMSR,4,2                   ## @MII_BMSR
	.comm	_BMSR_LSTATUS,4,2               ## @BMSR_LSTATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"link DOWN on %s\n"

	.comm	_ENETSW_PORTOV_ENABLE_MASK,4,2  ## @ENETSW_PORTOV_ENABLE_MASK
	.comm	_ENETSW_PTCTRL_RXDIS_MASK,4,2   ## @ENETSW_PTCTRL_RXDIS_MASK
	.comm	_ENETSW_PTCTRL_TXDIS_MASK,4,2   ## @ENETSW_PTCTRL_TXDIS_MASK
	.comm	_MII_ADVERTISE,4,2              ## @MII_ADVERTISE
	.comm	_MII_LPA,4,2                    ## @MII_LPA
	.comm	_ADVERTISE_FULL,4,2             ## @ADVERTISE_FULL
	.comm	_ADVERTISE_100FULL,4,2          ## @ADVERTISE_100FULL
	.comm	_ADVERTISE_100HALF,4,2          ## @ADVERTISE_100HALF
	.comm	_BMSR_ESTATEN,4,2               ## @BMSR_ESTATEN
	.comm	_MII_CTRL1000,4,2               ## @MII_CTRL1000
	.comm	_MII_STAT1000,4,2               ## @MII_STAT1000
	.comm	_ADVERTISE_1000FULL,4,2         ## @ADVERTISE_1000FULL
	.comm	_ADVERTISE_1000HALF,4,2         ## @ADVERTISE_1000HALF
	.comm	_LPA_1000FULL,4,2               ## @LPA_1000FULL
	.comm	_LPA_1000HALF,4,2               ## @LPA_1000HALF
L_.str.1:                               ## @.str.1
	.asciz	"link UP on %s, %dMbps, %s-duplex\n"

L_.str.2:                               ## @.str.2
	.asciz	"full"

L_.str.3:                               ## @.str.3
	.asciz	"half"

	.comm	_ENETSW_PORTOV_LINKUP_MASK,4,2  ## @ENETSW_PORTOV_LINKUP_MASK
	.comm	_ENETSW_IMPOV_1000_MASK,4,2     ## @ENETSW_IMPOV_1000_MASK
	.comm	_ENETSW_IMPOV_100_MASK,4,2      ## @ENETSW_IMPOV_100_MASK
	.comm	_ENETSW_IMPOV_FDX_MASK,4,2      ## @ENETSW_IMPOV_FDX_MASK
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,8,3                         ## @HZ
	.comm	_priv,8,3                       ## @priv
	.no_dead_strip	_swphy_poll_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swphy_poll_timer
_swphy_poll_timer:                      ; @swphy_poll_timer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _swphy_poll@GOTPAGE
Lloh1:
	ldr	x8, [x8, _swphy_poll@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_18
; %bb.1:
	mov	x26, #0
	mov	x20, #0
Lloh3:
	adrp	x27, _MII_BMSR@GOTPAGE
Lloh4:
	ldr	x27, [x27, _MII_BMSR@GOTPAGEOFF]
Lloh5:
	adrp	x22, _BMSR_LSTATUS@GOTPAGE
Lloh6:
	ldr	x22, [x22, _BMSR_LSTATUS@GOTPAGEOFF]
Lloh7:
	adrp	x25, _ENETSW_PORTOV_ENABLE_MASK@GOTPAGE
Lloh8:
	ldr	x25, [x25, _ENETSW_PORTOV_ENABLE_MASK@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x19, #24]
	ldr	w2, [x21, x26]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldr	w23, [x25]
	mov	x0, x20
	bl	_ENETSW_PORTOV_REG
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_enetsw_writeb
Lloh11:
	adrp	x8, _ENETSW_PTCTRL_RXDIS_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENETSW_PTCTRL_RXDIS_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _ENETSW_PTCTRL_TXDIS_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ENETSW_PTCTRL_TXDIS_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w23, w9, w8
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_ENETSW_PTCTRL_REG
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_enetsw_writeb
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	ldr	w8, [x19]
	add	x26, x26, #24
	cmp	x20, x8
	b.hs	LBB0_18
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_bcm_enet_port_is_rgmii
	ldr	x21, [x19, #32]
	add	x8, x21, x26
	ldr	w9, [x8, #16]
	cbz	w9, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	add	x28, x21, x26
	ldr	w2, [x28, #4]
	ldr	w3, [x27]
	mov	x0, x19
	mov	x1, x23
	bl	_bcmenet_sw_mdio_read
	ldr	w2, [x28, #4]
	ldr	w3, [x27]
	mov	x0, x19
	mov	x1, x23
	bl	_bcmenet_sw_mdio_read
	mov	w8, #65535
	cmp	w0, w8
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, x0
	ldr	w8, [x22]
	ands	w8, w8, w0
	cset	w9, ne
	ldr	x10, [x19, #8]
	ldr	w11, [x10, x20, lsl #2]
	cmp	w11, w9
	b.eq	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	str	w9, [x10, x20, lsl #2]
	cbz	w8, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [x28, #4]
Lloh17:
	adrp	x8, _MII_ADVERTISE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MII_ADVERTISE@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x23
	bl	_bcmenet_sw_mdio_read
	mov	x25, x0
	ldr	w2, [x28, #4]
Lloh20:
	adrp	x8, _MII_LPA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MII_LPA@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x23
	bl	_bcmenet_sw_mdio_read
	and	w0, w0, w25
	bl	_mii_nway_result
Lloh23:
	adrp	x8, _ADVERTISE_FULL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ADVERTISE_FULL@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ands	w25, w8, w0
	cset	w8, eq
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
Lloh26:
	adrp	x8, _ADVERTISE_100FULL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ADVERTISE_100FULL@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _ADVERTISE_100HALF@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ADVERTISE_100HALF@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ands	w8, w8, w0
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	mov	w8, #100
	mov	w9, #10
	csel	w22, w9, w8, eq
Lloh32:
	adrp	x8, _BMSR_ESTATEN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _BMSR_ESTATEN@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [x28, #4]
Lloh35:
	adrp	x8, _MII_CTRL1000@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MII_CTRL1000@GOTPAGEOFF]
Lloh37:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x23
	bl	_bcmenet_sw_mdio_read
	mov	x24, x0
	ldr	w2, [x28, #4]
Lloh38:
	adrp	x8, _MII_STAT1000@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MII_STAT1000@GOTPAGEOFF]
Lloh40:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x23
	bl	_bcmenet_sw_mdio_read
Lloh41:
	adrp	x8, _ADVERTISE_1000FULL@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ADVERTISE_1000FULL@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
Lloh44:
	adrp	x9, _ADVERTISE_1000HALF@GOTPAGE
Lloh45:
	ldr	x9, [x9, _ADVERTISE_1000HALF@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w24
	b.eq	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh47:
	adrp	x8, _LPA_1000FULL@GOTPAGE
Lloh48:
	ldr	x8, [x8, _LPA_1000FULL@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x8]
Lloh50:
	adrp	x8, _LPA_1000HALF@GOTPAGE
Lloh51:
	ldr	x8, [x8, _LPA_1000HALF@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	orr	w8, w8, w9
	tst	w8, w0
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #24]
	ldr	w2, [x21, x26]
	tst	w9, w0
	cset	w21, eq
Lloh53:
	adrp	x9, l_.str.2@PAGE
Lloh54:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh55:
	adrp	x10, l_.str.3@PAGE
Lloh56:
	add	x10, x10, l_.str.3@PAGEOFF
	csel	x11, x10, x9, eq
	mov	w9, #1000
	stp	x9, x11, [sp]
	mov	x0, x8
Lloh57:
	adrp	x1, l_.str.1@PAGE
Lloh58:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_info
Lloh59:
	adrp	x25, _ENETSW_PORTOV_ENABLE_MASK@GOTPAGE
Lloh60:
	ldr	x25, [x25, _ENETSW_PORTOV_ENABLE_MASK@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh61:
	adrp	x9, _ENETSW_PORTOV_LINKUP_MASK@GOTPAGE
Lloh62:
	ldr	x9, [x9, _ENETSW_PORTOV_LINKUP_MASK@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh64:
	adrp	x9, _ENETSW_IMPOV_1000_MASK@GOTPAGE
Lloh65:
	ldr	x9, [x9, _ENETSW_IMPOV_1000_MASK@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh67:
	adrp	x22, _BMSR_LSTATUS@GOTPAGE
Lloh68:
	ldr	x22, [x22, _BMSR_LSTATUS@GOTPAGEOFF]
	b	LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x19, #24]
	ldr	w2, [x21, x26]
	cmp	w25, #0
Lloh69:
	adrp	x8, l_.str.2@PAGE
Lloh70:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh71:
	adrp	x9, l_.str.3@PAGE
Lloh72:
	add	x9, x9, l_.str.3@PAGEOFF
	csel	x8, x9, x8, eq
	stp	x22, x8, [sp]
Lloh73:
	adrp	x1, l_.str.1@PAGE
Lloh74:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_info
Lloh75:
	adrp	x25, _ENETSW_PORTOV_ENABLE_MASK@GOTPAGE
Lloh76:
	ldr	x25, [x25, _ENETSW_PORTOV_ENABLE_MASK@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh77:
	adrp	x9, _ENETSW_PORTOV_LINKUP_MASK@GOTPAGE
Lloh78:
	ldr	x9, [x9, _ENETSW_PORTOV_LINKUP_MASK@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [sp, #24]                   ; 4-byte Folded Reload
	cbz	w9, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh80:
	adrp	x9, _ENETSW_IMPOV_100_MASK@GOTPAGE
Lloh81:
	ldr	x9, [x9, _ENETSW_IMPOV_100_MASK@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh83:
	adrp	x22, _BMSR_LSTATUS@GOTPAGE
Lloh84:
	ldr	x22, [x22, _BMSR_LSTATUS@GOTPAGEOFF]
	ldr	w21, [sp, #28]                  ; 4-byte Folded Reload
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh85:
	adrp	x9, _ENETSW_IMPOV_FDX_MASK@GOTPAGE
Lloh86:
	ldr	x9, [x9, _ENETSW_IMPOV_FDX_MASK@GOTPAGEOFF]
Lloh87:
	ldr	w9, [x9]
	cmp	w21, #0
	csel	w9, wzr, w9, ne
	orr	w23, w9, w8
	mov	x0, x20
	bl	_ENETSW_PORTOV_REG
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_enetsw_writeb
	mov	w23, #0
	b	LBB0_3
LBB0_18:
Lloh88:
	adrp	x8, _jiffies@GOTPAGE
Lloh89:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh90:
	adrp	x9, _HZ@GOTPAGE
Lloh91:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh92:
	ldr	x8, [x8]
Lloh93:
	ldr	x9, [x9]
	add	x8, x9, x8
	str	x8, [x19, #16]!
	mov	x0, x19
	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
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_add_timer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh92
	.cfi_endproc
                                        ; -- End function
	.comm	_swphy_poll,4,2                 ; @swphy_poll
	.comm	_MII_BMSR,4,2                   ; @MII_BMSR
	.comm	_BMSR_LSTATUS,4,2               ; @BMSR_LSTATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"link DOWN on %s\n"

	.comm	_ENETSW_PORTOV_ENABLE_MASK,4,2  ; @ENETSW_PORTOV_ENABLE_MASK
	.comm	_ENETSW_PTCTRL_RXDIS_MASK,4,2   ; @ENETSW_PTCTRL_RXDIS_MASK
	.comm	_ENETSW_PTCTRL_TXDIS_MASK,4,2   ; @ENETSW_PTCTRL_TXDIS_MASK
	.comm	_MII_ADVERTISE,4,2              ; @MII_ADVERTISE
	.comm	_MII_LPA,4,2                    ; @MII_LPA
	.comm	_ADVERTISE_FULL,4,2             ; @ADVERTISE_FULL
	.comm	_ADVERTISE_100FULL,4,2          ; @ADVERTISE_100FULL
	.comm	_ADVERTISE_100HALF,4,2          ; @ADVERTISE_100HALF
	.comm	_BMSR_ESTATEN,4,2               ; @BMSR_ESTATEN
	.comm	_MII_CTRL1000,4,2               ; @MII_CTRL1000
	.comm	_MII_STAT1000,4,2               ; @MII_STAT1000
	.comm	_ADVERTISE_1000FULL,4,2         ; @ADVERTISE_1000FULL
	.comm	_ADVERTISE_1000HALF,4,2         ; @ADVERTISE_1000HALF
	.comm	_LPA_1000FULL,4,2               ; @LPA_1000FULL
	.comm	_LPA_1000HALF,4,2               ; @LPA_1000HALF
l_.str.1:                               ; @.str.1
	.asciz	"link UP on %s, %dMbps, %s-duplex\n"

l_.str.2:                               ; @.str.2
	.asciz	"full"

l_.str.3:                               ; @.str.3
	.asciz	"half"

	.comm	_ENETSW_PORTOV_LINKUP_MASK,4,2  ; @ENETSW_PORTOV_LINKUP_MASK
	.comm	_ENETSW_IMPOV_1000_MASK,4,2     ; @ENETSW_IMPOV_1000_MASK
	.comm	_ENETSW_IMPOV_100_MASK,4,2      ; @ENETSW_IMPOV_100_MASK
	.comm	_ENETSW_IMPOV_FDX_MASK,4,2      ; @ENETSW_IMPOV_FDX_MASK
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,8,3                         ; @HZ
	.comm	_priv,8,3                       ; @priv
	.no_dead_strip	_swphy_poll_timer
.subsections_via_symbols
