	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ax88179_resume
_ax88179_resume:                        ## @ax88179_resume
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_usb_get_intfdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_usbnet_link_change
	movl	$0, -44(%rbp)
	movq	_AX_ACCESS_MAC@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_AX_PHYPWR_RSTCTL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-44(%rbp), %r15
	movq	%rbx, %rdi
	movl	$2, %ecx
	movl	$2, %r8d
	movq	%r15, %r9
	callq	_ax88179_write_cmd_nopm
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	movq	_AX_PHYPWR_RSTCTL_IPRL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	(%r13), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	movl	$2, %r8d
	movq	%r15, %r9
	callq	_ax88179_write_cmd_nopm
	movl	$200, %edi
	callq	_msleep
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_ax88179_auto_detach
	movl	(%r13), %esi
	movq	_AX_CLK_SELECT@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	-48(%rbp), %r12
	movq	%rbx, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	movq	%r12, %r9
	callq	_ax88179_read_cmd_nopm
	movq	_AX_CLK_SELECT_ACS@GOTPCREL(%rip), %rax
	movq	_AX_CLK_SELECT_BCS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, -48(%rbp)
	movl	(%r13), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	movq	%r12, %r9
	callq	_ax88179_write_cmd_nopm
	movl	$100, %edi
	callq	_msleep
	movq	_AX_RX_CTL_DROPCRCERR@GOTPCREL(%rip), %rax
	movq	_AX_RX_CTL_IPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_AX_RX_CTL_START@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AX_RX_CTL_AP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AX_RX_CTL_AMALL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AX_RX_CTL_AB@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -44(%rbp)
	movl	(%r13), %esi
	movq	_AX_RX_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	movl	$2, %r8d
	leaq	-44(%rbp), %r9
	callq	_ax88179_write_cmd_nopm
	movq	%r14, %rdi
	callq	_usbnet_resume
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AX_ACCESS_MAC,4,2              ## @AX_ACCESS_MAC
	.comm	_AX_PHYPWR_RSTCTL,4,2           ## @AX_PHYPWR_RSTCTL
	.comm	_AX_PHYPWR_RSTCTL_IPRL,4,2      ## @AX_PHYPWR_RSTCTL_IPRL
	.comm	_AX_CLK_SELECT,4,2              ## @AX_CLK_SELECT
	.comm	_AX_CLK_SELECT_ACS,4,2          ## @AX_CLK_SELECT_ACS
	.comm	_AX_CLK_SELECT_BCS,4,2          ## @AX_CLK_SELECT_BCS
	.comm	_AX_RX_CTL_DROPCRCERR,4,2       ## @AX_RX_CTL_DROPCRCERR
	.comm	_AX_RX_CTL_IPE,4,2              ## @AX_RX_CTL_IPE
	.comm	_AX_RX_CTL_START,4,2            ## @AX_RX_CTL_START
	.comm	_AX_RX_CTL_AP,4,2               ## @AX_RX_CTL_AP
	.comm	_AX_RX_CTL_AMALL,4,2            ## @AX_RX_CTL_AMALL
	.comm	_AX_RX_CTL_AB,4,2               ## @AX_RX_CTL_AB
	.comm	_AX_RX_CTL,4,2                  ## @AX_RX_CTL
	.no_dead_strip	_ax88179_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ax88179_resume
_ax88179_resume:                        ; @ax88179_resume
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_usb_get_intfdata
	mov	x20, x0
	mov	w1, #0
	mov	w2, #0
	bl	_usbnet_link_change
	str	wzr, [sp, #12]
Lloh0:
	adrp	x21, _AX_ACCESS_MAC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AX_ACCESS_MAC@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _AX_PHYPWR_RSTCTL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _AX_PHYPWR_RSTCTL@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x5, sp, #12
	mov	x0, x20
	mov	w3, #2
	mov	w4, #2
	bl	_ax88179_write_cmd_nopm
	mov	w0, #1000
	bl	_udelay
Lloh4:
	adrp	x8, _AX_PHYPWR_RSTCTL_IPRL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AX_PHYPWR_RSTCTL_IPRL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w1, [x21]
	ldr	w2, [x22]
	add	x5, sp, #12
	mov	x0, x20
	mov	w3, #2
	mov	w4, #2
	bl	_ax88179_write_cmd_nopm
	mov	w0, #200
	bl	_msleep
	mov	x0, x20
	mov	w1, #1
	bl	_ax88179_auto_detach
	ldr	w1, [x21]
Lloh7:
	adrp	x22, _AX_CLK_SELECT@GOTPAGE
Lloh8:
	ldr	x22, [x22, _AX_CLK_SELECT@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x5, sp, #8
	mov	x0, x20
	mov	w3, #1
	mov	w4, #1
	bl	_ax88179_read_cmd_nopm
Lloh9:
	adrp	x8, _AX_CLK_SELECT_ACS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AX_CLK_SELECT_ACS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _AX_CLK_SELECT_BCS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AX_CLK_SELECT_BCS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [sp, #8]
	orr	w8, w8, w9
	str	w8, [sp, #8]
	ldr	w1, [x21]
	ldr	w2, [x22]
	add	x5, sp, #8
	mov	x0, x20
	mov	w3, #1
	mov	w4, #1
	bl	_ax88179_write_cmd_nopm
	mov	w0, #100
	bl	_msleep
Lloh15:
	adrp	x8, _AX_RX_CTL_DROPCRCERR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AX_RX_CTL_DROPCRCERR@GOTPAGEOFF]
Lloh17:
	adrp	x9, _AX_RX_CTL_IPE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AX_RX_CTL_IPE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _AX_RX_CTL_START@GOTPAGE
Lloh22:
	ldr	x9, [x9, _AX_RX_CTL_START@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _AX_RX_CTL_AP@GOTPAGE
Lloh25:
	ldr	x9, [x9, _AX_RX_CTL_AP@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	adrp	x10, _AX_RX_CTL_AMALL@GOTPAGE
Lloh28:
	ldr	x10, [x10, _AX_RX_CTL_AMALL@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh29:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh30:
	adrp	x9, _AX_RX_CTL_AB@GOTPAGE
Lloh31:
	ldr	x9, [x9, _AX_RX_CTL_AB@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp, #12]
	ldr	w1, [x21]
Lloh33:
	adrp	x8, _AX_RX_CTL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AX_RX_CTL@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	add	x5, sp, #12
	mov	x0, x20
	mov	w3, #2
	mov	w4, #2
	bl	_ax88179_write_cmd_nopm
	mov	x0, x19
	bl	_usbnet_resume
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.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	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AX_ACCESS_MAC,4,2              ; @AX_ACCESS_MAC
	.comm	_AX_PHYPWR_RSTCTL,4,2           ; @AX_PHYPWR_RSTCTL
	.comm	_AX_PHYPWR_RSTCTL_IPRL,4,2      ; @AX_PHYPWR_RSTCTL_IPRL
	.comm	_AX_CLK_SELECT,4,2              ; @AX_CLK_SELECT
	.comm	_AX_CLK_SELECT_ACS,4,2          ; @AX_CLK_SELECT_ACS
	.comm	_AX_CLK_SELECT_BCS,4,2          ; @AX_CLK_SELECT_BCS
	.comm	_AX_RX_CTL_DROPCRCERR,4,2       ; @AX_RX_CTL_DROPCRCERR
	.comm	_AX_RX_CTL_IPE,4,2              ; @AX_RX_CTL_IPE
	.comm	_AX_RX_CTL_START,4,2            ; @AX_RX_CTL_START
	.comm	_AX_RX_CTL_AP,4,2               ; @AX_RX_CTL_AP
	.comm	_AX_RX_CTL_AMALL,4,2            ; @AX_RX_CTL_AMALL
	.comm	_AX_RX_CTL_AB,4,2               ; @AX_RX_CTL_AB
	.comm	_AX_RX_CTL,4,2                  ; @AX_RX_CTL
	.no_dead_strip	_ax88179_resume
.subsections_via_symbols
