	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltCleanupGlobals             ## -- Begin function xsltCleanupGlobals
	.p2align	4, 0x90
_xsltCleanupGlobals:                    ## @xsltCleanupGlobals
	.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	%eax, %eax
	callq	_xsltUnregisterAllExtModules
	xorl	%eax, %eax
	callq	_xsltUnregisterAllExtModuleFunction
	xorl	%eax, %eax
	callq	_xsltUnregisterAllExtModuleElement
	xorl	%eax, %eax
	callq	_xsltUnregisterAllExtModuleTopLevel
	movq	_xsltExtMutex@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_xmlMutexLock
	movq	_xsltModuleHash@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_xsltHashScannerModuleFree@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_xmlHashScan
	movq	(%r14), %rdi
	xorl	%esi, %esi
	callq	_xmlHashFree
	movq	$0, (%r14)
LBB0_2:
	movq	(%rbx), %rdi
	callq	_xmlMutexUnlock
	movq	(%rbx), %rdi
	callq	_xmlFreeMutex
	movq	$0, (%rbx)
	xorl	%eax, %eax
	callq	_xsltFreeLocales
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_xsltUninit                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_xsltExtMutex,8,3               ## @xsltExtMutex
	.comm	_xsltModuleHash,8,3             ## @xsltModuleHash
	.comm	_xsltHashScannerModuleFree,4,2  ## @xsltHashScannerModuleFree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltCleanupGlobals             ; -- Begin function xsltCleanupGlobals
	.p2align	2
_xsltCleanupGlobals:                    ; @xsltCleanupGlobals
	.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	_xsltUnregisterAllExtModules
	bl	_xsltUnregisterAllExtModuleFunction
	bl	_xsltUnregisterAllExtModuleElement
	bl	_xsltUnregisterAllExtModuleTopLevel
Lloh0:
	adrp	x19, _xsltExtMutex@GOTPAGE
Lloh1:
	ldr	x19, [x19, _xsltExtMutex@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_xmlMutexLock
Lloh2:
	adrp	x20, _xsltModuleHash@GOTPAGE
Lloh3:
	ldr	x20, [x20, _xsltModuleHash@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _xsltHashScannerModuleFree@GOTPAGE
Lloh5:
	ldr	x8, [x8, _xsltHashScannerModuleFree@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_xmlHashScan
	ldr	x0, [x20]
	mov	x1, #0
	bl	_xmlHashFree
	str	xzr, [x20]
LBB0_2:
	ldr	x0, [x19]
	bl	_xmlMutexUnlock
	ldr	x0, [x19]
	bl	_xmlFreeMutex
	str	xzr, [x19]
	bl	_xsltFreeLocales
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_xsltUninit
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_xsltExtMutex,8,3               ; @xsltExtMutex
	.comm	_xsltModuleHash,8,3             ; @xsltModuleHash
	.comm	_xsltHashScannerModuleFree,4,2  ; @xsltHashScannerModuleFree
.subsections_via_symbols
