	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hw_queue_fini
_hw_queue_fini:                         ## @hw_queue_fini
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$0, 28(%rsi)
	je	LBB0_4
## %bb.1:
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	movq	_QUEUE_TYPE_INT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%rdi, %r14
	movl	24(%rbx), %edi
	callq	_kfree
	movq	(%rbx), %rcx
	movq	_QUEUE_TYPE_CPU@GOTPCREL(%rip), %rdx
	movq	(%r14), %rax
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.5:
	movq	8(%rax), %rax
	movq	_HL_QUEUE_SIZE_IN_BYTES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	16(%rbx), %rdx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_3:
	movq	(%rax), %rax
	movq	_HL_QUEUE_SIZE_IN_BYTES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	16(%rbx), %rdx
	movl	8(%rbx), %ecx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QUEUE_TYPE_INT,8,3             ## @QUEUE_TYPE_INT
	.comm	_QUEUE_TYPE_CPU,8,3             ## @QUEUE_TYPE_CPU
	.comm	_HL_QUEUE_SIZE_IN_BYTES,4,2     ## @HL_QUEUE_SIZE_IN_BYTES
	.no_dead_strip	_hw_queue_fini
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hw_queue_fini
_hw_queue_fini:                         ; @hw_queue_fini
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x1, #28]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x20, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _QUEUE_TYPE_INT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QUEUE_TYPE_INT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x19, x0
	ldr	w0, [x20, #24]
	bl	_kfree
	ldr	x9, [x20]
Lloh3:
	adrp	x8, _QUEUE_TYPE_CPU@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QUEUE_TYPE_CPU@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x8]
	ldr	x8, [x19]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.4:
Lloh6:
	adrp	x9, _HL_QUEUE_SIZE_IN_BYTES@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HL_QUEUE_SIZE_IN_BYTES@GOTPAGEOFF]
	ldr	x3, [x8, #8]
Lloh8:
	ldr	w1, [x9]
	ldr	x2, [x20, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x3
LBB0_5:
	ldr	x4, [x8]
Lloh9:
	adrp	x8, _HL_QUEUE_SIZE_IN_BYTES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HL_QUEUE_SIZE_IN_BYTES@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	x2, [x20, #16]
	ldr	w3, [x20, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_QUEUE_TYPE_INT,8,3             ; @QUEUE_TYPE_INT
	.comm	_QUEUE_TYPE_CPU,8,3             ; @QUEUE_TYPE_CPU
	.comm	_HL_QUEUE_SIZE_IN_BYTES,4,2     ; @HL_QUEUE_SIZE_IN_BYTES
	.no_dead_strip	_hw_queue_fini
.subsections_via_symbols
