	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltRegisterLocalRVT           ## -- Begin function xsltRegisterLocalRVT
	.p2align	4, 0x90
_xsltRegisterLocalRVT:                  ## @xsltRegisterLocalRVT
	.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
	movl	$-1, %eax
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.2:
	movq	%rdi, %rbx
	movq	$0, (%r14)
	movq	_XSLT_RVT_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	cmpq	$0, 8(%rdi)
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_XSLT_TCTXT_VARIABLE
	movq	_XSLT_VAR_IN_SELECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_XSLT_TCTXT_VARIABLE
	movq	8(%rax), %rax
	movq	%rax, 8(%r14)
	movq	%rbx, %rdi
	callq	_XSLT_TCTXT_VARIABLE
	movq	%rax, %rbx
	addq	$8, %rbx
	jmp	LBB0_7
LBB0_5:
	movq	(%rbx), %rax
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r14, (%rax)
LBB0_7:
	movq	%r14, (%rbx)
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XSLT_RVT_LOCAL,4,2             ## @XSLT_RVT_LOCAL
	.comm	_XSLT_VAR_IN_SELECT,4,2         ## @XSLT_VAR_IN_SELECT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltRegisterLocalRVT           ; -- Begin function xsltRegisterLocalRVT
	.p2align	2
_xsltRegisterLocalRVT:                  ; @xsltRegisterLocalRVT
	.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
	mov	x20, x0
	mov	w0, #-1
	cbz	x20, LBB0_8
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_8
; %bb.2:
	str	xzr, [x19]
Lloh0:
	adrp	x8, _XSLT_RVT_LOCAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XSLT_RVT_LOCAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x20
	bl	_XSLT_TCTXT_VARIABLE
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _XSLT_VAR_IN_SELECT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XSLT_VAR_IN_SELECT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_XSLT_TCTXT_VARIABLE
	ldr	x8, [x0, #8]
	str	x8, [x19, #8]
	mov	x0, x20
	bl	_XSLT_TCTXT_VARIABLE
	add	x20, x0, #8
	b	LBB0_7
LBB0_5:
	ldr	x8, [x20]
	str	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.6:
	str	x19, [x8]
LBB0_7:
	mov	w0, #0
	str	x19, [x20]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_XSLT_RVT_LOCAL,4,2             ; @XSLT_RVT_LOCAL
	.comm	_XSLT_VAR_IN_SELECT,4,2         ; @XSLT_VAR_IN_SELECT
.subsections_via_symbols
