	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aq_nic_stop                    ## -- Begin function aq_nic_stop
	.p2align	4, 0x90
_aq_nic_stop:                           ## @aq_nic_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	48(%rdi), %edi
	callq	_netif_tx_disable
	movl	48(%r14), %edi
	callq	_netif_carrier_off
	leaq	44(%r14), %rdi
	callq	_del_timer_sync
	leaq	40(%r14), %rdi
	callq	_cancel_work_sync
	movq	8(%r14), %rax
	movl	4(%r14), %edi
	movq	_AQ_CFG_IRQ_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	callq	*8(%rax)
	cmpq	$0, 32(%r14)
	je	LBB0_2
## %bb.1:
	leaq	24(%r14), %rdi
	callq	_del_timer_sync
	cmpl	$0, (%r14)
	jne	LBB0_4
	jmp	LBB0_6
LBB0_2:
	movq	%r14, %rdi
	callq	_aq_pci_func_free_irqs
	cmpl	$0, (%r14)
	je	LBB0_6
LBB0_4:
	movq	16(%r14), %rax
	movl	$8, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rdi
	callq	_aq_vec_stop
	incq	%rbx
	movq	16(%r14), %rax
	addq	%r15, %rax
	movl	(%r14), %ecx
	addq	$8, %r15
	cmpq	%rcx, %rbx
	jb	LBB0_5
LBB0_6:
	movq	8(%r14), %rax
	movl	4(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AQ_CFG_IRQ_MASK,4,2            ## @AQ_CFG_IRQ_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aq_nic_stop                    ; -- Begin function aq_nic_stop
	.p2align	2
_aq_nic_stop:                           ; @aq_nic_stop
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	w0, [x0, #48]
	bl	_netif_tx_disable
	ldr	w0, [x19, #48]
	bl	_netif_carrier_off
	add	x0, x19, #44
	bl	_del_timer_sync
	add	x0, x19, #40
	bl	_cancel_work_sync
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x9, _AQ_CFG_IRQ_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AQ_CFG_IRQ_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	blr	x8
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_2
; %bb.1:
	add	x0, x19, #24
	bl	_del_timer_sync
	ldr	w8, [x19]
	cbnz	w8, LBB0_3
	b	LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_aq_pci_func_free_irqs
	ldr	w8, [x19]
	cbz	w8, LBB0_5
LBB0_3:
	mov	x20, #0
	ldr	x8, [x19, #16]
	mov	w21, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x8]
	bl	_aq_vec_stop
	add	x20, x20, #1
	ldr	x8, [x19, #16]
	add	x8, x8, x21
	ldr	w9, [x19]
	add	x21, x21, #8
	cmp	x20, x9
	b.lo	LBB0_4
LBB0_5:
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	ldr	w0, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AQ_CFG_IRQ_MASK,4,2            ; @AQ_CFG_IRQ_MASK
.subsections_via_symbols
