	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltRegisterExtModuleElement   ## -- Begin function xsltRegisterExtModuleElement
	.p2align	4, 0x90
_xsltRegisterExtModuleElement:          ## @xsltRegisterExtModuleElement
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r12d
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.2:
	movq	%rcx, %rbx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.3:
	movl	%edx, %r13d
	movq	%rdi, %r15
	movq	_xsltElementsHash@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_5
## %bb.4:
	movl	$10, %edi
	callq	_xmlHashCreate
	movq	_xsltElementsHash@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_9
LBB0_5:
	movq	%rcx, %r12
	movq	_xsltExtMutex@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_xmlMutexLock
	movl	%r13d, %edi
	movq	%rbx, %rsi
	callq	_xsltNewExtElement
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	(%r12), %rdi
	movq	_xsltFreeExtElementEntry@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_xmlHashUpdateEntry2
	xorl	%r12d, %r12d
	jmp	LBB0_8
LBB0_6:
	movl	$-1, %r12d
LBB0_8:
	movq	_xsltExtMutex@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_xmlMutexUnlock
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xsltElementsHash,8,3           ## @xsltElementsHash
	.comm	_xsltExtMutex,4,2               ## @xsltExtMutex
	.comm	_xsltFreeExtElementEntry,4,2    ## @xsltFreeExtElementEntry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltRegisterExtModuleElement   ; -- Begin function xsltRegisterExtModuleElement
	.p2align	2
_xsltRegisterExtModuleElement:          ; @xsltRegisterExtModuleElement
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	w23, #-1
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_9
; %bb.2:
	mov	x21, x3
	cbz	x3, LBB0_9
; %bb.3:
	mov	x22, x2
	mov	x20, x0
Lloh0:
	adrp	x23, _xsltElementsHash@GOTPAGE
Lloh1:
	ldr	x23, [x23, _xsltElementsHash@GOTPAGEOFF]
	ldr	x8, [x23]
	cbnz	x8, LBB0_5
; %bb.4:
	mov	w0, #10
	bl	_xmlHashCreate
	str	x0, [x23]
	cbz	x0, LBB0_10
LBB0_5:
Lloh2:
	adrp	x24, _xsltExtMutex@GOTPAGE
Lloh3:
	ldr	x24, [x24, _xsltExtMutex@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_xmlMutexLock
	mov	x0, x22
	mov	x1, x21
	bl	_xsltNewExtElement
	cbz	x0, LBB0_7
; %bb.6:
	mov	x3, x0
	ldr	x0, [x23]
Lloh4:
	adrp	x8, _xsltFreeExtElementEntry@GOTPAGE
Lloh5:
	ldr	x8, [x8, _xsltFreeExtElementEntry@GOTPAGEOFF]
Lloh6:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x2, x19
	bl	_xmlHashUpdateEntry2
	mov	w23, #0
	b	LBB0_8
LBB0_7:
	mov	w23, #-1
LBB0_8:
	ldr	w0, [x24]
	bl	_xmlMutexUnlock
LBB0_9:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	w23, #-1
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_xsltElementsHash,8,3           ; @xsltElementsHash
	.comm	_xsltExtMutex,4,2               ; @xsltExtMutex
	.comm	_xsltFreeExtElementEntry,4,2    ; @xsltFreeExtElementEntry
.subsections_via_symbols
