	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kerntest_frwk_fini
_kerntest_frwk_fini:                    ## @kerntest_frwk_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
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_KTFRWK_LOCK
	movq	_kfrwk@GOTPCREL(%rip), %r14
	leaq	4(%r14), %rdi
	callq	_TAILQ_EMPTY
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_ktest_frwk_inited@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	callq	_KTFRWK_UNLOCK
	movl	(%r14), %edi
	callq	_taskqueue_free
	xorl	%eax, %eax
	callq	_KTFRWK_DESTROY
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
	callq	_KTFRWK_UNLOCK
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kfrwk,8,2                      ## @kfrwk
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_ktest_frwk_inited,8,3          ## @ktest_frwk_inited
	.no_dead_strip	_kerntest_frwk_fini
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kerntest_frwk_fini
_kerntest_frwk_fini:                    ; @kerntest_frwk_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
	bl	_KTFRWK_LOCK
Lloh0:
	adrp	x19, _kfrwk@GOTPAGE
Lloh1:
	ldr	x19, [x19, _kfrwk@GOTPAGEOFF]
	add	x0, x19, #4
	bl	_TAILQ_EMPTY
	cbz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ktest_frwk_inited@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ktest_frwk_inited@GOTPAGEOFF]
Lloh4:
	str	xzr, [x8]
	bl	_KTFRWK_UNLOCK
	ldr	w0, [x19]
	bl	_taskqueue_free
	bl	_KTFRWK_DESTROY
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	bl	_KTFRWK_UNLOCK
Lloh5:
	adrp	x8, _EBUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_kfrwk,8,2                      ; @kfrwk
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_ktest_frwk_inited,8,3          ; @ktest_frwk_inited
	.no_dead_strip	_kerntest_frwk_fini
.subsections_via_symbols
