	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltLoadStyleDocument          ## -- Begin function xsltLoadStyleDocument
	.p2align	4, 0x90
_xsltLoadStyleDocument:                 ## @xsltLoadStyleDocument
	.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
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.2:
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_xsltGetDefaultSecurityPrefs
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_xsltCheckRead
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	movq	8(%r14), %rbx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rbx), %rbx
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rsi
	callq	_xmlStrEqual
	testq	%rax, %rax
	je	LBB0_10
	jmp	LBB0_13
LBB0_11:
	movl	(%r14), %esi
	movq	_XSLT_PARSE_OPTIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_XSLT_LOAD_STYLESHEET@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movq	%r14, %rcx
	callq	_xsltDocDefaultLoader
	testq	%rax, %rax
	je	LBB0_12
## %bb.14:
	movq	%r14, %rdi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xsltNewStyleDocument           ## TAILCALL
LBB0_4:
	leaq	L_.str(%rip), %rcx
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%r15, %r8
	callq	_xsltTransformError
	jmp	LBB0_13
LBB0_12:
	xorl	%ebx, %ebx
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xsltLoadStyleDocument: read rights for %s denied\n"

	.comm	_XSLT_PARSE_OPTIONS,4,2         ## @XSLT_PARSE_OPTIONS
	.comm	_XSLT_LOAD_STYLESHEET,4,2       ## @XSLT_LOAD_STYLESHEET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltLoadStyleDocument          ; -- Begin function xsltLoadStyleDocument
	.p2align	2
_xsltLoadStyleDocument:                 ; @xsltLoadStyleDocument
	.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	x21, #0
	cbz	x0, LBB0_13
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_13
; %bb.2:
	mov	x19, x0
	bl	_xsltGetDefaultSecurityPrefs
	cbz	x0, LBB0_4
; %bb.3:
	mov	x1, #0
	mov	x2, x20
	bl	_xsltCheckRead
	cbz	w0, LBB0_11
LBB0_4:
	ldr	x21, [x19, #8]
	cbnz	x21, LBB0_8
LBB0_5:
	ldr	w1, [x19]
Lloh0:
	adrp	x8, _XSLT_PARSE_OPTIONS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XSLT_PARSE_OPTIONS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _XSLT_LOAD_STYLESHEET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XSLT_LOAD_STYLESHEET@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x3, x19
	bl	_xsltDocDefaultLoader
	cbz	x0, LBB0_12
; %bb.6:
	mov	x1, x0
	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
	b	_xsltNewStyleDocument
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x21, [x21]
	cbz	x21, LBB0_5
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x8]
	cbz	x0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x20
	bl	_xmlStrEqual
	cbz	x0, LBB0_7
	b	LBB0_13
LBB0_11:
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, #0
	mov	x1, #0
	mov	x2, #0
	mov	x4, x20
	bl	_xsltTransformError
LBB0_12:
	mov	x21, #0
LBB0_13:
	mov	x0, x21
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xsltLoadStyleDocument: read rights for %s denied\n"

	.comm	_XSLT_PARSE_OPTIONS,4,2         ; @XSLT_PARSE_OPTIONS
	.comm	_XSLT_LOAD_STYLESHEET,4,2       ; @XSLT_LOAD_STYLESHEET
.subsections_via_symbols
