	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xsltRegisterGlobalVariable
_xsltRegisterGlobalVariable:            ## @xsltRegisterGlobalVariable
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r14d
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.1:
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.2:
	testq	%r9, %r9
	je	LBB0_19
## %bb.3:
	movq	%rcx, %r15
	movq	%rdi, %r13
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	xorl	%edi, %edi
	callq	_xsltNewStackElem
	testq	%rax, %rax
	je	LBB0_19
## %bb.4:
	movq	%rax, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 32(%rbx)
	movl	16(%r13), %edi
	movq	%r12, %rsi
	movl	$-1, %edx
	callq	_xmlDictLookup
	movq	%rax, (%rbx)
	movl	16(%r13), %edi
	movq	%r15, %rsi
	movl	$-1, %edx
	callq	_xmlDictLookup
	movq	%rax, 48(%rbx)
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	movl	16(%r13), %edi
	movl	$-1, %edx
	callq	_xmlDictLookup
	movq	%rax, 8(%rbx)
LBB0_6:
	movq	16(%rbp), %rdi
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 40(%rbx)
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	_XSLT_FUNC_VARIABLE@GOTPCREL(%rip), %r15
	leaq	L_.str(%rip), %r12
	jmp	LBB0_9
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edx
	movq	(%rbx), %r8
	xorl	%edi, %edi
	movq	%r13, %rsi
	movq	%r12, %rcx
	callq	_xsltTransformError
	incl	(%r13)
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	24(%r14), %rax
	testq	%rax, %rax
	je	LBB0_16
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r14
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	cmpq	(%r15), %rax
	jne	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	32(%r14), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rdi
	movq	(%r14), %rsi
	callq	_xmlStrEqual
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rbx), %rdi
	movq	8(%r14), %rsi
	cmpq	%rsi, %rdi
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	callq	_xmlStrEqual
	testq	%rax, %rax
	jne	LBB0_14
	jmp	LBB0_15
LBB0_16:
	addq	$24, %r14
	movq	%r14, %r13
	movq	16(%rbp), %rdi
	jmp	LBB0_17
LBB0_7:
	addq	$8, %r13
LBB0_17:
	movq	$0, 24(%rbx)
	movq	%rbx, (%r13)
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:
	movl	$1, 16(%rbx)
	callq	_xmlXPathNewString
	movl	%eax, 20(%rbx)
LBB0_19:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XSLT_FUNC_VARIABLE,8,3         ## @XSLT_FUNC_VARIABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"redefinition of global variable %s\n"

	.comm	_XSLT_FUNC_PARAM,8,3            ## @XSLT_FUNC_PARAM
	.comm	_xsltGenericDebugContext,4,2    ## @xsltGenericDebugContext
	.no_dead_strip	_xsltRegisterGlobalVariable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xsltRegisterGlobalVariable
_xsltRegisterGlobalVariable:            ; @xsltRegisterGlobalVariable
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x0
	mov	w0, #-1
	cbz	x22, LBB0_20
; %bb.1:
	mov	x26, x1
	cbz	x1, LBB0_20
; %bb.2:
	mov	x21, x5
	cbz	x5, LBB0_20
; %bb.3:
	mov	x19, x6
	mov	x23, x4
	mov	x25, x3
	mov	x24, x2
	mov	x0, #0
	bl	_xsltNewStackElem
	cbz	x0, LBB0_18
; %bb.4:
	mov	x20, x0
	str	x21, [x0, #32]
	ldr	w0, [x22, #16]
	mov	x1, x26
	mov	w2, #-1
	bl	_xmlDictLookup
	str	x0, [x20]
	ldr	w0, [x22, #16]
	mov	x1, x25
	mov	w2, #-1
	bl	_xmlDictLookup
	str	x0, [x20, #48]
	cbz	x24, LBB0_6
; %bb.5:
	ldr	w0, [x22, #16]
	mov	x1, x24
	mov	w2, #-1
	bl	_xmlDictLookup
	str	x0, [x20, #8]
LBB0_6:
	str	w23, [x20, #40]
	mov	x8, x22
	ldr	x9, [x8, #8]!
	cbz	x9, LBB0_16
; %bb.7:
Lloh0:
	adrp	x24, _XSLT_FUNC_VARIABLE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _XSLT_FUNC_VARIABLE@GOTPAGEOFF]
Lloh2:
	adrp	x23, l_.str@PAGE
Lloh3:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w2, [x21, #8]
	ldr	x4, [x20]
	mov	x0, #0
	mov	x1, x22
	mov	x3, x23
	bl	_xsltTransformError
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x25, #24]
	cbz	x9, LBB0_15
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x25, x9
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x25, #32]
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [x20]
	ldr	x1, [x25]
	bl	_xmlStrEqual
	cbz	x0, LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [x20, #8]
	ldr	x1, [x25, #8]
	cmp	x0, x1
	b.eq	LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	bl	_xmlStrEqual
	cbnz	x0, LBB0_8
	b	LBB0_9
LBB0_15:
	add	x8, x25, #24
LBB0_16:
	str	xzr, [x20, #24]
	str	x20, [x8]
	cbz	x19, LBB0_19
; %bb.17:
	mov	w8, #1
	str	w8, [x20, #16]
	mov	x0, x19
	bl	_xmlXPathNewString
	mov	x8, x0
	mov	w0, #0
	str	w8, [x20, #20]
	b	LBB0_20
LBB0_18:
	mov	w0, #-1
	b	LBB0_20
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_XSLT_FUNC_VARIABLE,8,3         ; @XSLT_FUNC_VARIABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"redefinition of global variable %s\n"

	.comm	_XSLT_FUNC_PARAM,8,3            ; @XSLT_FUNC_PARAM
	.comm	_xsltGenericDebugContext,4,2    ; @xsltGenericDebugContext
	.no_dead_strip	_xsltRegisterGlobalVariable
.subsections_via_symbols
