	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltFunctionNodeSet            ## -- Begin function xsltFunctionNodeSet
	.p2align	4, 0x90
_xsltFunctionNodeSet:                   ## @xsltFunctionNodeSet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpl	$1, %esi
	jne	LBB0_1
## %bb.3:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	(%rax), %rcx
	movq	_XPATH_XSLT_TREE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	_XPATH_NODESET@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rsi, %rcx
	je	LBB0_7
## %bb.5:
	cmpq	%rdx, %rcx
	je	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_xsltXPathGetTransformContext
	leaq	L_.str.1(%rip), %rcx
	movl	%eax, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_xsltTransformError
	movq	_XPATH_INVALID_TYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	%rbx, %rdi
	callq	_xsltXPathGetTransformContext
	leaq	L_.str(%rip), %rcx
	movl	%eax, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_xsltTransformError
	movq	_XPATH_INVALID_ARITY@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	cmpq	%rsi, %rcx
	jne	LBB0_9
## %bb.8:
	movq	%rdx, (%rax)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"node-set() : expects one result-tree arg\n"

	.comm	_XPATH_INVALID_ARITY,4,2        ## @XPATH_INVALID_ARITY
	.comm	_XPATH_XSLT_TREE,8,3            ## @XPATH_XSLT_TREE
	.comm	_XPATH_NODESET,8,3              ## @XPATH_NODESET
L_.str.1:                               ## @.str.1
	.asciz	"node-set() invalid arg expecting a result tree\n"

	.comm	_XPATH_INVALID_TYPE,4,2         ## @XPATH_INVALID_TYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltFunctionNodeSet            ; -- Begin function xsltFunctionNodeSet
	.p2align	2
_xsltFunctionNodeSet:                   ; @xsltFunctionNodeSet
	.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	x19, x0
	cmp	w1, #1
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	x10, [x8]
Lloh0:
	adrp	x9, _XPATH_XSLT_TREE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XPATH_XSLT_TREE@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x9]
Lloh3:
	adrp	x9, _XPATH_NODESET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XPATH_NODESET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x10, x11
	ccmp	x10, x9, #4, ne
	b.ne	LBB0_6
; %bb.3:
	cmp	x10, x11
	b.ne	LBB0_8
; %bb.4:
	str	x9, [x8]
	b	LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_xsltXPathGetTransformContext
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x1, #0
	mov	x2, #0
	bl	_xsltTransformError
Lloh8:
	adrp	x8, _XPATH_INVALID_ARITY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XPATH_INVALID_ARITY@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_xsltXPathGetTransformContext
Lloh10:
	adrp	x3, l_.str.1@PAGE
Lloh11:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x1, #0
	mov	x2, #0
	bl	_xsltTransformError
Lloh12:
	adrp	x8, _XPATH_INVALID_TYPE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XPATH_INVALID_TYPE@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"node-set() : expects one result-tree arg\n"

	.comm	_XPATH_INVALID_ARITY,4,2        ; @XPATH_INVALID_ARITY
	.comm	_XPATH_XSLT_TREE,8,3            ; @XPATH_XSLT_TREE
	.comm	_XPATH_NODESET,8,3              ; @XPATH_NODESET
l_.str.1:                               ; @.str.1
	.asciz	"node-set() invalid arg expecting a result tree\n"

	.comm	_XPATH_INVALID_TYPE,4,2         ; @XPATH_INVALID_TYPE
.subsections_via_symbols
