	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aq_nic_deinit                  ## -- Begin function aq_nic_deinit
	.p2align	4, 0x90
_aq_nic_deinit:                         ## @aq_nic_deinit
	.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
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rdi, %r15
	cmpl	$0, (%rdi)
	je	LBB0_4
## %bb.2:
	movq	48(%r15), %rax
	movl	$8, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rdi
	callq	_aq_vec_deinit
	incq	%rbx
	movq	48(%r15), %rax
	addq	%r14, %rax
	movl	(%r15), %ecx
	addq	$8, %r14
	cmpq	%rcx, %rbx
	jb	LBB0_3
LBB0_4:
	movq	40(%r15), %rax
	movq	8(%rax), %rdi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	16(%r15), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	32(%r15), %rdi
	movq	40(%r15), %rax
	callq	*8(%rax)
	movq	%r14, %rdi
	callq	_mutex_unlock
LBB0_6:
	movq	8(%r15), %rax
	movq	_AQ_HW_POWER_STATE_D0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	32(%r15), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
LBB0_8:
	movq	40(%r15), %rax
	movq	(%rax), %rdi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	leaq	16(%r15), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	40(%r15), %rax
	movq	32(%r15), %rdi
	movq	8(%r15), %rsi
	movq	24(%r15), %rcx
	movl	(%rcx), %edx
	callq	*(%rax)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AQ_HW_POWER_STATE_D0,8,3       ## @AQ_HW_POWER_STATE_D0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aq_nic_deinit                  ; -- Begin function aq_nic_deinit
	.p2align	2
_aq_nic_deinit:                         ; @aq_nic_deinit
	.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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x20, #0
	ldr	x8, [x19, #48]
	mov	w21, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x8]
	bl	_aq_vec_deinit
	add	x20, x20, #1
	ldr	x8, [x19, #48]
	add	x8, x8, x21
	ldr	w9, [x19]
	add	x21, x21, #8
	cmp	x20, x9
	b.lo	LBB0_3
LBB0_4:
	ldr	x8, [x19, #40]
	ldr	x0, [x8, #8]
	bl	_likely
	cbz	x0, LBB0_6
; %bb.5:
	add	x20, x19, #16
	mov	x0, x20
	bl	_mutex_lock
	ldp	x0, x8, [x19, #32]
	ldr	x8, [x8, #8]
	blr	x8
	mov	x0, x20
	bl	_mutex_unlock
LBB0_6:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _AQ_HW_POWER_STATE_D0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AQ_HW_POWER_STATE_D0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_10
LBB0_8:
	ldr	x8, [x19, #40]
	ldr	x0, [x8]
	bl	_likely
	cbz	x0, LBB0_10
; %bb.9:
	add	x20, x19, #16
	mov	x0, x20
	bl	_mutex_lock
	ldp	x0, x8, [x19, #32]
	ldr	x8, [x8]
	ldr	x1, [x19, #8]
	ldr	x9, [x19, #24]
	ldr	w2, [x9]
	blr	x8
	mov	x0, x20
	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
	b	_mutex_unlock
LBB0_10:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AQ_HW_POWER_STATE_D0,8,3       ; @AQ_HW_POWER_STATE_D0
.subsections_via_symbols
