	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltNewTransformContext        ## -- Begin function xsltNewTransformContext
	.p2align	4, 0x90
_xsltNewTransformContext:               ## @xsltNewTransformContext
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_xsltInitGlobals
	movl	$4, %edi
	callq	_xmlMalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	xorl	%eax, %eax
	callq	_xsltTransformCacheCreate
	movq	%rax, 232(%rbx)
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movl	24(%r15), %edi
	callq	_xmlDictCreateSub
	movq	%rax, 224(%rbx)
	cmpq	$0, 16(%r15)
	setne	%cl
	testq	%rax, %rax
	setne	%al
	andb	%cl, %al
	movzbl	%al, %eax
	movl	%eax, (%rbx)
	movl	$40, %edi
	callq	_xmlMalloc
	movq	%rax, 216(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movl	$5, 4(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 200(%rbx)
	movq	_xsltMaxDepth@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 192(%rbx)
	movl	$40, %edi
	callq	_xmlMalloc
	movq	%rax, 184(%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	movq	$0, 176(%rbx)
	movl	$10, 8(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 160(%rbx)
	movq	_xsltMaxVars@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 152(%rbx)
	movups	%xmm0, 120(%rbx)
	movups	%xmm0, 136(%rbx)
	movq	%r15, 112(%rbx)
	xorl	%eax, %eax
	callq	_xmlXPathInit
	movq	%r14, %rdi
	callq	_xmlXPathNewContext
	movq	%rax, 96(%rbx)
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %rdi
	movl	$1, %esi
	movl	$-1, %edx
	xorl	%ecx, %ecx
	callq	_xmlXPathContextSetCache
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.13:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:
	leal	20(%rax), %ecx
	movl	%ecx, 12(%rbx)
	leal	80(,%rax,4), %edi
	callq	_xmlMalloc
	movq	%rax, 104(%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.15:
	movl	(%r15), %ecx
	movl	%ecx, 16(%rbx)
	movl	12(%rbx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_18
## %bb.16:
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,2), %rsi
	movq	%rax, %rdi
	callq	___bzero
	jmp	LBB0_18
LBB0_1:
	leaq	L_.str(%rip), %rcx
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_xsltTransformError
	jmp	LBB0_23
LBB0_4:
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_5
LBB0_8:
	movq	_xmlGenericErrorContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_xmlGenericError
	jmp	LBB0_9
LBB0_11:
	leaq	L_.str.2(%rip), %rcx
LBB0_5:
	xorl	%edi, %edi
LBB0_6:
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_xsltTransformError
LBB0_9:
	movq	%rbx, %rdi
	callq	_xsltFreeTransformContext
	xorl	%ebx, %ebx
LBB0_23:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	$0, 104(%rbx)
	movq	$0, 12(%rbx)
LBB0_18:
	movq	%rbx, %rdi
	callq	_XSLT_REGISTER_VARIABLE_LOOKUP
	movq	%rbx, %rdi
	callq	_XSLT_REGISTER_FUNCTION_LOOKUP
	movl	8(%r15), %eax
	movq	96(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	callq	_xsltInitCtxtExts
	movq	_xslDebugStatus@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_XSLT_DEBUG_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.19:
	movq	%r14, %rdi
	callq	_xmlXPathOrderDocElems
LBB0_20:
	movq	_XSLT_PARSE_OPTIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_xsltNewDocument
	testq	%rax, %rax
	je	LBB0_21
## %bb.22:
	movl	$1, (%rax)
	movq	%rax, 80(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%rbx)
	xorl	%eax, %eax
	callq	_xsltGetDefaultSecurityPrefs
	movl	%eax, 56(%rbx)
	movq	(%r15), %rax
	movq	%rax, 48(%rbx)
	movq	_xsltDefaultTrace@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	xorl	%eax, %eax
	callq	_xsltGetXIncludeDefault
	movl	%eax, 40(%rbx)
	movq	$0, 32(%rbx)
	jmp	LBB0_23
LBB0_21:
	leaq	L_.str.3(%rip), %rcx
	movq	%rbx, %rdi
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xsltNewTransformContext : malloc failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"xsltNewTransformContext: out of memory\n"

	.comm	_xsltMaxDepth,4,2               ## @xsltMaxDepth
	.comm	_xmlGenericErrorContext,4,2     ## @xmlGenericErrorContext
	.comm	_xsltMaxVars,4,2                ## @xsltMaxVars
L_.str.2:                               ## @.str.2
	.asciz	"xsltNewTransformContext : xmlXPathNewContext failed\n"

	.comm	_xslDebugStatus,8,3             ## @xslDebugStatus
	.comm	_XSLT_DEBUG_NONE,8,3            ## @XSLT_DEBUG_NONE
	.comm	_XSLT_PARSE_OPTIONS,4,2         ## @XSLT_PARSE_OPTIONS
L_.str.3:                               ## @.str.3
	.asciz	"xsltNewTransformContext : xsltNewDocument failed\n"

	.comm	_xsltDefaultTrace,4,2           ## @xsltDefaultTrace
	.comm	_xsltGenericDebugContext,4,2    ## @xsltGenericDebugContext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltNewTransformContext        ; -- Begin function xsltNewTransformContext
	.p2align	2
_xsltNewTransformContext:               ; @xsltNewTransformContext
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_xsltInitGlobals
	mov	w0, #4
	bl	_xmlMalloc
	mov	x19, x0
	cbz	x0, LBB0_10
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	bl	_xsltTransformCacheCreate
	str	x0, [x19, #232]
	cbz	x0, LBB0_21
; %bb.2:
	ldr	w0, [x21, #24]
	bl	_xmlDictCreateSub
	str	x0, [x19, #224]
	ldr	x8, [x21, #16]
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	cset	w8, ne
	str	w8, [x19]
	mov	w0, #40
	bl	_xmlMalloc
	str	x0, [x19, #216]
	cbz	x0, LBB0_11
; %bb.3:
	mov	w8, #5
	str	w8, [x19, #4]
	stp	xzr, xzr, [x19, #200]
Lloh0:
	adrp	x8, _xsltMaxDepth@GOTPAGE
Lloh1:
	ldr	x8, [x8, _xsltMaxDepth@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #192]
	mov	w0, #40
	bl	_xmlMalloc
	str	x0, [x19, #184]
	cbz	x0, LBB0_12
; %bb.4:
	mov	w8, #10
	str	w8, [x19, #8]
	stp	xzr, xzr, [x19, #168]
	str	xzr, [x19, #160]
Lloh3:
	adrp	x8, _xsltMaxVars@GOTPAGE
Lloh4:
	ldr	x8, [x8, _xsltMaxVars@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #152]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #120]
	stur	q0, [x19, #136]
	str	x21, [x19, #112]
	bl	_xmlXPathInit
	mov	x0, x20
	bl	_xmlXPathNewContext
	str	x0, [x19, #96]
	cbz	x0, LBB0_13
; %bb.5:
	mov	w1, #1
	mov	w2, #-1
	mov	w3, #0
	bl	_xmlXPathContextSetCache
	cmn	w0, #1
	b.eq	LBB0_21
; %bb.6:
	ldr	x8, [x21]
	cbz	x8, LBB0_14
; %bb.7:
	add	w8, w8, #20
	str	w8, [x19, #12]
	lsl	w0, w8, #2
	bl	_xmlMalloc
	str	x0, [x19, #104]
	cbz	x0, LBB0_12
; %bb.8:
	ldr	x8, [x21]
	str	w8, [x19, #16]
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.9:
	add	x8, x8, x8, lsl #1
	lsl	x1, x8, #3
	bl	_bzero
	b	LBB0_15
LBB0_10:
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x1, #0
	mov	x2, x20
	bl	_xsltTransformError
	b	LBB0_22
LBB0_11:
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_20
LBB0_12:
Lloh10:
	adrp	x8, _xmlGenericErrorContext@GOTPAGE
Lloh11:
	ldr	x8, [x8, _xmlGenericErrorContext@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_xmlGenericError
	b	LBB0_21
LBB0_13:
Lloh15:
	adrp	x3, l_.str.2@PAGE
Lloh16:
	add	x3, x3, l_.str.2@PAGEOFF
	b	LBB0_20
LBB0_14:
	str	xzr, [x19, #104]
	stp	wzr, wzr, [x19, #12]
LBB0_15:
	mov	x0, x19
	bl	_XSLT_REGISTER_VARIABLE_LOOKUP
	mov	x0, x19
	bl	_XSLT_REGISTER_FUNCTION_LOOKUP
	ldr	w8, [x21, #8]
	ldr	x9, [x19, #96]
	str	w8, [x9]
	mov	x0, x19
	bl	_xsltInitCtxtExts
Lloh17:
	adrp	x21, _xslDebugStatus@GOTPAGE
Lloh18:
	ldr	x21, [x21, _xslDebugStatus@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh19:
	adrp	x9, _XSLT_DEBUG_NONE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _XSLT_DEBUG_NONE@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x20
	bl	_xmlXPathOrderDocElems
LBB0_17:
Lloh22:
	adrp	x8, _XSLT_PARSE_OPTIONS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _XSLT_PARSE_OPTIONS@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x19, #88]
	mov	x0, x19
	mov	x1, x20
	bl	_xsltNewDocument
	cbz	x0, LBB0_19
; %bb.18:
	mov	w8, #1
	str	w8, [x0]
	stp	xzr, x0, [x19, #72]
	str	xzr, [x19, #64]
	bl	_xsltGetDefaultSecurityPrefs
	str	w0, [x19, #56]
	ldr	x8, [x21]
	str	x8, [x19, #48]
Lloh25:
	adrp	x8, _xsltDefaultTrace@GOTPAGE
Lloh26:
	ldr	x8, [x8, _xsltDefaultTrace@GOTPAGEOFF]
	str	x8, [x19, #24]
	bl	_xsltGetXIncludeDefault
	str	w0, [x19, #40]
	str	xzr, [x19, #32]
	b	LBB0_22
LBB0_19:
Lloh27:
	adrp	x3, l_.str.3@PAGE
Lloh28:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
LBB0_20:
	mov	x1, #0
	mov	x2, x20
	bl	_xsltTransformError
LBB0_21:
	mov	x0, x19
	bl	_xsltFreeTransformContext
	mov	x19, #0
LBB0_22:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xsltNewTransformContext : malloc failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"xsltNewTransformContext: out of memory\n"

	.comm	_xsltMaxDepth,4,2               ; @xsltMaxDepth
	.comm	_xmlGenericErrorContext,4,2     ; @xmlGenericErrorContext
	.comm	_xsltMaxVars,4,2                ; @xsltMaxVars
l_.str.2:                               ; @.str.2
	.asciz	"xsltNewTransformContext : xmlXPathNewContext failed\n"

	.comm	_xslDebugStatus,8,3             ; @xslDebugStatus
	.comm	_XSLT_DEBUG_NONE,8,3            ; @XSLT_DEBUG_NONE
	.comm	_XSLT_PARSE_OPTIONS,4,2         ; @XSLT_PARSE_OPTIONS
l_.str.3:                               ; @.str.3
	.asciz	"xsltNewTransformContext : xsltNewDocument failed\n"

	.comm	_xsltDefaultTrace,4,2           ; @xsltDefaultTrace
	.comm	_xsltGenericDebugContext,4,2    ; @xsltGenericDebugContext
.subsections_via_symbols
