	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aqc111_resume
_aqc111_resume:                         ## @aqc111_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_usb_get_intfdata
	movq	%rax, %rbx
	movq	8(%rax), %r15
	movl	(%rax), %edi
	callq	_netif_carrier_off
	movq	_AQ_PHY_POWER_EN@GOTPCREL(%rip), %rax
	movl	12(%r15), %ecx
	orl	(%rax), %ecx
	movq	_AQ_LOW_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_AQ_WOL@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	notl	%eax
	andl	%ecx, %eax
	movl	%eax, 12(%r15)
	movl	$255, -44(%rbp)
	movq	_AQ_ACCESS_MAC@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_SFR_BM_INT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %r9
	movq	%rbx, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_aqc111_write_cmd_nopm
	movq	_SFR_RX_CTL_START@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	8(%r15), %eax
	movl	%eax, -48(%rbp)
	movl	(%r13), %esi
	movq	_SFR_RX_CTL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	-48(%rbp), %r12
	movq	%rbx, %rdi
	movl	$2, %ecx
	movq	%r12, %r8
	callq	_aqc111_write16_cmd_nopm
	movq	_SFR_RX_CTL_START@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -48(%rbp)
	movl	(%r13), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	movq	%r12, %r8
	callq	_aqc111_write16_cmd_nopm
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	callq	_aqc111_set_phy_speed
	movl	(%r13), %esi
	movq	_SFR_MEDIUM_STATUS_MODE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	movq	%r12, %r8
	callq	_aqc111_read16_cmd_nopm
	movq	_SFR_MEDIUM_RECEIVE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -48(%rbp)
	movl	(%r13), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	movq	%r12, %r8
	callq	_aqc111_write16_cmd_nopm
	movq	_SFR_RX_PATH_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	(%r13), %esi
	movq	_SFR_ETH_MAC_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	leaq	-44(%rbp), %r14
	movq	%r14, %r9
	callq	_aqc111_write_cmd_nopm
	movl	$0, -44(%rbp)
	movl	(%r13), %esi
	movq	_SFR_BMRX_DMA_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	movq	%r14, %r9
	callq	_aqc111_write_cmd
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_usbnet_resume
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AQ_PHY_POWER_EN,4,2            ## @AQ_PHY_POWER_EN
	.comm	_AQ_LOW_POWER,4,2               ## @AQ_LOW_POWER
	.comm	_AQ_WOL,4,2                     ## @AQ_WOL
	.comm	_AQ_ACCESS_MAC,4,2              ## @AQ_ACCESS_MAC
	.comm	_SFR_BM_INT_MASK,4,2            ## @SFR_BM_INT_MASK
	.comm	_SFR_RX_CTL_START,4,2           ## @SFR_RX_CTL_START
	.comm	_SFR_RX_CTL,4,2                 ## @SFR_RX_CTL
	.comm	_SFR_MEDIUM_STATUS_MODE,4,2     ## @SFR_MEDIUM_STATUS_MODE
	.comm	_SFR_MEDIUM_RECEIVE_EN,4,2      ## @SFR_MEDIUM_RECEIVE_EN
	.comm	_SFR_RX_PATH_READY,4,2          ## @SFR_RX_PATH_READY
	.comm	_SFR_ETH_MAC_PATH,4,2           ## @SFR_ETH_MAC_PATH
	.comm	_SFR_BMRX_DMA_CONTROL,4,2       ## @SFR_BMRX_DMA_CONTROL
	.no_dead_strip	_aqc111_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aqc111_resume
_aqc111_resume:                         ; @aqc111_resume
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	_usb_get_intfdata
	mov	x20, x0
	ldr	x22, [x0, #8]
	ldr	w0, [x0]
	bl	_netif_carrier_off
Lloh0:
	adrp	x8, _AQ_PHY_POWER_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AQ_PHY_POWER_EN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x22, #12]
	orr	w8, w9, w8
Lloh3:
	adrp	x9, _AQ_LOW_POWER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AQ_LOW_POWER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _AQ_WOL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AQ_WOL@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
	bic	w8, w8, w9
	str	w8, [x22, #12]
	mov	w8, #255
	str	w8, [sp, #8]
Lloh9:
	adrp	x21, _AQ_ACCESS_MAC@GOTPAGE
Lloh10:
	ldr	x21, [x21, _AQ_ACCESS_MAC@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh11:
	adrp	x8, _SFR_BM_INT_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SFR_BM_INT_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	add	x5, sp, #8
	mov	x0, x20
	mov	w3, #1
	mov	w4, #1
	bl	_aqc111_write_cmd_nopm
	ldr	w8, [x22, #8]
Lloh14:
	adrp	x23, _SFR_RX_CTL_START@GOTPAGE
Lloh15:
	ldr	x23, [x23, _SFR_RX_CTL_START@GOTPAGEOFF]
	ldr	w9, [x23]
	bic	w8, w8, w9
	str	w8, [sp, #12]
	ldr	w1, [x21]
Lloh16:
	adrp	x24, _SFR_RX_CTL@GOTPAGE
Lloh17:
	ldr	x24, [x24, _SFR_RX_CTL@GOTPAGEOFF]
	ldr	w2, [x24]
	add	x4, sp, #12
	mov	x0, x20
	mov	w3, #2
	bl	_aqc111_write16_cmd_nopm
	ldr	w8, [x23]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
	str	w8, [sp, #12]
	ldr	w1, [x21]
	ldr	w2, [x24]
	add	x4, sp, #12
	mov	x0, x20
	mov	w3, #2
	bl	_aqc111_write16_cmd_nopm
	ldp	w2, w1, [x22]
	mov	x0, x20
	bl	_aqc111_set_phy_speed
	ldr	w1, [x21]
Lloh18:
	adrp	x22, _SFR_MEDIUM_STATUS_MODE@GOTPAGE
Lloh19:
	ldr	x22, [x22, _SFR_MEDIUM_STATUS_MODE@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x4, sp, #12
	mov	x0, x20
	mov	w3, #2
	bl	_aqc111_read16_cmd_nopm
Lloh20:
	adrp	x8, _SFR_MEDIUM_RECEIVE_EN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SFR_MEDIUM_RECEIVE_EN@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
	str	w8, [sp, #12]
	ldr	w1, [x21]
	ldr	w2, [x22]
	add	x4, sp, #12
	mov	x0, x20
	mov	w3, #2
	bl	_aqc111_write16_cmd_nopm
Lloh23:
	adrp	x8, _SFR_RX_PATH_READY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SFR_RX_PATH_READY@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	w1, [x21]
Lloh26:
	adrp	x8, _SFR_ETH_MAC_PATH@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SFR_ETH_MAC_PATH@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	add	x5, sp, #8
	mov	x0, x20
	mov	w3, #1
	mov	w4, #1
	bl	_aqc111_write_cmd_nopm
	str	wzr, [sp, #8]
	ldr	w1, [x21]
Lloh29:
	adrp	x8, _SFR_BMRX_DMA_CONTROL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SFR_BMRX_DMA_CONTROL@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	add	x5, sp, #8
	mov	x0, x20
	mov	w3, #1
	mov	w4, #1
	bl	_aqc111_write_cmd
	mov	x0, x19
	bl	_usbnet_resume
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AQ_PHY_POWER_EN,4,2            ; @AQ_PHY_POWER_EN
	.comm	_AQ_LOW_POWER,4,2               ; @AQ_LOW_POWER
	.comm	_AQ_WOL,4,2                     ; @AQ_WOL
	.comm	_AQ_ACCESS_MAC,4,2              ; @AQ_ACCESS_MAC
	.comm	_SFR_BM_INT_MASK,4,2            ; @SFR_BM_INT_MASK
	.comm	_SFR_RX_CTL_START,4,2           ; @SFR_RX_CTL_START
	.comm	_SFR_RX_CTL,4,2                 ; @SFR_RX_CTL
	.comm	_SFR_MEDIUM_STATUS_MODE,4,2     ; @SFR_MEDIUM_STATUS_MODE
	.comm	_SFR_MEDIUM_RECEIVE_EN,4,2      ; @SFR_MEDIUM_RECEIVE_EN
	.comm	_SFR_RX_PATH_READY,4,2          ; @SFR_RX_PATH_READY
	.comm	_SFR_ETH_MAC_PATH,4,2           ; @SFR_ETH_MAC_PATH
	.comm	_SFR_BMRX_DMA_CONTROL,4,2       ; @SFR_BMRX_DMA_CONTROL
	.no_dead_strip	_aqc111_resume
.subsections_via_symbols
