	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ax88179_suspend
_ax88179_suspend:                       ## @ax88179_suspend
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_usb_get_intfdata
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_usbnet_suspend
	movq	_AX_ACCESS_MAC@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_AX_MEDIUM_STATUS_MODE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	-36(%rbp), %r14
	movq	%r15, %rdi
	movl	$2, %ecx
	movl	$2, %r8d
	movq	%r14, %r9
	callq	_ax88179_read_cmd_nopm
	movq	_AX_MEDIUM_RECEIVE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, -36(%rbp)
	movl	(%r12), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	$2, %ecx
	movl	$2, %r8d
	movq	%r14, %r9
	callq	_ax88179_write_cmd_nopm
	movl	(%r12), %esi
	movq	_AX_PHYPWR_RSTCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	$2, %ecx
	movl	$2, %r8d
	movq	%r14, %r9
	callq	_ax88179_read_cmd_nopm
	movq	_AX_PHYPWR_RSTCTL_BZ@GOTPCREL(%rip), %rax
	movq	_AX_PHYPWR_RSTCTL_IPRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, -36(%rbp)
	movl	(%r12), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	$2, %ecx
	movl	$2, %r8d
	movq	%r14, %r9
	callq	_ax88179_write_cmd_nopm
	movl	$0, -40(%rbp)
	movl	(%r12), %esi
	movq	_AX_CLK_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %r9
	movq	%r15, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_ax88179_write_cmd_nopm
	movq	_AX_RX_CTL_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movl	(%r12), %esi
	movq	_AX_RX_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$2, %ecx
	movl	$2, %r8d
	movq	%r14, %r9
	callq	_ax88179_write_cmd_nopm
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AX_ACCESS_MAC,4,2              ## @AX_ACCESS_MAC
	.comm	_AX_MEDIUM_STATUS_MODE,4,2      ## @AX_MEDIUM_STATUS_MODE
	.comm	_AX_MEDIUM_RECEIVE_EN,4,2       ## @AX_MEDIUM_RECEIVE_EN
	.comm	_AX_PHYPWR_RSTCTL,4,2           ## @AX_PHYPWR_RSTCTL
	.comm	_AX_PHYPWR_RSTCTL_BZ,4,2        ## @AX_PHYPWR_RSTCTL_BZ
	.comm	_AX_PHYPWR_RSTCTL_IPRL,4,2      ## @AX_PHYPWR_RSTCTL_IPRL
	.comm	_AX_CLK_SELECT,4,2              ## @AX_CLK_SELECT
	.comm	_AX_RX_CTL_STOP,4,2             ## @AX_RX_CTL_STOP
	.comm	_AX_RX_CTL,4,2                  ## @AX_RX_CTL
	.no_dead_strip	_ax88179_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ax88179_suspend
_ax88179_suspend:                       ; @ax88179_suspend
	.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	x20, x1
	mov	x21, x0
	bl	_usb_get_intfdata
	mov	x19, x0
	mov	x0, x21
	mov	x1, x20
	bl	_usbnet_suspend
Lloh0:
	adrp	x20, _AX_ACCESS_MAC@GOTPAGE
Lloh1:
	ldr	x20, [x20, _AX_ACCESS_MAC@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x21, _AX_MEDIUM_STATUS_MODE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _AX_MEDIUM_STATUS_MODE@GOTPAGEOFF]
	ldr	w2, [x21]
	add	x5, sp, #12
	mov	x0, x19
	mov	w3, #2
	mov	w4, #2
	bl	_ax88179_read_cmd_nopm
Lloh4:
	adrp	x8, _AX_MEDIUM_RECEIVE_EN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AX_MEDIUM_RECEIVE_EN@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
	str	w8, [sp, #12]
	ldr	w1, [x20]
	ldr	w2, [x21]
	add	x5, sp, #12
	mov	x0, x19
	mov	w3, #2
	mov	w4, #2
	bl	_ax88179_write_cmd_nopm
	ldr	w1, [x20]
Lloh7:
	adrp	x21, _AX_PHYPWR_RSTCTL@GOTPAGE
Lloh8:
	ldr	x21, [x21, _AX_PHYPWR_RSTCTL@GOTPAGEOFF]
	ldr	w2, [x21]
	add	x5, sp, #12
	mov	x0, x19
	mov	w3, #2
	mov	w4, #2
	bl	_ax88179_read_cmd_nopm
Lloh9:
	adrp	x8, _AX_PHYPWR_RSTCTL_BZ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AX_PHYPWR_RSTCTL_BZ@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _AX_PHYPWR_RSTCTL_IPRL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AX_PHYPWR_RSTCTL_IPRL@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [sp, #12]
	orr	w8, w8, w9
	str	w8, [sp, #12]
	ldr	w1, [x20]
	ldr	w2, [x21]
	add	x5, sp, #12
	mov	x0, x19
	mov	w3, #2
	mov	w4, #2
	bl	_ax88179_write_cmd_nopm
	str	wzr, [sp, #8]
	ldr	w1, [x20]
Lloh15:
	adrp	x8, _AX_CLK_SELECT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AX_CLK_SELECT@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	add	x5, sp, #8
	mov	x0, x19
	mov	w3, #1
	mov	w4, #1
	bl	_ax88179_write_cmd_nopm
Lloh18:
	adrp	x8, _AX_RX_CTL_STOP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AX_RX_CTL_STOP@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w1, [x20]
Lloh21:
	adrp	x8, _AX_RX_CTL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AX_RX_CTL@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	add	x5, sp, #12
	mov	x0, x19
	mov	w3, #2
	mov	w4, #2
	bl	_ax88179_write_cmd_nopm
	mov	w0, #0
	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	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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_MEDIUM_STATUS_MODE,4,2      ; @AX_MEDIUM_STATUS_MODE
	.comm	_AX_MEDIUM_RECEIVE_EN,4,2       ; @AX_MEDIUM_RECEIVE_EN
	.comm	_AX_PHYPWR_RSTCTL,4,2           ; @AX_PHYPWR_RSTCTL
	.comm	_AX_PHYPWR_RSTCTL_BZ,4,2        ; @AX_PHYPWR_RSTCTL_BZ
	.comm	_AX_PHYPWR_RSTCTL_IPRL,4,2      ; @AX_PHYPWR_RSTCTL_IPRL
	.comm	_AX_CLK_SELECT,4,2              ; @AX_CLK_SELECT
	.comm	_AX_RX_CTL_STOP,4,2             ; @AX_RX_CTL_STOP
	.comm	_AX_RX_CTL,4,2                  ; @AX_RX_CTL
	.no_dead_strip	_ax88179_suspend
.subsections_via_symbols
