	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltXPathVariableLookup        ## -- Begin function xsltXPathVariableLookup
	.p2align	4, 0x90
_xsltXPathVariableLookup:               ## @xsltXPathVariableLookup
	.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
	xorl	%r12d, %r12d
	testq	%rdi, %rdi
	je	LBB0_30
## %bb.1:
	movq	%rsi, %r13
	testq	%rsi, %rsi
	je	LBB0_30
## %bb.2:
	movq	%rdx, %r15
	movq	%rdi, %r14
	movq	(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.3:
	movslq	8(%r14), %rax
	cmpl	%edx, %eax
	jge	LBB0_8
## %bb.4:
	movq	24(%r14), %rcx
	movslq	%edx, %rdx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	decq	%rdx
	cmpq	%rax, %rdx
	jle	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rcx,%rdx,8), %rbx
	cmpq	%r13, 24(%rbx)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r15, 16(%rbx)
	jne	LBB0_7
	jmp	LBB0_23
LBB0_8:
	movl	32(%r14), %edi
	movq	%r13, %rsi
	movl	$-1, %edx
	callq	_xmlDictLookup
	movq	%rax, %r12
	testq	%r15, %r15
	je	LBB0_9
## %bb.10:
	movl	32(%r14), %edi
	movq	%r15, %rsi
	movl	$-1, %edx
	callq	_xmlDictLookup
	cmpq	%r13, %r12
	je	LBB0_12
	jmp	LBB0_13
LBB0_9:
	xorl	%eax, %eax
	cmpq	%r13, %r12
	jne	LBB0_13
LBB0_12:
	cmpq	%r15, %rax
	jne	LBB0_13
LBB0_15:
	cmpq	$0, 16(%r14)
	jne	LBB0_16
	jmp	LBB0_17
LBB0_13:
	movq	(%r14), %rsi
	movslq	8(%r14), %rcx
	cmpl	%esi, %ecx
	jge	LBB0_14
## %bb.19:
	movq	24(%r14), %rdx
	movslq	%esi, %rsi
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	decq	%rsi
	cmpq	%rcx, %rsi
	jle	LBB0_14
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	-8(%rdx,%rsi,8), %rbx
	cmpq	%r12, 24(%rbx)
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpq	%rax, 16(%rbx)
	jne	LBB0_22
LBB0_23:
	cmpl	$0, (%rbx)
	je	LBB0_25
## %bb.24:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xmlXPathObjectCopy             ## TAILCALL
LBB0_14:
	movq	%rax, %r15
	movq	%r12, %r13
	cmpq	$0, 16(%r14)
	je	LBB0_17
LBB0_16:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_xsltGlobalVariableLookup
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_30
LBB0_17:
	movl	12(%r14), %edx
	testq	%r15, %r15
	je	LBB0_29
## %bb.18:
	leaq	L_.str(%rip), %rcx
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r15, %r8
	movq	%r13, %r9
	xorl	%eax, %eax
	callq	_xsltTransformError
	jmp	LBB0_30
LBB0_29:
	leaq	L_.str.1(%rip), %rcx
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r13, %r8
	xorl	%eax, %eax
	callq	_xsltTransformError
	jmp	LBB0_30
LBB0_25:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_xsltEvalVariable
	movq	%rax, %rdi
	movq	%rax, 8(%rbx)
	movl	$1, (%rbx)
	testq	%rdi, %rdi
	jne	LBB0_28
LBB0_27:
	xorl	%r12d, %r12d
LBB0_30:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Variable '{%s}%s' has not been declared.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Variable '%s' has not been declared.\n"

	.comm	_XSLT_TRACE_VARIABLES,4,2       ## @XSLT_TRACE_VARIABLES
	.comm	_stack_addr,4,2                 ## @stack_addr
	.comm	_stack_cmp,4,2                  ## @stack_cmp
	.comm	_xsltGenericDebugContext,4,2    ## @xsltGenericDebugContext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltXPathVariableLookup        ; -- Begin function xsltXPathVariableLookup
	.p2align	2
_xsltXPathVariableLookup:               ; @xsltXPathVariableLookup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	mov	x0, #0
	cbz	x19, LBB0_26
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_26
; %bb.2:
	mov	x20, x2
	ldr	x9, [x19]
	cbz	x9, LBB0_20
; %bb.3:
	ldrsw	x8, [x19, #8]
	cmp	w8, w9
	b.ge	LBB0_8
; %bb.4:
	ldr	x10, [x19, #24]
	sxtw	x9, w9
	sub	x10, x10, #8
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	x9, x9, #1
	cmp	x9, x8
	b.le	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x10, x9, lsl #3]
	ldr	x11, [x23, #24]
	cmp	x11, x21
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x11, [x23, #16]
	cmp	x11, x20
	b.ne	LBB0_5
	b	LBB0_17
LBB0_8:
	ldr	w0, [x19, #32]
	mov	x1, x21
	mov	w2, #-1
	bl	_xmlDictLookup
	mov	x22, x0
	cbz	x20, LBB0_10
; %bb.9:
	ldr	w0, [x19, #32]
	mov	x1, x20
	mov	w2, #-1
	bl	_xmlDictLookup
	b	LBB0_11
LBB0_10:
	mov	x0, #0
LBB0_11:
	cmp	x22, x21
	ccmp	x0, x20, #0, eq
	b.eq	LBB0_20
; %bb.12:
	ldr	x9, [x19]
	ldrsw	x8, [x19, #8]
	cmp	w8, w9
	b.ge	LBB0_19
; %bb.13:
	ldr	x10, [x19, #24]
	sxtw	x9, w9
	sub	x10, x10, #8
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	sub	x9, x9, #1
	cmp	x9, x8
	b.le	LBB0_19
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x10, x9, lsl #3]
	ldr	x11, [x23, #24]
	cmp	x11, x22
	b.ne	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x11, [x23, #16]
	cmp	x11, x0
	b.ne	LBB0_14
LBB0_17:
	ldr	w8, [x23]
	cbz	w8, LBB0_27
; %bb.18:
	ldr	x0, [x23, #8]
	cbnz	x0, LBB0_28
	b	LBB0_26
LBB0_19:
	mov	x20, x0
	mov	x21, x22
LBB0_20:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_22
; %bb.21:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_xsltGlobalVariableLookup
	cbnz	x0, LBB0_26
LBB0_22:
	ldr	w2, [x19, #12]
	cbz	x20, LBB0_24
; %bb.23:
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	str	x21, [sp]
	mov	x0, x19
	mov	x1, #0
	mov	x4, x20
	b	LBB0_25
LBB0_24:
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, #0
	mov	x4, x21
LBB0_25:
	bl	_xsltTransformError
	mov	x0, #0
LBB0_26:
	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
	add	sp, sp, #80
	ret
LBB0_27:
	mov	x0, x19
	mov	x1, x23
	mov	x2, #0
	bl	_xsltEvalVariable
	str	x0, [x23, #8]
	mov	w8, #1
	str	w8, [x23]
	cbz	x0, LBB0_26
LBB0_28:
	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
	add	sp, sp, #80
	b	_xmlXPathObjectCopy
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Variable '{%s}%s' has not been declared.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Variable '%s' has not been declared.\n"

	.comm	_XSLT_TRACE_VARIABLES,4,2       ; @XSLT_TRACE_VARIABLES
	.comm	_stack_addr,4,2                 ; @stack_addr
	.comm	_stack_cmp,4,2                  ; @stack_cmp
	.comm	_xsltGenericDebugContext,4,2    ; @xsltGenericDebugContext
.subsections_via_symbols
