	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aqc111_stop
_aqc111_stop:                           ## @aqc111_stop
	.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, %rbx
	movq	8(%rdi), %r14
	movl	$0, -44(%rbp)
	movq	_AQ_ACCESS_MAC@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_SFR_MEDIUM_STATUS_MODE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	-44(%rbp), %r15
	movl	$2, %ecx
	movq	%r15, %r8
	callq	_aqc111_read16_cmd
	movq	_SFR_MEDIUM_RECEIVE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, -44(%rbp)
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	movq	%r15, %r8
	callq	_aqc111_write16_cmd
	movl	$0, -44(%rbp)
	movl	(%r12), %esi
	movq	_SFR_RX_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$2, %ecx
	movq	%r15, %r8
	callq	_aqc111_write16_cmd
	movq	_AQ_LOW_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movq	_AQ_PHY_OPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_aqc111_write32_cmd
	movl	(%rbx), %edi
	callq	_netif_carrier_off
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AQ_ACCESS_MAC,4,2              ## @AQ_ACCESS_MAC
	.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_CTL,4,2                 ## @SFR_RX_CTL
	.comm	_AQ_LOW_POWER,4,2               ## @AQ_LOW_POWER
	.comm	_AQ_PHY_OPS,4,2                 ## @AQ_PHY_OPS
	.no_dead_strip	_aqc111_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aqc111_stop
_aqc111_stop:                           ; @aqc111_stop
	.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
	ldr	x20, [x0, #8]
	str	wzr, [sp, #12]
Lloh0:
	adrp	x21, _AQ_ACCESS_MAC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AQ_ACCESS_MAC@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _SFR_MEDIUM_STATUS_MODE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SFR_MEDIUM_STATUS_MODE@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x4, sp, #12
	mov	w3, #2
	bl	_aqc111_read16_cmd
Lloh4:
	adrp	x8, _SFR_MEDIUM_RECEIVE_EN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SFR_MEDIUM_RECEIVE_EN@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
	str	w8, [sp, #12]
	ldr	w1, [x21]
	ldr	w2, [x22]
	add	x4, sp, #12
	mov	x0, x19
	mov	w3, #2
	bl	_aqc111_write16_cmd
	str	wzr, [sp, #12]
	ldr	w1, [x21]
Lloh7:
	adrp	x8, _SFR_RX_CTL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SFR_RX_CTL@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	add	x4, sp, #12
	mov	x0, x19
	mov	w3, #2
	bl	_aqc111_write16_cmd
Lloh10:
	adrp	x8, _AQ_LOW_POWER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AQ_LOW_POWER@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
Lloh13:
	adrp	x8, _AQ_PHY_OPS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AQ_PHY_OPS@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	mov	x4, x20
	bl	_aqc111_write32_cmd
	ldr	w0, [x19]
	bl	_netif_carrier_off
	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	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AQ_ACCESS_MAC,4,2              ; @AQ_ACCESS_MAC
	.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_CTL,4,2                 ; @SFR_RX_CTL
	.comm	_AQ_LOW_POWER,4,2               ; @AQ_LOW_POWER
	.comm	_AQ_PHY_OPS,4,2                 ; @AQ_PHY_OPS
	.no_dead_strip	_aqc111_stop
.subsections_via_symbols
