	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostres_fini
_hostres_fini:                          ## @hostres_fini
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_hr_kd@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_kvm_close
LBB0_2:
	xorl	%eax, %eax
	callq	_fini_storage_tbl
	xorl	%eax, %eax
	callq	_fini_fs_tbl
	xorl	%eax, %eax
	callq	_fini_processor_tbl
	xorl	%eax, %eax
	callq	_fini_disk_storage_tbl
	xorl	%eax, %eax
	callq	_fini_device_tbl
	xorl	%eax, %eax
	callq	_fini_partition_tbl
	xorl	%eax, %eax
	callq	_fini_network_tbl
	xorl	%eax, %eax
	callq	_fini_printer_tbl
	xorl	%eax, %eax
	callq	_fini_swrun_tbl
	xorl	%eax, %eax
	callq	_fini_swins_tbl
	xorl	%eax, %eax
	callq	_fini_scalars
	movq	_host_registration_id@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	jle	LBB0_4
## %bb.3:
	callq	_or_unregister
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_HRDBG
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hr_kd,8,3                      ## @hr_kd
	.comm	_host_registration_id,8,3       ## @host_registration_id
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"done."

	.no_dead_strip	_hostres_fini
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostres_fini
_hostres_fini:                          ; @hostres_fini
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _hr_kd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hr_kd@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_kvm_close
LBB0_2:
	bl	_fini_storage_tbl
	bl	_fini_fs_tbl
	bl	_fini_processor_tbl
	bl	_fini_disk_storage_tbl
	bl	_fini_device_tbl
	bl	_fini_partition_tbl
	bl	_fini_network_tbl
	bl	_fini_printer_tbl
	bl	_fini_swrun_tbl
	bl	_fini_swins_tbl
	bl	_fini_scalars
Lloh3:
	adrp	x8, _host_registration_id@GOTPAGE
Lloh4:
	ldr	x8, [x8, _host_registration_id@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.3:
	bl	_or_unregister
LBB0_4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HRDBG
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_hr_kd,8,3                      ; @hr_kd
	.comm	_host_registration_id,8,3       ; @host_registration_id
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"done."

	.no_dead_strip	_hostres_fini
.subsections_via_symbols
