	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xsltGatherNamespaces
_xsltGatherNamespaces:                  ## @xsltGatherNamespaces
	.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
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.1:
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	callq	_xmlDocGetRootElement
	testq	%rax, %rax
	je	LBB0_21
## %bb.2:
	movq	_XML_ELEMENT_NODE@GOTPCREL(%rip), %r12
	leaq	L_.str.1(%rip), %r15
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_17 Depth 2
	movq	%rax, %rbx
	movq	(%rax), %rax
	cmpq	(%r12), %rax
	jne	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%rbx), %r13
	testq	%r13, %r13
	jne	LBB0_6
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	8(%r14), %rdi
	movq	8(%r13), %rdx
	movq	16(%r13), %rsi
	xorl	%ecx, %ecx
	callq	_xmlHashUpdateEntry
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r13), %r13
	testq	%r13, %r13
	je	LBB0_15
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	8(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	$10, %edi
	callq	_xmlHashCreate
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_20
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	16(%r13), %rsi
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%rax, %rdi
	callq	_xmlHashLookup
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	8(%r13), %rsi
	movq	%rax, %rdi
	callq	_xmlStrEqual
	testl	%eax, %eax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	16(%r13), %r8
	xorl	%edi, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_xsltTransformError
	incl	16(%r14)
	movq	(%r13), %r13
	testq	%r13, %r13
	jne	LBB0_6
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %rcx
	movq	_XML_ENTITY_DECL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=2
	cmpq	(%r14), %rbx
	jne	LBB0_17
	jmp	LBB0_21
LBB0_20:
	leaq	L_.str(%rip), %rcx
	xorl	%edi, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_xsltTransformError
	incl	20(%r14)
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XML_ELEMENT_NODE,8,3           ## @XML_ELEMENT_NODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xsltGatherNamespaces: failed to create hash table\n"

L_.str.1:                               ## @.str.1
	.asciz	"Namespaces prefix %s used for multiple namespaces\n"

	.comm	_XML_ENTITY_DECL,8,3            ## @XML_ENTITY_DECL
	.comm	_xsltGenericDebugContext,4,2    ## @xsltGenericDebugContext
	.no_dead_strip	_xsltGatherNamespaces
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xsltGatherNamespaces
_xsltGatherNamespaces:                  ; @xsltGatherNamespaces
	.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
	cbz	x0, LBB0_20
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0]
	bl	_xmlDocGetRootElement
	cbz	x0, LBB0_20
; %bb.2:
Lloh0:
	adrp	x22, _XML_ELEMENT_NODE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _XML_ELEMENT_NODE@GOTPAGEOFF]
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh4:
	adrp	x23, _XML_ENTITY_DECL@GOTPAGE
Lloh5:
	ldr	x23, [x23, _XML_ENTITY_DECL@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_7 Depth 2
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x24, [x21, #32]
	cbnz	x24, LBB0_12
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x21, #24]
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x0]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x21, #8]
	cbnz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x21, [x21, #16]
	cbz	x21, LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x19]
	cmp	x21, x8
	b.ne	LBB0_7
	b	LBB0_20
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	x0, [x19, #8]
	ldp	x2, x1, [x24, #8]
	mov	x3, #0
	bl	_xmlHashUpdateEntry
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	x24, [x24]
	cbz	x24, LBB0_5
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [x24, #16]
	cbz	x1, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	bl	_xmlHashLookup
	cbnz	x0, LBB0_17
	b	LBB0_10
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	w0, #10
	bl	_xmlHashCreate
	str	x0, [x19, #8]
	cbz	x0, LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x1, [x24, #16]
	bl	_xmlHashLookup
	cbz	x0, LBB0_10
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	x1, [x24, #8]
	bl	_xmlStrEqual
	cbnz	w0, LBB0_11
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [x24, #16]
	str	x8, [sp]
	mov	x0, #0
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	bl	_xsltTransformError
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	b	LBB0_11
LBB0_19:
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x21
	bl	_xsltTransformError
	ldr	w8, [x19, #20]
	add	w8, w8, #1
	str	w8, [x19, #20]
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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_XML_ELEMENT_NODE,8,3           ; @XML_ELEMENT_NODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xsltGatherNamespaces: failed to create hash table\n"

l_.str.1:                               ; @.str.1
	.asciz	"Namespaces prefix %s used for multiple namespaces\n"

	.comm	_XML_ENTITY_DECL,8,3            ; @XML_ENTITY_DECL
	.comm	_xsltGenericDebugContext,4,2    ; @xsltGenericDebugContext
	.no_dead_strip	_xsltGatherNamespaces
.subsections_via_symbols
