	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ax88179_link_reset
_ax88179_link_reset:                    ## @ax88179_link_reset
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
	movl	$1073741824, -88(%rbp)          ## imm = 0x40000000
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movslq	%eax, %rbx
	addq	%rcx, %rbx
	movq	_AX_RX_CTL@GOTPCREL(%rip), %r14
	leaq	-88(%rbp), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, -84(%rbp)
	movq	_AX_ACCESS_MAC@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%r14), %edx
	movq	%r15, %rdi
	movl	$2, %ecx
	movl	$2, %r8d
	leaq	-84(%rbp), %r9
	callq	_ax88179_write_cmd
	movl	(%r12), %esi
	movl	(%r14), %edx
	movq	%r15, %rdi
	movl	$2, %ecx
	movl	$2, %r8d
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	callq	_ax88179_write_cmd
	movq	%r15, %rdi
	movl	$129, %esi
	movl	$140, %edx
	xorl	%ecx, %ecx
	movl	$4, %r8d
	movq	%r13, %r9
	callq	_ax88179_read_cmd
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_19
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	$64, -85(%rbp)
	jne	LBB0_1
## %bb.3:
	movq	_AX_MEDIUM_RECEIVE_EN@GOTPCREL(%rip), %rax
	movq	_AX_MEDIUM_TXFLOW_CTRLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_AX_MEDIUM_RXFLOW_CTRLEN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -84(%rbp)
	movq	_AX_ACCESS_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PHYSICAL_LINK_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-96(%rbp), %r9
	movq	%r15, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_ax88179_read_cmd
	movq	_AX_ACCESS_PHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AX88179_PHY_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GMII_PHY_PHYSR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-92(%rbp), %r9
	movq	%r15, %rdi
	movl	$2, %r8d
	callq	_ax88179_read_cmd
	movl	-92(%rbp), %eax
	movq	_GMII_PHY_PHYSR_LINK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_19
## %bb.4:
	movq	_GMII_PHY_PHYSR_GIGA@GOTPCREL(%rip), %rcx
	movq	_GMII_PHY_PHYSR_SMASK@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	cmpl	%eax, (%rcx)
	jne	LBB0_11
## %bb.5:
	movq	_AX_MEDIUM_GIGAMODE@GOTPCREL(%rip), %rcx
	movq	_AX_MEDIUM_EN_125MHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	orl	-84(%rbp), %eax
	movl	%eax, -84(%rbp)
	movq	8(%r15), %rcx
	cmpl	$1501, (%rcx)                   ## imm = 0x5DD
	jl	LBB0_7
## %bb.6:
	movq	_AX_MEDIUM_JUMBO_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -84(%rbp)
LBB0_7:
	movl	-96(%rbp), %eax
	movq	_AX_USB_SS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	_AX88179_BULKIN_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	jmp	LBB0_16
LBB0_11:
	movq	_GMII_PHY_PHYSR_100@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jne	LBB0_14
## %bb.12:
	movq	_AX_MEDIUM_PS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -84(%rbp)
	movq	_AX_USB_SS@GOTPCREL(%rip), %rax
	movq	_AX_USB_HS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_AX88179_BULKIN_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testl	%ecx, -96(%rbp)
	je	LBB0_15
## %bb.13:
	addq	$8, %rsi
	jmp	LBB0_16
LBB0_14:
	movq	_AX88179_BULKIN_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	jmp	LBB0_15
LBB0_9:
	movq	_AX_USB_HS@GOTPCREL(%rip), %rcx
	movq	_AX88179_BULKIN_SIZE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.10:
	addq	$4, %rsi
	jmp	LBB0_16
LBB0_15:
	addq	$12, %rsi
LBB0_16:
	leaq	-80(%rbp), %rdi
	movl	$5, %edx
	callq	_memcpy
	movq	_AX_ACCESS_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AX_RX_BULKIN_QCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %r9
	movq	%r15, %rdi
	movl	$5, %ecx
	movl	$5, %r8d
	callq	_ax88179_write_cmd
	movl	-68(%rbp), %eax
	shll	$10, %eax
	addl	$2048, %eax                     ## imm = 0x800
	movl	%eax, (%r15)
	movq	_GMII_PHY_PHYSR_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -92(%rbp)
	je	LBB0_18
## %bb.17:
	movq	_AX_MEDIUM_FULL_DUPLEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -84(%rbp)
LBB0_18:
	movq	_AX_ACCESS_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AX_MEDIUM_STATUS_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-84(%rbp), %r9
	movq	%r15, %rdi
	movl	$2, %ecx
	movl	$2, %r8d
	callq	_ax88179_write_cmd
	movq	%r15, %rdi
	callq	_ax88179_chk_eee
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, 4(%rcx)
	movq	8(%r15), %rdi
	callq	_netif_carrier_on
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ,4,2                         ## @HZ
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_AX_ACCESS_MAC,4,2              ## @AX_ACCESS_MAC
	.comm	_AX_RX_CTL,4,2                  ## @AX_RX_CTL
	.comm	_AX_MEDIUM_RECEIVE_EN,4,2       ## @AX_MEDIUM_RECEIVE_EN
	.comm	_AX_MEDIUM_TXFLOW_CTRLEN,4,2    ## @AX_MEDIUM_TXFLOW_CTRLEN
	.comm	_AX_MEDIUM_RXFLOW_CTRLEN,4,2    ## @AX_MEDIUM_RXFLOW_CTRLEN
	.comm	_PHYSICAL_LINK_STATUS,4,2       ## @PHYSICAL_LINK_STATUS
	.comm	_AX_ACCESS_PHY,4,2              ## @AX_ACCESS_PHY
	.comm	_AX88179_PHY_ID,4,2             ## @AX88179_PHY_ID
	.comm	_GMII_PHY_PHYSR,4,2             ## @GMII_PHY_PHYSR
	.comm	_GMII_PHY_PHYSR_LINK,4,2        ## @GMII_PHY_PHYSR_LINK
	.comm	_GMII_PHY_PHYSR_GIGA,4,2        ## @GMII_PHY_PHYSR_GIGA
	.comm	_GMII_PHY_PHYSR_SMASK,4,2       ## @GMII_PHY_PHYSR_SMASK
	.comm	_AX_MEDIUM_GIGAMODE,4,2         ## @AX_MEDIUM_GIGAMODE
	.comm	_AX_MEDIUM_EN_125MHZ,4,2        ## @AX_MEDIUM_EN_125MHZ
	.comm	_AX_MEDIUM_JUMBO_EN,4,2         ## @AX_MEDIUM_JUMBO_EN
	.comm	_AX_USB_SS,4,2                  ## @AX_USB_SS
	.comm	_AX88179_BULKIN_SIZE,8,3        ## @AX88179_BULKIN_SIZE
	.comm	_AX_USB_HS,4,2                  ## @AX_USB_HS
	.comm	_GMII_PHY_PHYSR_100,4,2         ## @GMII_PHY_PHYSR_100
	.comm	_AX_MEDIUM_PS,4,2               ## @AX_MEDIUM_PS
	.comm	_AX_RX_BULKIN_QCTRL,4,2         ## @AX_RX_BULKIN_QCTRL
	.comm	_GMII_PHY_PHYSR_FULL,4,2        ## @GMII_PHY_PHYSR_FULL
	.comm	_AX_MEDIUM_FULL_DUPLEX,4,2      ## @AX_MEDIUM_FULL_DUPLEX
	.comm	_AX_MEDIUM_STATUS_MODE,4,2      ## @AX_MEDIUM_STATUS_MODE
	.no_dead_strip	_ax88179_link_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ax88179_link_reset
_ax88179_link_reset:                    ; @ax88179_link_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x20, [x0, #16]
Lloh3:
	adrp	x8, _HZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	mov	w9, #1073741824
	str	w9, [sp, #4]
Lloh6:
	adrp	x23, _jiffies@GOTPAGE
Lloh7:
	ldr	x23, [x23, _jiffies@GOTPAGEOFF]
	ldrsw	x9, [x23]
	add	x21, x9, w8, sxtw
Lloh8:
	adrp	x22, _AX_ACCESS_MAC@GOTPAGE
Lloh9:
	ldr	x22, [x22, _AX_ACCESS_MAC@GOTPAGEOFF]
Lloh10:
	adrp	x24, _AX_RX_CTL@GOTPAGE
Lloh11:
	ldr	x24, [x24, _AX_RX_CTL@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	str	wzr, [sp, #12]
	ldr	w1, [x22]
	ldr	w2, [x24]
	add	x5, sp, #12
	mov	x0, x19
	mov	w3, #2
	mov	w4, #2
	bl	_ax88179_write_cmd
	ldr	w1, [x22]
	ldr	w2, [x24]
	mov	x0, x19
	mov	w3, #2
	mov	w4, #2
	mov	x5, x20
	bl	_ax88179_write_cmd
	add	x5, sp, #4
	mov	x0, x19
	mov	w1, #129
	mov	w2, #140
	mov	w3, #0
	mov	w4, #4
	bl	_ax88179_read_cmd
	ldr	w0, [x23]
	mov	x1, x21
	bl	_time_after
	cbnz	x0, LBB0_20
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [sp, #7]
	tbnz	w8, #6, LBB0_1
; %bb.3:
Lloh12:
	adrp	x8, _AX_MEDIUM_RECEIVE_EN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AX_MEDIUM_RECEIVE_EN@GOTPAGEOFF]
Lloh14:
	adrp	x9, _AX_MEDIUM_TXFLOW_CTRLEN@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AX_MEDIUM_TXFLOW_CTRLEN@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh18:
	adrp	x9, _AX_MEDIUM_RXFLOW_CTRLEN@GOTPAGE
Lloh19:
	ldr	x9, [x9, _AX_MEDIUM_RXFLOW_CTRLEN@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp, #12]
	ldr	w1, [x22]
Lloh21:
	adrp	x8, _PHYSICAL_LINK_STATUS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PHYSICAL_LINK_STATUS@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	add	x5, sp, #16
	mov	x0, x19
	mov	w3, #1
	mov	w4, #1
	bl	_ax88179_read_cmd
Lloh24:
	adrp	x8, _AX_ACCESS_PHY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AX_ACCESS_PHY@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _AX88179_PHY_ID@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AX88179_PHY_ID@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
Lloh30:
	adrp	x8, _GMII_PHY_PHYSR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GMII_PHY_PHYSR@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
	add	x5, sp, #8
	mov	x0, x19
	mov	w4, #2
	bl	_ax88179_read_cmd
	ldr	w8, [sp, #8]
Lloh33:
	adrp	x9, _GMII_PHY_PHYSR_LINK@GOTPAGE
Lloh34:
	ldr	x9, [x9, _GMII_PHY_PHYSR_LINK@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.4:
Lloh36:
	adrp	x9, _GMII_PHY_PHYSR_GIGA@GOTPAGE
Lloh37:
	ldr	x9, [x9, _GMII_PHY_PHYSR_GIGA@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
Lloh39:
	adrp	x10, _GMII_PHY_PHYSR_SMASK@GOTPAGE
Lloh40:
	ldr	x10, [x10, _GMII_PHY_PHYSR_SMASK@GOTPAGEOFF]
Lloh41:
	ldr	w10, [x10]
	and	w8, w10, w8
	cmp	w9, w8
	b.ne	LBB0_9
; %bb.5:
Lloh42:
	adrp	x8, _AX_MEDIUM_GIGAMODE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _AX_MEDIUM_GIGAMODE@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
Lloh45:
	adrp	x9, _AX_MEDIUM_EN_125MHZ@GOTPAGE
Lloh46:
	ldr	x9, [x9, _AX_MEDIUM_EN_125MHZ@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [sp, #12]
	orr	w8, w8, w9
	str	w8, [sp, #12]
	ldr	x9, [x19, #8]
	ldr	w9, [x9]
	cmp	w9, #1501
	b.lt	LBB0_7
; %bb.6:
Lloh48:
	adrp	x9, _AX_MEDIUM_JUMBO_EN@GOTPAGE
Lloh49:
	ldr	x9, [x9, _AX_MEDIUM_JUMBO_EN@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp, #12]
LBB0_7:
	ldr	w8, [sp, #16]
Lloh51:
	adrp	x9, _AX_USB_SS@GOTPAGE
Lloh52:
	ldr	x9, [x9, _AX_USB_SS@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.8:
Lloh54:
	adrp	x8, _AX88179_BULKIN_SIZE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _AX88179_BULKIN_SIZE@GOTPAGEOFF]
Lloh56:
	ldr	x1, [x8]
	b	LBB0_17
LBB0_9:
Lloh57:
	adrp	x9, _GMII_PHY_PHYSR_100@GOTPAGE
Lloh58:
	ldr	x9, [x9, _GMII_PHY_PHYSR_100@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	cmp	w9, w8
	b.ne	LBB0_12
; %bb.10:
Lloh60:
	adrp	x8, _AX_MEDIUM_PS@GOTPAGE
Lloh61:
	ldr	x8, [x8, _AX_MEDIUM_PS@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
	str	w8, [sp, #12]
	ldr	w9, [sp, #16]
Lloh63:
	adrp	x8, _AX_USB_SS@GOTPAGE
Lloh64:
	ldr	x8, [x8, _AX_USB_SS@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
Lloh66:
	adrp	x10, _AX_USB_HS@GOTPAGE
Lloh67:
	ldr	x10, [x10, _AX_USB_HS@GOTPAGEOFF]
Lloh68:
	ldr	w10, [x10]
	orr	w10, w10, w8
Lloh69:
	adrp	x8, _AX88179_BULKIN_SIZE@GOTPAGE
Lloh70:
	ldr	x8, [x8, _AX88179_BULKIN_SIZE@GOTPAGEOFF]
Lloh71:
	ldr	x8, [x8]
	tst	w10, w9
	b.eq	LBB0_13
; %bb.11:
	add	x1, x8, #8
	b	LBB0_17
LBB0_12:
Lloh72:
	adrp	x8, _AX88179_BULKIN_SIZE@GOTPAGE
Lloh73:
	ldr	x8, [x8, _AX88179_BULKIN_SIZE@GOTPAGEOFF]
Lloh74:
	ldr	x8, [x8]
LBB0_13:
	add	x1, x8, #12
	b	LBB0_17
LBB0_14:
Lloh75:
	adrp	x9, _AX_USB_HS@GOTPAGE
Lloh76:
	ldr	x9, [x9, _AX_USB_HS@GOTPAGEOFF]
Lloh77:
	ldr	w10, [x9]
Lloh78:
	adrp	x9, _AX88179_BULKIN_SIZE@GOTPAGE
Lloh79:
	ldr	x9, [x9, _AX88179_BULKIN_SIZE@GOTPAGEOFF]
Lloh80:
	ldr	x9, [x9]
	tst	w10, w8
	b.eq	LBB0_16
; %bb.15:
	add	x1, x9, #4
	b	LBB0_17
LBB0_16:
	add	x1, x9, #12
LBB0_17:
	add	x0, sp, #20
	mov	w2, #5
	bl	_memcpy
	ldr	w1, [x22]
Lloh81:
	adrp	x8, _AX_RX_BULKIN_QCTRL@GOTPAGE
Lloh82:
	ldr	x8, [x8, _AX_RX_BULKIN_QCTRL@GOTPAGEOFF]
Lloh83:
	ldr	w2, [x8]
	add	x5, sp, #20
	mov	x0, x19
	mov	w3, #5
	mov	w4, #5
	bl	_ax88179_write_cmd
	ldr	w8, [sp, #32]
	lsl	w8, w8, #10
	add	w8, w8, #2048
	str	w8, [x19]
	ldr	w8, [sp, #8]
Lloh84:
	adrp	x9, _GMII_PHY_PHYSR_FULL@GOTPAGE
Lloh85:
	ldr	x9, [x9, _GMII_PHY_PHYSR_FULL@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.18:
Lloh87:
	adrp	x8, _AX_MEDIUM_FULL_DUPLEX@GOTPAGE
Lloh88:
	ldr	x8, [x8, _AX_MEDIUM_FULL_DUPLEX@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
	str	w8, [sp, #12]
LBB0_19:
	ldr	w1, [x22]
Lloh90:
	adrp	x8, _AX_MEDIUM_STATUS_MODE@GOTPAGE
Lloh91:
	ldr	x8, [x8, _AX_MEDIUM_STATUS_MODE@GOTPAGEOFF]
Lloh92:
	ldr	w2, [x8]
	add	x5, sp, #12
	mov	x0, x19
	mov	w3, #2
	mov	w4, #2
	bl	_ax88179_write_cmd
	mov	x0, x19
	bl	_ax88179_chk_eee
	str	w0, [x20, #4]
	ldr	x0, [x19, #8]
	bl	_netif_carrier_on
LBB0_20:
	ldr	x8, [sp, #40]
Lloh93:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh94:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh95:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ,4,2                         ; @HZ
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_AX_ACCESS_MAC,4,2              ; @AX_ACCESS_MAC
	.comm	_AX_RX_CTL,4,2                  ; @AX_RX_CTL
	.comm	_AX_MEDIUM_RECEIVE_EN,4,2       ; @AX_MEDIUM_RECEIVE_EN
	.comm	_AX_MEDIUM_TXFLOW_CTRLEN,4,2    ; @AX_MEDIUM_TXFLOW_CTRLEN
	.comm	_AX_MEDIUM_RXFLOW_CTRLEN,4,2    ; @AX_MEDIUM_RXFLOW_CTRLEN
	.comm	_PHYSICAL_LINK_STATUS,4,2       ; @PHYSICAL_LINK_STATUS
	.comm	_AX_ACCESS_PHY,4,2              ; @AX_ACCESS_PHY
	.comm	_AX88179_PHY_ID,4,2             ; @AX88179_PHY_ID
	.comm	_GMII_PHY_PHYSR,4,2             ; @GMII_PHY_PHYSR
	.comm	_GMII_PHY_PHYSR_LINK,4,2        ; @GMII_PHY_PHYSR_LINK
	.comm	_GMII_PHY_PHYSR_GIGA,4,2        ; @GMII_PHY_PHYSR_GIGA
	.comm	_GMII_PHY_PHYSR_SMASK,4,2       ; @GMII_PHY_PHYSR_SMASK
	.comm	_AX_MEDIUM_GIGAMODE,4,2         ; @AX_MEDIUM_GIGAMODE
	.comm	_AX_MEDIUM_EN_125MHZ,4,2        ; @AX_MEDIUM_EN_125MHZ
	.comm	_AX_MEDIUM_JUMBO_EN,4,2         ; @AX_MEDIUM_JUMBO_EN
	.comm	_AX_USB_SS,4,2                  ; @AX_USB_SS
	.comm	_AX88179_BULKIN_SIZE,8,3        ; @AX88179_BULKIN_SIZE
	.comm	_AX_USB_HS,4,2                  ; @AX_USB_HS
	.comm	_GMII_PHY_PHYSR_100,4,2         ; @GMII_PHY_PHYSR_100
	.comm	_AX_MEDIUM_PS,4,2               ; @AX_MEDIUM_PS
	.comm	_AX_RX_BULKIN_QCTRL,4,2         ; @AX_RX_BULKIN_QCTRL
	.comm	_GMII_PHY_PHYSR_FULL,4,2        ; @GMII_PHY_PHYSR_FULL
	.comm	_AX_MEDIUM_FULL_DUPLEX,4,2      ; @AX_MEDIUM_FULL_DUPLEX
	.comm	_AX_MEDIUM_STATUS_MODE,4,2      ; @AX_MEDIUM_STATUS_MODE
	.no_dead_strip	_ax88179_link_reset
.subsections_via_symbols
