	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xsltResolveAttrSet
_xsltResolveAttrSet:                    ## @xsltResolveAttrSet
	.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
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	(%rdi), %rcx
	movq	_ATTRSET_RESOLVED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_13
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_ATTRSET_RESOLVING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rcx
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rcx
	xorl	%edi, %edi
	movq	%r14, %rsi
	movq	%rdx, %rbx
	xorl	%edx, %edx
	movq	%r13, %r8
	callq	_xsltTransformError
	incl	8(%r14)
	movq	(%rbx), %rax
	jmp	LBB0_12
LBB0_3:
	cmpl	$101, %r9d
	jl	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rcx
	xorl	%edi, %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movq	%r13, %r8
	callq	_xsltTransformError
	incl	8(%r14)
	jmp	LBB0_13
LBB0_5:
	movq	%r8, %rbx
	movq	%rax, (%r15)
	movq	%r15, %rdi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r9d, %edx
	callq	_xsltResolveUseAttrSets
	movq	%r12, %rdi
	callq	_xsltNextImport
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	%rax, %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_xsltNextImport
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_xmlHashLookup2
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_xsltResolveUseAttrSets
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_xsltMergeAttrSets
	movq	(%r12), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_xmlHashRemoveEntry2
	movq	%r14, %rdi
	callq	_xsltFreeAttrSet
	jmp	LBB0_10
LBB0_11:
	movq	_ATTRSET_RESOLVED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_12:
	movq	%rax, (%r15)
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATTRSET_RESOLVED,8,3           ## @ATTRSET_RESOLVED
	.comm	_ATTRSET_RESOLVING,8,3          ## @ATTRSET_RESOLVING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xsl:attribute-set : use-attribute-sets recursion detected on %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"xsl:attribute-set : use-attribute-sets maximum recursion depth exceeded on %s\n"

	.comm	_xsltGenericDebugContext,4,2    ## @xsltGenericDebugContext
	.no_dead_strip	_xsltResolveAttrSet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xsltResolveAttrSet
_xsltResolveAttrSet:                    ; @xsltResolveAttrSet
	.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
	ldr	x9, [x0]
Lloh0:
	adrp	x26, _ATTRSET_RESOLVED@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ATTRSET_RESOLVED@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x9, x8
	b.eq	LBB0_6
; %bb.1:
	mov	x20, x3
	mov	x19, x1
	mov	x21, x0
Lloh2:
	adrp	x8, _ATTRSET_RESOLVING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATTRSET_RESOLVING@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.2:
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, #0
	mov	x1, x19
	mov	x2, #0
	mov	x4, x20
	bl	_xsltTransformError
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
LBB0_3:
	ldr	x8, [x26]
	str	x8, [x21]
	b	LBB0_6
LBB0_4:
	mov	x22, x5
	cmp	w5, #101
	b.lt	LBB0_7
; %bb.5:
Lloh7:
	adrp	x3, l_.str.1@PAGE
Lloh8:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, #0
	mov	x1, x19
	mov	x2, #0
	mov	x4, x20
	bl	_xsltTransformError
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
LBB0_6:
	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
LBB0_7:
	mov	x23, x4
	mov	x24, x2
	str	x8, [x21]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_xsltResolveUseAttrSets
	mov	x0, x24
	bl	_xsltNextImport
	cbz	x0, LBB0_3
; %bb.8:
	mov	x24, x0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x24
	bl	_xsltNextImport
	mov	x24, x0
	cbz	x0, LBB0_3
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	cbz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x1, x20
	mov	x2, x23
	bl	_xmlHashLookup2
	cbz	x0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x25, x0
	mov	x1, x19
	mov	x2, x22
	bl	_xsltResolveUseAttrSets
	mov	x0, x21
	mov	x1, x25
	bl	_xsltMergeAttrSets
	ldr	x0, [x24]
	mov	x1, x20
	mov	x2, x23
	mov	x3, #0
	bl	_xmlHashRemoveEntry2
	mov	x0, x25
	bl	_xsltFreeAttrSet
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ATTRSET_RESOLVED,8,3           ; @ATTRSET_RESOLVED
	.comm	_ATTRSET_RESOLVING,8,3          ; @ATTRSET_RESOLVING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xsl:attribute-set : use-attribute-sets recursion detected on %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"xsl:attribute-set : use-attribute-sets maximum recursion depth exceeded on %s\n"

	.comm	_xsltGenericDebugContext,4,2    ; @xsltGenericDebugContext
	.no_dead_strip	_xsltResolveAttrSet
.subsections_via_symbols
